aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2005-04-22 17:07:34 +0000
committerBill Nottingham <notting@redhat.com>2005-04-22 17:07:34 +0000
commit8e2ad8f5514439dd6c0fbf5e13e74844f0acccd5 (patch)
tree2407bc140b6f93f7d90ebabb8392d829009722fd
parent0e1cb4360a29235623a30e11469cbf4707d571be (diff)
downloadinitscripts-8e2ad8f5514439dd6c0fbf5e13e74844f0acccd5.tar
initscripts-8e2ad8f5514439dd6c0fbf5e13e74844f0acccd5.tar.gz
initscripts-8e2ad8f5514439dd6c0fbf5e13e74844f0acccd5.tar.bz2
initscripts-8e2ad8f5514439dd6c0fbf5e13e74844f0acccd5.tar.xz
initscripts-8e2ad8f5514439dd6c0fbf5e13e74844f0acccd5.zip
add btmp support (#155537)
-rw-r--r--initscripts.spec6
1 files changed, 4 insertions, 2 deletions
diff --git a/initscripts.spec b/initscripts.spec
index 0aa8561e..cff20de3 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -70,8 +70,9 @@ rm -f \
%post
touch /var/log/wtmp
touch /var/run/utmp
-chown root:utmp /var/log/wtmp /var/run/utmp
-chmod 664 /var/log/wtmp /var/run/utmp
+touch /var/log/btmp
+chown root:utmp /var/log/wtmp /var/run/utmp /var/log/btmp
+chmod 664 /var/log/wtmp /var/run/utmp /var/log/btmp
/sbin/chkconfig --add netfs
/sbin/chkconfig --add network
@@ -201,6 +202,7 @@ rm -rf $RPM_BUILD_ROOT
%config /etc/ppp/ipv6-down
%config /etc/initlog.conf
%doc sysconfig.txt sysvinitfiles ChangeLog static-routes-ipv6 ipv6-tunnel.howto ipv6-6to4.howto changes.ipv6
+%ghost %attr(0664,root,utmp) /var/log/btmp
%ghost %attr(0664,root,utmp) /var/log/wtmp
%ghost %attr(0664,root,utmp) /var/run/utmp