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

Package: guix;

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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 40567 in the body.
You can then email your comments to 40567 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#40567; Package guix. (Sun, 12 Apr 2020 04:26:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to R Veera Kumar <vkor <at> vkten.in>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 12 Apr 2020 04:26:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: R Veera Kumar <vkor <at> vkten.in>
To: bug-guix <at> gnu.org
Subject: mpd-service-type needs a pre-existing user in system and does not
 works with a new user defined in config.scm
Date: Sun, 12 Apr 2020 09:55:15 +0530
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




Information forwarded to bug-guix <at> gnu.org:
bug#40567; Package guix. (Fri, 29 May 2020 02:29:01 GMT) Full text and rfc822 format available.

Message #8 received at 40567 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: R Veera Kumar <vkor <at> vkten.in>
Cc: 40567 <at> debbugs.gnu.org
Subject: Re: bug#40567: mpd-service-type needs a pre-existing user in system
 and does not works with a new user defined in config.scm
Date: Thu, 28 May 2020 22:27:57 -0400
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.




Reply sent to Bruno Victal <mirai <at> makinata.eu>:
You have taken responsibility. (Thu, 30 Mar 2023 21:46:02 GMT) Full text and rfc822 format available.

Notification sent to R Veera Kumar <vkor <at> vkten.in>:
bug acknowledged by developer. (Thu, 30 Mar 2023 21:46:02 GMT) Full text and rfc822 format available.

Message #13 received at 40567-done <at> debbugs.gnu.org (full text, mbox):

From: Bruno Victal <mirai <at> makinata.eu>
To: R Veera Kumar <vkor <at> vkten.in>
Cc: 40567-done <at> debbugs.gnu.org
Subject: Re: bug#40567: mpd-service-type needs a pre-existing user in system
 and does not works with a new user defined in config.scm
Date: Thu, 30 Mar 2023 22:45:34 +0100
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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 28 Apr 2023 11:24:15 GMT) Full text and rfc822 format available.

This bug report was last modified 364 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.