Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1685562 - SELinux is preventing tumblerd from using the 'dac_override' capabilities.
Summary: SELinux is preventing tumblerd from using the 'dac_override' capabilities.
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 29
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:134789f8a645c67b064d634ccb4...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-05 13:57 UTC by Roberto
Modified: 2019-04-08 10:38 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Roberto 2019-03-05 13:57:13 UTC
Description of problem:
SELinux is preventing tumblerd from using the 'dac_override' capabilities.

*****  Plugin dac_override (91.4 confidence) suggests   **********************

Se você quiser ajudar a identificar se o domínio precisa desse acesso ou se você tem um arquivo com as permissões erradas em seu sistema
Then ligue a auditoria completa para obter informações de caminho sobre ofender arquivo e gerar um erro novamente.
Do

Ligue auditoria completa
# auditctl -w /etc/shadow -p w
Tente recriar o AVC. Depois execute
# ausearch -m avc -ts recent
Caso você veja a memória PATH verifique a propriedade ou permissões no arquivo e repare-o, caso contrário reporte como um bugzilla.

*****  Plugin catchall (9.59 confidence) suggests   **************************

Se você acredita nisso tumblerd deve ter o dac_override capacidade por padrão.
Then você deve informar que este é um erro.
Você pode gerar um módulo de política local para permitir este acesso.
Do
permitir este acesso por agora executando: # ausearch -c 'tumblerd'--raw | audit2allow -M my-tumblerd # semodule -X 300 -i my-tumblerd.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023
Target Context                unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023
Target Objects                Unknown [ capability ]
Source                        tumblerd
Source Path                   tumblerd
Port                          <Desconhecido>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.14.2-49.fc29.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.20.13-200.fc29.x86_64 #1 SMP Wed
                              Feb 27 19:42:55 UTC 2019 x86_64 x86_64
Alert Count                   1333
First Seen                    2019-03-04 14:34:57 -03
Last Seen                     2019-03-05 10:28:09 -03
Local ID                      fabb265e-a91b-4fef-8d32-f0ad66d85b14

Raw Audit Messages
type=AVC msg=audit(1551792489.25:693): avc:  denied  { dac_override } for  pid=5943 comm="pool" capability=1  scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tclass=capability permissive=0


Hash: tumblerd,thumb_t,thumb_t,capability,dac_override

Version-Release number of selected component:
selinux-policy-3.14.2-49.fc29.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.10.0
hashmarkername: setroubleshoot
kernel:         4.20.13-200.fc29.x86_64
type:           libreport

Comment 1 Lukas Vrabec 2019-04-08 10:38:35 UTC
*** Bug 1697029 has been marked as a duplicate of this bug. ***


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