Questions tagged [schroot]

schroot allows the user to run a command or a login shell in a chroot environment.

schroot allows the user to run a command or a login shell in a chroot environment.

http://linux.die.net/man/1/schroot

19 questions
6
votes
2 answers

How to prevent schroot from overridding passwd file and others files already present on the chrooted system?

When I had to repair my Debian system, I tried to use schroot due the convenience of not having to mount bind several partitions. But, contrary to my expectations, schroot decided to override my passwd file and other configuration files (in /etc and…
Braiam
  • 35,380
  • 25
  • 108
  • 167
5
votes
1 answer

Error message: unknown user 'geoclue' in statoverride file

I obtained a strange error message inside a chroot: unknown user 'geoclue' in statoverride file when running apt-get install or apt-get upgrade. I use schroot to enter this chroot. I found that I had a package called geoclue-2.0 installed in the…
Faheem Mitha
  • 34,649
  • 32
  • 119
  • 183
3
votes
1 answer

switch_root from initramfs is failing

we're trying to implement an initramfs with the intent of: Open a LUKS partition (using a key saved on TPM) Mounting the partition RO Mounting an OverlayFS switch_root to the new system The first part of the script seems to work fine. Our problem is…
pgentili
  • 163
  • 7
3
votes
0 answers

How to start at boot a service that lives within a user's schroot?

Due to legacy (aka corporate) reasons, I have a number of servers running recent Debian versions (Debian 9, Debian 10) that also need to run older services such as MySQL 5.5. This is done via a (pre-existing) Debian Jessie schroot (that was built…
Luis Machuca
  • 482
  • 1
  • 6
  • 12
3
votes
0 answers

Can be any variable used in a schroot config?

I have more schroots but there are a base part which is the same in the all schroot configs (like users, type, etc.). Can be this base file used/sourced in a schroot config file to avoid copying?
Regisz
  • 141
  • 4
2
votes
1 answer

Why does uname -m report differently in chroot and schroot environment?

I am running Ubuntu 14.04.2, 64 bit host system. Using debootstrap, I installed a minimal Ubuntu 14.04.2, 32 bit system in trusty32 directory. This is what my schroot configuration look like: [trusty_i386] description=Ubuntu 14.04 Trusty for…
sherlock
  • 586
  • 1
  • 6
  • 17
2
votes
0 answers

How can schroot works with aufs

I'm using schroot with aufs. Currently, my conf file under \etc\schroot\chroot.d looks like [trusty_chrome] description=Ubuntu 14.04 Trusty running Chrome and Adobe…
Tianren Liu
  • 171
  • 5
1
vote
0 answers

Sudoer inside schroot (on Debian)

This is a typical schroot.conf configuration I use: [label] description=whatever type=directory personality=linux preserve-environment=true directory=/wherever users=UserForSchrootOnly profile=desktop_no_tmp No root-users directive. Separate home…
Krackout
  • 2,480
  • 9
  • 25
1
vote
1 answer

ssh to full schroot environment (debian)

How can I SSH into a schroot environment using ssh [email protected] rather than schroot -c test as user sshuser ? I have read an array of web post on creating a jailed chroot then setting up SSH to limit the user to the jail. I'm trying to…
icebowl
  • 37
  • 1
  • 3
1
vote
0 answers

Is it possible to create template/schema config file used it in a schroot config?

E.g. there are schroot configs: 1: [release-8.i386] personality=linux32 description=TSS version 8 on Debian Wheezy i386 directory=/chroot/release/8.i386 type=directory users=release,balage 2: [release-7.i386] personality=linux32 description=TSS…
Regisz
  • 141
  • 4
1
vote
1 answer

sbuild schroot fails

I am trying to package an Ubuntu package as a Debian package. For maintainability I am trying to use sbuild. Following the steps here I go through the first five steps, but when I try to build I get chroot errors. These are the steps: 1 sudo…
user1610950
  • 759
  • 2
  • 9
  • 22
1
vote
0 answers

Google Chrome not working in Debian wheezy chroot

I have a wheezy chroot running on squeeze, using schroot. I'm successfully using Skype. I've installed google-chrome-stable_current_i386.deb (version 38) in the chroot but when I try to run it, it exits immediately and says Aborted. I ran it with…
Alastair Irvine
  • 232
  • 1
  • 12
0
votes
1 answer

Can't mount `proc` to `schroot` environment using `setup.fstab`

I'm writing a bash command to deploy gluster inside a chroot called glusterchroot. I'm having issues mounting files from the host to the chroot. Schroot's man page recommends the following: $ man schroot.conf | grep -A4 setup.fstab= …
0
votes
1 answer

unable to list/access files inside schroot from a `mount --bind`

I created the chroot with schroot following these instructions: https://wiki.winehq.org/Building_Wine#Chroot Then to test it I did: $ sudo mkdir /TestA $ echo abc |sudo tee /TestA/tst.txt $ cat /TestA/tst.txt abc $ ls -ld /TestA…
Aquarius Power
  • 4,099
  • 5
  • 38
  • 56
0
votes
1 answer

Automount ecryptfs home in chroot (when using schroot)

my host system is archlinux and i need an ubuntu enviornment ready to be used with the files in my home directory. Problem is: my home directory is encrypted using ecryptfs. So when i launch the schroot this is what i get: ~ $ schroot -c…
wellsaid
  • 1
  • 3
1
2