You are not logged in.

#1 2008-09-08 08:19:23

danvari
Member
Registered: 2007-08-14
Posts: 44

dchroot - where can i find it?

hello!

i installed a 32bit chroot in /opt/arch32 as written on http://wiki.archlinux.org/index.php/Arc … bit_system.

now i need dchroot, but that is not avaible via pacman:

bash-3.2# pacman -Ss schroot
bash-3.2# pacman -Ss chroot
extra/fakechroot 2.6-1.1
    Gives a fake chroot environment
extra/nbsmtp 1.00-1
    No-Brainer SMTP client suitable to run in chroot jails, embeded systems,
    laptops, and workstations
community/chrootuid 1.3-2
    Runs a command in a restricted environment.
bash-3.2# pacman -Ss dchroot
bash-3.2# pacman -Ss chroot
extra/fakechroot 2.6-1.1
    Gives a fake chroot environment
extra/nbsmtp 1.00-1
    No-Brainer SMTP client suitable to run in chroot jails, embeded systems,
    laptops, and workstations
community/chrootuid 1.3-2
    Runs a command in a restricted environment.
bash-3.2#

i did a pacman -Sy....strange...schroot is also not avaible via AUR:

bash-3.2$ yaourt -Ss schroot
bash-3.2$

Offline

#2 2008-09-08 08:51:09

somedrew
Member
From: Canada
Registered: 2007-05-14
Posts: 140

Re: dchroot - where can i find it?

schroot provides a wrapper for dchroot and is available in [community]. You may need to refresh your package list.

http://aur.archlinux.org/packages.php?ID=13315

cheers,

Last edited by somedrew (2008-09-08 08:56:01)

Offline

#3 2008-09-08 09:23:56

danvari
Member
Registered: 2007-08-14
Posts: 44

Re: dchroot - where can i find it?

hmm ok i see that it has to be avaible, but i still cannot choose it:

bash-3.2# pacman -Sy
:: Synchronisiere Paketdatenbanken...
 core ist aktuell
 extra ist aktuell
 community                344,1K  334,0K/s 00:00:01 [#####################] 100%
 archlinuxfr ist aktuell
bash-3.2# pacman -Ss schroot
bash-3.2#

Offline

#4 2008-09-08 10:27:59

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: dchroot - where can i find it?

Perhaps your mirror is outdated?

Offline

#5 2008-09-08 10:35:56

danvari
Member
Registered: 2007-08-14
Posts: 44

Re: dchroot - where can i find it?

no that cannot be, i tried many mirrors beforce, also ftp.archlinux.org....i get some updates per day so it cannot be outdated...

Offline

#6 2008-09-08 10:39:15

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: dchroot - where can i find it?

In that case simply run "pacman -U ftp://ftp.archlinux.org/community/os/i686/schroot-1.2.1_1-1.pkg.tar.gz" (change i686 to X86_64 if needed)

Offline

#7 2008-09-08 10:58:15

danvari
Member
Registered: 2007-08-14
Posts: 44

Re: dchroot - where can i find it?

hmmm, is schroot only avaible for i686?? i chrootet into my chroot and there i can find schroot:

bash-3.2# pacman -Ss schroot
community/schroot 1.2.1_1-1
    Allows users to execute shell commands under different root filesystems.     
    (Successor to dchroot).
bash-3.2#

but my arch64 still does not get it. i thought i install schroot into arch64 and can automatically chroot and run applications so i do not have to chroot every time i want to start an app...

Offline

#8 2008-09-08 11:18:32

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: dchroot - where can i find it?

Ah, so that's the problem. Apparently the package is available only for i686. Perhaps you can grab the PKGBUiLD and see whether it works on x86_64?

Last edited by lucke (2008-09-08 11:19:00)

Offline

#9 2008-09-09 13:18:04

alcafar
Member
From: Italy
Registered: 2008-03-23
Posts: 47

Re: dchroot - where can i find it?

Some weeks ago the package dchroot has been replaced by schroot in i686, but I didn't realize that it was removed, without being replaced by schroot, in x86_64.
Being the configuration of schroot different from the old dchroot (described in the arch wiki), and being me lazy at the moment to do the job of adapting the configuration files, I recompiled dchroot with the PKGBUILD I had in the abs cache.
If you want to do the same, here is the PKGBUILD:

# $Id: PKGBUILD,v 1.5 2007/11/15 22:35:48 sergej Exp $
# Maintainer: William Rea <sillywilly@gmail.com>
pkgname=dchroot
pkgver=0.12.1
pkgrel=3
pkgdesc="Allows users to execute shell commands under different root filesystems"
arch=('x86_64' 'i686')
url="http://packages.debian.org/unstable/admin/dchroot"
license=("GPL")
depends=()
makedepends=(help2man)
backup=(etc/dchroot.conf)
source=(http://ftp.debian.org/debian/pool/main/d/dchroot/dchroot_$pkgver.tar.gz)
md5sums=('13990d6d8d1d052d5114f42d544b61d2')

build() {
  cd $startdir/src/$pkgname-$pkgver
  touch dchroot.1
  ./configure --prefix=/usr
  make dchroot.1 || return 1
  make || return 1
  make DESTDIR=$startdir/pkg  install
}

Offline

#10 2008-09-18 03:11:44

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: dchroot - where can i find it?

schroot is now in the x86_64 repos. Just have to reconfigure the dchroot commands a little for the switch.

Scott

Offline

#11 2008-09-18 15:31:57

alcafar
Member
From: Italy
Registered: 2008-03-23
Posts: 47

Re: dchroot - where can i find it?

firecat53 wrote:

schroot is now in the x86_64 repos. Just have to reconfigure the dchroot commands a little for the switch.

Scott

Have you or somebody else reconfigured dchroot, and can share the information?
Otherwise I will try myself, but I'm a little scared of doing something bad and losing data.

Offline

#12 2008-09-21 03:44:04

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: dchroot - where can i find it?

Here's some info about schroot -- specifically about using it with the 32 bit chroot.

And of course -- man schroot -- smile

Good luck!
Scott

Offline

#13 2008-09-21 08:13:03

danvari
Member
Registered: 2007-08-14
Posts: 44

Re: dchroot - where can i find it?

thank you for including schroot into arch64, but i switched back to gentoo because my own programmed 32bit games did not run in fullscreen either in the 32bit chroot nor in arch64 using lib32. here is a  link to my problem: http://bbs.archlinux.org/viewtopic.php?id=55210.
i would like to use arch, but it is very important for me that my games work in fullscreen. i do not want to use arch32 if there is the possibility under gentoo using x86_64 multilib. gentoo is so much outdated and i like "the arch way".
i hope somebody has an idea why i get this xlib.lock error smile then i would come back to arch...it's a great distro..

Offline

#14 2008-09-21 16:03:19

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: dchroot - where can i find it?

@Davari: Hmmm...I had a similar error trying to get the citrix client working. Now I can run it with a little script that sets the SLOPPY LOCK environmental variable and that seems to fix the problem

#!/bin/sh
export LIBXCB_ALLOW_SLOPPY_LOCK=1 # Fix for Citrix client
schroot -pc arch32 /usr/lib/ICAClient/wfica $1

Maybe that will help?

Good luck,
Scott

Offline

Board footer

Powered by FluxBB