Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=250919
--- Comment #40 from Peter Bieringer <pb(a)bieringer.de> 2011-04-27 14:20:25 EDT ---
Background of this still existing issue is the provided workaround:
ifdown eth0
sysctl net.ipv6.conf.eth0.use_tempaddr=2
ifup eth0
which has 2 requirements if this should be reboot-safe and working
1. IPv6 module must be loaded
=> otherwise, net.ipv6.conf.* doesn't exist at all
2. Device must exist
=> otherwise, per interface sysctl doesn't exist
3. Interface must down
=> otherwise, the toggle isn't recognized
which means at least on Fedora 14, that following key must exist in
/etc/sysctl.conf:
sysctl net.ipv6.conf.all.use_tempaddr=2
to enable IPv6 privacy...so in theory currently and in the past working...until
dracut puts the IPv6 module into RAMdisk.
nowadays this "all" approach is no longer working (I assume, during loading
IPv6 module in early state and interfaces are configured by udev earlier than
the default "all" is changed), each interface must be
specified directly in /etc/sysctl.conf, like
sysctl net.ipv6.conf.eth0.use_tempaddr=2
BTW: as seen in the old entries for that bug, there is a initscripts extension
available, which creates a hook in ifup to apply (if configured) first the
sysctl *before* bringing interface up. Unfortunately, this extension was never
taken over into upstream :-(
I think the current mechanism is still strange and there are 3 options which
can proper solve this:
1) integrate ifup-ipv6 into ifup and adjust systl *before* bringing interface
up
2) integrate hooks for something like ifup-ipv6-PRE into ifup
3) extend IPv6 implementation in kernel that IPv6 privacy can be
enabled/disabled on an running interface, not requiring interface down/up
--
Configure bugmail:
https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.