[systemd-devel] "sysctl.conf" applied too late

Reindl Harald h.reindl at thelounge.net
Wed Feb 8 10:12:35 PST 2012

Am 08.02.2012 17:59, schrieb Bill Nottingham:
> Reindl Harald (h.reindl at thelounge.net) said: 
>> a kernel boot-param would be nice but until know i did not
>> find any working one :-(
> ipv6.disable_ipv6=1

hmm should i file a bugreport for the kernel?
i tried "disable_ipv6=1" today with no success
your "ipv6.disable_ipv6=1" sounded well but see below

if i am not totally stupid with the kernel-param there should
be no possibility/reason that any service is listening on ipv6

[root at rh:~]$ uname -r #1 SMP Fri Feb 3 18:53:22 UTC 2012

[root at rh:~]$ netstat -l | grep smb
tcp        0      0       *                   LISTEN      1073/smbd
tcp        0      0       *                   LISTEN      1073/smbd
tcp        0      0 :::445                      :::*                        LISTEN      1073/smbd
tcp        0      0 :::139                      :::*                        LISTEN      1073/smbd

[root at rh:~]$ cat /boot/grub/grub.conf | grep ipv6
        kernel /vmlinuz- ro root=UUID=b935b5db-0051-4f7f-83ac-6a6651fe0988
rd_MD_UUID=b7475879:c95d9a47:c5043c02:0c5ae720 rd_NO_LUKS rd_NO_LVM rd_NO_DM LANG=de_DE.UTF-8 elevator=cfq
selinux=0 ipv6.disable_ipv6=1 clocksource=hpet noisapnp noresume nf_conntrack.acct=1 printk.time=0 nmi_watchdog=0
pcie_aspm=force i915.i915_enable_rc6=1 i915.semaphores=1 i915.i915_enable_fbc=1 acpi_osi=Linux
SYSFONT=latarcyrheb-sun16 KEYTABLE=de-latin1-nodeadkeys

[root at rh:~]$ cat /etc/sysctl.conf | grep ipv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20120208/e12abb1d/attachment.pgp>

More information about the systemd-devel mailing list