[Pkg-mpd-maintainers] Bug#1017921: mpd tries to start on non-interactive sessions
Geoffroy Youri Berret
kaliko at debian.org
Wed Aug 24 08:57:51 BST 2022
Hi Antoine :)
On 8/22/22 16:55, Antoine Beaupre wrote:
> […] > Here the mpd daemon tries to start whenever *anyone* SSHes into my
> home server. I have a system-wide mpd running on that server, yet it
> still tries to start the socket service, which means that any systemd
> --user session is "degraded". Here's one example:
>
> anarcat at marcos:~$ systemctl list-units --failed
> UNIT LOAD ACTIVE SUB DESCRIPTION
> ● mpd.socket loaded failed failed mpd.socket
> […]
>
> anarcat at marcos:~$ systemctl --user status mpd.socket
> ● mpd.socket
> Loaded: loaded (/home/anarcat/.config/systemd/user/mpd.socket; enabled; vendor preset: enabled)
> Active: failed (Result: resources)
> Triggers: ● mpd.service
> Listen: [::]:6600 (Stream)
>
> […]
It looks like socket service was explicitly installed for
anarcat at marcos, the unit lies in ${HOME}/.config/systemd/user/mpd.socket
(then it fails because MPD is already running system wide on :6600).
> The .service file also tries to start for some users:
>
> […]
> register at marcos:~$ systemctl --user status mpd.service
> ● mpd.service - Music Player Daemon
> Loaded: loaded (/usr/lib/systemd/user/mpd.service; enabled; vendor preset: enabled)
> Active: failed (Result: exit-code) since Mon 2022-08-22 10:51:21 EDT; 18s ago
> Docs: man:mpd(1)
> man:mpd.conf(5)
> file:///usr/share/doc/mpd/html/user.html
> Process: 613776 ExecStart=/usr/bin/mpd --no-daemon (code=exited, status=1/FAILURE)
> Main PID: 613776 (code=exited, status=1/FAILURE)
> CPU: 85ms
That I don't understand, systemd service is already disabled for user,
cf. https://salsa.debian.org/mpd-team/mpd/-/commit/891b8318 (shipped in
0.21.26-1).
I've installed MPD on a fresh bullseye headless install, I don't get MPD
user service|socket enabled and trying to start.
Maybe you have some settings kept from a previous dist upgrade?
Did I miss something?
Cheers
k.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-mpd-maintainers/attachments/20220824/02b5d1be/attachment.sig>
More information about the Pkg-mpd-maintainers
mailing list