[node-patches] Change in ovirt-node[master]: init: Restart netconsole when network is available

fabiand at fedoraproject.org fabiand at fedoraproject.org
Fri Oct 26 07:30:40 UTC 2012


Fabian Deutsch has uploaded a new change for review.

Change subject: init: Restart netconsole when network is available
......................................................................

init: Restart netconsole when network is available

Previously the netconsole service was configured and started correctly,
but it also stopped right away at boot, because it was started before
any NICs were up (unregistered)-
Now the service is restarted later during boot to enable the netconsole.

rhbz#869984

Change-Id: I8139e336ef733ca04468daee127177203f1b73c6
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M scripts/ovirt-init-functions.sh
1 file changed, 5 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/48/8848/1

diff --git a/scripts/ovirt-init-functions.sh b/scripts/ovirt-init-functions.sh
index b6cf20b..5111cbe 100644
--- a/scripts/ovirt-init-functions.sh
+++ b/scripts/ovirt-init-functions.sh
@@ -1228,6 +1228,11 @@
     {
         log "Starting ovirt-post"
 
+        # Restarting netconsole, now that the network is up, rhbz#869984
+        [[ -f "/config/etc/sysconfig/netconsole" ]] && {
+            service netconsole restart
+        }
+
         # Re-load keyboard settings
         load_keyboard_config 2> /dev/null
 


--
To view, visit http://gerrit.ovirt.org/8848
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8139e336ef733ca04468daee127177203f1b73c6
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list