nix upgrade-nix installation method breaks selinux context #486

Open
opened 2024-08-25 00:13:11 +00:00 by jade · 0 comments
Owner

Migrated from: lix-project/lix-website#36

Original bug report by @libanp follows:

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/

Migrated from: https://git.lix.systems/lix-project/lix-website/issues/36 Original bug report by @libanp follows: 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/
jade added the
bug
Area/profiles
labels 2024-08-25 00:14:05 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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#486
No description provided.