Fedora Core 3 and selinux woes

27 06 2005

Had a strange one here today. I applied the latest update to FC3 on my box here, an update to selinux, and it started spewing errors all over the place! Of course, it would all be nice and easy if I was able to do a package rollback on my box, but, that’s another story! :(

Here’s what was updated:

[daragh@daragh lib]$ sudo tail /var/log/up2date
[Mon Jun 27 11:22:30 2005] up2date availablePackageList from network
[Mon Jun 27 11:22:40 2005] up2date installing packages: ['selinux-policy-targeted-1.17.30-3.13']
[Mon Jun 27 11:24:47 2005] up2date deleting /var/spool/up2date/selinux-policy-targeted-1.17.30-3.13.noarch.hdr
[Mon Jun 27 11:24:47 2005] up2date deleting /var/spool/up2date/selinux-policy-targeted-1.17.30-3.13.noarch.rpm

And here is the errors I got (unable to ls a lot of dirs, ssh out etc unless I sudo)

[daragh@daragh lib]$ ls
ls: error while loading shared libraries: /lib/tls/librt.so.1: cannot apply additional memory protection after relocation: Permission denied
[daragh@daragh lib]$ ssh db00
ssh: error while loading shared libraries: /lib/libutil.so.1: cannot apply additional memory protection after relocation: Permission denied

So, after a lot of head-scratching and poking about (and with a little help from some friends over in ILUG I realised that I had downloaded a new kernel recently as part of an update, but, had not actually rebooted into it.

So, a quick backup and reboot later (was forced into a hard reboot after the soft reboot hung), all was back working again.

So, there ya have it, even on linux, if in doubt, reboot!! ;-) (ok, ok, I don’t actually advocate this, but, as you can see, in my scenario, it worked!!)


Actions

Informations

2 responses to “Fedora Core 3 and selinux woes”

29 06 2005
me (22:24:14) :

yeh i was just searching for this error cause i just updated the selinux targeted policy and got those errors….thanks for posting a solution….time to reboot……..

30 06 2005
Daragh (11:35:22) :

Glad to be of assistance! I see yet another selinux update now available…think I’ll hold off applying this one for now!!

Leave a comment

You can use these tags : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>