jailkit-users
[Top][All Lists]
Advanced

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

[Jailkit-users] CVS & FreeBSD


From: Peter Veerman
Subject: [Jailkit-users] CVS & FreeBSD
Date: Thu, 02 Nov 2006 19:26:31 +0100
User-agent: Thunderbird 1.5.0.7 (Windows/20060909)

Hi all,

I have tested the newest CVS version here some trouble come to me ;)

1. In Freebsd root is in the wheel group which means that jailkit always marks my jaildir insecure 
2. The above can be suppressed by running jk_init from the jaildir itself and using a . as path
3. The default location of the jk_init.ini file is not updated by the changes in the Makefile.in and configure.ac
4. The location of the /etc/jailkit dir is located in another directory than the default /etc/jailkit, in make uninstall the path's to /etc/jailkit are hardcoded. (this is applicable to both /Makefile.in and /py/Makefile.in)

When i run the latest cvs version I end up with:

address@hidden /home/jail]# jk_init -v  -c /usr/local/etc/jailkit/jk_init.ini . basicshell    
source file /lib/libnsl.so.1 does not exist
source file /lib/libnss_compat.so.2 does not exist
source file /lib/libnss_files.so.2 does not exist
./etc/nsswitch.conf exists
./bin/sh exists, specify --force to overwrite
source file /bin/bash does not exist
copying /bin/ls to ./bin/ls
Traceback (most recent call last):
  File "/usr/local/sbin/jk_init", line 218, in <module>
    main()
  File "/usr/local/sbin/jk_init", line 215, in main
    activateConfig(config, args)
  File "/usr/local/sbin/jk_init", line 152, in activateConfig
    handle_cfg_section(config,args[0],cfg,section)
  File "/usr/local/sbin/jk_init", line 122, in handle_cfg_section
    jk_lib.copy_binaries_and_libs(chroot, execs, config['force'], config['verbose'], 1)
  File "/usr/local/share/jailkit/jk_lib.py", line 345, in copy_binaries_and_libs
    libs = lddlist_libraries(file)
  File "/usr/local/share/jailkit/jk_lib.py", line 189, in lddlist_libraries
    return lddlist_libraries_freebsd(executable)
  File "/usr/local/share/jailkit/jk_lib.py", line 169, in lddlist_libraries_freebsd
    if (subl[2] == 'not' and subl[4] == 'dynamic'):
IndexError: list index out of range


greetz

Peter

reply via email to

[Prev in Thread] Current Thread [Next in Thread]