apt.conf.d does not parse valid files

Bug #1572554 reported by Michael Wodniok
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
augeas (Ubuntu)
New
Undecided
Unassigned

Bug Description

Ubuntu version: 14.04.4 (trusty)
augeas-lenses version: 1.2.0-0ubuntu1.1

The file /etc/apt/apt.conf.d/01autoremove causes a parsing error in augtool:

augtool> ls /augeas/files/etc/apt/apt.conf.d/01autoremove
path = /files/etc/apt/apt.conf.d/01autoremove
mtime = 1397135092
lens/ = @AptConf
error/ = parse_failed

The bug causing this behaviour was already fixed in upstream at 2015-07-13:

https://github.com/hercules-team/augeas/commit/a6873c40874557e481d056e70ba566c0220adfec

Please backport this fix to the current supported lts distributions. It seems like xenial will get this fix.

tags: added: trusty
Revision history for this message
Michael Wodniok (wodniok) wrote :

Also affects Ubuntu Xenial (16.04).
augeas-lenses version 1.4.0-0ubuntu1

Same error.

tags: added: xenial
Revision history for this message
Michael Wodniok (wodniok) wrote :

This patch is tested with version augeas-lenses 1.4.0-0ubuntu1. Since there are no other in-code dependencies this patch should also work for 1.2.0-0ubuntu1.1 (=trusty version).

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Fix for the Bug" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
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.