Bug#1078429: xinetd: sshd won't start from xinetd in OpenSSH 9.8p1-2
Control: forwarded -1 https://bugzilla.mindrot.org/show_bug.cgi?id=3717
On Sat, Aug 10, 2024 at 12:00:11PM +0200, Olivier wrote:
> I'd run strace to monitor xinetd process, and it's show:
> --
> 10887 11:12:02 write(2, "sshd requires execution with an absolute path\r\n",
> 47) = 47
Salvo, I'm not sure it's entirely true that nothing can be done with
xinetd here. It would be possible to have it pass the full path in
argv[0], as the patch in https://bugs.gentoo.org/936041 suggests. It's
arguably a bit silly and unnecessary for it to strip the directory part
from argv[0]; shells don't do that, for example.
Anyway, I've forwarded this to
https://bugzilla.mindrot.org/show_bug.cgi?id=3717, since it doesn't look
as though anyone had got around to reporting this upstream yet, and
since it's not 100% clear to me what the correct fix should be although
I have a couple of possible ideas.
I've also written an autopkgtest for this, so once we fix it, it
shouldn't come back in testing.
--
Colin Watson (he/him) [cjwatson@debian.org]
Reply to: