Bug 1542804 - bad SELinux context for /var/lib/rpm/Basenames
Summary: bad SELinux context for /var/lib/rpm/Basenames
Keywords:
Status: CLOSED DUPLICATE of bug 1513720
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 27
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-07 03:10 UTC by Przemek Klosowski
Modified: 2018-02-07 09:06 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-07 09:06:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Przemek Klosowski 2018-02-07 03:10:32 UTC
Description of problem:
I started getting AVC violations for abrt-action-sav due to bad SELinux context for /var/lib/rpm/Basenames after installing rpm-4.14.1-1.fc27.src.rpm
I can't say for sure that this is when the context went wrong, but after noticing the AVC messages, I changed it:

 restorecon -v /var/lib/rpm/Basenames

It was indeed wrong:

Relabeled /var/lib/rpm/Basenames from unconfined_u:object_r:var_lib_t:s0 to unconfined_u:object_r:rpm_var_lib_t:s0


Version-Release number of selected component (if applicable):
rpm-4.14.1-1.fc27.src.rpm


How reproducible: I didn't try to reproduce

Actual results: AVC violations, wrong context

Expected results: correct context after updating rpm, no AVC violations

Comment 1 Panu Matilainen 2018-02-07 09:06:02 UTC

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


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