Package: shairport-sync
Version: 3.1.4-1
Severity: important

Dear Maintainer,

I did an update of my Debian/testing machine which still runs with
_sysvinit_. During this the shairport-sync package was updated to
3.1.4-1.

During configuration the daemon had to be restarted which hang
the update process infinite.

If I killed the shairport-sync process the update process continued but
left a broken package.

I think the problem is the following:

To restart the daemon the update process starts eventually
"/etc/init.d/shairport-sync restart"

There is no restart function in "/etc/init.d/shairport-sync" but
"/etc/init.d/shairport-sync" pulls in "/lib/init/init-d-script".

"/lib/init/init-d-script" calls the "do_restart" function in case of
"restart" and "do_restart" calls "do_stop_cmd" and "do_start_cmd".

The problem is now that "do_start_cmd" does not call "do_start_prepare"
which is defined in "/etc/init.d/shairport-sync" and is needed to add
the command line option "--daemon". ("do_start" would do this.)

So it seems the "/etc/init.d/shairport-sync restart" starts the daemon
in the _foreground_ and thatswhy the restart never finishs.

If I try it manually, the "/etc/init.d/shairport-sync stop" and
"/etc/init.d/shairport-sync start" do the right thing. It is only
restart which has the problem.

Thomas

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.14.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages shairport-sync depends on:
ii  adduser           3.116
ii  avahi-daemon      0.7-3
ii  libasound2        1.1.3-5
ii  libavahi-client3  0.7-3
ii  libavahi-common3  0.7-3
ii  libc6             2.25-5
ii  libconfig9        1.5-0.4
ii  libdaemon0        0.14-6+b1
ii  libgcc1           1:7.2.0-18
ii  libpopt0          1.16-10+b2
ii  libpulse0         11.1-4
ii  libsndfile1       1.0.28-4
ii  libsoxr0          0.1.2-3
ii  libssl1.1         1.1.0g-2
ii  libstdc++6        7.2.0-18

shairport-sync recommends no packages.

shairport-sync suggests no packages.

-- no debconf information

Reply via email to