* bug#40567: mpd-service-type needs a pre-existing user in system and does not works with a new user defined in config.scm
@ 2020-04-12 4:25 R Veera Kumar
2020-05-29 2:27 ` Leo Famulari
2023-03-30 21:45 ` Bruno Victal
0 siblings, 2 replies; 3+ messages in thread
From: R Veera Kumar @ 2020-04-12 4:25 UTC (permalink / raw)
To: 40567
Hi,
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.
Thanks,
Veera
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#40567: mpd-service-type needs a pre-existing user in system and does not works with a new user defined in config.scm
2020-04-12 4:25 bug#40567: mpd-service-type needs a pre-existing user in system and does not works with a new user defined in config.scm R Veera Kumar
@ 2020-05-29 2:27 ` Leo Famulari
2023-03-30 21:45 ` Bruno Victal
1 sibling, 0 replies; 3+ messages in thread
From: Leo Famulari @ 2020-05-29 2:27 UTC (permalink / raw)
To: R Veera Kumar; +Cc: 40567
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#40567: mpd-service-type needs a pre-existing user in system and does not works with a new user defined in config.scm
2020-04-12 4:25 bug#40567: mpd-service-type needs a pre-existing user in system and does not works with a new user defined in config.scm R Veera Kumar
2020-05-29 2:27 ` Leo Famulari
@ 2023-03-30 21:45 ` Bruno Victal
1 sibling, 0 replies; 3+ messages in thread
From: Bruno Victal @ 2023-03-30 21:45 UTC (permalink / raw)
To: R Veera Kumar; +Cc: 40567-done
Hi Veera,
On 2020-04-12 05:25, R Veera Kumar wrote:
> Hi,
>
> 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.
>
> Thanks,
> Veera
This bug no longer applies as mpd-service-type has gone through some refactorings in the meantime.
Worth noting is that mpd-service-type isn't meant to be used with interactive user-accounts, for
such cases a home service variant should be used instead.
Cheers,
Bruno
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-03-30 21:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-12 4:25 bug#40567: mpd-service-type needs a pre-existing user in system and does not works with a new user defined in config.scm R Veera Kumar
2020-05-29 2:27 ` Leo Famulari
2023-03-30 21:45 ` Bruno Victal
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).