https://bugzilla.mindrot.org/show_bug.cgi?id=2641
--- Comment #7 from Darren Tucker <dtuc...@zip.com.au> --- (In reply to Jakub Jelen from comment #6) > Created attachment 2950 [details] > fixed patch > > Never mind. Nothing from above resolves the race condition between > systemd reading PID file and sshd after reexec writing it, except > adding SD_NOTIFY code so I gave up. What about reading the pidfile first to see if it has the correct PID before rewriting it? I did something like that to work around a problem in pam_loginuid (LinuxPAM ticket #23, I'd link to it but fedorahosted.org seems to have imploded). Does systemd even need a pidfile? -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug. _______________________________________________ openssh-bugs mailing list openssh-bugs@mindrot.org https://lists.mindrot.org/mailman/listinfo/openssh-bugs