augeas-lenses package lacking support in dhclient.conf lens for append/prepend options

Bug #1193176 reported by Darren Spruell on 2013-06-21
This bug affects 1 person
Affects Status Importance Assigned to Milestone
augeas (Ubuntu)

Bug Description

Description: Ubuntu 12.04.2 LTS
Release: 12.04

Linux w01c105asoc 3.5.0-34-generic #55~precise1-Ubuntu SMP Fri Jun 7 16:25:50 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

  Installed: 0.10.0-0ubuntu4
  Candidate: 0.10.0-0ubuntu4
  Version table:
 *** 0.10.0-0ubuntu4 0
        500 precise/main amd64 Packages
        100 /var/lib/dpkg/status

Have encountered a use case where lacking support for the "append" and "prepend" options in dhclient.conf lens is causing some pain. The lens for this file appears to reflect this lack of support today the same as it did in 2008 when it was initially merged into upstream by author:

# /usr/share/augeas/lenses/dist/dhclient.aug

(* Intefraces module for Augeas
   Author: Free Ekanayaka <>

   Reference: man dhclient.conf
   The only difference with the reference syntax is that this lens assumes
   that statements end with a new line, while the reference syntax allows
   new statements to be started right after the trailing ";" of the
   previous statement. This should not be a problem in real-life
   configuration files as statements get usually splitted across several
   lines, rather than merged in a single one.

   TODO: support the "default", "supersede", "append" and "prepend"

In the TODO it is noted that "append" option is not supported. I wanted to see if support for these statements can be implemented and possibly submitted upstream.

I encounter several use cases exist where this functionality is necessary; on home networks where ISP provides leases where LAN settings need to be added for operation on the LAN, and on corporate networks where it is common for multiple additional settings such as search domains to be included where DHCP leases may be incomplete.

Darren Spruell (phatbuckett) wrote :

Updating to specific package name

Robie Basak (racb) on 2013-06-21
Changed in augeas (Ubuntu):
importance: Undecided → Wishlist
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in augeas (Ubuntu):
status: New → Confirmed
Raphaël Pinson (raphink) wrote :

Reported upstream as Please feed the bug there (or even submit a PR).

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers