NetBSD-Users archive

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

Fwd: NPF: boot time dlopen error



Hi guys,

I would like to apologize for posting this again. I was having a problem getting emails from the NetBSD lists, so I thought I try to send the email again and maybe see what the error is... that didn't help. I re-registered and now it seems to work, so I would like to thank Christos for responding long time ago:

"I think we moved those to /lib to make sure that they are there when
/usr is on a separate filesystem since npfctl usually runs early.

christos"

I am still not clear how I can influence npfctl (I don't see any npfctl.conf file for it, or do I need to recompile it(1)) and tell it to use the file in /lib as opposed to the one in user, as yes I have put /usr on a separate partition which is probably why this is failing. Any ideas on that?? I can also re-install everything from scratch and put /usr on / the boot partition I guess, but would like to avoid that extra effort if possible.

Thanks in advance.
George


-------- Original Message --------
Message-ID: <539D7B66.7010306%nodeunit.com@localhost>
Date: Sun, 15 Jun 2014 12:54:30 +0200
From: g.lister <g.lister%nodeunit.com@localhost>
Reply-To: g.lister%nodeunit.com@localhost
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0
MIME-Version: 1.0
To: NetBSD Users Mailing List <netbsd-users%netbsd.org@localhost>
Subject: NPF: boot time dlopen error
References: <538CAE21.7000009%nodeunit.com@localhost>
In-Reply-To: <538CAE21.7000009%nodeunit.com@localhost>
X-Forwarded-Message-Id: <538CAE21.7000009%nodeunit.com@localhost>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit


Hi guys,

I am running 6.1.4 stable on an i386 I have loaded the modules required
via boot.cfg:

        # modstat | grep npf
        npf               driver     boot       2     34883    -
        npf_ext_log       misc       boot       0     1091     npf,
        npf_ext_normalise misc       boot       0     929      npf,

During boot I get this message:

        Enabling NPF.
        npfctl: dlopen: Cannot open "/usr/lib/npf/ext_log.so"

The so exists in link form and is readable:

# ll /usr/lib/npf/
total 18
lrwxr-xr-x  1 root  wheel    14 Apr 13 08:43 ext_log.so -> ext_log.so.0.0
lrwxr-xr-x  1 root  wheel    14 Apr 13 08:43 ext_log.so.0 -> ext_log.so.0.0
-r--r--r--  1 root  wheel  4866 Apr 13 08:43 ext_log.so.0.0
lrwxr-xr-x  1 root  wheel    20 Apr 13 08:43 ext_normalise.so ->
ext_normalise.so.0.0
lrwxr-xr-x  1 root  wheel    20 Apr 13 08:43 ext_normalise.so.0 ->
ext_normalise.so.0.0
-r--r--r--  1 root  wheel  5480 Apr 13 08:43 ext_normalise.so.0.0
lrwxr-xr-x  1 root  wheel    19 Apr 13 08:43 ext_rndblock.so ->
ext_rndblock.so.0.0
lrwxr-xr-x  1 root  wheel    19 Apr 13 08:43 ext_rndblock.so.0 ->
ext_rndblock.so.0.0
-r--r--r--  1 root  wheel  5388 Apr 13 08:43 ext_rndblock.so.0.0

My npf.conf in regards to logging is a copy of the examples:

        procedure "log" {
                log: npflog0
        }

My ifconfig:

        # ifconfig npflog0
        npflog0: flags=0

So I am at a loss as to why it is not getting loaded?? What am I missing?
Thanks in advance.
George











Home | Main Index | Thread Index | Old Index