Subject: [bug#48924] Add systemd

From: Ludovic Courtès <[email-masked]>
Date: Tue, 15 Jun 2021 11:29:15 +0200

Hi,

Efraim Flashner <[email-masked]> skribis:

> This actually works better for on Guix System than on a foreign distro
>
> (ins)efraim@3900XT ~/workspace/guix$ /gnu/store/khpdv70slxmvrla1q8lnkkq1cxv9pm75-systemd-247/bin/loginctl -H g4 list-sessions
> SESSION  UID USER   SEAT  TTY
>       1  118 sddm   seat0
>   12683 1000 efraim seat0 tty2
>      13 1000 efraim seat0 tty3
>   15005 1000 efraim       pts/2
>
> 4 sessions listed.
> (ins)efraim@3900XT ~/workspace/guix$ loginctl -H g4 list-sessions
> bash: line 1: elogind-stdio-bridge: command not found

D’oh!  How’s that possible?  We should also fix (upgrade?) elogin.

> That said, the package definitely needs some work. The source URI is
> autogenerated, we shouldn't need glibc as an input, and I'm guessing
> that setting all the config directories to out would cause problems. Not
> to mention the extra bits that don't add any value to Guix System.

Yes, and also Marius’ copyright line should be preserved.

Tony, could you address these issues and send an updated patch?

Thanks, and sorry for the lengthy discussion.  :-)

Ludo’.