RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 855367 - Could the augeas lenses be packaged separately from any binaries
Summary: Could the augeas lenses be packaged separately from any binaries
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: augeas
Version: 6.3
Hardware: All
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: David Lutterkort
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-07 14:17 UTC by jcpunk
Modified: 2013-04-30 23:42 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-08 19:04:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description jcpunk 2012-09-07 14:17:46 UTC
Description of problem:
The lenses in augeas a currently in the augeas-libs rpm.  This rpm contains a few binary objects.  I would very much like to update the lenses on some of my systems, but don't want to create problems by changing out binaries or by overwriteing the files that rpm expects to find (resulting in rpm verify being upset).  With the lenses just being text files rebuilding a number of binaries seems like extra effort for little gain.

The lenses are moving somewhat quickly in the augeas source tree, fixing bugs and addressing issues.  There is no way a stable distribution like RHEL should try and keep up with the speed of these changes.  However, I would like to on my system.  It would be nice if the lense files themselves were packaged separately so that I could make my own rpm containing the updated lenses without having to rebuild the entire application.

In particular I wish to update my local lenses for krb5.conf, /etc/hosts.[allow|deny], sshd_config, and logrotate.

The augeas-libs package could depend on augeas-lenses which would keep any changes in user expirence minimized while giving me an elegant way of making changes that I can back out simply (yum downgrade augeas-lenses).


Version-Release number of selected component (if applicable):augeas-0.9.0-4.el6


How reproducible: always


Steps to Reproduce:
1. find a bug in a augeas lense
2. find a fix in the augeas source tree
3. wish for a clean way to update the lense locally
  
Actual results:
break rpm verify or rebuild augeas myself

Expected results:
a way to just update the lense

Additional info:

Comment 2 David Lutterkort 2013-01-08 19:04:07 UTC
By default, augeas looks for lenses in /usr/share/augeas/lenses and /usr/share/augeas/lenses/dist (in that order) The latter is for the lenses that ship with Augeas; you can put your lenses into the former directory to override lenses that come with the augeas RPM.

You can also add more directories to the load path for lenses (which are searched before the two default directories) by setting the environment variable AUGEAS_LENS_LIB


Note You need to log in before you can comment on or make changes to this bug.