Bug 901533
Summary: | reload action is not implemented | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Ondrej Moriš <omoris> | ||||
Component: | audit | Assignee: | Steve Grubb <sgrubb> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | BaseOS QE Security Team <qe-baseos-security> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 7.0 | CC: | mvadkert | ||||
Target Milestone: | beta | ||||||
Target Release: | 7.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | audit-2.3-1 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-06-13 10:53:27 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: | 717785, 901583 | ||||||
Attachments: |
|
Description
Ondrej Moriš
2013-01-18 12:37:25 UTC
Hi Steve, I made a trivial patch to fix this issue (attached). As mentioned in the description, systemd supports ExecReload unit file action and according to the documentation [1] classical reload action (from RHEL6 times) can be done by adding: ExecReload=/bin/kill -HUP $MAINPID (which is exactly what a patch do) [1] http://www.freedesktop.org/software/systemd/man/systemd.service.html On RHEL7 calling service auditd reload with the patch then trigger correct (single) audit event: type=DAEMON_CONFIG msg=audit(1365673723.982:4896) config changed, auid=0 pid=15422 subj=system_u:system_r:initrc_t:s0-s15:c0.c1023 res=success Created attachment 734211 [details]
Patch adding reload action
Thanks...but the patch file looks empty. However, I copy and pasted the line in comment #1 to the service file. Fixed in upstream commit 775. Thanks Steve. [BTW: It is not empty, bugzilla just hides it somehow and one have to click "View" to see it - https://bugzilla.redhat.com/attachment.cgi?id=734211] Verified as fixed in audit-2.3.1-2.el7 :: [ PASS ] :: Service have to implement reload function. (Expected 0, got 0) This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |