diff options
| author | ohnoes_ohnoes <ohnoes_ohnoes@noreply.codeberg.org> | 2026-06-06 02:20:30 -0300 |
|---|---|---|
| committer | ohnoes_ohnoes <ohnoes_ohnoes@noreply.codeberg.org> | 2026-06-06 02:52:57 -0300 |
| commit | 22eedf0f570e352d74cd2c9f5ed41b3b5521a282 (patch) | |
| tree | 9be020ff828517af1196bc1e0d3a4b07eddb495b | |
| parent | 6ceffed1c24416b38af1c2c1be4c65a120cd5d26 (diff) | |
| download | alicelinux-22eedf0f570e352d74cd2c9f5ed41b3b5521a282.tar.gz alicelinux-22eedf0f570e352d74cd2c9f5ed41b3b5521a282.zip | |
Fix sshd sv error
When sshd(1) is ran with plain 'sshd' instead of '/usr/sbin/sshd' it
throws:
sshd requires execution with an absolute path
And exits with a 255 code. That's how openssh port 'sshd.run' file was
done previously
| -rwxr-xr-x | repos/extra/openssh/sshd.run | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/repos/extra/openssh/sshd.run b/repos/extra/openssh/sshd.run index 8079fc4b..fbbae3ed 100755 --- a/repos/extra/openssh/sshd.run +++ b/repos/extra/openssh/sshd.run @@ -2,4 +2,4 @@ exec 2>&1 ssh-keygen -A >/dev/null 2>&1 # Will generate host keys if they don't already exist [ -r conf ] && . ./conf -exec sshd -D $OPTS +exec $(which sshd) -D $OPTS |