This upload fix the issu:
mpd (0.12.1-1.1ubuntu1) feisty; urgency=low
.
* Merge from debian unstable, remaining changes:
- debian/mpd.init.d: create /var/run/ directory if necessary and set
proper permissions
* Use awk to get mpd user instead of a simple sed. Thanks Rretzbach.
Hi rretzbach,
I am not an expert of awk, but your solution looks good and at least
works! Could you prepare a patch? If you do not know how to do it, feel
free to contact me.
--
/var/run/mpd right not set properly when using shoutcast
https://launchpad.net/bugs/73096
--
ubuntu-bugs mailing lis
I used awk to get only users outside an audio_output{}
Still not a beautiful script, but your free to set the user where you want.
USER=`awk 'BEGIN{ao=0} /[ \t]*audio_output[ \t]*{/{ ao = 1 } /[ \t]*}/{
ao = 0 } /^[ \t]*user[ \t]*/{ if (ao == 0) user = $2 } END{ print
substr(user, 2, length(user)
Marking as confirmed.
** Changed in: mpd (Ubuntu)
Status: Unconfirmed => Confirmed
--
/var/run/mpd right not set properly when using shoutcast
https://launchpad.net/bugs/73096
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
hm... my hack just create /var/run/mpd with mpd:root ownership.
mpd still don't start automaticaly.
--
/var/run/mpd right not set properly when using shoutcast
https://launchpad.net/bugs/73096
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubu
i can confirm it in edgy.
sed -n -e 's/^[[:space:]]*user[[:space:]]*"\?\([^"]*\)\"\?/\1/p' /etc/mpd.conf
source
mpd
bug can be temporary fixed. Just write 'user "mpd"' before icecast's
user.
but
sudo rmdir /var/run/mpd
sudo /etc/init.d/mpd start
will still generate errors
chown: cannot access