Re: SELinux error with yum --installroot

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

 



On Mon, 2005-01-03 at 11:41 -0500, Paul Nasrat wrote:
> On Wed, Dec 29, 2004 at 08:27:09PM -0800, Bob Kashani wrote:
> > When I run:
> > 
> > yum -y --installroot=/testroot groupinstall "Base"
> 
> Do you have /selinux /proc and /sys mounted in your chroot?
> 
> mount --bind /proc /testroot/proc/
> mount --bind /selinux /testroot/selinux/
> mount --bind /sys /testroot/sys/

Thanks Paul. That was it.

I was only mounting /proc...so when I mounted /selinux & /sys almost all
of my errors went away. 

The only two errors that I haven't been able to fix are:

/sbin/ldconfig: Can't open configuration file /etc/ld.so.conf:
Permission denied
/sbin/ldconfig: Can't remove old temporary cache file /etc/ld.so.cache~:
Permission denied

and

Installing: kernel 100 % done 101/111
ls: readlink:: No such file or directory
ls: file: No such file or directory
ls: expected: No such file or directory
Installing: selinux-policy-targeted 100 % done 102/111

coreutils and file are being installed early on so readlink and file
should be available by the time the kernel is installed. I have no idea
what 'expected' is? Is this just some random output since something
failed?

Bob

-- 
Bob Kashani
http://www.ocf.berkeley.edu/~bobk/garnome


[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux