[Bug 1221466] Re: upstart-file-bridge 'EVENT=create' not working for directories

Launchpad Bug Tracker 1221466 at bugs.launchpad.net
Thu Nov 14 17:44:12 UTC 2013


** Branch linked: lp:~jamesodhunt/ubuntu/trusty/upstart/1.11

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

Title:
  upstart-file-bridge 'EVENT=create' not working for directories

Status in “upstart” package in Ubuntu:
  Fix Committed

Bug description:
  description "Test Upstart"
  start on file FILE=/home/ubuntu/Desktop/test/ EVENT=create
  stop on runlevel [!2345]
  script
      exec /bin/echo -e "<- upstart\t"$(date) >> /home/ubuntu/Desktop/out.txt
  end script

  Problem:
  If 'EVENT=create' is set - as referenced in the manpage of the upstart-file-bridge - the above script doesn't fire as expected. If I remove the event specification and the script reacts to all file events, ~/Desktop/out.txt gets a new line. Only 'EVENT=modify' seems to work.

  Further:
  'EVENT=delete' doesn't work too. If I did no mistake, than its a separate bug.

  Note:
  The upstart cookbook's upstart-file-bridge example calls the create event not 'EVENT=create' like in the man page, but 'EVENT=created'. Both versions doesn't work.

  PS: I'm a Upstart newbie, so maybe I just did something wrong.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: upstart 1.10-0ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-4.9-generic 3.11.0-rc7
  Uname: Linux 3.11.0-4-generic x86_64
  .etc.init.juju.agent.ubuntu.local.override: manual
  .etc.init.juju.db.ubuntu.local.override: manual
  .etc.init.lxc.override: manual
  ApportVersion: 2.12.1-0ubuntu3
  Architecture: amd64
  Date: Fri Sep  6 00:08:28 2013
  InstallationDate: Installed on 2013-08-27 (9 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130827)
  MarkForUpload: True
  ProcKernelCmdline: BOOT_IMAGE=/boot/vmlinuz-3.11.0-4-generic root=UUID=a3401a0f-92c7-487c-9ccc-c61995aead71 ro quiet splash vt.handoff=7
  SourcePackage: upstart
  UpgradeStatus: No upgrade log present (probably fresh install)
  UpstartBugCategory: System
  modified.conffile..etc.at.deny: [inaccessible: [Errno 13] Permission denied: '/etc/at.deny']
  modified.conffile..etc.default.whoopsie: [modified]
  mtime.conffile..etc.default.whoopsie: 2013-08-27T23:37:38.837038

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



More information about the foundations-bugs mailing list