commit aaa_base for openSUSE:Factory
Hello community, here is the log from the commit of package aaa_base for openSUSE:Factory checked in at 2014-09-09 18:59:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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-08-25 12:59:48.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.aaa_base.new/aaa_base.changes 2014-09-09 18:59:12.000000000 +0200 @@ -1,0 +2,6 @@ +Mon Sep 8 08:29:05 UTC 2014 - lnussel@suse.de + +- update service man page +- always pass --full to systemctl (bnc#882918) + +------------------------------------------------------------------- Old: ---- aaa_base-13.2+git20140812.2531ded.tar.xz New: ---- aaa_base-13.2+git20140908.1b4153e.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ aaa_base.spec ++++++ --- /var/tmp/diff_new_pack.du32kL/_old 2014-09-09 18:59:14.000000000 +0200 +++ /var/tmp/diff_new_pack.du32kL/_new 2014-09-09 18:59:14.000000000 +0200 @@ -17,7 +17,7 @@ Name: aaa_base -Version: 13.2+git20140812.2531ded +Version: 13.2+git20140908.1b4153e Release: 0 Url: https://github.com/openSUSE/aaa_base Provides: aaa_skel = %{version}-%{release} ++++++ aaa_base-13.2+git20140812.2531ded.tar.xz -> aaa_base-13.2+git20140908.1b4153e.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base-13.2+git20140812.2531ded/files/usr/sbin/service new/aaa_base-13.2+git20140908.1b4153e/files/usr/sbin/service --- old/aaa_base-13.2+git20140812.2531ded/files/usr/sbin/service 2014-08-12 11:00:44.000000000 +0200 +++ new/aaa_base-13.2+git20140908.1b4153e/files/usr/sbin/service 2014-09-08 10:28:41.000000000 +0200 @@ -72,7 +72,7 @@ if is_systemd_action "$2"; then if is_service "$1"; then daemon_reload "$1.service" - systemctl "$2" "$1.service" + systemctl "$2" --full "$1.service" ret=$? if [ "$2" = status ]; then systemctl is-active "$1.service" > /dev/null 2>&1 @@ -91,7 +91,7 @@ test $ret -ne 0 && return $ret for s in ${l#ConsistsOf=} ; do echo - systemctl status "$s" + systemctl status --full "$s" systemctl is-active "$s" > /dev/null 2>&1 ret=$? test $ret -ne 0 && return $ret @@ -151,14 +151,12 @@ help () { - echo "Usage: ${0##*/} [<options> | <service> [<args> | --full-restart]]" + echo "Usage: ${0##*/} [<options> | <service> [<args>]]" echo "Available <options>:" echo " -h,--help This help." echo " -s,--status-all List out status of all services." echo "Usage for specific <service>:" echo " ${0##*/} service_name argument [option]" - echo " ${0##*/} service_name --full-restart" - echo " ${0##*/} --full-restart service_name" exit 0 } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base-13.2+git20140812.2531ded/files/usr/share/man/man8/service.8 new/aaa_base-13.2+git20140908.1b4153e/files/usr/share/man/man8/service.8 --- old/aaa_base-13.2+git20140812.2531ded/files/usr/share/man/man8/service.8 2014-08-12 11:00:44.000000000 +0200 +++ new/aaa_base-13.2+git20140908.1b4153e/files/usr/share/man/man8/service.8 2014-09-08 10:28:41.000000000 +0200 @@ -1,39 +1,42 @@ -.\"$Id:$ -.TH service 8 "Jan 2006" +.TH service 8 "Sep 2014" .SH NAME -service \- run a System V init script +service \- run service .SH SYNOPSIS - service \fBSCRIPT\fR \fBCOMMAND\fR [\fBOPTIONS\fR] + service \fBSERVICE\fR \fBACTION\fR [\fBOPTIONS\fR] .br service --status-all .br - service --help | -h | --version + service --help | -h .SH DESCRIPTION -service runs a System V init script in as predictable environment as -possible, removing most environment variables and with current working -directory set to /. .PP -The \fBSCRIPT\fR parameter specifies a System V init script, located in -/etc/init.d/\fBSCRIPT\fR. The supported values of \fBCOMMAND\fR depend on the -invoked script, service passes \fBCOMMAND\fR and \fBOPTIONS\fR it to the init -script unmodified. All scripts should support at least the start and -stop commands. As a special case, if \fBCOMMAND\fR is \-\-full-restart, the -script is run twice, first with the stop command, then with the start -command. +The \fBSERVICE\fR parameter specifies a systemd service name to operate on. +The supported values of \fBACTION\fR depend on the specified service. +The actions start, stop, reload, restart, try-restart, force-reload, and status +are forwarded to systemctl, \fBOPTIONS\fR are ignored in that case. +Other actions may be defined in /usr/lib/initscripts/legacy-actions. Legacy +actions are called directly and \fBOPTIONS\fR are passed on the command line. + +The \-\-status-all option displays the status of all loaded service units. -service \-\-status-all runs all init scripts, in alphabetical order, with -the status command. .SH FILES -/etc/init.d - The directory containing System V init scripts. +/usr/lib/initscripts/legacy-actions + Directory containing System V legacy actions .BR -.SH ENVIRONMENT -LANG, -TERM - The only environment variables passed to the init scripts. + +.SH HISTORY +service used to run System V init scripts in a predictable environment. + +.SH USE AS rc* WRAPPER +SUSE Linux distributions used to have convenience symlinks to call +System V init scripts, for example /usr/sbin/rcexample -> +/etc/init.d/example. With the move to systemd the service command +can be used as wrapper for systemctl instead. For example +/usr/sbin/rcexample -> /usr/sbin/service. + .BR .SH "SEE ALSO" chkconfig(8), -ntsysv(8) +systemctl(1) +systemd.service(5) .BR -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de