Re: pivot_root from non-interactive script

Ralph Jones (ralph.jones@altavista.com)
20 Jun 2001 05:32:01 -0700


Hi,

I was using ash from SuSE 7.1 (ash-0.2-294)

I patched ash's input.c with

fcntl(fd, F_SETFD, FD_CLOEXEC); in setinputd. This fixed the problem.

Then I found that there is version 0.3.5-11 (on the debian site) with this fix already included.

Thanks for your help.

Ralph Jones

On Tue, 19 June 2001, Andreas Schwab wrote:

>
> Ralph Jones <ralph.jones@altavista.com> writes:
>
> |> Thanks. Yes it looks as if this might be the case. Do you have any ideas how I might get around this? Or do I have to use a different shell?
>
> The latter is probably the easiest. Or fix /bin/ash to set FD_CLOEXEC on
> the file descriptor.
>
> Andreas.
>
> --
> Andreas Schwab "And now for something
> SuSE Labs completely different."
> Andreas.Schwab@suse.de
> SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
> Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5

Find the best deals on the web at AltaVista Shopping!
http://www.shopping.altavista.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/