On 17.01.2014 21:59, Michael Schwendt wrote:
On Fri, 17 Jan 2014 21:53:50 +0100, poma wrote:
On 17.01.2014 21:34, Michael Schwendt wrote:
On Fri, 17 Jan 2014 21:03:39 +0100, poma wrote:
This nullifies the very purpose of the SELinux.
Not really. You might want to run
semodule -B
instead.
# semodule -v -B Committing changes: Ok: transaction number 0.
# yum --enablerepo updates-testing update selinux-policy-targeted … Running transaction error: %pre(selinux-policy-targeted-3.12.1-117.fc20.noarch) scriptlet failed, exit status 127
Well, you do need to install the package first, because it contains the corrected policy module. I had assumed you've managed to install it somehow, but were still facing the script errors. If you refuse to install it in permissive mode, not much is left other than doing it within a chroot from a rescue disk.
Is this a valid method?
# rpm -Uvh --nopre http://kojipkgs.fedoraproject.org/packages/selinux-policy/3.12.1/118.fc20/no... Retrieving http://kojipkgs.fedoraproject.org/packages/selinux-policy/3.12.1/118.fc20/no... Preparing... ################################# [100%] Updating / installing... 1:selinux-policy-targeted-3.12.1-11################################# [ 50%] warning: %post(selinux-policy-targeted-3.12.1-118.fc20.noarch) scriptlet failed, exit status 127 Cleaning up / removing... 2:selinux-policy-targeted-3.12.1-11################################# [100%]
# rpm -q selinux-policy selinux-policy-targeted selinux-policy-3.12.1-118.fc20.noarch selinux-policy-targeted-3.12.1-118.fc20.noarch
# yum install x2go* … Running transaction Warning: RPMDB altered outside of yum. ** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows: x2goagent-3.5.0.21-3.fc20.i686 has missing requires of x2goserver x2goserver-fmbindings-4.0.1.10-1.fc20.i686 has missing requires of x2goserver = ('0', '4.0.1.10', '1.fc20') Installing : x2goserver-4.0.1.10-1.fc20.i686 1/3 Installing : x2goserver-printing-4.0.1.10-1.fc20.i686 2/3 Installing : x2godesktopsharing-3.1.1.0-4.fc20.i686 3/3 Verifying : x2godesktopsharing-3.1.1.0-4.fc20.i686 1/3 Verifying : x2goserver-printing-4.0.1.10-1.fc20.i686 2/3 Verifying : x2goserver-4.0.1.10-1.fc20.i686 3/3
Installed: x2godesktopsharing.i686 0:3.1.1.0-4.fc20 x2goserver.i686 0:4.0.1.10-1.fc20 x2goserver-printing.i686 0:4.0.1.10-1.fc20
Complete!
# yum check Loaded plugins: langpacks, refresh-packagekit check all
poma