misc/165493: onestop/stop problem with rc scripts

Eugen Konkov kes-kes at yandex.ru
Sun Feb 26 21:00:04 UTC 2012

>Number:         165493
>Category:       misc
>Synopsis:       onestop/stop problem with rc scripts
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 26 21:00:03 UTC 2012
>Originator:     Eugen Konkov
>Release:        8.3-PRERELEASE
ISP FreeLine
FreeBSD 8.3-PRERELEASE #3 r231881
start service as '<service> onestart'

now you can stop service using '<service> stop'
but when you use second time, when no server is started you get warn message
(see below)
# cd /usr/local/etc/rc.d/
# ./openvpn onestart
Starting openvpn.
# ./openvpn stop
Stopping openvpn.
Waiting for PIDS: 66602.
# ./openvpn stop
Cannot 'stop' openvpn. Set openvpn_enable to YES in /etc/rc.conf or use 'onestop' instead of 'stop'.



More information about the freebsd-bugs mailing list