Your message dated Tue, 18 Dec 2012 10:58:25 +0000
with message-id <[email protected]>
and subject line Re: Bug#696172: augeas-lenses: INTERFACES in
/etc/default/isc-dhcp-server not split into values
has caused the Debian Bug report #696172,
regarding augeas-lenses: INTERFACES in /etc/default/isc-dhcp-server not split
into values
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
696172: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696172
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: augeas-lenses
Version: 0.10.0-1~bpo60+3
Severity: normal
I need to add interfaces (eth0, eth1, ...) one at a time to INTERFACES in
/etc/default/isc-dhcp-server like so:
set /files/etc/default/isc-dhcp-server/INTERFACES/value[last()+1] eth0
set /files/etc/default/isc-dhcp-server/INTERFACES/value[last()+1] eth1
....
But /etc/default/isc-dhcp-server is parsed by shellvars.aug that only
allows to issue commands like:
set /files/etc/default/isc-dhcp-server/INTERFACES "\"eth0 eth1 ...\""
I tried to overcome this limitation with my own module that uses the lense
defined
in shellvars_list.aug and solely includes "/etc/default/isc-dhcp-server". But
then
neither the shellvars module nor my own one applies to the dhcp configuration
file:
the configuration file is left ignored without any error messages.
Jens Hoffmann
-- System Information:
Debian Release: 6.0.6
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
augeas-lenses depends on no packages.
augeas-lenses recommends no packages.
Versions of packages augeas-lenses suggests:
pn augeas-doc <none> (no description available)
-- no debconf information
--- End Message ---
--- Begin Message ---
On 18/12/12 10:14, Jens wrote:
> Thank you for that hint. This basically solves my problem. I did not
> realize that lenses
> can be loaded / unloaded dynamically.
>
[snip]
>
> I think this report can be marked as 'invalid' or so.
Thanks for confirming, closing.
--
Dominic Cleal
Red Hat Engineering
--- End Message ---