Yuan Yijun wrote:
Updating : selinux-policy ##################### [
32/125]
Updating : selinux-policy-mls ##################### [ 33/125]
libsepol.mls_from_string: invalid MLS context s0:
libsepol.mls_from_string: could not construct mls context structure
libsepol.context_from_record: could not create context structure
libsepol.context_from_string: could not create context structure
libsepol.sepol_context_to_sid: could not convert
system_u:object_r:fixed_disk_device_t:s0: to sid
invalid context system_u:object_r:fixed_disk_device_t:s0:
libsemanage.semanage_install_active: setfiles returned error code 1.
semodule: Failed!
Updating : selinux-policy-targeted ##################### [ 34/125]
libsepol.mls_from_string: invalid MLS context s0:s0
libsepol.mls_from_string: could not construct mls context structure
libsepol.context_from_record: could not create context structure
libsepol.context_from_string: could not create context structure
libsepol.sepol_context_to_sid: could not convert
system_u:object_r:fixed_disk_device_t:s0:s0 to sid
invalid context system_u:object_r:fixed_disk_device_t:s0:s0
libsemanage.semanage_install_active: setfiles returned error code 1.
semodule: Failed!
PS3 can't boot maybe due to the same error. The udev complains as
following when booting and the hard disk drive 'ps3d' cannot be
accessed:
udevd-event[492]: file_contexts: invalid context
system_u:object_r:fixed_disk_device_t:s0:s0
udevd-event[492]: selinux_setfilecon: matchpathcon(/dev/ps3da) failed
...
It looks like there is an extra ':s0' at the end of the entry of
'/dev/ps3d.*'.