Bug 255746 - emulators/qemu-user-static: setrlimit(rlimit_stack): Operation not permitted
Summary: emulators/qemu-user-static: setrlimit(rlimit_stack): Operation not permitted
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-emulation (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-10 12:48 UTC by nkoch
Modified: 2021-05-10 12:49 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (emulation)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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