Bug 166511
| Summary: | DAEMON_COREFILE_LIMIT doesn't apply to "daemon --user" | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ville Skyttä <scop> | ||||
| Component: | initscripts | Assignee: | Bill Nottingham <notting> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | Brock Organ <borgan> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | rawhide | CC: | rvokal | ||||
| Target Milestone: | --- | Keywords: | Patch | ||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | 8.17-1 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2005-10-03 21:40:56 UTC | Type: | --- | ||||
| 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: | 150221 | ||||||
| Attachments: |
|
||||||
Created attachment 117975 [details]
Make DAEMON_COREFILE_LIMIT affect "daemon --user foo" invocations
Added, will be in 8.17-1. |
When using "daemon --user foo", DAEMON_COREFILE_LIMIT doesn't affect the environment where the daemon to be started actually runs in; it works only without --user. Attached is a *very* lightly tested, somewhat crude patch which seems to fix it. I'm not enough a shell wizard to know for certain whether the patch would affect how the $* gets expanded in the runuser command line, so approach with caution.