Bug 1376552 - SELinux warnings/errors when upgrading - "setfiles returned error code 1"
Summary: SELinux warnings/errors when upgrading - "setfiles returned error code 1"
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-15 17:04 UTC by Jonathan Yu
Modified: 2016-09-16 10:46 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-16 10:46:03 UTC
Type: Bug


Attachments (Terms of Use)
Package upgrade terminal output (dnf upgrade) (42.40 KB, text/plain)
2016-09-15 17:04 UTC, Jonathan Yu
no flags Details

Description Jonathan Yu 2016-09-15 17:04:00 UTC
Created attachment 1201324 [details]
Package upgrade terminal output (dnf upgrade)

Description of problem:

When upgrading, I noted the following errors - Mrunal Patel assures me that these are probably fine, and that I can ignore them, though it'd be nice to suppress these messages if possible (they look kind of scary). I've attached the full logs as well.

/etc/selinux/targeted/contexts/files/file_contexts: Multiple different specifications for /var/lib/kubelet(/.*)?  (system_u:object_r:svirt_sandbox_file_t:s0 and system_u:object_r:docker_var_lib_t:s0).
/etc/selinux/targeted/contexts/files/file_contexts: Multiple same specifications for /var/lib/docker/vfs(/.*)?.
/etc/selinux/targeted/contexts/files/file_contexts: Multiple same specifications for /var/lib/docker-latest/vfs(/.*)?.
/etc/selinux/targeted/contexts/files/file_contexts: Invalid argument
libsemanage.semanage_install_final_tmp: setfiles returned error code 1. (No such file or directory).
/etc/selinux/targeted/contexts/files/file_contexts: Multiple different specifications for /var/lib/kubelet(/.*)?  (system_u:object_r:svirt_sandbox_file_t:s0 and system_u:object_r:docker_var_lib_t:s0).
/etc/selinux/targeted/contexts/files/file_contexts: Multiple same specifications for /var/lib/docker/vfs(/.*)?.
/etc/selinux/targeted/contexts/files/file_contexts: Multiple same specifications for /var/lib/docker-latest/vfs(/.*)?.
/etc/selinux/targeted/contexts/files/file_contexts: Invalid argument
libsemanage.semanage_install_final_tmp: setfiles returned error code 1. (No such file or directory).
/usr/sbin/semodule:  Failed!

Comment 1 Daniel Walsh 2016-09-16 10:46:03 UTC
Please update to the latest docker-selinux and selinux-policy packages.


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