OBS User unknown 2009-03-09 21:38:35 +00:00 committed by Git OBS Bridge
parent 109b3b2fe8
commit ab27d1f62a
3 changed files with 29 additions and 12 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Mar 9 17:21:41 CET 2009 - ro@suse.de
- touch and chmod some files only if they do not exist before
leave them alone otherwise
-------------------------------------------------------------------
Wed Mar 4 11:30:08 CET 2009 - meissner@suse.de

View File

@ -166,17 +166,25 @@ touch etc/mtab
if test ! -d var/log ; then
mkdir -p var/log
fi
touch var/log/faillog
chmod 600 var/log/faillog
touch root/.bash_history
chmod 600 root/.bash_history
chown root:root var/log/faillog
touch var/log/lastlog
chmod 644 var/log/lastlog
chown root:tty var/log/lastlog
touch var/log/wtmp
chmod 664 var/log/wtmp
chown root:tty var/log/wtmp
if test ! -e var/log/faillog ; then
touch var/log/faillog
chmod 600 var/log/faillog
chown root:root var/log/faillog
fi
if test ! -e root/.bash_history ; then
touch root/.bash_history
chmod 600 root/.bash_history
fi
if test ! -e var/log/lastlog ; then
touch var/log/lastlog
chmod 644 var/log/lastlog
chown root:tty var/log/lastlog
fi
if test ! -e var/log/wtmp ; then
touch var/log/wtmp
chmod 664 var/log/wtmp
chown root:tty var/log/wtmp
fi
if test -e usr/sbin/usrdel.local -a ! -e usr/sbin/userdel.local ; then
cp usr/sbin/usrdel.local usr/sbin/userdel.local
fi

View File

@ -28,7 +28,7 @@ Recommends: cron logrotate
PreReq: /usr/bin/sed /usr/bin/grep /bin/mv /bin/cat /bin/ls /bin/date /usr/bin/cmp /bin/fillup /sbin/insserv udev net-tools
AutoReqProv: on
Version: 11.2
Release: 14
Release: 15
Summary: SUSE Linux Base Package
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: aaa_base.tar.bz2
@ -139,6 +139,9 @@ rm -f /root/.gnupg/secring.gpg.aaa_save
%defattr(-,root,root)
%changelog
* Mon Mar 09 2009 ro@suse.de
- touch and chmod some files only if they do not exist before
leave them alone otherwise
* Wed Mar 04 2009 meissner@suse.de
- MALLOC_CHECK_=3 (bnc#481582)
* Mon Feb 23 2009 ro@suse.de