[Pkg-mpd-maintainers] Bug#849726: mpd: On i686, RestrictNamespaces=yes in Systemd unit does not allow mpd to open sockets

Max Kellermann max at duempel.org
Sat Dec 31 08:10:28 UTC 2016


On 2016/12/30 08:26, Konstantin Khomoutov <flatworm at users.sourceforge.net> wrote:
> | 4938  socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC, 0) = -1 EPROTONOSUPPORT (Protocol not supported)
> | 4938  exit_group(1)                     = ?
> | 4938  +++ exited with 1 +++

There are two problems with your findings:

1. MPD does not contain any code which creates SOCK_DGRAM, even less
   so with AF_UNIX.  This is not MPD!

2. Any time MPD exits due to a failure, it will print an error
   message.  This process does not.  Again, what you see here is not
   MPD!

3. Why do you get EPROTONOSUPPORT even though AF_UNIX is allowed?  Not
   a MPD bug, but maybe a systemd bug.



More information about the Pkg-mpd-maintainers mailing list