Red Hat Bugzilla – Bug 1264390
storaged path has changed --> runs as unconfined_service_t
Last modified: 2016-11-03 22:22:35 EDT
Description of problem:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
# semanage fcontext -l | grep storaged
/usr/lib/storaged/storaged regular file system_u:object_r:lvm_exec_t:s0
/usr/lib/storaged/storaged-lvm-helper regular file system_u:object_r:lvm_exec_t:s0
# ls -Z /usr/lib/storaged/storaged
ls: cannot access /usr/lib/storaged/storaged: No such file or directory
# ls -Z /usr/lib/storaged/storaged-lvm-helper
ls: cannot access /usr/lib/storaged/storaged-lvm-helper: No such file or directory
# ls -l /usr/libexec/storaged/storaged
-rwxr-xr-x. 1 root root 394728 Jul 6 12:18 /usr/libexec/storaged/storaged
# matchpathcon /usr/libexec/storaged/storaged
* storaged runs as unconfined_service_t
* storaged runs as lvm_t
Did it come with 7.2? It looks like there storaged errata.
fedora@fedora ~]$ ps -efZ | grep storaged
system_u:system_r:lvm_t:s0 root 3887 1 0 22:40 ? 00:00:00 /usr/libexec/storaged/storaged --no-debug
unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 fedora 3894 741 0 22:40 pts/0 00:00:00 grep --color=auto storaged
Fixed in Fedora. We need back port this.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.