Bug 255746

Summary: emulators/qemu-user-static: setrlimit(rlimit_stack): Operation not permitted
Product: Ports & Packages Reporter: nkoch
Component: Individual Port(s)Assignee: freebsd-emulation (Nobody) <emulation>
Status: New ---    
Severity: Affects Some People CC: nkoch
Priority: --- Flags: bugzilla: maintainer-feedback? (emulation)
Version: Latest   
Hardware: amd64   
OS: Any   

Description nkoch 2021-05-10 12:48:00 UTC
I have created an aarch64 jail on an amd64 server using
make installworld/make dustribution/binmiscctl.

When starting the jail 'sh /etc/rc' stops with EPERM when
calling 'limits -C daemon <command>' from rc.subr.

Same with sudo: 'setrlimit(rlimit_stack): Operation not permitted'

I did not find any setting for jail.conf that helped.
Comment 1 nkoch 2021-05-10 12:49:12 UTC
Host system is FreeBSD 13.0