[OpenAFS] Running AFS client on Linux chrooted]

Lukas Kubin kubin@opf.slu.cz
Thu, 18 Dec 2003 17:13:24 +0100


This is a cryptographically signed message in MIME format.

--------------ms020803010700020504060501
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

By a mistake (new mail client) I didn't send my answer to the list. Here 
it is including answer from James.E.Dobson:

lukas

-------- Original Message --------
Subject: Re: [OpenAFS] Running AFS client on Linux chrooted
Date: 18 Dec 2003 10:06:42 EST
From: James.E.Dobson@Dartmouth.EDU (James E. Dobson)
Reply-To: James.E.Dobson@Dartmouth.EDU
To: kubin@opf.slu.cz (Lukas Kubin)

> Thank you for your answer. Copying whole /var/chroot/sshd into 
> AFS is agood idea. I will use it. However, it doesn't solve my 
> problem. I didn't mention, I need write access into AFS from 
> inside the chroot. So I need to run kinit and aklog which requires 
> afsd running there.And, of course I need write access to AFS in 
> the "normal" root too.

No problem, once you get a token you can write to AFS. I boot machines 
from a kernel inside AFS and then chroot to AFS. Works fine. Setup 
chroot in afs, mount your root.afs and put all binaries and libraries 
that you need into AFS. Your afsd will work fine from chrooted environment.


-- 
Lukas Kubin

phone: +420596398285
email: kubin@opf.slu.cz

Information centre
The School of Business Administration in Karvina
Silesian University in Opava
Czech Republic
http://www.opf.slu.cz

--------------ms020803010700020504060501
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGbDCC
AzIwggIaoAMCAQICAgDmMA0GCSqGSIb3DQEBBAUAMDIxCzAJBgNVBAYTAkNaMQ8wDQYDVQQK
EwZDRVNORVQxEjAQBgNVBAMTCUNFU05FVCBDQTAeFw0wMzExMTkxNDM4NTdaFw0wNDExMTgx
NDM4NTdaMEUxDzANBgNVBAoTBkNFU05FVDEcMBoGA1UEChMTU2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