Bug#906421: invoke-rc.d: service not started from package postinst anymore

Valentin Vidic Valentin.Vidic at CARNet.hr
Fri Aug 17 13:53:13 BST 2018


On Fri, Aug 17, 2018 at 02:40:53PM +0200, Michael Biebl wrote:
> Could you add "set -x" to /usr/sbin/invoke-rc.d, then re-install the
> lldapd package and attach the output please.

Sure, here it goes:

Preparing to unpack .../lldpad_1.0.1+git20150824.036e314-4_amd64.deb ...
Unpacking lldpad (1.0.1+git20150824.036e314-4) ...
Setting up lldpad (1.0.1+git20150824.036e314-4) ...
+ RUNLEVELHELPER=/sbin/runlevel
+ POLICYHELPER=/usr/sbin/policy-rc.d
+ INITDPREFIX=/etc/init.d/
+ RCDPREFIX=/etc/rc
+ BEQUIET=
+ MODE=
+ ACTION=
+ FALLBACK=
+ NOFALLBACK=
+ FORCE=
+ RETRY=
+ RETURNFAILURE=
+ RC=
+ is_systemd=
+ is_openrc=
+ SKIP_SYSTEMD_NATIVE=
+ set +e
+ test 2 -eq 0
+ state=I
+ test 2 -gt 0
+ test I '!=' III
+ case "$1" in
+ case ${state} in
+ verifyparameter lldpad
+ test 1 -eq 0
+ test 1 -ne 1
+ return
+ INITSCRIPTID=lldpad
+ state=II
+ shift
+ test 1 -gt 0
+ test II '!=' III
+ case "$1" in
+ case ${state} in
+ verifyparameter start
+ test 1 -eq 0
+ test 1 -ne 1
+ return
+ ACTION=start
+ state=III
+ shift
+ test 0 -gt 0
+ test III '!=' III
+ test -d /run/systemd/system
+ is_systemd=1
+ UNIT=lldpad.service
+ '[' '!' -x /sbin/runlevel ']'
++ /sbin/runlevel
+ RL='N 5'
+ RL=5
+ test x5 = x0
+ test x5 = x6
+ test x5 = x0
+ test x5 = x6
+ RC=
+ '[' -n 1 ']'
+ case ${ACTION} in
+ systemctl --quiet is-enabled lldpad.service
+ systemctl --quiet is-active lldpad.service
+ RC=101
+ _executable=
+ '[' -n 1 ']'
+ _executable=1
+ '[' 1 = 1 ']'
+ test x101 = x
+ querypolicy
+ policyaction=start
+ test x101 = x101
+ test start = start
+ policyaction='(start)'
+ test x/usr/sbin/policy-rc.d '!=' x
+ test -x /usr/sbin/policy-rc.d
+ test '!' -e /sbin/init
+ test x101 = x
+ return
+ case ${RC} in
+ test x = xquery
+ test x '!=' x
+ test 101 -eq 104
+ test 101 -eq 101
+ test x = x
+ test xstart = xstatus
+ RC=0
+ exit 0
Created symlink
/etc/systemd/system/multi-user.target.wants/lldpad.service → /lib/systemd/system/lldpad.service.
Created symlink /etc/systemd/system/sockets.target.wants/lldpad.socket → /lib/systemd/system/lldpad.socket.
Processing triggers for libc-bin (2.27-5) ...
Processing triggers for systemd (239-7) ...
Processing triggers for man-db (2.8.4-2) ...

-- 
Valentin




More information about the Pkg-systemd-maintainers mailing list