Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21807 - Additional proc filesystem that lies on an LVM partition.
Summary: Additional proc filesystem that lies on an LVM partition.
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-27 23:23 UTC by Konstantinos Kokonas
Modified: 2004-10-15 23:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantinos Kokonas 2003-05-27 23:23:58 UTC
I have a /home partition that is mounted on an LVM.
In there a have a /home/chroot directory for jailed users,
where I wanted to mount a /proc for the jailed users.

I added an entry for the proc in /etc/fstab (with the bind option) but the box wouldn't boot right
because the system tried to mount /home/chroot/proc before /home would be mounted.
A custom script I created to run after all other init scripts solved the problem by mounting it last.
During shutdown though, the umount part of halt.sh doesn't unmount it,
because it ignores all proc entries that lie in /proc/mount, and it creates a problem when the volume group is getting disabled.
I haven't figured out how to fix this, I'm guessing some different parameters in the awk call.
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2003-06-12 07:17:56 UTC
how about if you add it in /etc/fstab AFTER the entry for /home?
Comment 2 Konstantinos Kokonas 2003-06-12 07:59:45 UTC
That entry was actually the last entry in /etc/fstab
Comment 3 Konstantinos Kokonas 2003-06-17 08:29:44 UTC
If you take a look at the init script in /etc, you will see that when reading 
/etc/fstab the script ignores all proc entries, and later on, it mounts 1 proc 
filesystem only!
Comment 4 Tim Yamin (RETIRED) gentoo-dev 2003-08-26 15:00:58 UTC
Bouncing back to bug-wranglers as this is not a kernel related bug: this is to do with the init scripts...
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2003-10-26 14:07:57 UTC
There was some major changes with unmounting in halt.sh - please try
baselayout-1.8.6.11 and let me know.
Comment 6 SpanKY gentoo-dev 2004-10-15 23:37:04 UTC
1.9.x is out now ...

if that doesnt work, add the stuff you need to conf.d/local.start