You are not logged in.

#1 2009-02-04 17:30:34

valmar
Member
Registered: 2007-03-14
Posts: 55

schroot mounts multiple times

Dear All,

        I installed a 32 bit chroot environment as described in:

http://wiki.archlinux.org/index.php/Arc … bit_system


and I am using schroot. However, I noticed two things.

First when I start a program with a line like:

 schroot -p -- yaourt -Scc

I get a message like:

  I: [Arch32-60b71365-bf9e-45cd-8e1c-8abdb799bae1 chroot] Running command: "yaourt -Scc"

which I would like to avoid.

The second thing is that if I look at /etc/mtab, I see:

/dev/md0 / ext3 rw 0 0
none /dev ramfs rw 0 0
none /proc proc rw 0 0
none /sys sysfs rw 0 0
none /dev/pts devpts rw 0 0
/opt/arch32 /var/lib/schroot/mount/Arch32-7693501e-f036-4c80-b371-22f75ba746ec none rw,bind 0 0
/proc /var/lib/schroot/mount/Arch32-7693501e-f036-4c80-b371-22f75ba746ec/proc proc rw 0 0
/opt/arch32 /var/lib/schroot/mount/Arch32-208107e8-3a37-48d2-948e-8f275762a9f9 none rw,bind 0 0
/proc /var/lib/schroot/mount/Arch32-208107e8-3a37-48d2-948e-8f275762a9f9/proc proc rw 0 0
none /dev/shm tmpfs rw 0 0

schroot mount the chroot enviroment each time. But it is already mounted. Plus, it does not unmount it, so mount points pile up as I use schroot commands.

Is this supposed to happen?

Thank you for your help

      Valerio

Offline

#2 2009-02-04 18:54:18

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: schroot mounts multiple times

That is schroot behavior - practically every 32bit application runs in its own environment independantly.
I, personally, prefer old dchroot - much more ellegant.


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#3 2009-02-04 22:58:59

valmar
Member
Registered: 2007-03-14
Posts: 55

Re: schroot mounts multiple times

Good! Then I don't need the /etc/rc.d/arch32 file right, I just modify the relevant sschroot configuration file.

One thing though: if the command is interrupted, schroot stops and never umounts the directories. Is there a way to avoid this?

        Valerio

Offline

Board footer

Powered by FluxBB