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

2012-02-13 Interesting 'documentation bug' for redh ... 9 years ago
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, The Virtual Bookcase, book reviews
This page generated by $Id: newsitem.cgi,v 1.54 2020/12/31 15:36:31 koos Exp $ in 0.005304 seconds.