DeterminateSystems / nix-installer

Install Nix and flakes with the fast and reliable Determinate Nix Installer, with over 7 million installs.
https://determinate.systems
GNU Lesser General Public License v2.1
2.26k stars 56 forks source link

Access denied on disabling `ensure-symlinked-units-resolve.service` #793

Open p5 opened 10 months ago

p5 commented 10 months ago

Error

Error: 
   0: Error reverting
   0: Action `start_systemd_unit` errored
      Failed to execute command with status 1 `"systemctl" "disable" "ensure-symlinked-units-resolve.service"`, stdout: 
      stderr: Failed to disable unit: Access denied

This error showed up when trying to uninstall Nix after facing "Connection Refused" on the daemon socket.
I am running Fedora Silverblue (so some directories are not writable).

Metadata

key value
version 0.15.1
os linux
arch x86_64
axelsimon commented 3 months ago

Same issue here.

Error

Error: 
   0: Error reverting
   0: Action `start_systemd_unit` errored
      Failed to execute command with status 1 `"systemctl" "disable" "ensure-symlinked-units-resolve.service"`, stdout: 
      stderr: Failed to disable unit: Access denied

      Action `start_systemd_unit` errored
      Failed to execute command with status 1 `"systemctl" "stop" "nix.mount"`, stdout: 
      stderr: Job failed. See "journalctl -xe" for details.

Metadata

key value
version 0.16.1
os linux
arch x86_64