Package: freebsd-utils Version: 8.0-11 Severity: wishlist Tags: patch Hi!
Using a native FreeBSD kernel on Debian GNU/kFreeBSD brings trouble because of kern.module_path not being set early enough (it is needed when /etc/init.d/freebsd-utils mounts /proc). Here is a patch.
--- /etc/init.d/freebsd-utils~ 2010-07-02 22:02:19.000000000 -0400 +++ /etc/init.d/freebsd-utils 2010-07-09 09:16:37.000000000 -0400 @@ -28,6 +28,8 @@ case "$1" in start) + sysctl "kern.module_path=/lib/modules/`uname -r`;/boot/kernel" + if [ "$(readlink /etc/mtab)" != "/proc/mounts" ] ; then log_warning_msg "Warning: replacing /etc/mtab by a symlink to /proc/mounts." rm -f /etc/mtab