Bug 203010
| Summary: | RFE: allow daemon() in /etc/init.d/functions to pass -m to /sbin/runuser | |||
|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Japheth Cleaver <cleaver-redhat> | |
| Component: | initscripts | Assignee: | Bill Nottingham <notting> | |
| Status: | CLOSED ERRATA | QA Contact: | Brock Organ <borgan> | |
| Severity: | low | Docs Contact: | ||
| Priority: | medium | |||
| Version: | rawhide | CC: | rvokal | |
| Target Milestone: | --- | Keywords: | FutureFeature | |
| Target Release: | --- | |||
| Hardware: | All | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | initscripts-9.09-1.fc13 | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 564093 (view as bug list) | Environment: | ||
| Last Closed: | 2010-02-11 20:52:10 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: | 564093, 564105 | |||
|
Description
Japheth Cleaver
2006-08-17 19:23:09 UTC
*** Bug 203011 has been marked as a duplicate of this bug. *** This is identical to Bug 123032, which was closed. Adding FutureFeature keyword to RFE's. Any thoughts on this bug/feature? Given the lack of documentation, it seems like a simple declaration that daemon() no longer clears the environment would be sufficient; then add '-m' to the relevant line.
if [ -z "$user" ]; then
$nice /bin/bash -c "$corelimit >/dev/null 2>&1 ; $*"
else
$nice runuser -s /bin/bash - $user -c "$corelimit >/dev/null 2>&1 ; $*"
fi
Wow, apologies. I let this sit a long time. http://git.fedorahosted.org/git/?p=initscripts.git;a=commitdiff;h=89183909b2965e6bc2991b2512161414d2028be8 Will be in future rawhide releases, and F13. mdadm-3.1.2-9.fc13,initscripts-9.09-1.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/mdadm-3.1.2-9.fc13,initscripts-9.09-1.fc13 initscripts-9.09-1.fc13, mdadm-3.1.2-10.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. |