initctl: debugging start should show commands run
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
upstart |
Triaged
|
Wishlist
|
Unassigned | ||
upstart (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: upstart
ubuntu server 10.04 beta amd-64
ii upstart 0.6.5-6
start <service> log-priority debug should work as described in manpage
start <service> log-priority debug should write verbose information of what is happening/executed
(or start --debug <service> should write verbose information of what is happening/executed)
I got no information at all. I needed to search all files under /etc for those files that might be involved in the service. I managed to find a file and set some options, but clearly didn't have a clue... (partly due to 'start' being new to me).
In stead of log-priority I've tried the following as well:
-l debut --log-priority debug log-priority=debug, etc.
I've found some files under /etc/default and /etc/init to tamper with the service parameters.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: upstart 0.6.5-6
ProcVersionSign
Uname: Linux 2.6.32-16-generic x86_64
Architecture: amd64
Date: Sat Apr 10 11:28:46 2010
InstallationMedia: Ubuntu-Server 10.04 "Lucid Lynx" - Beta amd64 (20100317)
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: upstart
There are no "log-priority" or "--debug" options for "start", I believe you have confused the man page.
There are separate commands to initctl, for example:
initctl log-priority debug
initctl start <service>
The first changes Upstart's logging priority, and the second starts the service; you'll see more verbose log messages in the log as a result