[Avcheck] uchroot problems!!!

Michael Tokarev mjt at tls.msk.ru
Mon Dec 20 15:46:46 MSK 2004


Y.P. wrote:
> Just in case to be more assertive and detailed here is a listing of 
> files and directories permissions:
> 
>> drwxr--r--  12 root              wheel       512 Dec 20 13:10 .
>> -rwxr-xr-x   1 avdaemon   avgroup  373770 Apr  1  2003 kavdaemon
....

> When I simply run the following command
> #/var/spool/avp/uchroot -u avdaemon /var/spool/avp /kavdaemon -Y -MP f=/ctl /tst
> 
> I got the same results: uchroot: unable to execute /kavdaemon: Operation 
> not permitted

The same?  This is different message.  Compare:

uchroot: unable to change root to `/var/spool/avp/kavdaemon': Operation not permitted
uchroot: unable to execute /kavdaemon: Operation not permitted

As of this one, i'm not sure really.  What I see is -- you don't have
lib directory in /var/spool/avp, with all the libraries (libc, ld.so etc).
Is your kavdaemon executable linked statically?  If not, it should not
start because of missing libraries, but in this case, error message
should be different.

/mjt



More information about the Avcheck mailing list