You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it a normal behaviour that disabled services still start when attempted to ?
A disabled service would not be refused of starting ?
A call to the init.d script may be difficult to manage this particular state, but the service command must do !
How to reproduce :
root@LPM:~# service syslog-ng stop
root@LPM:~# ps | grep syslog
1763 root 16056 S /usr/sbin/rsyslogd -n
3429 root 872 S /usr/sbin/addrwatch_syslog
28726 root 1348 R grep syslog
root@LPM:~# service syslog-ng disable
root@LPM:~# service syslog-ng restart
Command failed: Not found
root@LPM:~# ps | grep syslog
1763 root 16056 S /usr/sbin/rsyslogd -n
3429 root 872 S /usr/sbin/addrwatch_syslog
28753 root 13316 S /usr/sbin/syslog-ng --foreground
28765 root 1348 R grep syslog
root@LPM:~# service syslog-ng stop
Gandalf:
Is it a normal behaviour that disabled services still start when attempted to ?
A disabled service would not be refused of starting ?
A call to the init.d script may be difficult to manage this particular state, but the service command must do !
How to reproduce :
root@LPM:~# service syslog-ng stop root@LPM:~# ps | grep syslog 1763 root 16056 S /usr/sbin/rsyslogd -n 3429 root 872 S /usr/sbin/addrwatch_syslog 28726 root 1348 R grep syslog root@LPM:~# service syslog-ng disable root@LPM:~# service syslog-ng restart Command failed: Not found root@LPM:~# ps | grep syslog 1763 root 16056 S /usr/sbin/rsyslogd -n 3429 root 872 S /usr/sbin/addrwatch_syslog 28753 root 13316 S /usr/sbin/syslog-ng --foreground 28765 root 1348 R grep syslog root@LPM:~# service syslog-ng stop
Références :
openwrt/packages#16601
https://forum.openwrt.org/t/service-still-restart-start-while-disabled/105996/
The text was updated successfully, but these errors were encountered: