Questions tagged [jails]
The jails tag has no summary.
103 questions
0
votes
0
answers
74
views
FreeBSD Jails with Google cloud
I tried searching the title on SO but nothing turned up. This is my first question so I apologize if I am doing something wrong.
My idea is to have jails serve my websites on google cloud instead of ...
0
votes
0
answers
61
views
ADB server does not ACK if it is launched inside Linux chrooted / jailed / emulated with the Linuxulator
I'm trying to connect to my mobile phone using adb over wifi using the Linuxulator because I want to install a specific java application that requires Linux to work. I have already used Linux ...
1
vote
1
answer
264
views
Automate deploying a bunch of thin jails
I'm setting up the *ARR suite apps in jails (using the Bastille manager). I used to do this in debian and docker but this time I moved to freeBSD to try out it's native zfs support.
In setting up I ...
1
vote
1
answer
131
views
Forgejo pid file (/var/run/forgejo.pid) : not readable in Truenas Core (FreeBSD Jail)
I have been trying to get Forgejo running in a Truenas Core (FreeBSD jail) for over a week. When I manually start Forgejo as the git user it runs as expected, however attempting to get it to run with ...
1
vote
1
answer
164
views
Why is keyboard and mouse unable to be hotplugged in FreeBSD jail?
I have an entire system with xorg-x11 running in a jail. My only issue is that I am unable to add or remove a keyboard or mouse while X is running. If I restart X, the newly connected keyboard or ...
0
votes
1
answer
234
views
How to log and block all internet access from a program?
I have a binary from an untrusted source, and I would like to block and log any internet access attempt, and see to what server it tries to connect.
A first way I though of is using firejail https://...
1
vote
1
answer
433
views
Does fstab make sense for chroot jail?
I've created an fstab file (to mount /dev/pts and /proc, with the bind option) as part of a jail but when I chroot to the jail neither filesystem is mounted. This makes me wonder when the fstab for a ...
3
votes
1
answer
891
views
Jail/Sandbox process on an overlay root and track changes
What I am trying to achieve
I want to run a process as an unprivileged user, but all files that are changed by this process should be only changed in a shadow folder. Furthermore, I want to disable ...
1
vote
1
answer
526
views
Run firefox within a Linux chroot jail in FreeBSD 13.1
I have managed to install a Ubuntu chroot jail within FreeBSD 13.1. However, I need to run Firefox from it to launch Jupyter Lab from a python virtual environment within the chroot subsystem. I was ...
2
votes
0
answers
243
views
How to re-enable the `enable` command?
As part of a script to set up a restricted user, I ran the enable -n enable command. For testing purposes I would like to undo that command but I can't find any documentation on how to do so. I know ...
2
votes
2
answers
2k
views
Restrict linux process write permission to one folder
I want a process (and all its potential children) to be able to read the filesystem according to my user profile but I want to restrict that process's write permission to only a set of pre-selected ...
1
vote
0
answers
72
views
Empty executables after creating bind mount
I've created a bind mount in /tmp/test which I then use to establish a chroot jail. For example:
mount --bind -o ro /usr/bin/ /tmp/test
chroot /tmp/test /some_executable
This seems to work fine - most ...
0
votes
1
answer
129
views
Resolve local webserver to public domain
Is there a way to forward traffic on mydomain.com to local web server hosted on virtual machine ( bhyve )?
Let's say my local machine has local IP - 1.1.1.1
And my registered domain in X hosting ...
2
votes
2
answers
1k
views
man returns execve: No such file or directory in chroot jail
I created a chroot jail and copied multiple binaries and their corresponding libraries to the relevant subdirectories. Example:
cp -v /usr/bin/edit /home/jail/usr/bin
ldd /usr/bin/edit
linux-...
0
votes
1
answer
101
views
What is the `/` command displayed by htop?
I’m running FreeBSD 12.1-RELEASE on my home server.
From time to time, the server’s HDDs thrash for hours on end, even though the server itself should be idle. (I have no cron jobs scheduled, and I ...