Summary: | MPD ebuild 0.11.5 doesn't install mpd user correctly - sets home directory to /dev/null | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Brian Kreulen <bkreulen> |
Component: | New packages | Assignee: | Andrej Kacian (RETIRED) <ticho> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | betelgeuse, ladanyi, moloh, ncolgan, sound |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Brian Kreulen
2005-03-01 01:44:03 UTC
Hmm... seeing as mpd isn't a login user, I don't feel that it should have its home be in /home I feel that mpd should have a home of /var/lib/mpd or somethign similar to that. Also, related to this, the default mpd.conf refers to $HOME in some of the default [disabled] options. With a home of /dev/null, this won't work. If it has a home of /var/lib/mpd or some such thing it will be clearly noted that it is not a normal login user (it has a shell of /bin/false), and it will allow a user to simply uncomment those options and have things work. This makes things overall mroe consistent. *** Bug 101662 has been marked as a duplicate of this bug. *** Reassigning to self, I'll deal with this. The homedir has been changed to /var/lib/mpd in media-sound/mpd-svn package, I'll do the same to media-sound/mpd after few more days of testing. *** Bug 106710 has been marked as a duplicate of this bug. *** mpd-0.11.5-r2 has been committed to portage. The ebuild changes mpd's homedir to /var/lib/mpd, and tweaks mpd.conf to contain correct paths. Let me know if something goes wrong, either by reopening this bug, or by opening a new one. I don't know if that is good decision... mpd development team is aware of this problem and this info "can't create directory /dev/null/.mcop (Not a directory)" will noy show up, also this is no problem for application. I think that better is to set absolute paths in mpd.conf only. Only argument for change of home directory is problem with usage of esound with mpd. What are you talking about? The .mcop file is not created by mpd itself, but by arts daemon, which creates this in user's homedir. About absolute paths, I'm not aware that we're using anything else than absolute paths in mpd.conf. Ok. I must say that this is my error(?). Actually there was problem with creation of .mcop directory for arts (during probing available outputs, when in mpc.conf there isn't any info specified), but this is not same situation. Sorry for previous comment. |