[Bug 73096] Re: /var/run/mpd right not set properly when using shoutcast

2007-02-04 Thread Lionel Porcheron
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.

[Bug 73096] Re: /var/run/mpd right not set properly when using shoutcast

2006-12-14 Thread Lionel Porcheron
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

[Bug 73096] Re: /var/run/mpd right not set properly when using shoutcast

2006-12-08 Thread rretzbach
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)

[Bug 73096] Re: /var/run/mpd right not set properly when using shoutcast

2006-12-05 Thread Lionel Porcheron
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

[Bug 73096] Re: /var/run/mpd right not set properly when using shoutcast

2006-11-30 Thread cwer
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

[Bug 73096] Re: /var/run/mpd right not set properly when using shoutcast

2006-11-30 Thread cwer
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