a linux command to change the filesystem root a process can see, limiting it's access to the real filesystem root

learn more… | top users | synonyms

6
votes
1answer
1k views

debootstrap failing to mount /proc

I have researched this, and none of the answers (so far) on here, nor googling seem to match my problem. Here is the situation: I am running Xubuntu 12.04 as a base install, and am trying to set up ...
1
vote
1answer
438 views

Unable to run executable from mounted flashdrive on Chromebook

I recently got a Chromebook and installed Crouton on it so I can run Ubuntu natively. Since the machine only has 16GB of SSD I decided to get a tiny flash drive that I can keep in it at all times. The ...
1
vote
1answer
1k views

How to setup SFTP with Chrooted for Groups

After many trials and errors trying to setup a working sftp server for multiple groups with chrooted directory I decided to share what finally worked for me. I am a novice 2 months into Ubuntu so ...
1
vote
1answer
408 views

vsftpd chroot opps on ubuntu 12.04

I'm unfamiliar with deb based systems, so my apologies if the solution is simple. I'm trying to setup vsftpd to jail users to their home directories. I get the 500 OOPS: vsftpd: refusing to run with ...
1
vote
1answer
122 views

Compile AMD athlon-xp 32 bit kernel in intel 64 bit machine

Can someone tell me how to compile linux 3.7 kernel for amd athlon-xp in a 64 bit intel environment through chroot? I tried setting up a chroot environment but compilation gives me error. Thanks to ...
1
vote
1answer
3k views

Network Manager missing after update: no connectivity

After an update and restart, I found that the network icon on the top is missing and so, I cannot connect to LAN, wifi, USB modem, nothing. Now, I am booting from a Live USB, then chrooted to my ...
3
votes
0answers
519 views

What are the differences between jails and chroot?

I'm currently trying to point out the finer details between chroot spaces and jails. And clear up some of the controversy in the phrase "chroot jail." So far I have chroot defined simplistically as ...
2
votes
0answers
32 views

Ubuntu for Android, Ubuntu for Devices, LinuxonAndroid project for Ubuntu on ARMv7 machine?

I've looked around but can't find any solid solutions or help on this topic. I recently ordered a machine with an ARMv7 CPU (Cortex A-9, <= 1.6GHz, quad core). The machine also has a Mali-400 ...
2
votes
0answers
223 views

Cannot install into target mounted with noexec or nodev while doing qemu-deboot strapping

I'm trying to install the armel version of Ubuntu with qemu-deboot-strap on my desktop X64 system,but I've found this error : $ mkdir precise $ sudo qemu-debootstrap --arch=armel precise ./precise/ ...
2
votes
0answers
411 views

Why does mounting proc in my chroot fail during debootstrapping?

In a cleanly installed Ubuntu Raring machine I am trying to perform a debootstrap of another system. Here's the exact command: http_proxy=http://192.168.122.1:8000/ debootstrap --arch=amd64 raring ...
2
votes
0answers
196 views

ssh-agent not accessible within a schroot

I'm using an schroot to do some builds of deployment packages, and there's a lot of to and fro between the host and the schroot environments. Within the schroot the ssh-agent doesn't seem to be ...
2
votes
0answers
158 views

Is there a proper way to set up a copy-on-write based build env that use your live / as base files?

I'm trying to set up a build environment using chroot, but instead of downloading ubuntu base files, I want to use my live / as base files for the chroot and use c-o-w to redirect any changes made in ...
2
votes
0answers
133 views

How I can run Android 4.0.4 in chroot on Ubuntu 12.04 on the Pandaboard ES?

I want to run fully functional Android 4.0.4 on my Ubuntu 12.04 installation on the Pandaboard ES with the LXC containers.
1
vote
0answers
158 views

How do I chroot an SSH user to their home directory?

I don't want to use jailkit. My OS is Ubuntu 14.04. I am setting up a user account on my server for a kid I tutor, so he can run a minecraft server. He will be using putty to ssh into my server, and I ...
1
vote
0answers
241 views

LTSP - thin client VS fat client - how does the root folder work?

There is plenty of information on the internet including here, but I could not find a specific discussion on it. Any comment is appreciated. Sorry if it is a very rookie question. I installed Ubuntu ...
1
vote
0answers
70 views

Is it possible to compile a kernel module under chroot?

Under a chroot environment, is it possible to build a kernel module without having the kernel installed, just the headers? It sounds like something you wouldn't want to do, but in my case I do. I've ...
1
vote
0answers
25 views

Create Jailed Users Using Programing Language

