upstart script can not be too long when root is read only?
Scott James Remnant
scott at netsplit.com
Mon Nov 6 23:19:59 GMT 2006
On Mon, 2006-11-06 at 23:21 +0100, paul wrote:
> 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.
>
Yeah, I always figured that would be an issue -- which is why it's not
on by default ... in Ubuntu we cheat by mounting it in the initramfs :)
Scott
--
Have you ever, ever felt like this?
Had strange things happen? Are you going round the twist?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/upstart-devel/attachments/20061106/f9cea105/attachment.pgp
More information about the Upstart-devel
mailing list