← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 998576] Re: Upstart scripts can't be started/stopped manually following upgrade to 12.04 from 10.04

 

For me the problem was, that I did not accept the new sudoers file, because I had made changes. 
However the new file would have included the line

Defaults
secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

which solves the problem for me.

-- 
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to Mythbuntu.
https://bugs.launchpad.net/bugs/998576

Title:
  Upstart scripts can't be started/stopped manually following upgrade to
  12.04 from 10.04

Status in Mythbuntu, Ubuntu derivative focused upon MythTV:
  New

Bug description:
  Starting / stopping a script is done as follow:
  $ sudo service mythtv-backend stop
  or
  $ sudo service mythtv-backend start

  following an upgrade from 10.04 to 12.04, this always return the error:
  /usr/bin/service: 123: exec: stop: not found

  $ ls -l /sbin/stop 
  lrwxrwxrwx 1 root root 7 Apr 27 01:26 /sbin/stop -> initctl

  $ sudo /etc/init.d/mythtv-backend stop
  Rather than invoking init scripts through /etc/init.d, use the service(8)
  utility, e.g. service mythtv-backend stop
  /etc/init.d/mythtv-backend: 54: /etc/init.d/mythtv-backend: initctl: not found

  it is possible to do it manually with:
  $ /sbin/stop mythtv-backend

To manage notifications about this bug go to:
https://bugs.launchpad.net/mythbuntu/+bug/998576/+subscriptions


References