Bug 1028681
Summary: | SELinux is preventing /usr/bin/clamscan from 'getattr' accesses on the file /var/lib/clamav-unofficial-sigs/si-dbs/securiteinfoelf.hdb. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Artemio <artemio.silva> |
Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 19 | CC: | artemio.silva, dominick.grift, dwalsh, lvrabec, matbos, mgrepl |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | abrt_hash:92bcfc71e3b01674bca22a91fffe2dce8c9d080c0e8f8f8844bd6dd089b1ffb0 | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-01-20 10:46:33 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Artemio
2013-11-09 13:55:17 UTC
What does # ls -dZ /var/lib/clamav-unofficial-sigs # rpm -qf /var/lib/clamav-unofficial-sigs for me, ls -dZ /var/lib/clamav-unofficial-sigs drwxr-xr-x. clamupdate clamupdate system_u:object_r:var_lib_t:s0 /var/lib/clamav-unofficial-sigs rpm -qf /var/lib/clamav-unofficial-sigs clamav-unofficial-sigs-3.7.1-9.fc19.noarch have i make an error in configuration of clam scan ? Please execute # restorecon -R -v /var/lib/clamav-unofficial-sigs *** Bug 1051695 has been marked as a duplicate of this bug. *** sudo restorecon -R -v /var/lib/clamav-unofficial-sigs restorecon reset /var/lib/clamav-unofficial-sigs context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/ss-dbs context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/ss-dbs/winnow_malware_links.ndb.sig context system_u:object_r:cron_var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/ss-dbs/winnow_malware_links.ndb context system_u:object_r:cron_var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/ss-dbs/junk.ndb.sig context system_u:object_r:cron_var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/ss-dbs/spamimg.hdb.sig context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/ss-dbs/winnow_malware.hdb context system_u:object_r:cron_var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/ss-dbs/jurlbl.ndb.sig context system_u:object_r:cron_var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/ss-dbs/winnow_malware.hdb.sig context system_u:object_r:cron_var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/ss-dbs/phish.ndb context system_u:object_r:cron_var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/ss-dbs/scam.ndb.sig context system_u:object_r:cron_var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/ss-dbs/phish.ndb.sig context system_u:object_r:cron_var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/ss-dbs/sanesecurity.ftm.sig context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/ss-dbs/rogue.hdb.sig context system_u:object_r:cron_var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/ss-dbs/junk.ndb context system_u:object_r:cron_var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/ss-dbs/scam.ndb context system_u:object_r:cron_var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/ss-dbs/spamimg.hdb context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/ss-dbs/jurlbl.ndb context system_u:object_r:cron_var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/ss-dbs/sanesecurity.ftm context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/ss-dbs/rogue.hdb context system_u:object_r:cron_var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/mbl-dbs context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/mbl-dbs/mbl.ndb context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/ham-test context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/configs context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/configs/last-mbl-update.txt context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/configs/previous-dbs.txt context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/configs/db-changes.txt context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/configs/current-dbs.txt context system_u:object_r:cron_var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/configs/scan-test.txt context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/configs/ss-include-dbs.txt context system_u:object_r:cron_var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/configs/last-si-update.txt context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/configs/purge.txt context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/add-dbs context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/si-dbs context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/si-dbs/securiteinfosh.hdb context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/si-dbs/securiteinfo.hdb context system_u:object_r:cron_var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/si-dbs/securiteinfooffice.hdb context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/si-dbs/honeynet.hdb context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/si-dbs/securiteinfobat.hdb context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/si-dbs/securiteinfoelf.hdb context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/si-dbs/securiteinfopdf.hdb context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/gpg-key context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/gpg-key/publickey.gpg context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/gpg-key/trustdb.gpg context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/gpg-key/secring.gpg context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/gpg-key/ss-keyring.gpg context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/gpg-key/ss-keyring.gpg~ context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 sudo restorecon -R -v /var/lib/clamav-unofficial-sigs [sudo] password for matbos: restorecon reset /var/lib/clamav-unofficial-sigs context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/ss-dbs context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/ss-dbs/winnow_malware_links.ndb.sig context system_u:object_r:cron_var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/ss-dbs/winnow_malware_links.ndb context system_u:object_r:cron_var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/ss-dbs/junk.ndb.sig context system_u:object_r:cron_var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/ss-dbs/spamimg.hdb.sig context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/ss-dbs/winnow_malware.hdb context system_u:object_r:cron_var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/ss-dbs/jurlbl.ndb.sig context system_u:object_r:cron_var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/ss-dbs/winnow_malware.hdb.sig context system_u:object_r:cron_var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/ss-dbs/phish.ndb context system_u:object_r:cron_var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/ss-dbs/scam.ndb.sig context system_u:object_r:cron_var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/ss-dbs/phish.ndb.sig context system_u:object_r:cron_var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/ss-dbs/sanesecurity.ftm.sig context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/ss-dbs/rogue.hdb.sig context system_u:object_r:cron_var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/ss-dbs/junk.ndb context system_u:object_r:cron_var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/ss-dbs/scam.ndb context system_u:object_r:cron_var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/ss-dbs/spamimg.hdb context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/ss-dbs/jurlbl.ndb context system_u:object_r:cron_var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/ss-dbs/sanesecurity.ftm context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/ss-dbs/rogue.hdb context system_u:object_r:cron_var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/mbl-dbs context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/mbl-dbs/mbl.ndb context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/ham-test context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/configs context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/configs/last-mbl-update.txt context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/configs/previous-dbs.txt context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/configs/db-changes.txt context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/configs/current-dbs.txt context system_u:object_r:cron_var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/configs/scan-test.txt context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/configs/ss-include-dbs.txt context system_u:object_r:cron_var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/configs/last-si-update.txt context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/configs/purge.txt context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/add-dbs context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/si-dbs context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/si-dbs/securiteinfosh.hdb context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/si-dbs/securiteinfo.hdb context system_u:object_r:cron_var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/si-dbs/securiteinfooffice.hdb context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/si-dbs/honeynet.hdb context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/si-dbs/securiteinfobat.hdb context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/si-dbs/securiteinfoelf.hdb context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/si-dbs/securiteinfopdf.hdb context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/gpg-key context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/gpg-key/publickey.gpg context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/gpg-key/trustdb.gpg context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/gpg-key/secring.gpg context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/gpg-key/ss-keyring.gpg context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 restorecon reset /var/lib/clamav-unofficial-sigs/gpg-key/ss-keyring.gpg~ context system_u:object_r:var_lib_t:s0->system_u:object_r:antivirus_db_t:s0 |