Solaris, socketpair and chroot
Rusty Carruth
rcarruth at tempe.tt.slb.com
Thu Feb 28 02:03:46 EST 2002
Thomas Quinot <thomas at cuivre.fr.eu.org> wrote:
> ...
> What seems to occur on the server is that socketpair(3)
> (not pipe(2)) is called, which needs to open /dev/ticotsord.
> Since I do not have a /dev in the chroot directory,
> this call fails.
Why not just make a /dev in the chroot and put only tioctsord
(or whatever is needed) in there?
> ... Is there any way this can be worked around more
> appropriately (perhaps by calling socketpair() before going
> chrooted)?
That should work also, but I'd go for the /dev/<foo> solution.
rc
More information about the rsync
mailing list