Hello community, here is the log from the commit of package aaa_base for openSUSE:Factory checked in at Thu Apr 21 13:21:04 CEST 2011. -------- --- aaa_base/aaa_base.changes 2011-04-15 17:45:40.000000000 +0200 +++ /mounts/work_src_done/STABLE/aaa_base/aaa_base.changes 2011-04-21 11:14:28.000000000 +0200 @@ -1,0 +2,5 @@ +Thu Apr 21 09:13:49 UTC 2011 - werner@suse.de + +- Start blogd only once at boot + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ aaa_base.spec ++++++ --- /var/tmp/diff_new_pack.eo580b/_old 2011-04-21 13:20:25.000000000 +0200 +++ /var/tmp/diff_new_pack.eo580b/_new 2011-04-21 13:20:25.000000000 +0200 @@ -21,7 +21,7 @@ Name: aaa_base Version: 11.5 -Release: 5 +Release: 69 License: GPLv2+ Group: System/Fhs Url: http://gitorious.org/opensuse/aaa_base ++++++ aaa_base.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base/files/etc/init.d/boot new/aaa_base/files/etc/init.d/boot --- old/aaa_base/files/etc/init.d/boot 2011-04-15 17:26:52.000000000 +0200 +++ new/aaa_base/files/etc/init.d/boot 2011-04-21 11:05:12.000000000 +0200 @@ -29,6 +29,18 @@ export CONSOLE REDIRECT # +# Check real terminal line +# +if test -z "$REDIRECT" ; then + if (echo -n > /dev/tty) 2>/dev/null ; then + REDIRECT=/dev/tty + else + REDIRECT=/dev/console + fi + DO_BLOGD=no +fi + +# # Configuration and coloring of the boot messages # @@ -53,11 +65,11 @@ # Save old terminal settings and set -nl to avoid staircase # effect, do not lock scrolling, and avoid break characters. # -otty=$(stty -g) +otty=$(stty -g < $REDIRECT) if test "$FLOW_CONTROL" = "yes" ; then - stty -nl ixon ignbrk -brkint + stty -nl ixon ignbrk -brkint < $REDIRECT else - stty -nl -ixon ignbrk -brkint + stty -nl -ixon ignbrk -brkint < $REDIRECT fi echo -n "System Boot Control: " @@ -168,16 +180,8 @@ # Start blogd, requires /proc and /dev/pts. # Export the real device in variable REDIRECT. # -if test -z "$REDIRECT" ; then - if (echo -n > /dev/tty) 2>/dev/null ; then - REDIRECT=/dev/tty - else - REDIRECT=/dev/console - fi -else - if test "$DO_BLOGD" = yes ; then - /sbin/blogd $REDIRECT - fi +if test "$DO_BLOGD" = yes ; then + /sbin/blogd $REDIRECT fi # @@ -301,11 +305,6 @@ test -s /lib/bootcycle/stats && . /lib/bootcycle/stats # -# Stop blogd -# -killproc -QUIT /sbin/blogd - -# # Remember for master resource script # if test "$DO_CONFIRM" = "yes" ; then @@ -321,7 +320,7 @@ # # Restore old terminal settings # -stty $otty +stty $otty < $REDIRECT # # Let YaST2 finish its installation, if you installed with YaST2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base/files/etc/init.d/rc new/aaa_base/files/etc/init.d/rc --- old/aaa_base/files/etc/init.d/rc 2011-04-15 17:26:52.000000000 +0200 +++ new/aaa_base/files/etc/init.d/rc 2011-04-21 11:05:12.000000000 +0200 @@ -115,6 +115,18 @@ export CONSOLE REDIRECT # +# Check real terminal line +# +if test -z "$REDIRECT" ; then + if (echo -n > /dev/tty) 2>/dev/null ; then + REDIRECT=/dev/tty + else + REDIRECT=/dev/console + fi + DO_BLOGD=no +fi + +# # Set I/O of this script and its childs to console # exec 0<> $CONSOLE 1>&0 2>&0 @@ -191,26 +203,18 @@ # Save old terminal settings and set -nl to avoid staircase # effect, do not lock scrolling, and avoid break characters. # -otty=$(stty -g) +otty=$(stty -g < $REDIRECT) if test "$FLOW_CONTROL" = "yes" ; then - stty -nl ixon ignbrk -brkint + stty -nl ixon ignbrk -brkint < $REDIRECT else - stty -nl -ixon ignbrk -brkint + stty -nl -ixon ignbrk -brkint < $REDIRECT fi # # Start blogd if not in single user mode # -if test -z "$REDIRECT" ; then - if (echo -n > /dev/tty) 2>/dev/null ; then - REDIRECT=/dev/tty - else - REDIRECT=/dev/console - fi -else - if test "$DO_BLOGD" = yes; then - /sbin/blogd $REDIRECT - fi +if test "$DO_BLOGD" = yes; then + /sbin/start_daemon /sbin/blogd $REDIRECT fi if test "$DO_CONFIRM" = "yes" ; then @@ -434,7 +438,7 @@ # # Restore old terminal settings # -stty $otty +stty $otty < $REDIRECT # # For the first logon on a virtual console. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org