GNU bug report logs -
#40567
mpd-service-type needs a pre-existing user in system and does not works with a new user defined in config.scm
Previous Next
Reported by: R Veera Kumar <vkor <at> vkten.in>
Date: Sun, 12 Apr 2020 04:26:02 UTC
Severity: normal
Done: Bruno Victal <mirai <at> makinata.eu>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On Sun, Apr 12, 2020 at 09:55:15AM +0530, R Veera Kumar wrote:
> This is to report:
> mpd-service-type needs a pre-existing user in system and does not works
> with a new user defined in config.scm. Running guix system reconfigure
> gives some getpw error.
>
> Guix system reconfigure works fine if we add temporarily a user with useradd.
I suppose the service was written with the assumption that one would
choose their own user as the MPD user, since they likely own the music
library.
We could make the MPD service extend accounts-service-type to handle
user accounts for a "system user" but it depends on the expectations of
MPD users, or at least people using this service.
At least, we could add a more informative error message.
This bug report was last modified 2 years and 53 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.