hi can someone please take a look at this
in myopinion it is not optimal starting services which possibly read settings controlled by "systcl.conf" and after that the local settings get applied sample below: after boot smbd is listening on ipv6, sysctl disables this, but seems to do it after smbd has started, manual restarting the service stops smbd to listen on ipv6 this may also problematic for all sort of software -------- Original-Nachricht -------- Betreff: Re: kernel 3.2 / 2.6.42 disable ipv6 Datum: Wed, 08 Feb 2012 15:57:28 +0100 Von: Reindl Harald <[email protected]> Antwort an: Community support for Fedora users <[email protected]> Organisation: the lounge interactive design An: [email protected] Am 08.02.2012 10:33, schrieb Reindl Harald: >> sysctl -w net.ipv6.conf.all.disable_ipv6=1 >> echo "net.ipv6.conf.all.disable_ipv6=1" >> /etc/sysctl.conf >> >> The first command disables it immediately, the second after a reboot. > > thanks, this works! > "systcl -p" makes changes in /etc/sysctl.conf active immediately > > well, my /etc/sysctl.conf is growing and growing :-) hm - but it seems not to work perfectly "sysctl.conf" is applyied not at the first begin of the boot-process so it seems samba as example is starting while the option is not set, restart it after boot hash fnished removes the ipv6-listening [root@rh:~]$ netstat -l | grep smb tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 1123/smbd tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 1123/smbd tcp 0 0 :::445 :::* LISTEN 1123/smbd tcp 0 0 :::139 :::* LISTEN 1123/smbd [root@rh:~]$ service smb restart Redirecting to /bin/systemctl restart smb.service [root@rh:~]$ netstat -l | grep smb tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 5430/smbd tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 5430/smbd
signature.asc
Description: OpenPGP digital signature
_______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
