please port 0.8.1 for Natty

Bug #807675 reported by John DeStefano
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Noesis
Invalid
Undecided
Unassigned
augeas (Ubuntu)
Fix Released
Medium
Raphaël Pinson
Natty
Won't Fix
Medium
Raphaël Pinson

Bug Description

Version 0.8.0, the latest for Natty, is suspect to multiple bugs solved by 0.8.1, including not being able to parse the default sudoers permissions syntax (`ALL:ALL`) as well as not being able to read the `#includedir` directive. Thus, the default sudoers file can't be properly managed in Natty via puppet and augeas. Running augtool to check for problems points to parsing errors for these lines in the configuration file.

Revision history for this message
John DeStefano (deesto) wrote :

Correction: the include directory problem was fixed in 0.8.1:
https://fedorahosted.org/augeas/ticket/188

The `:` syntax issue remains a problem upstream with Augeas:
https://fedorahosted.org/augeas/ticket/211

But it would be nice to have the fix for the include problem.

Revision history for this message
Dave Walker (davewalker) wrote :

@John, Thanks for raising this bug.

Is the resolution for either of these issues avaliable as a minimal patch(set), rather than bumping to a new minor version?

Thanks.

Changed in augeas (Ubuntu):
status: New → Incomplete
importance: Undecided → Low
Revision history for this message
John DeStefano (deesto) wrote :
Changed in augeas (Ubuntu Natty):
assignee: nobody → Raphaël Pinson (raphink)
importance: Undecided → Medium
status: New → In Progress
milestone: none → natty-updates
Revision history for this message
Raphaël Pinson (raphink) wrote :

SRU information:

[Impact]
This bug prevents from parsing the default sudoers file in natty with Augeas

[Development Fix]
Grabbing patches from Augeas tickets 188 and 211 fixes the bug. A package with these two patches has been uploaded to my PPA with version 0.8.0-0ubuntu5~pparaphink1 :

[Stable Fix]
The package can be uploaded to natty-updates with a proper version number.

[Test Case]
After upgrading the package in a Natty environment, issue the following command:

  sudo augtool print /augeas/files/etc/sudoers/error

which should not return anything. On the other hand,

  sudo augtool print /files/etc/sudoers

should output the tree representing your /etc/sudoers.

[Regression Potential]

No regression expected.

Revision history for this message
Raphaël Pinson (raphink) wrote :

The PPA package can be found in https://launchpad.net/~raphink/+archive/ppa/+packages. A debdiff with the current version in archive is attached to this comment.

Changed in augeas (Ubuntu):
assignee: nobody → Raphaël Pinson (raphink)
importance: Low → Medium
milestone: none → natty-updates
status: Incomplete → In Progress
Changed in augeas (Ubuntu Natty):
status: In Progress → Fix Committed
Changed in augeas (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

Fixed in oneiric/precise:

    augeas | 0.8.1-2 | oneiric | source
    augeas | 0.10.0-0ubuntu3 | precise | source

Changed in augeas (Ubuntu):
milestone: natty-updates → none
status: Fix Committed → Fix Released
tags: added: verification-needed
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Hello John, or anyone else affected,

Accepted augeas into natty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Revision history for this message
John DeStefano (deesto) wrote :

Sorry, Martin: this fell off my radar.  Can you please point me to a Natty package to test directly, instead of enabling the proposed branch.

Thanks,
~John

________________________________
 From: Martin Pitt <email address hidden>
To: <email address hidden>
Sent: Tuesday, January 17, 2012 12:36 AM
Subject: [Bug 807675] Please test proposed package

Hello John, or anyone else affected,

Accepted augeas into natty-proposed, the package will build now and be
available in a few hours. Please test and give feedback here. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Thank you in advance!

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/807675

Title:
  please port 0.8.1 for Natty

Status in API configuration management for Linux:
  New
Status in “augeas” package in Ubuntu:
  Fix Released
Status in “augeas” source package in Natty:
  Fix Committed

Bug description:
  Version 0.8.0, the latest for Natty, is suspect to multiple bugs
  solved by 0.8.1, including not being able to parse the default sudoers
  permissions syntax (`ALL:ALL`) as well as not being able to read the
  `#includedir` directive.  Thus, the default sudoers file can't be
  properly managed in Natty via puppet and augeas.  Running augtool to
  check for problems points to parsing errors for these lines in the
  configuration file.

To manage notifications about this bug go to:
https://bugs.launchpad.net/noesis/+bug/807675/+subscriptions

Revision history for this message
John DeStefano (deesto) wrote : Re: [Bug 807675] Please test proposed package

Ah, it seems I'd let this slide as I'd already found and installed the fixed version:
$ dpkg -l |grep aug
ii  augeas-dbg                                0.8.1-2                                    Debugging symbols for libaugeas0
ii  augeas-doc                                0.8.1-2                                    Augeas lenses documentation
ii  augeas-lenses                             0.8.1-2                                    Set of lenses needed by libaugeas0 to parse config files
ii  augeas-tools                              0.8.1-2                                    Augeas command line tools
ii  libaugeas-dev                             0.8.1-2                                    Development files for writing applications based on libaugeas0
ii  libaugeas-ruby                            0.3.0-1.1ubuntu2                           Augeas bindings for the Ruby language
ii  libaugeas-ruby1.8                         0.3.0-1.1ubuntu2                           Augeas bindings for the Ruby language
ii  libaugeas0                                0.8.1-2                                    Augeas configuration editing library and API

Logan Rosen (logan)
Changed in noesis:
status: New → Invalid
Revision history for this message
Rolf Leggewie (r0lf) wrote :

natty has seen the end of its life and is no longer receiving any updates. Marking the natty task for this ticket as "Won't Fix".

Changed in augeas (Ubuntu Natty):
status: Fix Committed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.