[FS#4026] Service still restart/start while disabled
OpenWrt Bugs
openwrt-bugs at lists.openwrt.org
Fri Sep 10 06:57:41 PDT 2021
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Gandalf (Gandalf)
Attached to Project - OpenWrt/LEDE Project
Summary - Service still restart/start while disabled
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To -
Operating System - All
Severity - Très basse
Priority - Très Basse
Reported Version - All
Due in Version - Undecided
Due Date - Undecided
Details - 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 at LPM:~# service syslog-ng stop
root at 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 at LPM:~# service syslog-ng disable
root at LPM:~# service syslog-ng restart
Command failed: Not found
root at 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 at LPM:~# service syslog-ng stop
Références :
https://github.com/openwrt/packages/issues/16601
https://forum.openwrt.org/t/service-still-restart-start-while-disabled/105996/
More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=4026
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
More information about the openwrt-bugs
mailing list