FS#24171 - /etc/rc.d/sshd

Attached to Project: Arch Linux
Opened by seba (generic) - Sunday, 08 May 2011, 14:52 GMT
Last edited by Gaetan Bisson (vesath) - Monday, 16 May 2011, 09:25 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details


openssh 5.8p2-1
/etc/rc.d/sshd
rm $PIDFILE 2>/dev/null

missing -f

rm -f $PIDFILE 2>/dev/null

if sshd is run by a non-privileged user it froze because rm is waiting for user action
This task depends upon

Closed by  Gaetan Bisson (vesath)
Monday, 16 May 2011, 09:25 GMT
Reason for closing:  Won't fix
Comment by Gaetan Bisson (vesath) - Sunday, 08 May 2011, 23:15 GMT
I don't believe rc.d scripts are suitable for unprivileged user in the first place: many functions are bound to fail, such as add_daemon, rm_daemon, etc.

Loading...