upstart script can not be too long when root is read only?

paul phsdv at tiscali.fr
Mon Nov 6 22:21:26 GMT 2006


Scott James Remnant wrote:
> On Sun, 2006-11-05 at 21:02 +0100, paul wrote:
>
>   
>> 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
>>
>>     
> This usually means you're missing the /dev/fd -> /proc/self/fd symlink.
>
>   
Yes, it is missing because /proc is not mounted yet.
Thus the 1st script that mounts /proc can not be longer than 1024 bytes.

Paul



More information about the Upstart-devel mailing list