Public bug reported:

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

augeas-lenses:
  Installed: 0.10.0-0ubuntu4
  Candidate: 0.10.0-0ubuntu4
  Version table:
 *** 0.10.0-0ubuntu4 0
        500 http://archive.ubuntu.com/ubuntu/ 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:

http://www.redhat.com/archives/augeas-devel/2008-August/msg00306.html

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

(* Intefraces module for Augeas
   Author: Free Ekanayaka <f...@64studio.com>

   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"
   statements
*)

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.

** Affects: augeas (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to augeas in Ubuntu.
https://bugs.launchpad.net/bugs/1193176

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/augeas/+bug/1193176/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to