Install on existing system with SELinux breaks nix-daemon #36

Closed
opened 2024-08-24 22:49:03 +00:00 by libanp · 1 comment

Distro: Bluefin (Fedora Linux 40.20240817.0 (Silverblue))
Original nix install method: Determinate systems installer

After I installed lix on with an existing nix install the nix-daemon would not run. The error from systemd was Unit nix-daemon.service could not be found.

This turned out to be an SELinux issue - the unit files no longer had the correct label. systemd could see the unit files after I ran sudo restorecon -Rv /nix/

**Distro:** Bluefin (Fedora Linux 40.20240817.0 (Silverblue)) **Original nix install method:** Determinate systems installer After I installed lix on with an existing nix install the nix-daemon would not run. The error from systemd was `Unit nix-daemon.service could not be found.` This turned out to be an SELinux issue - the unit files no longer had the correct label. systemd could see the unit files after I ran `sudo restorecon -Rv /nix/`
Owner

Hi! I'm moving this to the lix repo so we don't lose track of it. The new bug number is lix-project/lix#486

Hi! I'm moving this to the lix repo so we don't lose track of it. The new bug number is https://git.lix.systems/lix-project/lix/issues/486
jade closed this issue 2024-08-25 00:13:52 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix-website#36
No description provided.