Gentoo Archives: gentoo-user

From: Shawn Haggett <podge@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Symlinking out of a chroot
Date: Sun, 12 Nov 2006 15:47:59
Message-Id: 45573FE1.3040107@podgeweb.com
In Reply to: [gentoo-user] Symlinking out of a chroot by Brian Davis
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Brian Davis wrote:
5 > Hey folks,
6 >
7 > I will be running my apache2 server in a chroot. Most of my data for the
8 > server (e.g. pictures, user webpages) are on another partition from my
9 > chroot. I don't want to move all that data into the apache chroot if I
10 > don't have to. Therefore I would have soft symlinks from the chroot to
11 > the data. Does this effectively make the chroot worthless?
12 >
13 > Thanks!
14
15 At a quick guess, I suspect the symlink will end up pointing to
16 something like, /link will be a symlink pointing to '../../blah', which
17 won't be valid inside the chroot. Or will point to '/var/www/mydata'
18 which again, won't be valid inside the chroot. However I don't have a
19 chroot environment here with which to test this. But basically the
20 symlink will be broken inside the choort.
21
22 Shawn
23 -----BEGIN PGP SIGNATURE-----
24 Version: GnuPG v1.4.2 (MingW32)
25 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
26
27 iD8DBQFFVz/hQv6DFiTKHhkRAoDTAJwPq1dUX3+Lc6FkTXhXKdUaMnMYLgCfcJFN
28 yfy4N1cwW9QVvmOdtYyKmNE=
29 =ke/5
30 -----END PGP SIGNATURE-----
31 --
32 gentoo-user@g.o mailing list