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

Ubuntu Foundations Team Bug Bot 1123950 at bugs.launchpad.net
Thu May 30 12:18:17 UTC 2013


The attachment "stud.debdiff" seems to be a debdiff.  The ubuntu-
sponsors team has been subscribed to the bug report so that they can
review and hopefully sponsor the debdiff.  If the attachment isn't a
patch, please remove the "patch" flag from the attachment, remove the
"patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe
the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issue please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1123950

Title:
  /etc/init.d/stud restart does not start the daemon

Status in “stud” package in Ubuntu:
  New
Status in “stud” source package in Precise:
  New

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/stud/+bug/1123950/+subscriptions



More information about the Ubuntu-sponsors mailing list