This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes
Bug 1277721 - SELinux is preventing brctl from 'write' accesses on the file /var/lib/libvirt/libxl/save/
SELinux is preventing brctl from 'write' accesses on the file /var/lib/libvir...
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
x86_64 Unspecified
medium Severity medium
: ---
: ---
Assigned To: Lukas Vrabec
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2015-11-03 17:34 EST by sudikeru
Modified: 2016-04-14 12:05 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-04-14 12:05:12 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description sudikeru 2015-11-03 17:34:10 EST
Description of problem:
Start Fedora 22
SELinux is preventing brctl from 'write' accesses on the file /var/lib/libvirt/libxl/save/

*****  Plugin catchall (100. confidence) suggests   **************************

If вы считаете, что brctl следует разрешить доступ write к file по умолчанию.
Then рекомендуется создать отчет об ошибке.
Чтобы разрешить доступ, можно создать локальный модуль политики.
чтобы разрешить доступ, выполните:
# grep brctl /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:brctl_t:s0-s0:c0.c1023
Target Context                system_u:object_r:virt_var_lib_t:s0
Target Objects                /var/lib/libvirt/libxl/save/ [ file ]
Source                        brctl
Source Path                   brctl
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-128.16.fc22.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.2.3-200.fc22.x86_64 #1 SMP Thu
                              Oct 8 03:23:55 UTC 2015 x86_64 x86_64
Alert Count                   1
First Seen                    2015-10-28 22:12:28 MSK
Last Seen                     2015-10-28 22:12:28 MSK
Local ID                      a8a08436-efcc-4bd6-8da5-277599e437de

Raw Audit Messages
type=AVC msg=audit(1446059548.203:936): avc:  denied  { write } for  pid=11050 comm="brctl" path="/var/lib/libvirt/libxl/save/" dev="sda12" ino=791915 scontext=system_u:system_r:brctl_t:s0-s0:c0.c1023 tcontext=system_u:object_r:virt_var_lib_t:s0 tclass=file permissive=0

Hash: brctl,brctl_t,virt_var_lib_t,file,write

Version-Release number of selected component:

Additional info:
reporter:       libreport-2.6.3
hashmarkername: setroubleshoot
kernel:         4.2.3-200.fc22.x86_64
type:           libreport
Comment 1 Lukas Vrabec 2015-11-20 10:40:25 EST
Is functionality of libvird broken?
Comment 2 Cole Robinson 2016-04-14 12:05:12 EDT
Despite multiple attempts across multiple bugs hasn't
responded to NEEDINFO and infact the mail address bounces. Closing this as

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