Re: Non-root chroot
- In reply to: Charlie Li : "Re: Non-root chroot"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 05 Aug 2025 22:29:31 UTC
On 8/5/25 16:17, Charlie Li wrote: > Jason Bacon wrote: >> It might be possible to port fakechroot (https://github.com/dex4er/ >> fakechroot), proot (https://github.com/proot-me/proot), or something >> similar, but is there anything else on FreeBSD that can do this? >> > There is already security/fakeroot, but my experience with this was back > when I used Arch Linux, where they use it for their pacman package > builds (makepkg(8) in sysutils/pacman). > Yeah, fakechroot depends on fakeroot. I made a brief attempt at porting fakechroot, but ran into an issue with the code trying to directly access a structure that's opaque on FreeBSD. That can be fixed, but I'm waiting for the outcome of the security.bsd.unprivileged_chroot discussion before sinking any time into it. -- Life is a game. Play hard. Play fair. Have fun.