Questions tagged [schroot]

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

2
votes
0answers
21 views

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-...
1
vote
1answer
52 views

ssh to full schroot environment (debian)

How can I SSH into a schroot environment using ssh sshuser@192.168.1.20 rather than schroot -c test as user sshuser ? I have read an array of web post on creating a jailed chroot then setting up ...
0
votes
1answer
95 views

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 ...
0
votes
1answer
108 views

Application crash in chroot jail

I have a Debian 9 installation with a Debian 6 chroot jail. I am using a proprietary application which up until recently worked fine in the jail. But when I run its newer versions, it crashes in libc. ...
0
votes
1answer
160 views

schroot: Configuration key name 'file' is not a permitted name

I'm trying to configure a file chroot, following the "man" documentation. According to the manpage of schroot, I can use a filesystem tree archive file, and the configure an schroot to use that ...
0
votes
1answer
229 views

How to sandbox code in chroot for multiple users?

What am I trying to do? I'm writing a code evaluator using chroot and python and went to hackerrank for some inspiration. What I think is happening at Hackerrank? Hackerrank creates run-...
1
vote
0answers
19 views

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: [...
3
votes
0answers
47 views

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?
2
votes
1answer
563 views

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: [...
1
vote
1answer
867 views

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 ...
2
votes
0answers
557 views

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 Flash directory=/srv/chroot/...
1
vote
0answers
927 views

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 ...
5
votes
2answers
1k views

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 ...
5
votes
1answer
5k views

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 ...