[Bug 606] sshd [-t] should warn when cannot create pid file
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Fri Jun 27 01:01:02 EST 2003
http://bugzilla.mindrot.org/show_bug.cgi?id=606
------- Additional Comments From mouring at eviladmin.org 2003-06-27 01:01 -------
Don't know.. Other projects tend to provide notifications on testing
configurations (apache does), but Darren's patch is wrong.
+ /* Determine directory path to PidFile */
+ if (strrchr(options.pid_file, '/') != NULL) {
+ path = xstrdup(options.pid_file);
+ *(strrchr(path, '/')+1) = '\0';
+ } else
+ path = xstrdup(".");
Fails when the admin is insane and does: "/my/loc/my\/myfile.pid"
Since it will not decide if the / has been escaped or not.
I don't have a strong feeling either way (For the record, I don't use
the pid file for tracking the sshd).
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the openssh-bugs
mailing list