mpd logging can't work by design and doesn't work for me
Bug #786239 reported by
Manuel Bärenz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mpd (Ubuntu) |
Opinion
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: mpd
The logging settings in /etc/mpd.conf can't work.
line 62:
user "mpd"
line 37:
log_file "/var/log/
ls -l /var/log/
-rw-r--r-- 1 root root 68415 2011-05-21 18:53 /var/log/
The user mpd is in the audio group, so it doesn't have privileges to log. This results in the following error:
log: problem opening log file "/var/log/
Starting "sudo mpd" fixes it, but this is not what we want.
To post a comment you must log in.
2011/5/21 Manuel Bärenz <email address hidden>: mpd/mpd. log" (config line 37) for writing
[snip]
> The user mpd is in the audio group, so it doesn't have privileges to log. This results in the following error:
> log: problem opening log file "/var/log/
>
> Starting "sudo mpd" fixes it, but this is not what we want.
How are you starting the daemon? It should be started by "sudo service
mpd start" in which case mpd seems to open the log file with no
problems.
--
Matt Wheeler
<email address hidden>