GNU bug report logs -
#51348
Exception on `guix install nss-certs`
Previous Next
Full log
Message #19 received at 51348-done <at> debbugs.gnu.org (full text, mbox):
Le Mon, 25 Oct 2021 21:15:23 +0000,
Raimundo Martins via Bug reports for GNU Guix <bug-guix <at> gnu.org> a
écrit :
> Hey!
>
> Turns out that, since I use the runit init system, GUIX_LOCPATH
> wasn't being set anytime before guix-daemon started, since
> /etc/profile.d/guix.sh was not sourced. As a fix I set that variable
> by hand in my init script. If you want to have runit as a known init
> system in the installer script, I suggest adding to chk_init_sys()
>
> elif $(runit 2>/dev/null; [ $? = 111 ]); then
> _msg "${INF}init system is: runit"
> INIT_SYS="runit"
> return 0
>
> and to the case in sys_enable_guix_daemon()
>
> runit)
> mkdir /etc/sv/guix-daemon
> echo "#!/bin/sh
> GUIX_LOCPATH=/var/guix/profiles/per-user/root/guix-profile/lib/locale
> exec /var/guix/profiles/per-user/root/current-guix/bin/guix-daemon
> --build-users-group=guixbuild" >/etc/sv/guix-daemon/run chmod 755
> /etc/sv/guix-daemon/run ln -sT /etv/sv/guix-daemon
> /var/service/guix-daemon ;;
>
> Or something like that :P Thanks for your support in IRC #guix !!
>
> Regards,
> Raimundo
Great news!
I'm closing this bug properly for you :) Note that you can close your
reports by sending to nnnnn-done <at> debbugs.gnu.org, where nnnnn is your
bug number.
I think it would make sense to support runit. I guess I would need a VM
of a distro that uses runit, in order to test an updated installation
script. Which one do you use exactly?
This bug report was last modified 3 years and 212 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.