diff options
author | Bill Nottingham <notting@redhat.com> | 2010-11-29 15:51:31 -0500 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2010-11-29 15:51:31 -0500 |
commit | 35396a9718b7457e999f00a92da9d5d5f4ccfd42 (patch) | |
tree | e7b1245288f4154673c59f01f64a23d4a490947a /rc.d/rc.sysinit | |
parent | b909b34aa160c332015a93a46a9482dda1bbc256 (diff) | |
download | initscripts-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/rc.sysinit')
-rwxr-xr-x | rc.d/rc.sysinit | 2 |
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 |