You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The autossh module has the following issue when building, if setting user to the name of a non pre-existing user:
Jan 11 15:15:54 server systemd[1]: Started AutoSSH session (plex-tunnel).
Jan 11 15:15:54 server (autossh)[288520]: autossh-plex-tunnel.service: Failed to determine user credentials: No such process
Jan 11 15:15:54 server (autossh)[288520]: autossh-plex-tunnel.service: Failed at step USER spawning /nix/store/hklrrlwx6j75ba6pidkw13qq7dy5djix-autossh-1.4g/bin/autossh: No such process
Jan 11 15:15:54 server systemd[1]: autossh-plex-tunnel.service: Main process exited, code=exited, status=217/USER
Jan 11 15:15:54 server systemd[1]: autossh-plex-tunnel.service: Failed with result 'exit-code'.
the following new units were started: local-fs.target, remote-fs.target
warning: the following units failed: autossh-plex-tunnel.service
Steps to reproduce
Steps to reproduce the behavior:
use a basic autossh config, with a new user, such as:
autossh.sessions = [{
extraArguments = "";
monitoringPort = 32400;
name = "plex-tunnel";
user = "plex-tunnel";
}];
try to build the config
Metadata
system: "x86_64-linux"
host os: Linux 6.6.52, NixOS, 24.11 (Vicuna), 24.11.20240925.fe866c6
Describe the bug
The autossh module has the following issue when building, if setting
user
to the name of a non pre-existing user:Steps to reproduce
Steps to reproduce the behavior:
Metadata
"x86_64-linux"
Linux 6.6.52, NixOS, 24.11 (Vicuna), 24.11.20240925.fe866c6
yes
yes
nix-env (Nix) 2.18.7
/nix/store/p278fw1vxcvf6vp93bd8sqmimvl9b5ws-source
Notes
Related fix for immich module: #345126
The fix for this is likely just to create the user if it doesn't exist as is done in other modules
The text was updated successfully, but these errors were encountered: