public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* /proc/self/mounts in chroot vs lxc
@ 2012-02-05  8:43 Harald Dunkel
  2012-02-05 10:33 ` Michael Tokarev
  0 siblings, 1 reply; 3+ messages in thread
From: Harald Dunkel @ 2012-02-05  8:43 UTC (permalink / raw)
  To: Kernel Mailing List

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi folks,

AFAIK /proc/mounts (-> self/mounts) is supposed to replace
/etc/mtab. Problem is: In a chroot it contains too much
(invalid) information about the parent's mount points. It is
very hard to figure out which lines are correct.

For lxc there seems to be no such problem, so I wonder if it
would be possible to extend this scheme to chroot?

I am not sure if this is a kernel or libc issue. Any helpful
comment would be highly appreciated.


Regards

Harri
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk8uQSAACgkQUTlbRTxpHjebAACcDv8p76s834XRmt24Abyi2lei
Bg4An2zTYIvKz8uD7iYZ3f46fymZ+Guk
=pYTm
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-02-06  6:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-05  8:43 /proc/self/mounts in chroot vs lxc Harald Dunkel
2012-02-05 10:33 ` Michael Tokarev
2012-02-06  6:33   ` Harald Dunkel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox