[Bug 913058] Re: Strange upstart behaviour

monochromec monochromec at gmail.com
Mon Jan 16 16:38:59 UTC 2012


Can be closed due to improper logger invocation in example.

** Changed in: upstart (Ubuntu)
       Status: New => Invalid

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

Title:
  Strange upstart behaviour

Status in “upstart” package in Ubuntu:
  Invalid

Bug description:
  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

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




More information about the foundations-bugs mailing list