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:57 -0500 |
commit | 3eeea81b1d4dea6435e847fe2a34004d1b6dbb9c (patch) | |
tree | ab59e9112ac97486f37fe58728b13664f8228b92 | |
parent | 5927b59ae10aed8801c4a8360a3a50171e987dad (diff) | |
download | initscripts-3eeea81b1d4dea6435e847fe2a34004d1b6dbb9c.tar initscripts-3eeea81b1d4dea6435e847fe2a34004d1b6dbb9c.tar.gz initscripts-3eeea81b1d4dea6435e847fe2a34004d1b6dbb9c.tar.bz2 initscripts-3eeea81b1d4dea6435e847fe2a34004d1b6dbb9c.tar.xz initscripts-3eeea81b1d4dea6435e847fe2a34004d1b6dbb9c.zip |
When creating btmp, ensure the proper context. (#656928)
-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 ff003e92..a6833ced 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -597,7 +597,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 |