>>> Install bestcrypt-1.5_p10 into /var/tmp/portage/bestcrypt-1.5_p10/image/ category app-crypt * Installing bc module * Installing bc_des module * Installing bc_3des module * Installing bc_bf128 module * Installing bc_bf448 module * Installing bc_blowfish module * Installing bc_cast module * Installing bc_gost module * Installing bc_idea module * Installing bc_rijn module * Installing bc_serpent module * Installing bc_rc6 module * Installing bc_twofish module install: Aufruf von stat f
>>> Install bestcrypt-1.5_p10 into /var/tmp/portage/bestcrypt-1.5_p10/image/ category app-crypt * Installing bc module * Installing bc_des module * Installing bc_3des module * Installing bc_bf128 module * Installing bc_bf448 module * Installing bc_blowfish module * Installing bc_cast module * Installing bc_gost module * Installing bc_idea module * Installing bc_rijn module * Installing bc_serpent module * Installing bc_rc6 module * Installing bc_twofish module install: Aufruf von stat für ,,files/bestcrypt.devfs" nicht möglich: Datei oder Verzeichnis nicht gefunden man: prepallstrip: strip: i686-pc-linux-gnu-strip --strip-unneeded strip: i686-pc-linux-gnu-strip --strip-unneeded usr/bin/bctool >>> Completed installing bestcrypt-1.5_p10 into /var/tmp/portage/bestcrypt-1.5_p10/image/ >>> Merging app-crypt/bestcrypt-1.5_p10 to / --- /lib/ --- /lib/modules/ --- /lib/modules/2.6.10-gentoo-r7/ --- /lib/modules/2.6.10-gentoo-r7/block/ >>> /lib/modules/2.6.10-gentoo-r7/block/bc.ko >>> /lib/modules/2.6.10-gentoo-r7/block/bc_des.ko >>> /lib/modules/2.6.10-gentoo-r7/block/bc_3des.ko >>> /lib/modules/2.6.10-gentoo-r7/block/bc_bf128.ko >>> /lib/modules/2.6.10-gentoo-r7/block/bc_bf448.ko >>> /lib/modules/2.6.10-gentoo-r7/block/bc_blowfish.ko >>> /lib/modules/2.6.10-gentoo-r7/block/bc_cast.ko >>> /lib/modules/2.6.10-gentoo-r7/block/bc_gost.ko >>> /lib/modules/2.6.10-gentoo-r7/block/bc_idea.ko >>> /lib/modules/2.6.10-gentoo-r7/block/bc_rijn.ko >>> /lib/modules/2.6.10-gentoo-r7/block/bc_serpent.ko >>> /lib/modules/2.6.10-gentoo-r7/block/bc_rc6.ko >>> /lib/modules/2.6.10-gentoo-r7/block/bc_twofish.ko --- /etc/ >>> /etc/bc.conf --- /etc/init.d/ >>> /etc/init.d/bcrypt --- /etc/devfs.d/ --- /usr/ --- /usr/bin/ >>> /usr/bin/bctool >>> /usr/bin/bcumount -> bctool >>> /usr/bin/bcformat -> bctool >>> /usr/bin/bcfsck -> bctool >>> /usr/bin/bcnew -> bctool >>> /usr/bin/bcpasswd -> bctool >>> /usr/bin/bcinfo -> bctool >>> /usr/bin/bclink -> bctool >>> /usr/bin/bcunlink -> bctool >>> /usr/bin/bcmake_hidden -> bctool >>> /usr/bin/bcreencrypt -> bctool --- /usr/share/ --- /usr/share/man/ --- /usr/share/man/man8/ >>> /usr/share/man/man8/bctool.8.gz --- /usr/share/doc/ >>> /usr/share/doc/bestcrypt-1.5_p10/ >>> /usr/share/doc/bestcrypt-1.5_p10/README.gz >>> /usr/share/doc/bestcrypt-1.5_p10/LICENSE.gz >>> /usr/share/doc/bestcrypt-1.5_p10/HIDDEN_PART.gz * If you are using the serpent or rc6 encryption modules and have any problems, * please submit bugs to http://bugs.gentoo.org because these modules are not part * of the standard distribution of BestCrypt for Linux released by Jetico. * For more information on these additional modules: * visit http://www.carceri.dk/index.php?redirect=other_bestcrypt * * The BestCrypt drivers are not free - Please purchace a license from * http://www.jetico.com/ >>> Regenerating /etc/ld.so.cache... * Caching service dependencies ... [ ok ] >>> app-crypt/bestcrypt-1.5_p10 merged. >>> Recording app-crypt/bestcrypt in "world" favorites file... >>> clean: No packages selected for removal. >>> Auto-cleaning packages ... >>> No outdated packages were found on your system. [root@nuw /root]# modules-update [root@nuw /root]# killall -HUP devfsd [root@nuw /root]# /etc/init.d/bcrypt start * Initializing BestCrypt ... [ ok ] [root@nuw /root]# bctool Kernel modules not loaded >> install: Aufruf von stat für ,,files/bestcrypt.devfs" nicht möglich: Datei oder Verzeichnis nicht gefunden this means: file or directory not found The bestcrypt.devfsd is missing in /etc/devfs.d/, thats why DEVFSd does not create the needed node files. It is already in the ebuild, but for some reason does not get installed. That line causes the error: src_install() [...] insinto /etc/devfs.d doins files/bestcrypt.devfs [...] Reproducible: Always Steps to Reproduce: 1. emerge bestcrypt 2. ls -l /etc/devfs.d/ Actual Results: Well, the bestcrypt.devfs does not get copied... Expected Results: Copy it! Portage 2.0.51-r15 (default-linux/x86/2004.0, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r7 i686) ================================================================= System uname: 2.6.10-gentoo-r7 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.6.9 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 8 2005, 18:07:43)] distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.9.4, 1.7.9-r1, 1.8.5-r3, 1.4_p6, 1.6.3 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://192.168.0.2/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://gd.tuwien.ac.at/opsys/linux/gentoo/" LANG="de_DE@euro" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://192.168.0.2/portage" USE="x86 3dfx 3dnow 3dnowext X aalib alsa apm arts avi berkdb bitmap-fonts cdr crypt cups encode esd f77 fam flac font-server foomaticdb fortran gdbm gif gpm gtk gtk2 imagemagick imlib ipv6 java jpeg junit libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls nptl nptlonly nvidia oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang snmp socks5 spell sse ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts usb xinerama xml2 xmms xv xvid zlib" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
The fix in src_install(): doins ${FILESDIR}/bestcrypt.devfs The old line: doins files/bestcrypt.devfs It failed, because the current workdir is /var/tmp/portage/bestcrypt-1.5_p10/work/bcrypt and not /usr/portage/app-crypt/bestcrypt. :)
Maybe you could also add a notice to the ebuild, that you have to killall -HUP devfsd if you want to use it without rebooting!
that was kinda silly of me. Looking at it far too long obviously. Fixed now with an autorestart on devfsd.
Confirmed to work! Thanks for your effort! :)
FYI: I am running 2.6.10-gentoo-r7 now. -> The fix for kernel-2.6.10 also works fine. :)