Bug 1203731
Summary: | avahi-daemon won't start due to rlimit-nproc being too low | |||
---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Richard Marko <rmarko> | |
Component: | avahi | Assignee: | Lennart Poettering <lpoetter> | |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 21 | CC: | jberan, lpoetter, msekleta, rdieter | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1227052 (view as bug list) | Environment: | ||
Last Closed: | 2015-03-20 10:48:26 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1227052 |
Description
Richard Marko
2015-03-19 14:48:23 UTC
I don't think there is anything which can be done about this in avahi. In struct_user in kernel there is a field, atomic_t processes; /* How many processes does this user have? */ Setting rlimit_nproc will set this field to two. Since avahi service by default spawns two processes then once you start it in container which *does not* use user namespace then you are screwed because you exhausted your limit which is per user. Then you can't start avahi on the host nor in any other container you might have. To prevent this unfortunate behavior you can of course use user_ns. However once you go this road note that you are entering another realm of pain with current user_ns implementation. I'd say you'll be better off setting rlimit-nproc to higher number. |