#4019 RLIMITS settings for nspawn
Closed: Fixed by tkopecek. Opened by tkopecek.

While for old chroot, RLIMIT_ values from kojid.conf are propagated automatically, for nspawn it must be put also to mock's config.

config_opts['nspawn_args'] = ['--rlimit=RLIMIT_NOFILE=16384:16384']

@mikem I'm not sure if we should modify mock's config on builder based on kojid.conf's values or just update the documentation that /etc/mock/site-defaults.cfg should be synchronized with kojid.conf.
For a) it is one authoritative place, but koji mock-config would return different config again. b) is easy, but holds same values in two places.

Metadata Update from @tkopecek:
- Custom field Size adjusted to None

I think doing (a) right is likely tricky, as support for the option could vary in multiple ways.

My gut feeling is start with (b) for now, as that currently works, and tackle (a) as a backlog item when we have time to do it right.

PR #4025

Metadata Update from @tkopecek:
- Issue tagged with: doc, no_qe

Commit 91f410f8 fixes this issue

Commit 54f32e82 relates to this ticket

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/4019

Please continue any further discussion there.

Metadata
Related Pull Requests