Skip to content

Instantly share code, notes, and snippets.

@tiborvass
Created August 12, 2016 22:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tiborvass/45bd25394f09b69fb682ac126877b9eb to your computer and use it in GitHub Desktop.
Save tiborvass/45bd25394f09b69fb682ac126877b9eb to your computer and use it in GitHub Desktop.
selinux post script failure?
[root@fedora-2gb-nyc3-01 ~]# curl -G https://experimental.docker.com/ | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- 100 14811 100 14811 0 0 84919 0 --:--:-- --:--:-- --:--:-- 85612
+ sh -c 'sleep 3; dnf -y -q install docker-engine'
warning: /var/cache/dnf/docker-experimental-repo-aab05090d83f3f86/packages/docker-engine-1.12.0-1.fc24.x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID 2c52609d: NOKEY
Importing GPG key 0x2C52609D:
Userid : "Docker Release Tool (releasedocker) <docker@docker.com>"
Fingerprint: 5811 8E89 F3A9 1289 7C07 0ADB F762 2157 2C52 609D
From : https://yum.dockerproject.org/gpg
Re-declaration of boolean virt_sandbox_use_fusefs
Failed to create node
Bad boolean declaration at line 148 of /var/lib/selinux/targeted/tmp/modules/100/virt/cil
/usr/sbin/semodule: Failed!
restorecon: lstat(/var/lib/docker) failed: No such file or directory
warning: %post(docker-engine-selinux-1.12.0-1.fc24.noarch) scriptlet failed, exit status 255
Non-fatal POSTIN scriptlet failure in rpm package docker-engine-selinux
Non-fatal POSTIN scriptlet failure in rpm package docker-engine-selinux
If you would like to use Docker as a non-root user, you should now consider
adding your user to the "docker" group with something like:
sudo usermod -aG docker your-user
Remember that you will have to log out and back in for this to take effect!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment