Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

attempting a complete purge of IPV6...

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
User avatar
litspliff
Posts: 28
Joined: 2011-11-12 20:48

attempting a complete purge of IPV6...

#1 Post by litspliff »

in /etc/default/grub, i have added: GRUB_CMDLINE_LINUX="IPV6_DISABLE=1"
in /etc/sysctl.conf, i have added:
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.eth0.disable_ipv6 = 1

after reboot, i still get this from ps aux | grep v6:
root 50 0.0 0.0 0 0 ? S< 07:41 0:00 [ipv6_addrconf]

what gives? i would think telling the kernel not to use IPV6 would have prevented this thread from running.
what's going on here?

i don't trust ipv6 for many reasons, and this makes me more suspicious of it.
what is the next step? attempts to kill the process fail with no error returned.
thanks in advance for any help!

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: attempting a complete purge of IPV6...

#2 Post by p.H »

litspliff wrote:in /etc/default/grub, i have added: GRUB_CMDLINE_LINUX="IPV6_DISABLE=1"
IIRC, the correct parameter is "ipv6.ipv6_disable=1".
You need to run update-grub to rebuild grub.cfg with the changes.
Note that it won't disable the IPv6 kernel subsystem but only use of IPv6 on all interfaces.
In order to disable totally IPv6, the parameter is "ipv6.disable=1". But it may have issues with some applications which expect IPv6 functions to be available.
litspliff wrote:attempts to kill the process fail
It is a kernel thread, I don't think it can be killed.
Last edited by p.H on 2018-03-27 15:26, edited 1 time in total.

User avatar
litspliff
Posts: 28
Joined: 2011-11-12 20:48

Re: attempting a complete purge of IPV6...

#3 Post by litspliff »

sorry dude, but you're totally confused. see here, near the end:
https://wiki.debian.org/DebianIPv6

i humbly restate:

what gives (see my original post)

User avatar
litspliff
Posts: 28
Joined: 2011-11-12 20:48

Re: attempting a complete purge of IPV6...

#4 Post by litspliff »

actual text from link above:


How to turn off IPv6

1. Append IPV6_DISABLE=1 to the GRUB_CMDLINE_LINUX variable in /etc/default/grub.
2. Run update-grub and reboot.

or better,

edit /etc/sysctl.conf and add those parameters to kernel. Also be sure to add extra lines for other network interfaces you want to disable IPv6.

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.eth0.disable_ipv6 = 1

After editing sysctl.conf, you should run sysctl -p to activate changes or reboot system.


note: i did run update-grub before reboot, and all other indication are that it worked
note: i want to disable the subsystem in the kernel as well.
Last edited by litspliff on 2018-03-27 15:34, edited 1 time in total.

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: attempting a complete purge of IPV6...

#5 Post by p.H »

Then add ipv6.disable=1 to the kernel command line.

User avatar
litspliff
Posts: 28
Joined: 2011-11-12 20:48

Re: attempting a complete purge of IPV6...

#6 Post by litspliff »

okay, thanks, i'll add that as well and see what happens.

User avatar
litspliff
Posts: 28
Joined: 2011-11-12 20:48

Re: attempting a complete purge of IPV6...

#7 Post by litspliff »

f yeah dude, that did it.
who do we talk to about getting the text ammended @ that link?

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: attempting a complete purge of IPV6...

#8 Post by p.H »

It is amazing that an advice from someone who is totally confused actually worked.

I don't know who to contact. But I can see that the mistake was introduced by the latest revision. Prior revisions contained "ipv6.disable=1".

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: attempting a complete purge of IPV6...

#9 Post by bw123 »

p.H wrote:It is amazing that an advice from someone who is totally confused actually worked.

I don't know who to contact. But I can see that the mistake was introduced by the latest revision. Prior revisions contained "ipv6.disable=1".
There are some people in #debian and #debian-www on irc that do some edits, so letting someone there know would probably be pretyy quick. Also the wiki has an email for the editor (please not an email from everybody!) and also the wiki has a mailing list. Any of them would probably be an okay way to get it fixed.
https://wiki.debian.org/Teams/DebianWik ... h_the_team
resigned by AI ChatGPT

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: attempting a complete purge of IPV6...

#10 Post by debiman »

litspliff wrote:sorry dude, but you're totally confused. see here, near the end:
https://wiki.debian.org/DebianIPv6

i humbly restate:

what gives (see my original post)
last update: november 2016
also "DebianIPV6" seems to be some strange "project"???
Full IPv6 support was a Release Goal for Squeeze.
not saying you're wrong, but maybe you should get a second opinion on that.
debian wiki can be wrong/outdated sometimes.

fwiw, i've never seen kernel parameters in ALL_CAPS.

Post Reply