Bug 1258059 - SELinux is preventing gsf-office-thum from using the 'dac_override' capabilities.
Summary: SELinux is preventing gsf-office-thum from using the 'dac_override' capabilit...
Keywords:
Status: CLOSED DUPLICATE of bug 1258058
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 22
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:ab73351c5007a7e986153e6dcb1...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-28 20:14 UTC by obi8
Modified: 2023-09-14 03:04 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-09-11 08:32:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description obi8 2015-08-28 20:14:34 UTC
Description of problem:
SELinux is preventing gsf-office-thum from using the 'dac_override' capabilities.

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

If sie überprüfen wollen, ob Domäne diesen Zugriff benötigt oder Sie eine Datei mit den falschen Berechtigungen auf Ihrem System haben
Then aktivieren Sie die vollständige Audit-Funktion, um die Pfad-Information der problematischen Datei zu erhalten. Dann reproduzieren Sie den Fehler erneut.
Do

Volle Audit-Funktion aktivieren
# auditctl -w /etc/shadow -p w
Versuchen Sie AVC zu reproduzieren. Führen Sie dann folgendes aus
# ausearch -m avc -ts recent
Falls PATH record ersichtlich ist, überprüfen Sie Eigentümer/ Berechtigungen der Datei und korrigieren Sie dies,
anderenfalls melden Sie dies an Bugzilla.

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

If sie denken, dass gsf-office-thum standardmäßig dac_override Berechtigung haben sollten.
Then sie sollten dies als Fehler melden.
Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen.
Do
zugriff jetzt erlauben, indem Sie die nachfolgenden Befehle ausführen:
# grep gsf-office-thum /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.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                        gsf-office-thum
Source Path                   gsf-office-thum
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-128.12.fc22.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.1.6-200.fc22.x86_64 #1 SMP Mon
                              Aug 17 19:54:31 UTC 2015 x86_64 x86_64
Alert Count                   1
First Seen                    2015-08-28 22:07:55 CEST
Last Seen                     2015-08-28 22:07:55 CEST
Local ID                      cc194658-43a1-45c9-bef4-53ad7484f742

Raw Audit Messages
type=AVC msg=audit(1440792475.350:539): avc:  denied  { dac_override } for  pid=3004 comm="gsf-office-thum" 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: gsf-office-thum,thumb_t,thumb_t,capability,dac_override

Version-Release number of selected component:
selinux-policy-3.13.1-128.12.fc22.noarch

Additional info:
reporter:       libreport-2.6.2
hashmarkername: setroubleshoot
kernel:         4.1.6-200.fc22.x86_64
type:           libreport

Potential duplicate: bug 910553

Comment 1 Lukas Vrabec 2015-08-31 13:16:25 UTC
Do you have also SYSCALL for this AVC? (stored under AVC in /var/log/audit/audit.log)

Comment 3 Miroslav Grepl 2015-09-11 08:32:10 UTC

*** This bug has been marked as a duplicate of bug 1258058 ***

Comment 4 Red Hat Bugzilla 2023-09-14 03:04:27 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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