Jira (PUP-11027) Filesync'd Augeas lenses should not overwrite system lenses

8 views
Skip to first unread message

Trevor Vaughan (Jira)

unread,
Apr 15, 2021, 10:18:01 AM4/15/21
to puppe...@googlegroups.com
Trevor Vaughan created an issue
 
Puppet / Bug PUP-11027
Filesync'd Augeas lenses should not overwrite system lenses
Issue Type: Bug Bug
Affects Versions: PUP 7.4.1
Assignee: Unassigned
Components: Modules
Created: 2021/04/15 7:17 AM
Priority: Normal Normal
Reporter: Trevor Vaughan

Puppet Version: All
Puppet Server Version: All
OS Name/Version: All

It looks like augeas lenses that are filesync'd over to target nodes are placed into the default augeas path of /usr/share/augeas/lenses.

Unfortunately, it doesn't seem to make them readable by all users which means that regular users may have augtool fail if the lens is not made world readable somehow.

Desired Behavior:

I would like Puppet sync'd lenses to be placed into a puppet-specific location and have the internal Augeas libraries use that path first so that system libraries are not altered.

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo

Josh Cooper (Jira)

unread,
Apr 15, 2021, 11:55:04 AM4/15/21
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-11027
 
Re: Filesync'd Augeas lenses should not overwrite system lenses

I'm not aware of anything in the pluginsync logic that could cause lenses to be written to somewhere other than Puppet[:libdir] directory. We recently had some issues with the augeas_core module, relating to updating the load path used to find augeas lenses (MODULES-7397 or MODULES-10950), maybe related? What version of puppet-agent and puppetlabs-augeas_core module are you using?

Beth Glenfield (Jira)

unread,
Jun 16, 2021, 9:09:01 AM6/16/21
to puppe...@googlegroups.com

Hi Trevor Vaughan,

This ticket has been open for a couple of months, and we would really value your input to prioritize this work. Are you still seeing this issue?

Many thanks.

Josh Cooper (Jira)

unread,
Sep 14, 2021, 12:55:03 AM9/14/21
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-11027

Puppet only pluginsyncs augeas lenses to /opt/puppetlabs/puppet/cache/lib/augeas/lenses It sounds like you might be using packages built by someone else? In any case, I'm going to close this. Please reopen if you can reproduce using a more recent version of puppet-agent and using augeas_core 1.1.2 (which had a fix for the regression in MODULES-10950)

Reply all
Reply to author
Forward
0 new messages