Open ellisonpatterson opened 3 months ago
Just confirmed in dracut shell that /usr/lib64/misc doesn't even exist.
I am not sure if it is connected to dracut. I just updated it on my server without a restart. I can't connect to my arch linux server again.
Here is an issue ticket about it https://gitlab.archlinux.org/archlinux/packaging/packages/openssh/-/issues/5
It seems that at least if you didn't restart your server a restart of the sshd service in the same session you did the update will fix the access for your server access. Of course I am too scared now to restart the server since I don't know if this will break the access forever. (So better doing a downgrade).
Jul 01 06:56:14 op3 sshd[1612]: /usr/lib64/misc/sshd-session does not exist or is not executable
Your environment is missing the new sshd-session
binary.
From https://www.openssh.com/releasenotes.html#9.8p1:
* sshd(8): the server has been split into a listener binary, sshd(8),
and a per-session binary "sshd-session". This allows for a much
smaller listener binary, as it no longer needs to support the SSH
protocol. As part of this work, support for disabling privilege
separation (which previously required code changes to disable) and
disabling re-execution of sshd(8) has been removed. Further
separation of sshd-session into additional, minimal binaries is
planned for the future.
Could we just include that file for now?
install_optional_items+=" /usr/lib64/misc/sshd-session "
That resolves the issue for me, so it is related to dracut-sshd.
@ellisonpatterson please reopen the issue. It needs to be fixed in dracut since ssh support is a buildin feature.
@ellisonpatterson please reopen the issue. It needs to be fixed in dracut since ssh support is a buildin feature.
I apologize, it is re-open now.
@ellisonpatterson please reopen the issue. It needs to be fixed in dracut since ssh support is a buildin feature.
Wait, the only module using OpenSSH is 95ssh-client, I don't believe the client needs sshd-session?
Correct, it's a server binary.
Correct, it's a server binary.
Well then for the dracut-sshd module I just made a PR incase anyone else is using it.
Describe the bug
Dracut shell with debug enabled
Distribution used Gentoo Kernel 6.9.7
Dracut version sys-kernel/dracut-102
openssh-server version net-misc/openssh-9.8_p1
Init system SystemD
To Reproduce Build initramfs with recent openssh-server patch.
Additional context Add any other context you like about the problem here.