https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218593

            Bug ID: 218593
           Summary: [patch] binmiscctl should use modfind instead of
                    kldfind
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: [email protected]
          Reporter: [email protected]
          Keywords: patch

Created attachment 181720
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=181720&action=edit
use modfind

kldfind() only matches kernel modules, so if you link imgact_binmisc directly
into the kernel, binmiscctl can't find it, tries to load it, and errors out
with:

  Can't load imgact_binmisc kernel module: File exists

A quick search of other base commands shows that the correct procedure is to
call modfind(), and then try kldload() if that fails.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to