Hello community, here is the log from the commit of package aaa_base checked in at Wed Aug 23 20:44:38 CEST 2006. -------- --- aaa_base/aaa_base.changes 2006-08-19 11:50:01.000000000 +0200 +++ aaa_base/aaa_base.changes 2006-08-22 16:55:20.000000000 +0200 @@ -1,0 +2,5 @@ +Tue Aug 22 16:54:24 CEST 2006 - werner@suse.de + +- Use new init feature of redo of utmp records if needed (#148038) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ aaa_base.spec ++++++ --- /var/tmp/diff_new_pack.W7tsVN/_old 2006-08-23 20:44:14.000000000 +0200 +++ /var/tmp/diff_new_pack.W7tsVN/_new 2006-08-23 20:44:14.000000000 +0200 @@ -19,7 +19,7 @@ PreReq: /usr/bin/sed /usr/bin/grep /bin/mv /bin/cat /bin/date /usr/bin/cmp /bin/fillup /sbin/insserv Autoreqprov: on Version: 10.2 -Release: 2 +Release: 4 Summary: SUSE Linux Base Package BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: aaa_base.tar.bz2 @@ -148,6 +148,8 @@ %defattr(-,root,root) %changelog -n aaa_base +* Tue Aug 22 2006 - werner@suse.de +- Use new init feature of redo of utmp records if needed (#148038) * Sat Aug 19 2006 - sndirsch@suse.de - call SuSEconfig.xdm (moved to /etc/X11/xdm/SuSEconfig.xdm) in xdm init script (Bug #200299) ++++++ aaa_base.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/aaa_base/etc/init.d/boot.cleanup new/aaa_base/etc/init.d/boot.cleanup --- old/aaa_base/etc/init.d/boot.cleanup 2006-07-27 19:14:20.000000000 +0200 +++ new/aaa_base/etc/init.d/boot.cleanup 2006-08-22 16:54:09.000000000 +0200 @@ -48,6 +48,10 @@ : > /var/run/utmp chmod 664 /var/run/utmp chown root:tty /var/run/utmp + + # Re-read inittab for jobs and redo utmp records if required + test "$PREVLEVEL" = "S" && telinit q + # Restore a possibly dynamically modified /etc/resolv.conf if ls /etc/resolv.conf.saved.by.* &>/dev/null ; then echo "Cleaning up using /sbin/modify_resolvconf:" diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/aaa_base/etc/init.d/rc new/aaa_base/etc/init.d/rc --- old/aaa_base/etc/init.d/rc 2006-08-08 15:27:59.000000000 +0200 +++ new/aaa_base/etc/init.d/rc 2006-08-22 16:52:44.000000000 +0200 @@ -87,13 +87,6 @@ sleep 3 echo "Sending all processes the KILL signal..." killall5 -9 - - # If the root file system is writable init has - # already set up the runlevel in the utmp file - utmp=no - cp -p /var/run/utmp /var/lib/ 2> /dev/null - test $? -eq 0 && utmp=yes - cat /proc/mounts | while read des fs type rest; do case "$type" in swap) continue ;; @@ -109,13 +102,6 @@ done umount -n -t proc /proc /etc/init.d/boot - - # Restore the utmp file if required - if test "$utmp" = "yes" -a -s /var/lib/utmp ; then - mv /var/lib/utmp /var/run/utmp - fi - rm -f /var/lib/utmp - unset utmp else for b in /etc/init.d/boot.d/S*boot.udev do ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org