From ef3d1e10d2012c9e2eec27cc87ffc8683e38a955 Mon Sep 17 00:00:00 2001 From: Erik Troan Date: Wed, 7 Apr 1999 06:35:49 +0000 Subject: made wtmp, utmp mode 664 and owned by group wtmp --- initscripts.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'initscripts.spec') diff --git a/initscripts.spec b/initscripts.spec index 895d5c12..0d274d07 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -4,12 +4,12 @@ Name: initscripts Version: %{version} Copyright: GPL Group: System Environment/Base -Release: 4 +Release: 5 Source: initscripts-%{version}.tar.gz BuildRoot: /var/tmp/initbld Requires: mingetty, bash, /bin/awk, /bin/sed, mktemp, modutils >= 2.1.85-3, e2fsprogs, sysklogd >= 1.3.31, procps Conflicts: redhat-release <= 5.1 -Prereq: /sbin/chkconfig +Prereq: /sbin/chkconfig, /usr/sbin/groupadd %description The initscripts package contains the basic system scripts used to boot @@ -75,10 +75,14 @@ ln -s ../rc.local $RPM_BUILD_ROOT/etc/rc.d/rc2.d/S99local ln -s ../rc.local $RPM_BUILD_ROOT/etc/rc.d/rc3.d/S99local ln -s ../rc.local $RPM_BUILD_ROOT/etc/rc.d/rc5.d/S99local +%pre +/usr/sbin/groupadd -r -f utmp %post if [ ! -f /var/log/wtmp ]; then touch /var/log/wtmp + chgrp utmp /var/log/wtmp + chmod 664 /var/log/wtmp fi chkconfig --add random @@ -169,6 +173,9 @@ rm -rf $RPM_BUILD_ROOT %doc sysconfig.txt sysvinitfiles %changelog +* Wed Apr 07 1999 Erik Troan +- changed utmp,wtmp to be group writeable and owned by group wtmp + * Tue Apr 06 1999 Bill Nottingham - fix loading of consolefonts/keymaps - three changelogs. three developers. one day. Woohoo! -- cgit v1.2.1