-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nixos-upgrade.service can't exec su
: No such file or directory
#47385
Comments
Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly:
|
I no longer seem to have this issue. @alunduil: I see that you "thumbs-upped" my issue report. Do you still have this issue? |
Nope, I haven't seen this in a while either. I think it can safely be closed. |
Issue description
In the systemd journal for
nixos-upgrade.service
, I notice error messages about being unable to find the programsu
:I note that most other executables invoked in this
switch-to-configuration
script seem to be invoked by absolute store paths, whereas it invokessu
as simplysu
.Steps to reproduce
Use
nixos-upgrade.service
(system.autoUpgrade.enable = true
inconfiguration.nix
) and check its journal entries (journalctl -eu nixos-upgrade.service
as the superuser).Technical details
"x86_64-linux"
Linux 4.14.59, NixOS, 19.03pre153158.7df10f388da (Koi)
yes
yes
nix-env (Nix) 2.1.2
"nixos-19.03pre152634.218ce4de508"
/nix/var/nix/profiles/per-user/root/channels/nixos
The text was updated successfully, but these errors were encountered: