GNU bug report logs - #68747
Extending postgresql-role-service-type as shown in manual leads to crash

Previous Next

Package: guix;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Sat, 27 Jan 2024 02:15:02 UTC

Severity: normal

Full log


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

From: Josselin Poiret <dev <at> jpoiret.xyz>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>, 68747 <at> debbugs.gnu.org
Subject: Re: bug#68747: Extending postgresql-role-service-type as shown in
 manual leads to crash
Date: Tue, 30 Jan 2024 23:18:06 +0100
[Message part 1 (text/plain, inline)]
Hi Maxim,

I guess this is not explained that well, but the service-extension
snippet is supposed to go under the (extensions ...) field of a
<service-type> record.  If you want to extend this in your system
config, you want (simple-service ...) instead, with e.g.

--8<---------------cut here---------------start------------->8---
(simple-service 'alice-role postgresql-role-service-type
                (postgresql-role
                 (name "alice")
                 (create-database? #t)))
--8<---------------cut here---------------end--------------->8---

Best,
-- 
Josselin Poiret
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 1 year and 134 days ago.

Previous Next


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