augeas-lenses package lacking support in dhclient.conf lens for append/prepend options
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
augeas (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned |
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
augeas-lenses:
Installed: 0.10.0-0ubuntu4
Candidate: 0.10.0-0ubuntu4
Version table:
*** 0.10.0-0ubuntu4 0
500 http://
100 /var/lib/
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://
# /usr/share/
(* Intefraces module for Augeas
Author: Free Ekanayaka <free@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.
Changed in augeas (Ubuntu): | |
importance: | Undecided → Wishlist |
Updating to specific package name