Simon Josefsson <si...@josefsson.org> skribis:

> Not invalidating my questions, but maybe some additional insight:
> Reading the guix-install.sh make me believe that one part of my issues
> could be due to:
>
> [ FAIL ] Init system could not be detected.
>
> Several things from guix-install.sh are not run properly in my GitLab
> runner instance.

Oh yes, it won’t install the unprivileged daemon in that case.

> I see two ways forward:
>
> 1) Guix-install.sh is enhanced to support installation of Guix in
> containers that lack normal init systems.  Is this something you want to
> support?  I think you should test guix-install.sh in common containers
> like Debian/PureOS, Ubuntu/Trisquel, Fedora, Alma/Rocky Linux,
> ArchLinux, Alpine, etc and make sure Guix ends up being installed
> correctly.

Yes, I think we should support it.  It’s basically a single-user
installation; no need to all the systemd magic, we can just run
guix-daemon directly without creating a separate user account or
anything.

Any idea how we could detect a single-user container installation?

Anyway, the installation steps are simple here:

  cd /
  tar xf /path/to/guix-binary.tar.xz
  /var/guix/profiles/per-user/root/current-guix/bin/guix-daemon &

And I think that’s it.

Ludo’.

Reply via email to