[Bug 1123950] [NEW] /etc/init.d/stud restart does not start the daemon

Launchpad Bug Tracker 1123950 at bugs.launchpad.net
Thu May 30 12:18:16 UTC 2013


You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):

I guess it is a race condition, as

/etc/init.d/stud stop; /etc/init.d/stud start

shows the same problem while  adding a "sleep 1" before the call to
"do_start" fixes the problem.

There is also a (unrelated) bug in the function "do_stop()": there is a
variable

notfound=1

but it is not set to "0" in the for loop (as is the case in 'do_start').
This causes the return value to be 1:

        [ $notfound -eq 1 ] && return 1

But this has nothing to do with the restart problem as both return
values 0 and 1 are in the same case statement, so no difference to
program flow.

** Affects: stud (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: stud (Ubuntu Precise)
     Importance: Undecided
         Status: New


** Tags: patch
-- 
/etc/init.d/stud restart does not start the daemon
https://bugs.launchpad.net/bugs/1123950
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list