[master 2/2] Change online action to change

bcl installerbot-noreply at redhat.com
Wed Apr 22 18:24:22 UTC 2015


From: "Brian C. Lane" <bcl at redhat.com>

The udevadm online action has never, as far as I can find, been a valid
action. It should be change instead. This has been logging a non-fatal
error since it was added.
---
 dracut/anaconda-lib.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dracut/anaconda-lib.sh b/dracut/anaconda-lib.sh
index 8128ca0..f373d37 100755
--- a/dracut/anaconda-lib.sh
+++ b/dracut/anaconda-lib.sh
@@ -263,7 +263,7 @@ run_kickstart() {
         udevadm trigger --action=change --subsystem-match=block
     fi
     if [ "$do_net" ]; then
-        udevadm trigger --action=online --subsystem-match=net
+        udevadm trigger --action=change --subsystem-match=net
     fi
 
     # and that's it - we're back to the mainloop.


-- 
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/a4f80218b69e80fe37da0b247a91e43c51e45d59


More information about the anaconda-patches mailing list