[Merge] lp:~jamesodhunt/upstart/file-bridge-MP into lp:upstart
Steve Langasek
steve.langasek at canonical.com
Thu Mar 14 19:13:23 UTC 2013
On Thu, Mar 14, 2013 at 06:53:22PM -0000, Dmitrijs Ledkovs wrote:
> Review: Needs Information
> # stop upstart-file-bridge
> # cat /etc/init/subdir1.conf
> start on file FPATH=/foo/a/test FEVENT=create
> exec echo FPATH=$FPATH FEVENT=$FEVENT FMATCH=$FMATCH
> # start upstart-file-bridge
> # mkdir /foo
> # mkdir /foo/a
> # touch /foo/a/test
> In the upstart-file-bridge.log:
> Job got added /com/ubuntu/Upstart/jobs/subdir1
> upstart-file-bridge: Could not create watch for path /: No such file or directory
> Is this a limitation or a bug?
Limitation. You're expected to only be able to watch for a) modification of
a single path in an existing directory, or b) creation/deletion of files in
an existing directory. Monitoring for recursive directory creation is
unwieldly via inotify, and out of scope for what we understand the desktop
requirements to be.
--
https://code.launchpad.net/~jamesodhunt/upstart/file-bridge-MP/+merge/152767
Your team Upstart Reviewers is subscribed to branch lp:upstart.
More information about the upstart-devel
mailing list