wrong path in squid lens

Bug #1310120 reported by Hadmut Danisch
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
augeas (Ubuntu)
Fix Released
Medium
Unassigned
Trusty
Fix Released
Medium
Unassigned

Bug Description

[Impact]

augeas does not work with squid.

[Development Fix]

Lens patched to accept /etc/squid3 as the path. Cherry-picked from upstream VCS.

[Stable Fix]

Same as development fix.

[Test Case]

apt-get install augeas-tools squid3
augtool print /files/etc/squid3

Expected output: lots of output
Failure output: no output

[Regression Potential]

Only the squid lens is affected. Programs that parse things using augeas will start to see squid3, when they didn't before, and this may cause a change in behaviour.

[Original Description]

the squid lens (squid.aug) contains

let filter = incl "/etc/squid/squid.conf"

but trusty's squid.conf path is /etc/squid3/squid.conf

augtool can't read /etc/squid3/squid.conf and that seems to be the reason.

regards

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: augeas-lenses 1.2.0-0ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
NonfreeKernelModules: zfs zunicode zavl zcommon znvpair
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
CurrentDesktop: XFCE
Date: Sun Apr 20 00:30:26 2014
Dependencies:

PackageArchitecture: all
SourcePackage: augeas
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Hadmut Danisch (hadmut) wrote :
Revision history for this message
Robie Basak (racb) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

It seems that there's a trivial fix committed upstream: https://github.com/hercules-team/augeas/commit/874a86c3c35e9cff46e676293e1ba4b35649f8c8

Changed in augeas (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Robie Basak (racb)
description: updated
Revision history for this message
Robie Basak (racb) wrote :

Debdiffs attached. I have built and manually run my test case above to verify both fixes.

Revision history for this message
Robie Basak (racb) wrote :
James Page (james-page)
Changed in augeas (Ubuntu Trusty):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package augeas - 1.2.0-0ubuntu2

---------------
augeas (1.2.0-0ubuntu2) utopic; urgency=medium

  * d/p/squid3-path: add /etc/squid3/squid.conf as an acceptable path to the
    squid lens (LP: #1310120).
 -- Robie Basak <email address hidden> Fri, 06 Jun 2014 11:01:02 +0100

Changed in augeas (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Chris J Arges (arges) wrote : Please test proposed package

Hello Hadmut, or anyone else affected,

Accepted augeas into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/augeas/1.2.0-0ubuntu1.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in augeas (Ubuntu Trusty):
status: Triaged → Fix Committed
tags: added: verification-needed
Revision history for this message
Mathew Hodson (mhodson) wrote :

Verified 1.2.0-0ubuntu1.1 in trusty proposed. Test case finds /files/etc/squid3/squid.conf and provides output.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package augeas - 1.2.0-0ubuntu1.1

---------------
augeas (1.2.0-0ubuntu1.1) trusty; urgency=medium

  * d/p/squid3-path: add /etc/squid3/squid.conf as an acceptable path to the
    squid lens (LP: #1310120).
 -- Robie Basak <email address hidden> Fri, 06 Jun 2014 11:13:10 +0100

Changed in augeas (Ubuntu Trusty):
status: Fix Committed → Fix Released
Revision history for this message
Scott Kitterman (kitterman) wrote : Update Released

The verification of the Stable Release Update for augeas has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

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.