Bug ID | 1231012 |
---|---|
Summary | SELinux: wtmp.db-journal created with wrong label |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Security |
Assignee | security-team@suse.de |
Reporter | fvogt@suse.com |
QA Contact | qa-bugs@suse.de |
Target Milestone | --- |
Found By | --- |
Blocker | --- |
While adding automated testing to microos-tools, I stumbled upon the following restorecon -nvR / output: Would relabel /var/lib/wtmpdb/wtmp.db-journal from system_u:object_r:wtmpdb_t:s0 to system_u:object_r:wtmpdb_journal_t:s0 That ran as part of a .service during boot, probably while wtmp.db was being written to. When the system has booted the file no longer exists, so it's not trivially reproducible.