FAQ Search Today's Posts Mark Forums Read

» Linux Archive
Home
New Posts
Search
FAQ


Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 02-04-2010, 07:14 PM
Kevin Coyner
 
Default schroot not automatically bind-mounting /home

I've recently installed debootstrap and schroot on a squeeze setup so
that I can build packages in sid.

I've got it more or less working except for being able to get /home/
to automatically bind-mount my real /home.

When I run schroot, I get:

kosuke$ schroot --debug=critical
W: Failed to change to directory ‘/home/kevin’: No such file or directory
W: Falling back to directory ‘/’
I have no name!@kosuke:/$

So I can get a working sid chroot, but I don't get my original /home.

Since I have the machine running an encrypted LVM setup, I wondered
whether that was causing problems. So in the file
/etc/schroot/mount-defaults I changed the line:

/home /home none rw,bind 0 0

to:

/dev/mapper/thinkpad--t400-home /home ext3 rw,bind 0 0

to correspond with how my /home is normally mounted. But that didn't work.

Would appreciate any guidance if anyone has encountered this before.

Many thanks,
Kevin


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 08:25 PM.

VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org