Hello,

I played around a little bit with that, and it seems like you'll end up getting 
two entries for the
'postgres' user in your /etc/passwd if you just ignore the warning.  And the 
order doesn't seem to be
consistent.

Here in my current patch:
https://gitlab.com/martin-baulig/forks/guix/-/commit/5710b3bff17f4edaa7af397108e08f4dc842adef

And my current config is here:
https://gitlab.com/martin-baulig/config-and-setup/guix-packages/-/blob/work-postgres/packages/baulig/config/lothlorien/postgresql.scm#L25

I wasn't sure whether the (create-accout?) is really needed, probably not 
because you really need
that postgres service account.

Already wanted to remove that and submit a patch, but then got distracted by my 
new "secrets service".
I'm running some complex packages on GNU Guix - Bacula, Loki / Promtail and the 
GitLab Runner - and am
currently cleaning up things nicely, to possibly upstream some of that.

Best regards,

Martin

------- Original Message -------
On Tuesday, July 18th, 2023 at 10:10 PM, Denis 'GNUtoo' Carikli 
<gnu...@cyberdimension.org> wrote:


> 
> 
> On Mon, 17 Jul 2023 21:35:00 +0000
> Martin Baulig mar...@baulig.is wrote:
> 
> > If I use the unmodified service and with the (operating-system (user
> > ...)) entry, it works sometimes, but not reliably due to having two
> > conflicting entries for the 'postgres' user.
> 
> I see. So if I touch too much my system it could break at any time then.
> 
> Denis.

Reply via email to