Bug#769951: [Pkg-mpd-maintainers] Bug#769951: mpd: `update-rc.d mpd disable' is not enough to be able to run mpd as normal user

2014-12-03 Thread Clément B .
> Socket activation is not a workaround for services not able to open > sockets, it's an additional feature. > http://0pointer.de/blog/projects/socket-activation.html Thanks for the link, good read. You are right, both unit files have to be kept. In that case, there is an option Also= for the [In

Bug#769951: [Pkg-mpd-maintainers] Bug#769951: Bug#769951: Bug#769951: mpd: `update-rc.d mpd disable' is not enough to be able to run mpd as normal user

2014-12-02 Thread Andrey Rahmatullin
On Wed, Dec 03, 2014 at 12:19:17AM +0100, Clément B. wrote: > I am actually not sure that the socket unit file is necessary at all, I > think mpd is capable of opening its own socket. Socket activation is not a workaround for services not able to open sockets, it's an additional feature. http://0po

Bug#769951: [Pkg-mpd-maintainers] Bug#769951: Bug#769951: mpd: `update-rc.d mpd disable' is not enough to be able to run mpd as normal user

2014-12-02 Thread Clément B .
All right, I asked around a bit, to get to the following conclusion: update-rc.d is a systemvinit tool, and is thus inappropriate for systemd jobs such as disabling this service. The correct way is to use systemctl. I don't know what to do next. There is obviously a dependency problem, it makes n

Bug#769951: [Pkg-mpd-maintainers] Bug#769951: Bug#769951: mpd: `update-rc.d mpd disable' is not enough to be able to run mpd as normal user

2014-11-18 Thread Florian Schlichting
On Tue, Nov 18, 2014 at 05:33:16PM +0100, Clément B. wrote: > systemctl disable mpd.socket > > Which raises the question : shouldn't update-rc.d take care of > that ? exactly. If you have time to investigate (find systemd-in-debian docs, existing bugs, talk to Debian systemd people) that would

Bug#769951: [Pkg-mpd-maintainers] Bug#769951: mpd: `update-rc.d mpd disable' is not enough to be able to run mpd as normal user

2014-11-18 Thread Clément B .
Actually, I can confirm that disabling the systemd unit file mpd.socket does the trick : systemctl disable mpd.socket Which raises the question : shouldn't update-rc.d take care of that ? Clément -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubsc

Bug#769951: [Pkg-mpd-maintainers] Bug#769951: mpd: `update-rc.d mpd disable' is not enough to be able to run mpd as normal user

2014-11-18 Thread Clément Barthélemy
Hi, > can you have a look what it is that's listening on port 6600? E.g. with > sudo netstat -lntp I get tcp6 00 :::6600 :::* LISTEN 1/init Does that mean I am somehow using SystemV init AND systemd ? Clément -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@l

Bug#769951: [Pkg-mpd-maintainers] Bug#769951: Bug#769951: mpd: `update-rc.d mpd disable' is not enough to be able to run mpd as normal user

2014-11-17 Thread Andrey Rahmatullin
On Tue, Nov 18, 2014 at 12:21:51AM +0100, Florian Schlichting wrote: > > update-rc.d mpd disable > > > > After reboot, this is enough to prevent mpd from starting, but somehow not > > to > > keep port 6600 free. When I run mpd as normal user, I get : > > > > socket: Failed to bind to '127.0.

Bug#769951: [Pkg-mpd-maintainers] Bug#769951: mpd: `update-rc.d mpd disable' is not enough to be able to run mpd as normal user

2014-11-17 Thread Florian Schlichting
Hi, > update-rc.d mpd disable > > After reboot, this is enough to prevent mpd from starting, but somehow not to > keep port 6600 free. When I run mpd as normal user, I get : > > socket: Failed to bind to '127.0.0.1:6600': Address already in use can you have a look what it is that's listenin

Bug#769951: mpd: `update-rc.d mpd disable' is not enough to be able to run mpd as normal user

2014-11-17 Thread Clément B .
Package: mpd Version: 0.19.1-1 Severity: normal Dear Maintainer, By default, mpd service is run at boot. To be able to run it as normal user and configure it through ~/.config/mpd, I disabled it : update-rc.d mpd disable After reboot, this is enough to prevent mpd from starting, but somehow n