[pkg-dhcp-devel] Bug#642544: isc-dhcp-client: dhclient-script is broken for read-only root
Scott Moser
smoser at ubuntu.com
Fri Sep 23 18:08:51 UTC 2011
Package: isc-dhcp-client
Version: 4.1.1-P1-17ubuntu9
Severity: normal
This is ubuntu bug 857524 [http://pad.lv/857524].
debian/dhclient-script.linux will not work with read-only root.
For a read-only root to work, and support dhclient-script writing to
/etc/resolv.conf, then /etc/resolv.conf would have to be a symlink to a
writeable location (ie, /run or /var/run).
Currently, that will not work as dhclient-script will write to
/etc/resolv.conf.dhclient-script.new which will fail. It should, instead
write directly to /etc/resolv.conf, following the symlink if it is.
This bug has been raised against Ubuntu, and a patch is attached there for
Ubuntu. I would be willing to write a patch to fix this in debian, but
there are many changes in ubuntu's debian/dhclient-script.linux that may
also be desirable, so I'm opting to not do that, but suggest reviewing the
full diff against Ubuntu's script.
-- System Information:
Debian Release: wheezy/sid
APT prefers oneiric-updates
APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 'oneiric')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0-11-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages isc-dhcp-client depends on:
ii debianutils 4.0.2 Miscellaneous utilities specific t
ii iproute 20110315-1build1 networking and traffic control too
ii isc-dhcp-common 4.1.1-P1-17ubuntu9 common files used by all the isc-d
ii libc6 2.13-20ubuntu2 Embedded GNU C Library: Shared lib
isc-dhcp-client recommends no packages.
Versions of packages isc-dhcp-client suggests:
ii apparmor 2.7.0~beta1+bzr1774-1ubuntu1 User-space parser utility for AppA
ii avahi-autoi 0.6.30-4ubuntu1 Avahi IPv4LL network address confi
ii resolvconf 1.48ubuntu1 name server information handler
-- no debconf information
More information about the pkg-dhcp-devel
mailing list