Bug 1430988
Summary: | Permission denied when reloading virtlogd | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Fangge Jin <fjin> | ||||||
Component: | libvirt | Assignee: | Pavel Hrdina <phrdina> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Fangge Jin <fjin> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 7.4 | CC: | dyuan, ekuris, fan-wxa, rbalakri, xuzhang, yafu, zpeng | ||||||
Target Milestone: | rc | ||||||||
Target Release: | --- | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | libvirt-3.7.0-1.el7 | Doc Type: | If docs needed, set a value | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2018-04-10 10:42:33 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: | 1389374 | ||||||||
Attachments: |
|
Description
Fangge Jin
2017-03-10 03:53:21 UTC
Created attachment 1261770 [details]
backtrace
The audit log: time->Thu Mar 9 22:27:45 2017 type=SYSCALL msg=audit(1489116465.428:100691): arch=c000003e syscall=2 success=no exit=-13 a0=7fa9883f6420 a1=80441 a2=180 a3=7fa9883f5b80 items=0 ppid=1 pid=28818 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="virtlogd" exe="/usr/sbin/virtlogd" subj=system_u:system_r:virtlogd_t:s0-s0:c0.c1023 key=(null) type=AVC msg=audit(1489116465.428:100691): avc: denied { dac_override } for pid=28818 comm="virtlogd" capability=1 scontext=system_u:system_r:virtlogd_t:s0-s0:c0.c1023 tcontext=system_u:system_r:virtlogd_t:s0-s0:c0.c1023 tclass=capability I seems that the failed status depends on the log_level of virtlogd: a. when log_level is set to 1 in virtlogd.conf, virtlogd crashed b. when log_level is set to the default value in virtlogd.conf, virtlogd exited with status=3 Upstream commit: commit e13e8808f9270f4b3b6f4abb8ec473eef81cc1b9 Author: Pavel Hrdina <phrdina> Date: Mon May 29 14:27:51 2017 +0200 security: don't relabel chardev source if virtlogd is used as stdio handler v3.4.0-129-ge13e8808f9 Verify pass with libvirt-3.8.0-1.virtcov.el7.x86_64 *** Bug 1483466 has been marked as a duplicate of this bug. *** *** Bug 1541268 has been marked as a duplicate of this bug. *** Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2018:0704 |