dhclient tries to chmod /etc/resolv.conf only before it creates it
Bug #175806 reported by
Peter Cordes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dhcp3 (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
Binary package hint: dhcp3-client
I booted the Ubuntu Gutsy i386 livecd on an old machine, and switched to tty1 to run dhclient, because NetworkManager apparently didn't want to bother. This uncovered a funny corner-case in dhclient:
...
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 10.0.0.1
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.0.18 -- renewal in 18184 seconds.
...
/etc/resolv.conf was created fine, with mode 644, but owned by root:dhcp instead of root:root.
This is a very minor bug.
Changed in dhcp3: | |
importance: | Undecided → Low |
status: | New → Triaged |
To post a comment you must log in.
Fixing bug #251632 would fix this one also.