Re: libc.so.6: Cannot open shared object file: Permission denied

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2005-08-21 at 22:06 +0200, Toralf Lund wrote:
> Tony Nelson wrote:
> 
> >At 10:21 AM +0200 8/21/05, Toralf Lund wrote:
> >  
> >
> >>jdow wrote:
> >>
> >>    
> >>
> >>>From: "Toralf Lund" <toralf@xxxxxxxxxxxxxx>
> >>>
> >>>      
> >>>
> >>>>After upgrading my Fedora Core 3 machine to Fedora Core 4, I started
> >>>>getting a really weird problem. During startup I see a lot of
> >>>>messages of the form:
> >>>>
> >>>>libc.so.6: Cannot open shared object file: Permission denied
> >>>>        
> >>>>
> >>[ ... ]
> >>
> >>    
> >>
> >>>>        
> >>>>
> >>>Been monkeying with file permissions, perhaps?
> >>>
> >>>If so "chmod 755 /lib/libc-2.3.5.so" should help. If "libc-2.3.5.so"
> >>>is missing you are likely completely hosed.
> >>>      
> >>>
> >>No, this is *obviously* not a normal file permission problem. And the
> >>.so file is *of course* not missing. Please read my original message again.
> >>    
> >>
> >
> >Try relabeling SELinux?
> >
> >    # touch /.autorelabel
> >
> >and then reboot.
> >  
> >
> 
> Yes. That helped. Thanks!
> 
> I'm not sure I understand why, though. Care to explain it? (SELinux is 
> quite new to me..)

If you have ever booted with SELinux disabled (or share a Linux
partition with a different distro that doesn't use SELinux), you will
have unlabelled files on your system. Accesses to these files from
SELinux-protected apps won't work properly. Relabelling fixes the
labels.

Paul.
-- 
Paul Howarth <paul@xxxxxxxxxxxx>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux