Public bug reported:

Just toying around with upstart (version 1.3) on oneiric I noticed a
strange behaviour. The way I interpret the upstart documentation in the
cookbook the following script should log a message in the syslog during
pre-start, another one as part of the job and then enter the
"stop/waiting" state:

description     "Test upstart"

pre-start script
        logger -t "test upstart: in pre-start"
end script

script
        logger -t "test upstart" `date`
end script

But for some reason only the message in the main script stanza is logged
in the syslog and the one in the pre-start stanza isn't. Maybe I'm just
having trouble understanding the documentation and somebody could
enlighten me?

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: upstart 1.3-0ubuntu11
Uname: Linux 3.1.0-030100-generic x86_64
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Sat Jan  7 10:59:48 2012
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: upstart
UpgradeStatus: Upgraded to oneiric on 2011-10-15 (83 days ago)
modified.conffile..etc.init.tty1.conf: [modified]
mtime.conffile..etc.init.tty1.conf: 2011-08-23T16:35:52.182455

** Affects: upstart (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug oneiric

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/913058

Title:
  Strange upstart behaviour

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to