Hello community, here is the log from the commit of package aaa_base for openSUSE:Factory checked in at 2014-01-30 06:53:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/aaa_base (Old) and /work/SRC/openSUSE:Factory/.aaa_base.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "aaa_base" Changes: -------- --- /work/SRC/openSUSE:Factory/aaa_base/aaa_base.changes 2014-01-07 17:18:01.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.aaa_base.new/aaa_base.changes 2014-01-30 06:53:56.000000000 +0100 @@ -1,0 +2,31 @@ +Wed Jan 29 11:19:55 UTC 2014 - [email protected] + +- Map the generic terminal type ibm327x to the terminal type dumb + +------------------------------------------------------------------- +Wed Jan 29 10:57:41 UTC 2014 - [email protected] + +- Enable service script to reload systemd if required + +------------------------------------------------------------------- +Mon Jan 27 08:32:41 UTC 2014 - [email protected] + +- print parse errors to stderr (bnc#860477) + +------------------------------------------------------------------- +Fri Jan 24 09:51:04 UTC 2014 - [email protected] + +- handle targets in /sbin/service as well +- Check systemd service using LoadState (bnc#860083) + +------------------------------------------------------------------- +Thu Jan 23 08:25:11 UTC 2014 - [email protected] + +- Avoid journal output as this may take time on pure journald systems (bnc#859360) + +------------------------------------------------------------------- +Fri Jan 17 14:59:16 UTC 2014 - [email protected] + +- Do not load completions which depend on bash-completion package (bnc#856858) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ aaa_base-13.1.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base-13.1/files/etc/csh.login new/aaa_base-13.1/files/etc/csh.login --- old/aaa_base-13.1/files/etc/csh.login 2014-01-07 11:07:03.000000000 +0100 +++ new/aaa_base-13.1/files/etc/csh.login 2014-01-29 12:17:28.000000000 +0100 @@ -25,6 +25,7 @@ # Console if ( ! ${?TERM} ) setenv TERM linux if ( "$TERM" == "unknown" ) setenv TERM linux + if ( "$TERM" == "ibm327x" ) setenv TERM dumb if ( ! ${?SSH_TTY} && "$TERM" != "dumb" ) then path stty sane cr0 pass8 dec path tset -I -Q diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base-13.1/files/etc/profile new/aaa_base-13.1/files/etc/profile --- old/aaa_base-13.1/files/etc/profile 2014-01-07 11:07:03.000000000 +0100 +++ new/aaa_base-13.1/files/etc/profile 2014-01-29 12:17:28.000000000 +0100 @@ -66,6 +66,7 @@ if test -O "$tty" -a -n "$PS1"; then test -z "${TERM}" && { TERM=linux; export TERM; } test "${TERM}" = "unknown" && { TERM=linux; export TERM; } + test "${TERM}" = "ibm327x" && { TERM=dumb; export TERM; } # Do not change settings on local line if connected to remote if test -z "$SSH_TTY" -a "${TERM}" != "dumb" ; then path stty sane cr0 pass8 dec diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base-13.1/files/etc/profile.d/complete.bash new/aaa_base-13.1/files/etc/profile.d/complete.bash --- old/aaa_base-13.1/files/etc/profile.d/complete.bash 2014-01-07 11:07:03.000000000 +0100 +++ new/aaa_base-13.1/files/etc/profile.d/complete.bash 2014-01-29 12:17:28.000000000 +0100 @@ -679,6 +679,10 @@ { local dir=/usr/share/bash-completion/completions local cmd="${1##*/}" + local -i init=$(grep -c _init_completion "${dir}/${cmd}") + if ((init > 0)) && ! type -t _init_completion &> /dev/null ; then + complete -o default -o bashdefault "${cmd}" &>/dev/null && return 124 + fi . "${dir}/${cmd}" &>/dev/null && return 124 complete -o default -o bashdefault "${cmd}" &>/dev/null && return 124 } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base-13.1/files/etc/rc.status new/aaa_base-13.1/files/etc/rc.status --- old/aaa_base-13.1/files/etc/rc.status 2014-01-07 11:07:03.000000000 +0100 +++ new/aaa_base-13.1/files/etc/rc.status 2014-01-29 12:17:28.000000000 +0100 @@ -36,6 +36,7 @@ if test -z "$SYSTEMD_NO_WRAP" && /usr/bin/mountpoint -q /sys/fs/cgroup/systemd; then if test $PPID -ne 1 -a $# -eq 1 ; then _rc_base= + _sd_opts= case "$0" in /etc/init.d/boot.*) _rc_base=${0##*/boot.} ;; @@ -67,14 +68,20 @@ esac unset _rc_system case "$1" in - status) SYSTEMD_NO_WRAP=1 "$0" "$1" ;; - start|stop|reload|restart|try-restart|force-reload) echo "redirecting to systemctl $1 ${_rc_base}" 1>&2 ;; - *) unset _rc_base ;; + status) + SYSTEMD_NO_WRAP=1 "$0" "$1" + _sd_opts='--lines=0 --full --output=cat' + ;; + start|stop|reload|restart|try-restart|force-reload) + echo "redirecting to systemctl $1 ${_rc_base}.service" 1>&2 + _sd_opts='--ignore-dependencies' + ;; + *) unset _rc_base esac if test -n "$_rc_base" -a -x /usr/bin/systemctl ; then - exec /usr/bin/systemctl $1 "${_rc_base}.service" + exec /usr/bin/systemctl $_sd_opts $1 "${_rc_base}.service" fi - unset _rc_base + unset _rc_base _sd_opts fi if test -z "$REDIRECT" -a -x /sbin/showconsole ; then REDIRECT="$(/sbin/showconsole 2>/dev/null)" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base-13.1/files/usr/sbin/service new/aaa_base-13.1/files/usr/sbin/service --- old/aaa_base-13.1/files/usr/sbin/service 2014-01-07 11:07:03.000000000 +0100 +++ new/aaa_base-13.1/files/usr/sbin/service 2014-01-29 12:17:28.000000000 +0100 @@ -30,18 +30,59 @@ LANG=POSIX export PATH TERM LANG +typeset -i reloaded=0 +daemon_reload() +{ + local state + ((reloaded)) && return + state=$(systemctl --full --no-legend --no-pager --property=NeedDaemonReload show "$1" 2>/dev/null) + test "$state" = "NeedDaemonReload=no" && return + systemctl daemon-reload + let reloaded++ +} + +is_service() +{ + local state=$(systemctl --full --no-legend --no-pager --type=service --property=LoadState show "$1.service" 2>/dev/null) + test "$state" = "LoadState=loaded" +} + +is_target() +{ + local state=$(systemctl --full --no-legend --no-pager --type=target --property=LoadState show "$1.target" 2>/dev/null) + test "$state" = "LoadState=loaded" +} + exec_rc () { if sd_booted && test -z "$SYSTEMD_NO_WRAP"; then case "$2" in - "") + start|stop|reload|restart|try-restart|force-reload|status) + if is_service "$1"; then + daemon_reload "$1.service" + systemctl "$2" "$1.service" + return "$?" + elif is_target "$1"; then + daemon_reload "$1.target" + systemctl "$2" "$1.target" + local ret="$?" + if [ "$ret" -eq 0 -a "$2" = "status" ]; then + local l=$(systemctl show -p ConsistsOf $1.target 2>/dev/null) + local s + for s in ${l#ConsistsOf=} ; do + echo + systemctl status "$s" + done + fi + return "$ret" + fi + echo "$1 is neither service nor target!?" >&2 + return "1" + ;; + *) echo "Usage: $0 "$1" {start|stop|reload|restart|try-restart|force-reload|status}" return 1 ;; - start|stop|reload|restart|try-restart|force-reload|status) - systemctl "$2" "$1.service" - return "$?" - ;; esac fi local rc="${RCDIR}/$1" @@ -56,8 +97,10 @@ if test -x ${RCDIR}/$rc; then return 0 fi - if sd_booted && systemctl --full --no-legend --no-pager --type=service --all list-unit-files 2>/dev/null|grep -q "^$rc.service"; then - return 0 + if sd_booted ; then + if is_service "$rc" || is_target "$rc"; then + return 0 + fi fi return 1 } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base-13.1/get_kernel_version.c new/aaa_base-13.1/get_kernel_version.c --- old/aaa_base-13.1/get_kernel_version.c 2014-01-07 11:07:03.000000000 +0100 +++ new/aaa_base-13.1/get_kernel_version.c 2014-01-29 12:17:28.000000000 +0100 @@ -119,7 +119,7 @@ ((number_dots >= 2) && !my_is_alnum_punct(c))) { //invalid_char = 1; - printf("invalid=1 for %c\n", c); + fprintf(stderr, "invalid=1 for %c\n", c); break; } } -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
