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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/834769

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

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

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

Reply via email to