Re: Two independent SSHD processes?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/21/15 10:01, CLOSE Dave wrote:
> Ed Greshko wrote:
>
>>> But if you read the SSHD man page and the /etc/rc.d/init.d/sshd script,
>>> you'll find that the PID is always recorded at /var/run/sshd.pid and the
>>> PidFile variable is only used for reporting status.
>> And if you tried it?
>>
>> [root@meimei run]# grep pid /etc/ssh/sshd_config
>> PidFile /var/run/sshd-meimei.pid
>>
>> [root@meimei run]# ls /var/run | grep sshd
>> sshd-meimei.pid
>>
>> [root@meimei run]# cat /var/run/sshd-meimei.pid
>> 16561
>>
>> [root@meimei run]# ps -eaf | grep 16561
>> root     16561     1  0 09:48 ?        00:00:00 /usr/sbin/sshd -D
>>
>> So......  Follow Rick's recommendation....
> I have tried it. At least on an earlier Fedora with SysV.

I don't use any of those old versions as they are no longer supported.

>
> The specified PID file is NOT created. Service stop fails because the 
> PID file is not found.
>
> What you and others seem to be telling me is that the problem doesn't 
> exist on systemd machines, even though the man page implies that it 
> still works the same way. I'll try F21 soon.

Well, I don't "seem" to be telling you.  I'm actually showing you.  :-) :-)

-- 
If you can't laugh at yourself, others will gladly oblige.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux