[winswitch] Can't install winswitch
Antoine Martin
antoine at nagafix.co.uk
Thu Jan 9 16:37:16 GMT 2014
On 09/01/14 23:18, J.L.M. wrote:
> Wow, that's fast. I did manage to install from the 6.3 rpm. It just
> had these warnings:
>
> Non-fatal POSTIN scriptlet failure in rpm package
> xpra-0.10.11-1.el6_5.x86_64
> chcon: can't apply partial context to unlabeled file
> `/usr/lib/python2.6/site-packages/xpra/codecs/csc_swscale/colorspace_converter.so'
(...)
Hah, odd.
What we're trying to do on all those files as part of the post-install
script is simply this:
chcon -t texrel_shlib_t /PATH/TO/THEFILE
This sets the SELinux file label, and for some reason, it is failing.
Do you have SELinux enabled and in "enforcing" mode? If so, you may get
some failures at runtime which will prevent you from using those codecs.
Which can be a bit of a problem since xpra is *a lot* faster with those
codecs enabled.
I'll have to try this out on CentOS 6.5
Antoine
> chcon: can't apply partial context to unlabeled file
> `/usr/lib/python2.6/site-packages/xpra/codecs/dec_avcodec/decoder.so'
> chcon: can't apply partial context to unlabeled file
> `/usr/lib/python2.6/site-packages/xpra/codecs/enc_x264/encoder.so'
> chcon: can't apply partial context to unlabeled file
> `/usr/lib/python2.6/site-packages/xpra/codecs/vpx/encoder.so'
> chcon: can't apply partial context to unlabeled file
> `/usr/lib/python2.6/site-packages/xpra/codecs/vpx/decoder.so'
> warning: %post(xpra-0.10.11-1.el6_5.x86_64) scriptlet failed, exit
> status 1
>
>
>
> On Thu, Jan 9, 2014 at 11:05 AM, Antoine Martin <antoine at nagafix.co.uk
> <mailto:antoine at nagafix.co.uk>> wrote:
>
> On 09/01/14 22:59, J.L.M. wrote:
> > I am unable to install winswitch on my CentOS 6.5 system.
> (..)
> Sorry about that.
> > Indeed, there do not appear to be any winswitch rpm files in the
> 6.4 or 6.5
> > folders of the repository, only 6.3. I hope someone can make
> this available
> > for the latest CentOS. I'm going to try the 6.3 version for now.
> The CentOS 6.3 version should be identical since the code for
> winswitch
> is pure python.
> It should just work.
> I've just spun some (untested) packages for CentOS 6.4 and 6.5:
> http://winswitch.org/dists/CentOS/6.4/
> http://winswitch.org/dists/CentOS/6.5/
>
> Cheers
> Antoine
> _______________________________________________
> shifter-users mailing list
> shifter-users at lists.devloop.org.uk
> <mailto:shifter-users at lists.devloop.org.uk>
> http://lists.devloop.org.uk/mailman/listinfo/shifter-users
>
>
More information about the shifter-users
mailing list