aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-11-29 15:51:31 -0500
committerBill Nottingham <notting@redhat.com>2010-11-29 15:51:31 -0500
commit35396a9718b7457e999f00a92da9d5d5f4ccfd42 (patch)
treee7b1245288f4154673c59f01f64a23d4a490947a /rc.d
parentb909b34aa160c332015a93a46a9482dda1bbc256 (diff)
downloadinitscripts-35396a9718b7457e999f00a92da9d5d5f4ccfd42.tar
initscripts-35396a9718b7457e999f00a92da9d5d5f4ccfd42.tar.gz
initscripts-35396a9718b7457e999f00a92da9d5d5f4ccfd42.tar.bz2
initscripts-35396a9718b7457e999f00a92da9d5d5f4ccfd42.tar.xz
initscripts-35396a9718b7457e999f00a92da9d5d5f4ccfd42.zip
When creating btmp, ensure the proper context. (#656928)
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index da519504..8af1cce2 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -598,7 +598,7 @@ if [ -n "$_NEED_XFILES" ]; then
chgrp utmp /var/run/utmpx /var/log/wtmpx
chmod 0664 /var/run/utmpx /var/log/wtmpx
fi
-[ -n "$SELINUX_STATE" ] && restorecon /var/run/utmp* /var/log/wtmp* >/dev/null 2>&1
+[ -n "$SELINUX_STATE" ] && restorecon /var/run/utmp* /var/log/wtmp* /var/log/btmp >/dev/null 2>&1
# Clean up various /tmp bits
[ -n "$SELINUX_STATE" ] && restorecon /tmp