I want to create limited users in my system able to use only few commands. I read this question and jailkit is awesome and do what I want, except one thing creating the users dynamically (via ...
1
vote
0answers
292 views

How to get Juniper 7 (R4) working with Ubuntu 13.04 (64) on Chromebook (Crouton install)?

I've been trying to get my company's Juniper VPN to work on my Crouton install. I'm running Crouton on a C720 with Ubuntu 13.04. I was able to get past the JRE issue (Not able to connect to Juniper ...
1
vote
0answers
187 views

Copying files into custom uck chroot environment

I have been trying to setup a custom Ubuntu 13.10 ISO, containing programs and utilitiess that are beyond what is installed by default. I am initially using uck and finally got it working for me, ...
1
vote
0answers
73 views

Chrooting to a mounted USB Stick using SFTP

I would like to use SFTP over OpenSSH as a small FTP server. However I would like to use a mounted hard drive or USB stick as the chrooted directory for the user. As far as I see, chrooting is ...
1
vote
0answers
77 views

Restore permission and ownersip to root/home folders?

I have migrated my system to a new hard disk and backed up my system to an external NTFS volume with rsync- ahv, a oversight and mistake given that NTFS volumes do not support UNIX permissions. ...
1
vote
0answers
138 views

X Server crashes when I start Firefox from chroot

I thought to start an isolated Firefox instance in a chroot, but it always crashes my X Server. I tried with different chroot environments (raring, trusty), and tried schroot and plain chroot too. ...
1
vote
0answers
239 views

ImportError: No module named mechanize

I am having an issue where I have definitely installed mechanize both on my machine and in various virtual environments. When i running the program got error message ImportError: No module named ...
1
vote
0answers
34 views

Is it possible to upgrade a machine remotely using local system resources?

I'm doing an upgrade on a little Intel Atom "nettop". It's extremely slow and takes somewhere around an hour to do a release upgrade. I'm looking to improve that. This question follows a slightly ...
1
vote
0answers
138 views

Chroot environment can access external, but not internal network

I've just set a chroot environment up on a new 12.10 install, and it seems capable of accessing the external network (Internet basically) but it cannot access anything on the internal network inside ...
1
vote
0answers
509 views

Cannot start gnome-shell in an Android chroot

In my Android-hosted Ubuntu 12.10 chroot, I am attempting to get gnome-shell running on Xvfb. I've handled rendering issues as far as I know, and now I'm having trouble with gnome-shell. I suspect ...
1
vote
0answers
86 views

Auto-passphrase in schroot: can't connect to `/run/user/korn/keyring-x30g9r/gpg

when running "debuild -S -sa" to create the source files and sign them in Ubuntu 12.04 I only had to enter my passphrase once and then it is automatically used to unlock my private key on future runs ...
1
vote
0answers
88 views

Chroot java application

I would like to chroot Subsonic on my Ubuntu Server. All the Ubuntu doc talks about Chroot another version of Linux or SSH... How can I install chroot jail for a java application ?
1
vote
0answers
213 views

ltsp: fat client with motion -> dropbox upload

I would like to install motion on my ltsp fat clients, which actually works well. What I don't know is how to upload the created files via dropbox. Can someone point me in the right direction? I ...
1
vote
0answers
520 views

Debootstrap chroot Installation Error

During initial installation (using both Network installation and CD ISO) of Ubuntu Server 12.04.1 LTS (64-bit) as a guest VM on XenServer 6.1 I'm getting this error: Debootstrap warning Warning: ...
0
votes
0answers
13 views

Is it necessary to mount /dev/shm when chroot from Ubuntu Live CD?

Ubuntu is a Debian derivation. Debian squeeze (6.0.0) requires /dev/shm mounting for chroot. I do want to chroot to re-install grub. Does Ubuntu also require /dev/shm mounting for correct chrooting ...
0
votes
0answers
18 views

CHROOT files not copied to chroot env

is there a way to copy files to a chroot env before chroot in a directory? I mean I have to copy a .sh file to work/rootfs/bin/ and to do that I use sudo cp command.sh ${WORK}/rootfs/bin/ but when I ...
0
votes
0answers
18 views

LTSP installation step failed

Today I've tried installing an LTSP server on a virtual machine (host : Win 8 x64, virtualbox 4.3.6 r191406 as the newer versions have problems), I gave it an additional NIC as host only. Everything ...
0
votes
0answers
40 views

ubuntu 14.04 livecd chroot error

I wanted to try to reinstall grub2 for ubuntu 14.04: run 14.04 livecd mount the root partition and mount dev sys run proc: sudo mount /dev/sdc1 /mnt for d in dev sys run proc; do sudo mount -o ...
0
votes
0answers
15 views

All SFTP chroot access is read only?

These are the pertinent lines from my /etc/ssh/sshd_config Subsystem sftp internal-sftp Match Group sftp X11Forwarding no AllowTcpForwarding no ChrootDirectory %h ForceCommand internalsftp ...
0
votes
0answers
25 views

How do I make a chroot clone of my [current setup] like after a fresh install

Where I am... I know that I debootstrap trusty /chroot-dir and then I... mount --bind /dev /chroot-dir/dev && mount --bind /proc /chroot-dir/proc and then cat ...
0
votes
0answers
136 views

Having an issue with Ubuntu on my Samsung Chromebook?

Ok so first off I had this running pretty slick before my fiance touched it. Booted it back to regular mode. So i have to go back through and turn developer mode on, and reinstall crouton and all ...
0
votes
0answers
24 views

Tightvnc Server - How to [Minimal CPU/Latency] for basic apps over 802.11n direct

Greetings fellow tinkers, and people who... "fix" things... Right then!So I have a Nexus 5 in a chrooted Ubuntu 14.04 that I want to export the display from to a 10 inch tablet via wifi - And before ...
0
votes
0answers
12 views

Is there a guide step by step to use old libraries within a new system or new libraries with a old system for debootstrap or chroot?

The response in here How to run HipHop with an old libc6 (not solved) and libc.so.6: version `GLIBC_2.16' not found was so short (for me, I am mid level linux user, not pro, because I don't know ...
0
votes
0answers
26 views

Unsuccesful upgrade from 13.10 to 14 64bit

I had unsuccessful upgrade to kubuntu 14, unfortunatly. I does this steps: sudo mkdir -p /media/ubuntu sudo mount /dev/sda1 /media/ubuntu sudo mount --bind /dev /media/ubuntu/dev sudo mount --bind ...
0
votes
0answers
143 views

ubuntu upgrade rescue meet the udev problem, help

Thank adevance, please help me out! I upgrade from 13.10 to 14.04, but there is problems occured, so I rescued through KNOPPIX livecd. Just now the problem is: when i tried in chroot enviroment : ...
0
votes
0answers
75 views

How to chroot [Android] on top of [Ubuntu]

I know I can run ubuntu on android: With a Chroot (Linux installer, etc from market) but how does one run android chroot under ubuntu?
0
votes
0answers
270 views

vsftpd giving 500 OOPS: vsftpd: refusing to run with writable root inside chroot() even though the root is not writable

I have a user - ftpuser - whom I want to chroot to his home directory. I set the .conf file, created the user, and set his home directory to read only: $ cat /etc/passwd ...
0
votes
0answers
85 views

ARM chromebook crouton xfce precise. one too many desktops

Running crouton xfce precise on ARM chromebook. I seem to have set up 2 chroots. when using the ctrl/alt/shift/back key combo I cycle through chrome desktop, then 2 xfce/ubuntu desktops. the one i ...
0
votes
0answers
107 views

Need help with sending audio from Ubuntu inside Linuxonandroid to Android

I understand that this is not entirely a Ubuntu question but it's pretty darn near:). I'm asking this question here since the linuxonandroid community is too small to get this solved within this ...
0
votes
0answers
57 views

chroot to repair grub gives corrupted shared libraries

I'm currently trying to repair a system that's stuck at the grub rescue> prompt. It seems like grub needs to be reinstalled, so I'm following some prior threads to get there. Trying to chroot into ...
0
votes
0answers
56 views

What is required to enable outbound connections from a chroot jail?

I have Apache2 running in a chroot jail, using the Apache config option 'ChrootDir /chroot', The OS is Ubuntu Pangolin 12.04. The jail ('chroot' dir) is manually built, with a minimal set of files, ...
0
votes
0answers
27 views

How to reset chroot

I've been using chroot to do some testing . But after i'm done i want a fast way to simply reset the chroot so i can reuse it again without recreating it from scratch .
0
votes
0answers
164 views

rssh with chroot

(I changed the IP address and port to protect the innocent.) On the server, my /etc/passwd entry, /etc/rssh.conf, and the file I'm trying to access look like this: lawsa@bukavu:/mnt/share/Public$ ...
0
votes
0answers
250 views

a serious GRUB issue

Everything went on well. Today morning when I rebooted my workstation, I was appalled by the grub rescue screen that appeared on boot up. I could not guess what could be the reason for this. Trying to ...