Bug 916611

Summary: rotate action from initscript is no longer supported
Product: Red Hat Enterprise Linux 7 Reporter: Ondrej Moriš <omoris>
Component: auditAssignee: Steve Grubb <sgrubb>
Status: CLOSED CURRENTRELEASE QA Contact: Ondrej Moriš <omoris>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: rvokal
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: 830780 Environment:
Last Closed: 2014-06-13 12:12:06 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:

Comment 2 Steve Grubb 2013-03-15 20:59:53 UTC
That's good to know...will it be sent by systemctl itself so that the sender's auid is associated with the signal? And does systemd pass any parameters like the pid it thinks is auditd?

Comment 3 Bill Nottingham 2013-03-15 21:25:08 UTC
No, it's done outside of systemctl by /sbin/service itself.

Comment 4 Steve Grubb 2013-04-17 12:49:56 UTC
Fixed in upstream commit 777.

Comment 5 Ondrej Moriš 2013-08-24 09:39:01 UTC
Successfully verified.

[root@pes-guest-70 ~]# ls /var/log/audit/
audit.log
[root@pes-guest-70 ~]# service auditd rotate
Rotating logs: [  OK  ]
[root@pes-guest-70 ~]# ls /var/log/audit/
audit.log  audit.log.1
[root@pes-guest-70 ~]# cat /var/log/audit/audit.log
type=DAEMON_ROTATE msg=audit(1377334380.689:3780): auditd sending auid=0 pid=18365 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
[root@pes-guest-70 ~]# rpm -q audit
audit-2.3.2-1.el7.x86_64

Comment 6 Ludek Smid 2014-06-13 12:12:06 UTC
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.