[node-patches] Change in ovirt-node[master]: Start rsyslog after ovirt-post to fix logging visibility
rbarry at redhat.com
rbarry at redhat.com
Sat May 11 00:04:43 UTC 2013
Ryan Barry has uploaded a new change for review.
Change subject: Start rsyslog after ovirt-post to fix logging visibility
......................................................................
Start rsyslog after ovirt-post to fix logging visibility
Temporary fix for service race condition
rhbz#953963
Change-Id: Id4887d4066db169d592cce3eee4b3587a28aab37
Signed-off-by: Ryan Barry <rbarry at redhat.com>
---
M scripts/ovirt-init-functions.sh
M services/ovirt-post.service
2 files changed, 5 insertions(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/63/14663/1
diff --git a/scripts/ovirt-init-functions.sh b/scripts/ovirt-init-functions.sh
index 5aab29a..0e8d204 100644
--- a/scripts/ovirt-init-functions.sh
+++ b/scripts/ovirt-init-functions.sh
@@ -1254,6 +1254,10 @@
# Restart jorunald to pick up /var/log/journal
service systemd-journald restart
+
+ # Restart auditd, since we can't delay starting auditd this long
+ # and /var/log/audit/audit.log will be hidden otherwise
+ service auditd restart
BACKUP=$(mktemp)
ISSUE=/etc/issue
diff --git a/services/ovirt-post.service b/services/ovirt-post.service
index 25c5581..e746b51 100644
--- a/services/ovirt-post.service
+++ b/services/ovirt-post.service
@@ -2,7 +2,7 @@
Description=oVirt Node post configuration service
After=ovirt.service
Wants=ovirt.service
-Before=getty at tty1.service
+Before=getty at tty1.service rsyslog.service
[Service]
Type=oneshot
--
To view, visit http://gerrit.ovirt.org/14663
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id4887d4066db169d592cce3eee4b3587a28aab37
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Ryan Barry <rbarry at redhat.com>
More information about the node-patches
mailing list