sysconfig ifcfg-* support for running custom post-up scripts per interface?

Bill Nottingham notting at redhat.com
Fri Jan 22 20:42:47 UTC 2010


Tony Nelson (tonynelson at georgeanelson.com) said: 
> > > same opinion here. I have actually used this for a while, adds
> > > one more thing that needs be verified after system upgrades, not 
> > > very nice. 
> > 
> > Realistically, the conglomeration of configuration and scripts in
> > /etc/sysconfing/network-scripts was never thought out well. But it's
> > not worth dealing with the historical baggage to change it now.
> 
> Perhaps there should be a default /sbin/ifup-local script that 
> dispatches to /etc/sysconfig/network-scripts/ifup-local/<interface>?  
> It could contain useful comments, including that it is by default 
> replaceable as its target directory is empty by default.

... which would then try and overwrite any prior user-created files
in that place on upgrade.

Bill


More information about the devel mailing list