[Bug 274178] [NEW] dhcp3-client can't set IP address due to insufficient rights

Hadmut Danisch hadmut at danisch.de
Wed Sep 24 23:16:06 BST 2008


Public bug reported:

Binary package hint: dhcp3-client

Hi,

strange problem: On my notebook computer with WLAN I can't get DHCP
addresses.

Trace of the problem:

dhclient3 properly receives an IP address from the server.

dhclient3 then calls /sbin/dhclient-script  to actually perform the
configuration, e.g. use ifconfig to put the IP address received from the
server on the interface, something like

   ifconfig wlan0 inet 1.2.3.4 netmask 255.255.255.0 broadcast 1.2.3.255

which fails. A trace showed that it fails with PERMISSION DENIED because of insufficient rights. dhclient3 performs a 
setuid and setgid  to the user and group "dhcp" before calling the script /sbin/dhclient-script. 

Since this script is then run without root privileges, the ifconfig
fails with EPERM.

How was this intended to work?

regards
Hadmut

** Affects: dhcp3 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
dhcp3-client can't set IP address due to insufficient rights
https://bugs.launchpad.net/bugs/274178
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in ubuntu.



More information about the Ubuntu-server-bugs mailing list