On Thu, Oct 25, 2007 at 09:00:19AM +0300, Pekka Savola wrote:

> I'm the upstream maintainer of radvd and noticed this bug report.

> The problem is due to how early radvd drops root privileges and as
> an extension, how it cannot reconfigure the interface at SIGHUP
> signal if it has already dropped the privileges.

In how I experience this bug, radvd on startup (not SIGHUP) drops
privileges before it tries to reconfigure the interface. Strace
excerpt (in order):

1840  setuid32(106)                     = 0
1840  clone(child_stack=0, 
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7de56f8) 
= 1841
1841  open("/proc/sys/net/ipv6/conf/eth_jumbo/hop_limit", 
O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 EACCES (Permission denied)
1841  open("/proc/sys/net/ipv6/conf/vlan1500/hop_limit", 
O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 EACCES (Permission denied)

-- 
Lionel



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to