http://bugzilla.novell.com/show_bug.cgi?id=622058 http://bugzilla.novell.com/show_bug.cgi?id=622058#c5 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO CC| |mt@novell.com, | |werner@novell.com InfoProvider| |werner@novell.com --- Comment #5 from Johannes Meixner <jsmeix@novell.com> 2010-07-15 10:21:22 UTC --- I think I found the root cause why it never happened before openSUSE 11.3, see bug #595796. As far as I see before bug #595796 was fixed, "rccups stop" did "killproc -TERM /usr/sbin/cupsd" and killproc did send SIGTERM, then waits by default up to 5 seconds and then sends a SIGKILL so that in this 5 seconds the cupsd could do its clean up work and finish. Since bug #595796 was fixed for openSUSE 11.3, killproc with an explicite signal specified like "killproc -TERM" sends only SIGTERM and exits immediately. If my analysis is right, I wonder if I should move the 10 seconds wait until cupsd had acually finished from the specific "rccups restart" case to the general "rccups stop" case. The general question is what is expected by the user (or by LSB) when "rc<whatever> stop" is called. Should this only trigger the service to be stoped or should (or must) this also wait until the service had actually stopped? In other words: What is expected when the user calls rc<whatever> stop ; rc<whatever> start If this must be equivalent to "rc<whatever> restart" then "rc<whatever> stop" must wait until the service had actually finished. I have in particular a system shutdown in mind where many "rc<whatever> stop" are executed. If each of them waits until each service had actually stopped, the services may not finish simultaneously but only one by one which may delay the system shutdown needlessly. Or are the many "rc<whatever> stop" already called as separated processes so that they run simultaneously in any case? Werner, could you provide some background information? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.