While trying to write my own upstart scripts from scratch I ran in the
issue that my first script that runs failed with this error:

/bin/sh: /dev/fd/7: No such file or directory

I checked the code and found that if the script is longer than 1024
bytes, it will be executed via  magic /dev/fd/NN devices. But there root
is still read only I can imagine that this will fail with above error.
Is this the reason?

The work around would be to call external sh scripts until root is
writable and the magic /dev/fd/NN can be used. This is why I think the
sysvinit scripts currently are working.

Paul

_______________________________________________
upstart-devel mailing list
[email protected]
http://lists.netsplit.com/mailman/listinfo/upstart-devel

Reply via email to