Posts: 1,028
SamK
Joined: 21 Aug 2011
#1
A few days ago the liquorix kernel was installed and is working fine.

Code: Select all

uname -r
2.6.39-4.dmz.1-liquorix-686
At each boot-up an error message is displayed in red during the boot process. A quick look in /var/log/boot indicates:

Code: Select all

snip 
...Setting kernel variables ...error:"net.ipv6.conf.all.disable_ipv6" is an unknown key
...error:"net.ipv6.bindv6only" is an unknown key
snip
IPv4 only is needed here.

Searching the forum turns up some threads showing how to disable IPv6 in antiX 8.5 or earlier but I did not see one indicating how to deal with antiX-M11 + Liquorix.
Posts: 1,028
SamK
Joined: 21 Aug 2011
#2
Does the deafening silence mean that I am the only one with this issue?

Having looked into it further it seems that each message originates from a different file. Commenting the appropriate entry in each file prevents the error messages.

/etc/sysctl.d/bindv6only.conf

Code: Select all

## Commented to prevent error message at boot-up in antiX-M11 + Liquorix kernel
#net.ipv6.bindv6only = 1
/etc/syscttl.conf

Code: Select all

## Commented to prevent error message at boot-up in antiX-M11 + Liquorix kernel
#net.ipv6.conf.all.disable_ipv6=1
No adverse effects have been seen up to the present time.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#3
Glad you managed to find the 'fix'. I do get the same error when using liquorix kernels, but I have just ignored it.

I guess the default from Debian caters for those using ipv6.
Posts: 1,028
SamK
Joined: 21 Aug 2011
#4
Commenting the files as described in post #2 prevents the display of error messages at boot-up. The Liquorix kernel still loads the IPv6 module.

Code: Select all

lsmod | grep ipv6
To prevent this a further step is required in addition to post #2. The module must be blacklisted.


Blacklist the Loading of the IPv6 module in the Liquorix Kernel
As root

Add an Entry in the Blacklist
edit /etc/modprobe.d/blacklist.conf
Add the following lines:

Code: Select all

# Commented to prevent the loading of the IPv6 kernel module in antiX-M11
blacklist ipv6
To initiate the changes
Reboot


Verify the Module is not Loaded

Code: Select all

lsmod | grep ipv6
Note: This should return nothing.