lens for squid.conf not working

Bug #1345165 reported by Hadmut Danisch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
augeas (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Hi,

another problem with the squid lens: It does not detect acl clauses correctly. It just lists existing acls like

acl manager proto cache_object
acl localhost src 127.0.0.1/32 ::1
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
....

as

acl[1]/ = (none)
acl[2]/ = (none)
acl[3]/ = (none)
acl[4]/ = (none)
acl[5]/ = (none)
acl[6]/ = (none)
acl[7]/ = (none)
acl[8]/ = (none)
acl[9]/ = (none)
....

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: augeas-tools 1.2.0-0ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-29.53-generic 3.13.11.2
Uname: Linux 3.13.0-29-generic x86_64
NonfreeKernelModules: zfs zunicode zavl zcommon znvpair
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
CurrentDesktop: XFCE
Date: Sun Jul 20 00:02:01 2014
SourcePackage: augeas
UpgradeStatus: Upgraded to trusty on 2014-04-19 (91 days ago)

Revision history for this message
Hadmut Danisch (hadmut) wrote :
Revision history for this message
Raphaël Pinson (raphink) wrote : Re: [Bug 1345165] [NEW] lens for squid.conf not working

The ls command in augtool is not recursive. If you use print instead, you
will see the full trees.
Le 20 juil. 2014 00:15, "Hadmut Danisch" <email address hidden> a écrit :

> Public bug reported:
>
> Hi,
>
> another problem with the squid lens: It does not detect acl clauses
> correctly. It just lists existing acls like
>
> acl manager proto cache_object
> acl localhost src 127.0.0.1/32 ::1
> acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1
> acl SSL_ports port 443
> acl Safe_ports port 80 # http
> acl Safe_ports port 21 # ftp
> acl Safe_ports port 443 # https
> acl Safe_ports port 70 # gopher
> acl Safe_ports port 210 # wais
> ....
>
> as
>
> acl[1]/ = (none)
> acl[2]/ = (none)
> acl[3]/ = (none)
> acl[4]/ = (none)
> acl[5]/ = (none)
> acl[6]/ = (none)
> acl[7]/ = (none)
> acl[8]/ = (none)
> acl[9]/ = (none)
> ....
>
> ProblemType: Bug
> DistroRelease: Ubuntu 14.04
> Package: augeas-tools 1.2.0-0ubuntu1
> ProcVersionSignature: Ubuntu 3.13.0-29.53-generic 3.13.11.2
> Uname: Linux 3.13.0-29-generic x86_64
> NonfreeKernelModules: zfs zunicode zavl zcommon znvpair
> ApportVersion: 2.14.1-0ubuntu3.2
> Architecture: amd64
> CurrentDesktop: XFCE
> Date: Sun Jul 20 00:02:01 2014
> SourcePackage: augeas
> UpgradeStatus: Upgraded to trusty on 2014-04-19 (91 days ago)
>
> ** Affects: augeas (Ubuntu)
> Importance: Undecided
> Status: New
>
>
> ** Tags: amd64 apport-bug trusty
>
> --
> You received this bug notification because you are subscribed to augeas
> in Ubuntu.
> Matching subscriptions: Augeas
> https://bugs.launchpad.net/bugs/1345165
>
> Title:
> lens for squid.conf not working
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/augeas/+bug/1345165/+subscriptions
>

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

Hadmut,

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

Does Raphaël's answer fix your problem? If so, please change the bug status to Invalid. Otherwise, please change the bug status to New again.

Thanks!

Changed in augeas (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for augeas (Ubuntu) because there has been no activity for 60 days.]

Changed in augeas (Ubuntu):
status: Incomplete → Expired
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.