[pkg-dhcp-devel] Bug#595400: chown/chmod warnings when creating resolv.conf for the first time

Trent W. Buck trentbuck at gmail.com
Fri Sep 3 17:42:26 UTC 2010


Package: isc-dhcp-client
Version: 4.1.1-P1-9
Severity: wishlist
File: /sbin/dhclient-script

I'm building live-boot images.  resolv.conf isn't included in the
squashfs root filesystem, because there's no sensible default and
dhclient will overwrite it during boot anyway.

And it WORKS, but there are these two errors (chown/chmod).  It's
because dhclient-script assumes resolv.conf already exists.
I wish dhclient-script didn't emit these warnings.

    Configuring network interfaces...Internet Systems Consortium DHCP Client 4.1.1-P
    1
    Copyright 2004-2010 Internet Systems Consortium.
    All rights reserved.
    For info, please visit https://www.isc.org/software/dhcp/

    Listening on LPF/eth0/52:54:00:12:34:56
    Sending on   LPF/eth0/52:54:00:12:34:56
    Sending on   Socket/fallback
    DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
    DHCPOFFER from 10.0.2.2
    DHCPREQUEST on eth0 to 255.255.255.255 port 67
    DHCPACK from 10.0.2.2
    chown: failed to get attributes of `/etc/resolv.conf': No such file or directory
    chmod: failed to get attributes of `/etc/resolv.conf': No such file or directory
    bound to 10.0.2.15 -- renewal in 35642 seconds.
    done.
    Cleaning up temporary files....


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35 (SMP w/2 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages isc-dhcp-client depends on:
ii  debianutils                   3.4        Miscellaneous utilities specific t
ii  isc-dhcp-common               4.1.1-P1-9 common files used by all the isc-d
ii  libc6                         2.11.2-3   Embedded GNU C Library: Shared lib
ii  libssl0.9.8                   0.9.8o-2   SSL shared libraries

isc-dhcp-client recommends no packages.

Versions of packages isc-dhcp-client suggests:
pn  avahi-autoipd                 <none>     (no description available)
pn  resolvconf                    <none>     (no description available)

-- no debconf information





More information about the pkg-dhcp-devel mailing list