Bug 1596119 - The error message of virAuditOpen is messed in libvirtd.log when audit_level=2 and audit is disabled
Summary: The error message of virAuditOpen is messed in libvirtd.log when audit_level=...
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Enterprise Linux Advanced Virtualization
Classification: Red Hat
Component: libvirt
Version: 8.1
Hardware: x86_64
OS: Linux
medium
low
Target Milestone: rc
: ---
Assignee: Virtualization Maintenance
QA Contact: Yanqiu Zhang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-28 09:32 UTC by Yanqiu Zhang
Modified: 2020-02-18 14:19 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-18 14:19:24 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
libvirtd.log (1.04 MB, text/plain)
2018-06-28 09:57 UTC, Yanqiu Zhang
no flags Details

Description Yanqiu Zhang 2018-06-28 09:32:25 UTC
Description of problem:
 The error message of virAuditOpen is messed in libvirtd.log when audit_level=2 and audit is disabled

Version-Release number of selected component (if applicable):
libvirt-4.4.0-2.virtcov.el7.x86_64
qemu-kvm-rhev-2.12.0-5.el7.x86_64
audit-2.8.4-3.el7.x86_64


How reproducible:
100%

Steps to Reproduce:
1.Disable audit on host:
# cat /etc/default/grub
 ...
GRUB_CMDLINE_LINUX="... audit=0"

#grub2-mkconfig -o /boot/grub2/grub.cfg

#reboot

2. Set libvirt audit level to 2:
# vim /etc/libvirt/libvirtd.conf
audit_level = 2

# systemctl restart libvirtd

3. Check the audit error in libvirtd.log
# cat /var/log/libvirt/libvirtd.log|grep Audit
2018-06-28 06:24:19.652+0000: 13138: error : virAuditOpen:70 : invalid network pointer in Audit is not supported by the kernel
2018-06-28 06:24:21.632+0000: 13156: error : virAuditOpen:70 : invalid network pointer in Audit is not supported by the kernel
2018-06-28 06:24:22.105+0000: 13174: error : virAuditOpen:70 : invalid network pointer in Audit is not supported by the kernel
2018-06-28 06:24:22.747+0000: 13192: error : virAuditOpen:70 : invalid network pointer in Audit is not supported by the kernel
2018-06-28 06:24:23.861+0000: 13210: error : virAuditOpen:70 : invalid network pointer in Audit is not supported by the kernel


Actual results:
As in step3, the error msg is "invalid network pointer in Audit is not supported by the kernel"


Expected results:


Additional info:

Comment 2 Yanqiu Zhang 2018-06-28 09:57:34 UTC
Created attachment 1455223 [details]
libvirtd.log

Comment 3 Jaroslav Suchanek 2020-02-18 14:19:24 UTC
This bug was closed deferred as a result of bug triage.

Please reopen if you disagree and provide justification why this bug should
get enough priority. Most important would be information about impact on
customer or layered product. Please indicate requested target release.


Note You need to log in before you can comment on or make changes to this bug.