← Back to team overview

linux-traipu team mailing list archive

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

 

it seems that the service script assumes that /usr/sbin is in the PATH ;
when /usr/sbin isn't ; it will fail.

-- 
You received this bug notification because you are a member of UBUNTU -
AL - BR, 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