Ouch! X2Go needs a couch!

poma pomidorabelisima at gmail.com
Sun Jan 19 16:57:18 UTC 2014


On 19.01.2014 03:27, Garry T. Williams wrote:
> On 1-17-14 21:03:39 poma wrote:
>>> # setenforce 0
>>> # <update selinux>
>>> # setenforce 1
>>
>> I think I don't remember that I ever had to do it.
>> This nullifies the very purpose of the SELinux.
> 
> The problem was caused by a bad SELinux policy that blocks rpm
> updates.  You must set to permissive to get the corrected policy
> installed.

You don't need to do it that way!
Besides I've already done it via 'rpm', successfully. :)
Although it can be done in a more direct way,
e.g./i.e.

# yum install x2goserver
…
Running transaction
error: %pre(x2goserver-4.0.1.10-1.fc20.i686) scriptlet failed, exit
status 127
Error in PREIN scriptlet in rpm package x2goserver-4.0.1.10-1.fc20.i686
  Installing : x2goagent-3.5.0.21-3.fc20.i686
    2/2
Error unpacking rpm package x2goagent-3.5.0.21-3.fc20.i686
error: x2goserver-4.0.1.10-1.fc20.i686: install failed
error: unpacking of archive failed on file /usr/share/x2go/rgb;52dbea18:
cpio: open
  Verifying  : x2goagent-3.5.0.21-3.fc20.i686
    1/2
  Verifying  : x2goserver-4.0.1.10-1.fc20.i686
    2/2

Failed:
  x2goagent.i686 0:3.5.0.21-3.fc20       x2goserver.i686
0:4.0.1.10-1.fc20

Complete!

# rpm -qa selinux-policy\*
selinux-policy-3.12.1-116.fc20.noarch
selinux-policy-targeted-3.12.1-116.fc20.noarch

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

# rm -f /etc/selinux/targeted/modules/active/modules/unconfineduser.pp

# rpm2cpio
http://kojipkgs.fedoraproject.org/packages/selinux-policy/3.12.1/117.fc20/noarch/selinux-policy-targeted-3.12.1-117.fc20.noarch.rpm
| cpio -id *unconfineduser.pp

# semodule -i etc/selinux/targeted/modules/active/modules/unconfineduser.pp

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

# yum install x2goserver
…
Installed:
  x2goserver.i686 0:4.0.1.10-1.fc20


Dependency Installed:
  x2goagent.i686 0:3.5.0.21-3.fc20


Complete!


poma






More information about the users mailing list