Interesting 'documentation bug' for redh ... / 2012-02-13

2012-02-13 Interesting 'documentation bug' for redh ...
Attention: this item is more than 5 years old, links can be broken and information can have been updated.
Interesting 'documentation bug' for redhat and derived linux distributions: several sites mention how you can setup alias configurations in /etc/sysconfig/network-scripts/ifcfg-eth0:0 and beyond, but most configuration samples assume they need the statement
ONBOOT=yes
or ONBOOT=no. The original redhat documentation for alias and clone network adapter configuration misses the part on how to disable or enable them. We disabled a set of aliases and found out after a reboot that they were enabled again. Digging deeper in the script which reads them /etc/sysconfig/network-scripts/ifup-aliases found the right statement to disable them:
ONPARENT=no
Yes, the default is to enable them when the parent comes up.

Wrong configuration samples found at:

Tags: , ,

IPv6 check

Running test...
, reachable as koos+website@idefix.net. PGP encrypted e-mail preferred. PGP key 5BA9 368B E6F3 34E4 local copy PGP key 5BA9 368B E6F3 34E4 via keyservers

RSS
Meningen zijn die van mezelf, wat ik schrijf is beschermd door auteursrecht. Sommige publicaties bevatten een expliciete vermelding dat ze ongevraagd gedeeld mogen worden.
My opinions are my own, what I write is protected by copyrights. Some publications contain an explicit license statement which allows sharing without asking permission.
Other webprojects: Camp Wireless, wireless Internet access at campsites
This page generated by $Id: newsitem.cgi,v 1.62 2023/09/19 14:49:50 koos Exp $ in 0.009283 seconds.