[Bug 834769] [NEW] upstart doesn't run "pre-start script"

Thomas Schweikle 834769 at bugs.launchpad.net
Fri Aug 26 14:41:15 UTC 2011


Public bug reported:

Upstart does not run "pre-start script" under some circumstances. Assume
following startup script:

# Create a new file if it doesn't exist.
description     "Create new, empty file if it does not exist"

start on mounted

pre-start script
   /usr/bin/touch /etc/empty.file
end script

exec /bin/sleep 1

the "pre-start script" is not running at all. The file will never be
created.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: upstart 0.9.7-1
Uname: Linux 3.0.3 x86_64
Architecture: amd64
Date: Fri Aug 26 16:30:17 2011
ProcEnviron:
 LANGUAGE=de_DE:en
 PATH=(custom, user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: upstart
UpgradeStatus: Upgraded to natty on 2011-08-02 (24 days ago)

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


** Tags: amd64 apport-bug natty

-- 
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/834769

Title:
  upstart doesn't run "pre-start script"

Status in “upstart” package in Ubuntu:
  New

Bug description:
  Upstart does not run "pre-start script" under some circumstances.
  Assume following startup script:

  # Create a new file if it doesn't exist.
  description     "Create new, empty file if it does not exist"

  start on mounted

  pre-start script
     /usr/bin/touch /etc/empty.file
  end script

  exec /bin/sleep 1

  the "pre-start script" is not running at all. The file will never be
  created.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: upstart 0.9.7-1
  Uname: Linux 3.0.3 x86_64
  Architecture: amd64
  Date: Fri Aug 26 16:30:17 2011
  ProcEnviron:
   LANGUAGE=de_DE:en
   PATH=(custom, user)
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  SourcePackage: upstart
  UpgradeStatus: Upgraded to natty on 2011-08-02 (24 days ago)

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




More information about the foundations-bugs mailing list