On Sat, 19 Jan 2008, Lionel Elie Mamane wrote:
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)
A release candidate has been released to address startup (non SIGHUP)
interface reconfiguration:
http://www.netcore.fi/pekkas/linux/radvd-1.1rc2.tar.gz
The "real thing" will probably be released within a couple of weeks,
--
Pekka Savola "You each name yourselves king, yet the
Netcore Oy kingdom bleeds."
Systems. Networks. Security. -- George R.R. Martin: A Clash of Kings
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]