From a6d3b9355be3a7c5213e66e9753d16c72a7c0d77 Mon Sep 17 00:00:00 2001 From: Will Woods Date: Fri, 11 May 2012 13:42:36 -0400 Subject: [PATCH] runtime-cleanup: correctly clean up iproute iproute's binaries moved to /usr/sbin, so they were *all* getting removed by the '/usr/*' glob. iscsi's NetworkManager dispatcher script uses 'ip' so this might be needed for proper iscsi support; at the very least it quiets some error messages from NM. It's also pretty likely people's kickstart scripts use 'ip' utility, so we'd better make sure it's still available. --- share/runtime-cleanup.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/runtime-cleanup.tmpl b/share/runtime-cleanup.tmpl index 1656d439..4a02fe32 100644 --- a/share/runtime-cleanup.tmpl +++ b/share/runtime-cleanup.tmpl @@ -221,7 +221,7 @@ removefrom gzip /usr/bin/{gzexe,zcmp,zdiff,zegrep,zfgrep,zforce,zgrep,zless,zmor removefrom hwdata /etc/* /usr/share/hwdata/oui.txt /usr/share/hwdata/pnp.ids removefrom hwdata /usr/share/hwdata/upgradelist removefrom initscripts /etc/ppp/* /usr/sbin/* /usr/share/locale/* -removefrom iproute /etc/* /sbin/cbq /sbin/ifcfg /sbin/rtmon /sbin/tc /usr/* +removefrom iproute --allbut /usr/sbin/{ip,routef,routel,rtpr} removefrom iscsi-initiator-utils /etc/rc.d/* removefrom kbd \ /usr/bin/{chvt,deallocvt,fgconsole,getkeycodes,kbdinfo,kbdrate,loadunimap,\