Not possible to modify the status of certain services

Bug #1083087 reported by Jan Rathmann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
upstart (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Hello,

if I try to query the status of the service "network-interface" by executing either:

service network-interface status
status network-interface
initctl status network-interface

I just get the following error message:

service network-interface status
status: Unknown parameter: INTERFACE

Modifying the status of this service (e.g. with start/stop/restart stanzas) is not possible either.
This happens in Raring and also in Quantal (early Ubuntu versions untested).

Kind regards,
Jan

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: upstart 1.5-0ubuntu9
ProcVersionSignature: Ubuntu 3.7.0-3.9-generic 3.7.0-rc6
Uname: Linux 3.7.0-3-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.6.2-0ubuntu5
Architecture: amd64
Date: Mon Nov 26 10:11:48 2012
InstallationDate: Installed on 2012-11-26 (0 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20121126)
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: upstart
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jan Rathmann (kaiserclaudius) wrote :
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1083087

tags: added: iso-testing
Revision history for this message
James Hunt (jamesodhunt) wrote :

You are attempting to query an Upstart instance job using the System V command 'service'. Instead, you should be using the 'status' command. See status(8) and http://upstart.ubuntu.com/cookbook/#instance.

Also, see:

$ initctl list|grep network-interface

Examples:

$ status network-interface INTERFACE=eth0
$ sudo stop network-interface INTERFACE=eth0

Changed in upstart (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.