nix-installer icon indicating copy to clipboard operation
nix-installer copied to clipboard

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

Open p5 opened this issue 1 year ago • 1 comments

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

p5 avatar Jan 01 '24 00:01 p5

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

axelsimon avatar Jul 29 '24 10:07 axelsimon