-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
poudriere doesn't work in a jail #216
Comments
It is probably failing due to not having an 'ip4' entry. Can you run 'poudriere -x bulk ... 2>log' and either upload the log file or host it somewhere that I can look at? |
You can see the log here: I tried you suggestion with "ip4=inherit;ip6=inherit;". You are right - after setting this options, it works :) |
With "it works" i mean: |
I have a look at the log. The error occurs in this line:
If a change the line to:
The jail is created successfull. Also i can work with it. I hope this helps. Thanks for all your work :) |
After setting the IPv6 address hardcoded, the building of a port starts. But it stops right after compiling the pkg-package. Error Message: === Start === ====> Compressing man pages (compress-man)=======================<phase: package >============================ Stop. Stop. === End === The file exists: ls -lah /var/run/ld-elf.so.hints-r--r--r-- 1 root wheel 199B Aug 6 13:58 /var/run/ld-elf.so.hints So i believe it is not copied correctly? |
After some debugging, i found the problem with the elf-hints. When creating the reference jail, the path to the jail is used for copy. In my case this is /usr/local/jail/poudriere/var/run -> and this path didn't exists from within the jail. |
The problem described in this issue is not related to the Poudriere, but to the design of FreeBSD jails. Since this issue report is the first one which pops up in search engines I'll put the solution to here. Issue/error
DescriptionFrom
Therefore one must define IP addresses Test (on 10.1-STABLE)When running, this one gets the error stated above:
Runnig the code below goes without issues (You can see that
The test can be reproduced by removing Solution (for
|
This will optionally support, if allowed: - allow.socket_af - allow.raw_sockets - allow.chflags - allow.sysvipc Issue #216
…nabled. Checks for: - enforce_statfs=1 - allow.mount - allow.mount.devfs - allow.mount.nullfs - allow.mount.tmpfs (when USE_TMPFS is set) Unfortunately children.max is not exposed in the jail properly. Issue #216
Super old bug squashed! c756e18 also helps. |
It is not possible to start poudriere bulk within a jail:
I've followed the wiki-entry as much as possible, but i do not use ZFS. Therefore my FreeBSD 10 config for the jail looks like:
The error message indicates that it is not possible to create a jail within a jail. Therefore i tried it manually - i'm able to create a jail within a jail- poudriere not.
If you have IPv6 it is possible to give you access to the jail for further testing.
The text was updated successfully, but these errors were encountered: