Re: netmap support for the Intel 40G card in head

2015-02-24 Thread Ryan Stone
This is great!  Thanks to both you and Intel.  I'm planning on getting
SR-IOV support into head this week, which would allow you to create
ixlv instances (on the same hardware).  Any chance that you'd have the
time to look into supporting SR-IOV for that driver too?
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: Shared object libsodium.so.13 not found, required by dnscrypt-proxy

2015-02-24 Thread Miguel Clara
]# rcorder /etc/rc.d/* /usr/local/etc/rc.d/* /dev/null
rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision
`kerberos'
rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision `named'
rcorder: file `/usr/local/etc/rc.d/dnscrypt-proxy' is before unknown
provision `unbound'
rcorder: Circular dependency on file `/usr/local/etc/rc.d/webcamd'.
rcorder: Circular dependency on provision `dbus' in file
`/usr/local/etc/rc.d/webcamd'.
rcorder: Circular dependency on provision `ldconfig' in file
`/usr/local/etc/rc.d/dnscrypt-proxy'.
rcorder: Circular dependency on provision `mountcritremote' in file
`/etc/rc.d/devfs'.
rcorder: Circular dependency on provision `mountcritremote' in file
`/etc/rc.d/mdconfig2'.
rcorder: Circular dependency on provision `mountcritremote' in file
`/etc/rc.d/newsyslog'.
rcorder: Circular dependency on provision `mountcritremote' in file
`/etc/rc.d/syslogd'.
rcorder: Circular dependency on provision `NETWORKING' in file
`/etc/rc.d/kdc'.
rcorder: Circular dependency on provision `ldconfig' in file
`/etc/rc.d/SERVERS'.
rcorder: Circular dependency on provision `mountcritremote' in file
`/etc/rc.d/archdep'.
rcorder: Circular dependency on provision `mountcritremote' in file
`/etc/rc.d/SERVERS'.
rcorder: requirement `tpmd' in file `/usr/local/etc/rc.d/tcsd' has no
providers.
rcorder: Circular dependency on file `/usr/local/etc/rc.d/uuidd'.
rcorder: requirement `usbd' in file `/usr/local/etc/rc.d/hald' has no
providers.

# rcorder /etc/rc.d/* /usr/local/etc/rc.d/* | awk
‘/SERVERS|cleanvar|ldconfig|dbus/ { print NR, $0 }’
rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision
`kerberos'
rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision `named'
rcorder: file `/usr/local/etc/rc.d/dnscrypt-proxy' is before unknown
provision `unbound'
rcorder: Circular dependency on file `/usr/local/etc/rc.d/webcamd'.
rcorder: Circular dependency on provision `dbus' in file
`/usr/local/etc/rc.d/webcamd'.
rcorder: Circular dependency on provision `ldconfig' in file
`/usr/local/etc/rc.d/dnscrypt-proxy'.
rcorder: Circular dependency on provision `mountcritremote' in file
`/etc/rc.d/devfs'.
rcorder: Circular dependency on provision `mountcritremote' in file
`/etc/rc.d/mdconfig2'.
rcorder: Circular dependency on provision `mountcritremote' in file
`/etc/rc.d/newsyslog'.
rcorder: Circular dependency on provision `mountcritremote' in file
`/etc/rc.d/syslogd'.
rcorder: Circular dependency on provision `NETWORKING' in file
`/etc/rc.d/kdc'.
rcorder: Circular dependency on provision `ldconfig' in file
`/etc/rc.d/SERVERS'.
rcorder: Circular dependency on provision `mountcritremote' in file
`/etc/rc.d/archdep'.
rcorder: Circular dependency on provision `mountcritremote' in file
`/etc/rc.d/SERVERS'.
rcorder: requirement `tpmd' in file `/usr/local/etc/rc.d/tcsd' has no
providers.
rcorder: Circular dependency on file `/usr/local/etc/rc.d/uuidd'.
rcorder: requirement `usbd' in file `/usr/local/etc/rc.d/hald' has no
providers.
cleanvar: Command not found.
dbus/: Command not found.

Note that this is still with the change to dnscrypt-ptoxy REQUIRE (adding
ldconfig)


Melhores Cumprimentos // Best Regards
---
*Miguel Clara*
*IT - Sys Admin  Developer*
*E-mail:*miguelmcl...@gmail.com
 www.linkedin.com/in/miguelmclara/

On Tue, Feb 24, 2015 at 5:31 AM, Garrett Cooper yaneurab...@gmail.com
wrote:

 On Feb 23, 2015, at 21:29, Miguel Clara miguelmcl...@gmail.com wrote:

  On February 24, 2015 5:10:35 AM WET, Garrett Cooper 
 yaneurab...@gmail.com wrote:
  On Feb 23, 2015, at 20:07, Miguel Clara miguelmcl...@gmail.com wrote:
 
  On Tue, Feb 24, 2015 at 1:18 AM, NGie Cooper yaneurab...@gmail.com
  wrote:
  On Mon, Feb 23, 2015 at 10:43 AM, Miguel Clara
  miguelmcl...@gmail.com wrote:
  I don't think this is a 11-Current issue per say but probalby bad
  config,
  but since I'm using CURRENT I dicided to post to the list.
 
  When my system boots dnscrypt fails to start with:
 
  Shared object libsodium.so.13 not found, required by
  dnscrypt-proxy
 
  But manual start works without issue, I've resinstalled libsodium
  and
  dnscrypt from ports and I noticed USE_LDCONFIG=   yes is present
  in the
  Makefile for libsodium,
 
  ...
 
  What does dnscrypt-proxy REQUIRE?
 
 
  Fro the rc.d instead by the port
  cat /usr/ports/dns/dnscrypt-proxy/files/dnscrypt-proxy.in |grep
  REQUIR
  # REQUIRE: SERVERS cleanvar
 
 
  And this is what I've tried but no luck
  cat /usr/local/etc/rc.d/dnscrypt-proxy |grep REQUIRE
  # REQUIRE: SERVERS cleanvar ldconfig
 
  Yeah, SERVERS comes wy after ldconfig.
 
  What does `ldconfig -rv | grep libsodium` say?
 
  488:-lsodium.13 = /usr/local/lib/libsodium.so.13
 
  and after boot I can star the service fine..  ldconfig seems to kick in
 just before dbus  which REQUIRES it.

 What do the following commands say?

 rcorder /etc/rc.d/* /usr/local/etc/rc.d/* /dev/null
 rcorder /etc/rc.d/* 

Re: Shared object libsodium.so.13 not found, required by dnscrypt-proxy

2015-02-24 Thread Miguel Clara
On Tue, Feb 24, 2015 at 6:13 PM, Garrett Cooper yaneurab...@gmail.com
wrote:

 On Feb 24, 2015, at 6:35, Miguel Clara miguelmcl...@gmail.com wrote:

  ]# rcorder /etc/rc.d/* /usr/local/etc/rc.d/* /dev/null
  rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision
 `kerberos'
  rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision
 `named'
  rcorder: file `/usr/local/etc/rc.d/dnscrypt-proxy' is before unknown
 provision `unbound'
  rcorder: Circular dependency on file `/usr/local/etc/rc.d/webcamd'.
  rcorder: Circular dependency on provision `dbus' in file
 `/usr/local/etc/rc.d/webcamd'.
  rcorder: Circular dependency on provision `ldconfig' in file
 `/usr/local/etc/rc.d/dnscrypt-proxy'.
  rcorder: Circular dependency on provision `mountcritremote' in file
 `/etc/rc.d/devfs'.
  rcorder: Circular dependency on provision `mountcritremote' in file
 `/etc/rc.d/mdconfig2'.
  rcorder: Circular dependency on provision `mountcritremote' in file
 `/etc/rc.d/newsyslog'.
  rcorder: Circular dependency on provision `mountcritremote' in file
 `/etc/rc.d/syslogd'.
  rcorder: Circular dependency on provision `NETWORKING' in file
 `/etc/rc.d/kdc'.
  rcorder: Circular dependency on provision `ldconfig' in file
 `/etc/rc.d/SERVERS'.
  rcorder: Circular dependency on provision `mountcritremote' in file
 `/etc/rc.d/archdep'.
  rcorder: Circular dependency on provision `mountcritremote' in file
 `/etc/rc.d/SERVERS'.
  rcorder: requirement `tpmd' in file `/usr/local/etc/rc.d/tcsd' has no
 providers.
  rcorder: Circular dependency on file `/usr/local/etc/rc.d/uuidd'.
  rcorder: requirement `usbd' in file `/usr/local/etc/rc.d/hald' has no
 providers.
 
  # rcorder /etc/rc.d/* /usr/local/etc/rc.d/* | awk
 ‘/SERVERS|cleanvar|ldconfig|dbus/ { print NR, $0 }’
  rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision
 `kerberos'
  rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision
 `named'
  rcorder: file `/usr/local/etc/rc.d/dnscrypt-proxy' is before unknown
 provision `unbound'
  rcorder: Circular dependency on file `/usr/local/etc/rc.d/webcamd'.
  rcorder: Circular dependency on provision `dbus' in file
 `/usr/local/etc/rc.d/webcamd'.
  rcorder: Circular dependency on provision `ldconfig' in file
 `/usr/local/etc/rc.d/dnscrypt-proxy'.
  rcorder: Circular dependency on provision `mountcritremote' in file
 `/etc/rc.d/devfs'.
  rcorder: Circular dependency on provision `mountcritremote' in file
 `/etc/rc.d/mdconfig2'.
  rcorder: Circular dependency on provision `mountcritremote' in file
 `/etc/rc.d/newsyslog'.
  rcorder: Circular dependency on provision `mountcritremote' in file
 `/etc/rc.d/syslogd'.
  rcorder: Circular dependency on provision `NETWORKING' in file
 `/etc/rc.d/kdc'.
  rcorder: Circular dependency on provision `ldconfig' in file
 `/etc/rc.d/SERVERS'.
  rcorder: Circular dependency on provision `mountcritremote' in file
 `/etc/rc.d/archdep'.
  rcorder: Circular dependency on provision `mountcritremote' in file
 `/etc/rc.d/SERVERS'.
  rcorder: requirement `tpmd' in file `/usr/local/etc/rc.d/tcsd' has no
 providers.
  rcorder: Circular dependency on file `/usr/local/etc/rc.d/uuidd'.
  rcorder: requirement `usbd' in file `/usr/local/etc/rc.d/hald' has no
 providers.
  cleanvar: Command not found.
  dbus/: Command not found.
 
  Note that this is still with the change to dnscrypt-ptoxy REQUIRE
 (adding ldconfig)

 Your rcorder is 50 shades of broken :(. Please remove all local
 modifications to scripts, then repost the output of the rcorder commands
 again. I suspect what’s going wrong is the result of some of my changes to
 remove etc/rc.d based on build knobs…
 Cheers,


So much like the movies them... damn :X

I don't recall any changes to the rc.d scripts except the one to
dnscrypt-proxy (adding the ldconfig REQUIRE)

I also don't really know what to make of the output... expect this part:

Circular dependency on provision, but the man says:
A set of files has a circular dependency which was detected while
processing the stated condition.

So it should mean that 'A' requires 'B' but 'B' requires 'A'... but this
does not seem to be the case...

I guess I'll have to go one by one and see if I can identify issue. But
first I'll make sure the ports that use those rc.d scripts are up to date.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

rc.d provides and recent changes to rc.d scripts in base (was Re: Shared object libsodium.so.13 not found, required by dnscrypt-proxy)

2015-02-24 Thread Garrett Cooper
On Feb 24, 2015, at 10:53, Miguel Clara miguelmcl...@gmail.com wrote:

 
 On Tue, Feb 24, 2015 at 6:13 PM, Garrett Cooper yaneurab...@gmail.com wrote:
 On Feb 24, 2015, at 6:35, Miguel Clara miguelmcl...@gmail.com wrote:
 
  ]# rcorder /etc/rc.d/* /usr/local/etc/rc.d/* /dev/null
  rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision 
  `kerberos'
  rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision `named'
  rcorder: file `/usr/local/etc/rc.d/dnscrypt-proxy' is before unknown 
  provision `unbound'
  rcorder: Circular dependency on file `/usr/local/etc/rc.d/webcamd'.
  rcorder: Circular dependency on provision `dbus' in file 
  `/usr/local/etc/rc.d/webcamd'.
  rcorder: Circular dependency on provision `ldconfig' in file 
  `/usr/local/etc/rc.d/dnscrypt-proxy'.
  rcorder: Circular dependency on provision `mountcritremote' in file 
  `/etc/rc.d/devfs'.
  rcorder: Circular dependency on provision `mountcritremote' in file 
  `/etc/rc.d/mdconfig2'.
  rcorder: Circular dependency on provision `mountcritremote' in file 
  `/etc/rc.d/newsyslog'.
  rcorder: Circular dependency on provision `mountcritremote' in file 
  `/etc/rc.d/syslogd'.
  rcorder: Circular dependency on provision `NETWORKING' in file 
  `/etc/rc.d/kdc'.
  rcorder: Circular dependency on provision `ldconfig' in file 
  `/etc/rc.d/SERVERS'.
  rcorder: Circular dependency on provision `mountcritremote' in file 
  `/etc/rc.d/archdep'.
  rcorder: Circular dependency on provision `mountcritremote' in file 
  `/etc/rc.d/SERVERS'.
  rcorder: requirement `tpmd' in file `/usr/local/etc/rc.d/tcsd' has no 
  providers.
  rcorder: Circular dependency on file `/usr/local/etc/rc.d/uuidd'.
  rcorder: requirement `usbd' in file `/usr/local/etc/rc.d/hald' has no 
  providers.
 
  # rcorder /etc/rc.d/* /usr/local/etc/rc.d/* | awk 
  ‘/SERVERS|cleanvar|ldconfig|dbus/ { print NR, $0 }’
  rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision 
  `kerberos'
  rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision `named'
  rcorder: file `/usr/local/etc/rc.d/dnscrypt-proxy' is before unknown 
  provision `unbound'
  rcorder: Circular dependency on file `/usr/local/etc/rc.d/webcamd'.
  rcorder: Circular dependency on provision `dbus' in file 
  `/usr/local/etc/rc.d/webcamd'.
  rcorder: Circular dependency on provision `ldconfig' in file 
  `/usr/local/etc/rc.d/dnscrypt-proxy'.
  rcorder: Circular dependency on provision `mountcritremote' in file 
  `/etc/rc.d/devfs'.
  rcorder: Circular dependency on provision `mountcritremote' in file 
  `/etc/rc.d/mdconfig2'.
  rcorder: Circular dependency on provision `mountcritremote' in file 
  `/etc/rc.d/newsyslog'.
  rcorder: Circular dependency on provision `mountcritremote' in file 
  `/etc/rc.d/syslogd'.
  rcorder: Circular dependency on provision `NETWORKING' in file 
  `/etc/rc.d/kdc'.
  rcorder: Circular dependency on provision `ldconfig' in file 
  `/etc/rc.d/SERVERS'.
  rcorder: Circular dependency on provision `mountcritremote' in file 
  `/etc/rc.d/archdep'.
  rcorder: Circular dependency on provision `mountcritremote' in file 
  `/etc/rc.d/SERVERS'.
  rcorder: requirement `tpmd' in file `/usr/local/etc/rc.d/tcsd' has no 
  providers.
  rcorder: Circular dependency on file `/usr/local/etc/rc.d/uuidd'.
  rcorder: requirement `usbd' in file `/usr/local/etc/rc.d/hald' has no 
  providers.
  cleanvar: Command not found.
  dbus/: Command not found.
 
  Note that this is still with the change to dnscrypt-ptoxy REQUIRE (adding 
  ldconfig)
 
 Your rcorder is 50 shades of broken :(. Please remove all local modifications 
 to scripts, then repost the output of the rcorder commands again. I suspect 
 what’s going wrong is the result of some of my changes to remove etc/rc.d 
 based on build knobs…
 Cheers,
 
 So much like the movies them... damn :X
 
 I don't recall any changes to the rc.d scripts except the one to 
 dnscrypt-proxy (adding the ldconfig REQUIRE)

Adding ldconfig can screw everything up, depending on what the ordering is. 
Dependency loops can be longer than you think.

 I also don't really know what to make of the output... expect this part:
 
 Circular dependency on provision, but the man says:
 A set of files has a circular dependency which wasdetected while 
 processing the stated condition.
 
 So it should mean that 'A' requires 'B' but 'B' requires 'A'... but this does 
 not seem to be the case…

Not directly, but indirectly, maybe.

 I guess I'll have to go one by one and see if I can identify issue. But first 
 I'll make sure the ports that use those rc.d scripts are up to date.

Some of your ports are depending on named (which is no longer in base), and 
unbound (which isn’t installed if MK_UNBOUND=no).

It looks like you’re installing world with MK_KERBEROS=no.

I was going to create a dummy provider called “DNS” for all scripts to depend 
on (and named/unbound would PROVIDE: DNS), but it would require backporting 
that script 

Re: Shared object libsodium.so.13 not found, required by dnscrypt-proxy

2015-02-24 Thread Garrett Cooper
On Feb 24, 2015, at 6:35, Miguel Clara miguelmcl...@gmail.com wrote:

 ]# rcorder /etc/rc.d/* /usr/local/etc/rc.d/* /dev/null
 rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision 
 `kerberos'
 rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision `named'
 rcorder: file `/usr/local/etc/rc.d/dnscrypt-proxy' is before unknown 
 provision `unbound'
 rcorder: Circular dependency on file `/usr/local/etc/rc.d/webcamd'.
 rcorder: Circular dependency on provision `dbus' in file 
 `/usr/local/etc/rc.d/webcamd'.
 rcorder: Circular dependency on provision `ldconfig' in file 
 `/usr/local/etc/rc.d/dnscrypt-proxy'.
 rcorder: Circular dependency on provision `mountcritremote' in file 
 `/etc/rc.d/devfs'.
 rcorder: Circular dependency on provision `mountcritremote' in file 
 `/etc/rc.d/mdconfig2'.
 rcorder: Circular dependency on provision `mountcritremote' in file 
 `/etc/rc.d/newsyslog'.
 rcorder: Circular dependency on provision `mountcritremote' in file 
 `/etc/rc.d/syslogd'.
 rcorder: Circular dependency on provision `NETWORKING' in file 
 `/etc/rc.d/kdc'.
 rcorder: Circular dependency on provision `ldconfig' in file 
 `/etc/rc.d/SERVERS'.
 rcorder: Circular dependency on provision `mountcritremote' in file 
 `/etc/rc.d/archdep'.
 rcorder: Circular dependency on provision `mountcritremote' in file 
 `/etc/rc.d/SERVERS'.
 rcorder: requirement `tpmd' in file `/usr/local/etc/rc.d/tcsd' has no 
 providers.
 rcorder: Circular dependency on file `/usr/local/etc/rc.d/uuidd'.
 rcorder: requirement `usbd' in file `/usr/local/etc/rc.d/hald' has no 
 providers.
 
 # rcorder /etc/rc.d/* /usr/local/etc/rc.d/* | awk 
 ‘/SERVERS|cleanvar|ldconfig|dbus/ { print NR, $0 }’
 rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision 
 `kerberos'
 rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision `named'
 rcorder: file `/usr/local/etc/rc.d/dnscrypt-proxy' is before unknown 
 provision `unbound'
 rcorder: Circular dependency on file `/usr/local/etc/rc.d/webcamd'.
 rcorder: Circular dependency on provision `dbus' in file 
 `/usr/local/etc/rc.d/webcamd'.
 rcorder: Circular dependency on provision `ldconfig' in file 
 `/usr/local/etc/rc.d/dnscrypt-proxy'.
 rcorder: Circular dependency on provision `mountcritremote' in file 
 `/etc/rc.d/devfs'.
 rcorder: Circular dependency on provision `mountcritremote' in file 
 `/etc/rc.d/mdconfig2'.
 rcorder: Circular dependency on provision `mountcritremote' in file 
 `/etc/rc.d/newsyslog'.
 rcorder: Circular dependency on provision `mountcritremote' in file 
 `/etc/rc.d/syslogd'.
 rcorder: Circular dependency on provision `NETWORKING' in file 
 `/etc/rc.d/kdc'.
 rcorder: Circular dependency on provision `ldconfig' in file 
 `/etc/rc.d/SERVERS'.
 rcorder: Circular dependency on provision `mountcritremote' in file 
 `/etc/rc.d/archdep'.
 rcorder: Circular dependency on provision `mountcritremote' in file 
 `/etc/rc.d/SERVERS'.
 rcorder: requirement `tpmd' in file `/usr/local/etc/rc.d/tcsd' has no 
 providers.
 rcorder: Circular dependency on file `/usr/local/etc/rc.d/uuidd'.
 rcorder: requirement `usbd' in file `/usr/local/etc/rc.d/hald' has no 
 providers.
 cleanvar: Command not found.
 dbus/: Command not found.
 
 Note that this is still with the change to dnscrypt-ptoxy REQUIRE (adding 
 ldconfig)

Your rcorder is 50 shades of broken :(. Please remove all local modifications 
to scripts, then repost the output of the rcorder commands again. I suspect 
what’s going wrong is the result of some of my changes to remove etc/rc.d based 
on build knobs…
Cheers,


signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: rc.d provides and recent changes to rc.d scripts in base (was Re: Shared object libsodium.so.13 not found, required by dnscrypt-proxy)

2015-02-24 Thread Miguel Clara
On Tue, Feb 24, 2015 at 6:58 PM, Garrett Cooper yaneurab...@gmail.com
wrote:

 On Feb 24, 2015, at 10:53, Miguel Clara miguelmcl...@gmail.com wrote:

 
  On Tue, Feb 24, 2015 at 6:13 PM, Garrett Cooper yaneurab...@gmail.com
 wrote:
  On Feb 24, 2015, at 6:35, Miguel Clara miguelmcl...@gmail.com wrote:
 
   ]# rcorder /etc/rc.d/* /usr/local/etc/rc.d/* /dev/null
   rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision
 `kerberos'
   rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision
 `named'
   rcorder: file `/usr/local/etc/rc.d/dnscrypt-proxy' is before unknown
 provision `unbound'
   rcorder: Circular dependency on file `/usr/local/etc/rc.d/webcamd'.
   rcorder: Circular dependency on provision `dbus' in file
 `/usr/local/etc/rc.d/webcamd'.
   rcorder: Circular dependency on provision `ldconfig' in file
 `/usr/local/etc/rc.d/dnscrypt-proxy'.
   rcorder: Circular dependency on provision `mountcritremote' in file
 `/etc/rc.d/devfs'.
   rcorder: Circular dependency on provision `mountcritremote' in file
 `/etc/rc.d/mdconfig2'.
   rcorder: Circular dependency on provision `mountcritremote' in file
 `/etc/rc.d/newsyslog'.
   rcorder: Circular dependency on provision `mountcritremote' in file
 `/etc/rc.d/syslogd'.
   rcorder: Circular dependency on provision `NETWORKING' in file
 `/etc/rc.d/kdc'.
   rcorder: Circular dependency on provision `ldconfig' in file
 `/etc/rc.d/SERVERS'.
   rcorder: Circular dependency on provision `mountcritremote' in file
 `/etc/rc.d/archdep'.
   rcorder: Circular dependency on provision `mountcritremote' in file
 `/etc/rc.d/SERVERS'.
   rcorder: requirement `tpmd' in file `/usr/local/etc/rc.d/tcsd' has no
 providers.
   rcorder: Circular dependency on file `/usr/local/etc/rc.d/uuidd'.
   rcorder: requirement `usbd' in file `/usr/local/etc/rc.d/hald' has no
 providers.
  
   # rcorder /etc/rc.d/* /usr/local/etc/rc.d/* | awk
 ‘/SERVERS|cleanvar|ldconfig|dbus/ { print NR, $0 }’
   rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision
 `kerberos'
   rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision
 `named'
   rcorder: file `/usr/local/etc/rc.d/dnscrypt-proxy' is before unknown
 provision `unbound'
   rcorder: Circular dependency on file `/usr/local/etc/rc.d/webcamd'.
   rcorder: Circular dependency on provision `dbus' in file
 `/usr/local/etc/rc.d/webcamd'.
   rcorder: Circular dependency on provision `ldconfig' in file
 `/usr/local/etc/rc.d/dnscrypt-proxy'.
   rcorder: Circular dependency on provision `mountcritremote' in file
 `/etc/rc.d/devfs'.
   rcorder: Circular dependency on provision `mountcritremote' in file
 `/etc/rc.d/mdconfig2'.
   rcorder: Circular dependency on provision `mountcritremote' in file
 `/etc/rc.d/newsyslog'.
   rcorder: Circular dependency on provision `mountcritremote' in file
 `/etc/rc.d/syslogd'.
   rcorder: Circular dependency on provision `NETWORKING' in file
 `/etc/rc.d/kdc'.
   rcorder: Circular dependency on provision `ldconfig' in file
 `/etc/rc.d/SERVERS'.
   rcorder: Circular dependency on provision `mountcritremote' in file
 `/etc/rc.d/archdep'.
   rcorder: Circular dependency on provision `mountcritremote' in file
 `/etc/rc.d/SERVERS'.
   rcorder: requirement `tpmd' in file `/usr/local/etc/rc.d/tcsd' has no
 providers.
   rcorder: Circular dependency on file `/usr/local/etc/rc.d/uuidd'.
   rcorder: requirement `usbd' in file `/usr/local/etc/rc.d/hald' has no
 providers.
   cleanvar: Command not found.
   dbus/: Command not found.
  
   Note that this is still with the change to dnscrypt-ptoxy REQUIRE
 (adding ldconfig)
 
  Your rcorder is 50 shades of broken :(. Please remove all local
 modifications to scripts, then repost the output of the rcorder commands
 again. I suspect what’s going wrong is the result of some of my changes to
 remove etc/rc.d based on build knobs…
  Cheers,
 
  So much like the movies them... damn :X
 
  I don't recall any changes to the rc.d scripts except the one to
 dnscrypt-proxy (adding the ldconfig REQUIRE)

 Adding ldconfig can screw everything up, depending on what the ordering
 is. Dependency loops can be longer than you think.


Hum... removing it gives the same output.. and the issue with the order
already existed anyway, so I don't think the change to dnscrypt-proxy is
the main issue here...


  I also don't really know what to make of the output... expect this part:
 
  Circular dependency on provision, but the man says:
  A set of files has a circular dependency which wasdetected while
 processing the stated condition.
 
  So it should mean that 'A' requires 'B' but 'B' requires 'A'... but this
 does not seem to be the case…

 Not directly, but indirectly, maybe.

  I guess I'll have to go one by one and see if I can identify issue. But
 first I'll make sure the ports that use those rc.d scripts are up to date.

 Some of your ports are depending on named (which is no longer in base),
 and unbound (which isn’t installed if 

Re: Shared object libsodium.so.13 not found, required by dnscrypt-proxy

2015-02-24 Thread Miguel Clara
On Wed, Feb 25, 2015 at 1:58 AM, Miguel Clara miguelmcl...@gmail.com
wrote:


 On Wed, Feb 25, 2015 at 12:26 AM, Miguel Clara miguelmcl...@gmail.com
 wrote:


 On Tue, Feb 24, 2015 at 11:11 PM, Kevin Oberman rkober...@gmail.com
 wrote:

 On Tue, Feb 24, 2015 at 10:53 AM, Miguel Clara miguelmcl...@gmail.com
 wrote:

 On Tue, Feb 24, 2015 at 6:13 PM, Garrett Cooper yaneurab...@gmail.com
 wrote:

  On Feb 24, 2015, at 6:35, Miguel Clara miguelmcl...@gmail.com
 wrote:
 
   ]# rcorder /etc/rc.d/* /usr/local/etc/rc.d/* /dev/null
   rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision
  `kerberos'
   rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision
  `named'
   rcorder: file `/usr/local/etc/rc.d/dnscrypt-proxy' is before unknown
  provision `unbound'
   rcorder: Circular dependency on file `/usr/local/etc/rc.d/webcamd'.
   rcorder: Circular dependency on provision `dbus' in file
  `/usr/local/etc/rc.d/webcamd'.
   rcorder: Circular dependency on provision `ldconfig' in file
  `/usr/local/etc/rc.d/dnscrypt-proxy'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/devfs'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/mdconfig2'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/newsyslog'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/syslogd'.
   rcorder: Circular dependency on provision `NETWORKING' in file
  `/etc/rc.d/kdc'.
   rcorder: Circular dependency on provision `ldconfig' in file
  `/etc/rc.d/SERVERS'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/archdep'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/SERVERS'.
   rcorder: requirement `tpmd' in file `/usr/local/etc/rc.d/tcsd' has
 no
  providers.
   rcorder: Circular dependency on file `/usr/local/etc/rc.d/uuidd'.
   rcorder: requirement `usbd' in file `/usr/local/etc/rc.d/hald' has
 no
  providers.
  
   # rcorder /etc/rc.d/* /usr/local/etc/rc.d/* | awk
  ‘/SERVERS|cleanvar|ldconfig|dbus/ { print NR, $0 }’
   rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision
  `kerberos'
   rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision
  `named'
   rcorder: file `/usr/local/etc/rc.d/dnscrypt-proxy' is before unknown
  provision `unbound'
   rcorder: Circular dependency on file `/usr/local/etc/rc.d/webcamd'.
   rcorder: Circular dependency on provision `dbus' in file
  `/usr/local/etc/rc.d/webcamd'.
   rcorder: Circular dependency on provision `ldconfig' in file
  `/usr/local/etc/rc.d/dnscrypt-proxy'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/devfs'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/mdconfig2'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/newsyslog'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/syslogd'.
   rcorder: Circular dependency on provision `NETWORKING' in file
  `/etc/rc.d/kdc'.
   rcorder: Circular dependency on provision `ldconfig' in file
  `/etc/rc.d/SERVERS'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/archdep'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/SERVERS'.
   rcorder: requirement `tpmd' in file `/usr/local/etc/rc.d/tcsd' has
 no
  providers.
   rcorder: Circular dependency on file `/usr/local/etc/rc.d/uuidd'.
   rcorder: requirement `usbd' in file `/usr/local/etc/rc.d/hald' has
 no
  providers.
   cleanvar: Command not found.
   dbus/: Command not found.
  
   Note that this is still with the change to dnscrypt-ptoxy REQUIRE
  (adding ldconfig)
 
  Your rcorder is 50 shades of broken :(. Please remove all local
  modifications to scripts, then repost the output of the rcorder
 commands
  again. I suspect what’s going wrong is the result of some of my
 changes to
  remove etc/rc.d based on build knobs…
  Cheers,
 

 So much like the movies them... damn :X

 I don't recall any changes to the rc.d scripts except the one to
 dnscrypt-proxy (adding the ldconfig REQUIRE)

 I also don't really know what to make of the output... expect this part:

 Circular dependency on provision, but the man says:
 A set of files has a circular dependency which was detected while
 processing the stated condition.

 So it should mean that 'A' requires 'B' but 'B' requires 'A'... but this
 does not seem to be the case...

 I guess I'll have to go one by one and see if I can identify issue. But
 first I'll make sure the ports that use those rc.d scripts are up to
 date.


 Just to save a bit of time, many RC scripts are messed up at install
 time.

 One of the worst I have is for security/trousers-tddl. It is a mess. It
 wants kerberos and named, but most FreeBSD systems no longer run named or
 kerberos. As far as I can tell, no 

Re: Shared object libsodium.so.13 not found, required by dnscrypt-proxy

2015-02-24 Thread Miguel Clara
On Wed, Feb 25, 2015 at 12:26 AM, Miguel Clara miguelmcl...@gmail.com
wrote:


 On Tue, Feb 24, 2015 at 11:11 PM, Kevin Oberman rkober...@gmail.com
 wrote:

 On Tue, Feb 24, 2015 at 10:53 AM, Miguel Clara miguelmcl...@gmail.com
 wrote:

 On Tue, Feb 24, 2015 at 6:13 PM, Garrett Cooper yaneurab...@gmail.com
 wrote:

  On Feb 24, 2015, at 6:35, Miguel Clara miguelmcl...@gmail.com wrote:
 
   ]# rcorder /etc/rc.d/* /usr/local/etc/rc.d/* /dev/null
   rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision
  `kerberos'
   rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision
  `named'
   rcorder: file `/usr/local/etc/rc.d/dnscrypt-proxy' is before unknown
  provision `unbound'
   rcorder: Circular dependency on file `/usr/local/etc/rc.d/webcamd'.
   rcorder: Circular dependency on provision `dbus' in file
  `/usr/local/etc/rc.d/webcamd'.
   rcorder: Circular dependency on provision `ldconfig' in file
  `/usr/local/etc/rc.d/dnscrypt-proxy'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/devfs'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/mdconfig2'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/newsyslog'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/syslogd'.
   rcorder: Circular dependency on provision `NETWORKING' in file
  `/etc/rc.d/kdc'.
   rcorder: Circular dependency on provision `ldconfig' in file
  `/etc/rc.d/SERVERS'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/archdep'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/SERVERS'.
   rcorder: requirement `tpmd' in file `/usr/local/etc/rc.d/tcsd' has no
  providers.
   rcorder: Circular dependency on file `/usr/local/etc/rc.d/uuidd'.
   rcorder: requirement `usbd' in file `/usr/local/etc/rc.d/hald' has no
  providers.
  
   # rcorder /etc/rc.d/* /usr/local/etc/rc.d/* | awk
  ‘/SERVERS|cleanvar|ldconfig|dbus/ { print NR, $0 }’
   rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision
  `kerberos'
   rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision
  `named'
   rcorder: file `/usr/local/etc/rc.d/dnscrypt-proxy' is before unknown
  provision `unbound'
   rcorder: Circular dependency on file `/usr/local/etc/rc.d/webcamd'.
   rcorder: Circular dependency on provision `dbus' in file
  `/usr/local/etc/rc.d/webcamd'.
   rcorder: Circular dependency on provision `ldconfig' in file
  `/usr/local/etc/rc.d/dnscrypt-proxy'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/devfs'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/mdconfig2'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/newsyslog'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/syslogd'.
   rcorder: Circular dependency on provision `NETWORKING' in file
  `/etc/rc.d/kdc'.
   rcorder: Circular dependency on provision `ldconfig' in file
  `/etc/rc.d/SERVERS'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/archdep'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/SERVERS'.
   rcorder: requirement `tpmd' in file `/usr/local/etc/rc.d/tcsd' has no
  providers.
   rcorder: Circular dependency on file `/usr/local/etc/rc.d/uuidd'.
   rcorder: requirement `usbd' in file `/usr/local/etc/rc.d/hald' has no
  providers.
   cleanvar: Command not found.
   dbus/: Command not found.
  
   Note that this is still with the change to dnscrypt-ptoxy REQUIRE
  (adding ldconfig)
 
  Your rcorder is 50 shades of broken :(. Please remove all local
  modifications to scripts, then repost the output of the rcorder
 commands
  again. I suspect what’s going wrong is the result of some of my
 changes to
  remove etc/rc.d based on build knobs…
  Cheers,
 

 So much like the movies them... damn :X

 I don't recall any changes to the rc.d scripts except the one to
 dnscrypt-proxy (adding the ldconfig REQUIRE)

 I also don't really know what to make of the output... expect this part:

 Circular dependency on provision, but the man says:
 A set of files has a circular dependency which was detected while
 processing the stated condition.

 So it should mean that 'A' requires 'B' but 'B' requires 'A'... but this
 does not seem to be the case...

 I guess I'll have to go one by one and see if I can identify issue. But
 first I'll make sure the ports that use those rc.d scripts are up to
 date.


 Just to save a bit of time, many RC scripts are messed up at install
 time.

 One of the worst I have is for security/trousers-tddl. It is a mess. It
 wants kerberos and named, but most FreeBSD systems no longer run named or
 kerberos. As far as I can tell, no FreeBSD port provides a tpmd, so I have
 no idea where the heck that comes from.

 

Re: Shared object libsodium.so.13 not found, required by dnscrypt-proxy

2015-02-24 Thread Kevin Oberman
On Tue, Feb 24, 2015 at 10:53 AM, Miguel Clara miguelmcl...@gmail.com
wrote:

 On Tue, Feb 24, 2015 at 6:13 PM, Garrett Cooper yaneurab...@gmail.com
 wrote:

  On Feb 24, 2015, at 6:35, Miguel Clara miguelmcl...@gmail.com wrote:
 
   ]# rcorder /etc/rc.d/* /usr/local/etc/rc.d/* /dev/null
   rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision
  `kerberos'
   rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision
  `named'
   rcorder: file `/usr/local/etc/rc.d/dnscrypt-proxy' is before unknown
  provision `unbound'
   rcorder: Circular dependency on file `/usr/local/etc/rc.d/webcamd'.
   rcorder: Circular dependency on provision `dbus' in file
  `/usr/local/etc/rc.d/webcamd'.
   rcorder: Circular dependency on provision `ldconfig' in file
  `/usr/local/etc/rc.d/dnscrypt-proxy'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/devfs'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/mdconfig2'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/newsyslog'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/syslogd'.
   rcorder: Circular dependency on provision `NETWORKING' in file
  `/etc/rc.d/kdc'.
   rcorder: Circular dependency on provision `ldconfig' in file
  `/etc/rc.d/SERVERS'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/archdep'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/SERVERS'.
   rcorder: requirement `tpmd' in file `/usr/local/etc/rc.d/tcsd' has no
  providers.
   rcorder: Circular dependency on file `/usr/local/etc/rc.d/uuidd'.
   rcorder: requirement `usbd' in file `/usr/local/etc/rc.d/hald' has no
  providers.
  
   # rcorder /etc/rc.d/* /usr/local/etc/rc.d/* | awk
  ‘/SERVERS|cleanvar|ldconfig|dbus/ { print NR, $0 }’
   rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision
  `kerberos'
   rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision
  `named'
   rcorder: file `/usr/local/etc/rc.d/dnscrypt-proxy' is before unknown
  provision `unbound'
   rcorder: Circular dependency on file `/usr/local/etc/rc.d/webcamd'.
   rcorder: Circular dependency on provision `dbus' in file
  `/usr/local/etc/rc.d/webcamd'.
   rcorder: Circular dependency on provision `ldconfig' in file
  `/usr/local/etc/rc.d/dnscrypt-proxy'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/devfs'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/mdconfig2'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/newsyslog'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/syslogd'.
   rcorder: Circular dependency on provision `NETWORKING' in file
  `/etc/rc.d/kdc'.
   rcorder: Circular dependency on provision `ldconfig' in file
  `/etc/rc.d/SERVERS'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/archdep'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/SERVERS'.
   rcorder: requirement `tpmd' in file `/usr/local/etc/rc.d/tcsd' has no
  providers.
   rcorder: Circular dependency on file `/usr/local/etc/rc.d/uuidd'.
   rcorder: requirement `usbd' in file `/usr/local/etc/rc.d/hald' has no
  providers.
   cleanvar: Command not found.
   dbus/: Command not found.
  
   Note that this is still with the change to dnscrypt-ptoxy REQUIRE
  (adding ldconfig)
 
  Your rcorder is 50 shades of broken :(. Please remove all local
  modifications to scripts, then repost the output of the rcorder commands
  again. I suspect what’s going wrong is the result of some of my changes
 to
  remove etc/rc.d based on build knobs…
  Cheers,
 

 So much like the movies them... damn :X

 I don't recall any changes to the rc.d scripts except the one to
 dnscrypt-proxy (adding the ldconfig REQUIRE)

 I also don't really know what to make of the output... expect this part:

 Circular dependency on provision, but the man says:
 A set of files has a circular dependency which was detected while
 processing the stated condition.

 So it should mean that 'A' requires 'B' but 'B' requires 'A'... but this
 does not seem to be the case...

 I guess I'll have to go one by one and see if I can identify issue. But
 first I'll make sure the ports that use those rc.d scripts are up to date.


Just to save a bit of time, many RC scripts are messed up at install time.

One of the worst I have is for security/trousers-tddl. It is a mess. It
wants kerberos and named, but most FreeBSD systems no longer run named or
kerberos. As far as I can tell, no FreeBSD port provides a tpmd, so I have
no idea where the heck that comes from.

hald wants usbd which has been obsolete for some years. Certainly no
providers any longer. I don't think that any supported version of FreeBSD
still has usbd, so any port 

Re: pf crash on -current

2015-02-24 Thread Kristof Provost
On 2015-02-24 08:05:47 (+0100), Kristof Provost kris...@sigsegv.be wrote:
 On 2015-02-23 17:23:55 (-0800), Davide Italiano dav...@freebsd.org wrote:
  The bt you posted suggest this could be stack overflow, probably due
  to infinite recursion.
  Also, as a wild guess, just looking at the stacktrace, I think this
  might be related to the recent ipv6 fragment changes. Try to back them
  out, and see if things gets more stable ( r278831 and r278843).
  
 That's almost certainly what it is.
 
After a bit of fiddling around I've managed to reproduce this locally.

Essentially we get caught in a loop of defragmenting and refragmenting:
Fragmented packets come in on one interface and get collected until we
can defragment it. At that point the defragmented packet is handed back
to the ip stack (at the pfil point in ip6_input(). Normal processing
continues.
Eventually we figure out that the packet has to be forwarded and we end
up at the pfil hook in ip6_forward(). After doing the inspection on the
defragmented packet we see that the packet has been defragmented and
because we're forwarding we have to refragment it. That's indicated by
the presence of the PF_REASSEMBLED tag.

In pf_refragment6() we remove that tag, split the packet up again and
then ip6_forward() the individual fragments.
Those fragments hit the pfil hook on the way out, so they're
collected until we can reconstruct the full packet, at which point we're
right back where we left off and things continue until we run out of
stack.

There are two reasons Allan is seeing this and no one else has so far.

The first is that he's scrubbing both on input and output. My own tests
have always been done with 'scrub in all fragment reassemble', rather
than 'scrub all fragment reassemble' so I didn't see this problem.

The second is that he's got an internal interface with a higher MTU,
so the refragmentation actually works for him.
There's an open problem where ip6_forward() drops the defragmented
packet before the pfil(PFIL_OUT) hook because it's too big for the
output interface.
If the last patch of my series (https://reviews.freebsd.org/D1815) had
been merged as well more people would have been affected.

One possible fix for Allan's problem would be to tag the fragments after
refragmentation so that pf ignores them. After all, the defragmented
packet has already been inspected so there's no point in checking the
fragments again.

I have the feeling there's a way to fix this problem and the issue D1815
tries to fix in one go though. I'll need to think about it a bit more.

Regards,
Kristof
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: Shared object libsodium.so.13 not found, required by dnscrypt-proxy

2015-02-24 Thread Miguel Clara
On Tue, Feb 24, 2015 at 11:11 PM, Kevin Oberman rkober...@gmail.com wrote:

 On Tue, Feb 24, 2015 at 10:53 AM, Miguel Clara miguelmcl...@gmail.com
 wrote:

 On Tue, Feb 24, 2015 at 6:13 PM, Garrett Cooper yaneurab...@gmail.com
 wrote:

  On Feb 24, 2015, at 6:35, Miguel Clara miguelmcl...@gmail.com wrote:
 
   ]# rcorder /etc/rc.d/* /usr/local/etc/rc.d/* /dev/null
   rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision
  `kerberos'
   rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision
  `named'
   rcorder: file `/usr/local/etc/rc.d/dnscrypt-proxy' is before unknown
  provision `unbound'
   rcorder: Circular dependency on file `/usr/local/etc/rc.d/webcamd'.
   rcorder: Circular dependency on provision `dbus' in file
  `/usr/local/etc/rc.d/webcamd'.
   rcorder: Circular dependency on provision `ldconfig' in file
  `/usr/local/etc/rc.d/dnscrypt-proxy'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/devfs'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/mdconfig2'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/newsyslog'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/syslogd'.
   rcorder: Circular dependency on provision `NETWORKING' in file
  `/etc/rc.d/kdc'.
   rcorder: Circular dependency on provision `ldconfig' in file
  `/etc/rc.d/SERVERS'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/archdep'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/SERVERS'.
   rcorder: requirement `tpmd' in file `/usr/local/etc/rc.d/tcsd' has no
  providers.
   rcorder: Circular dependency on file `/usr/local/etc/rc.d/uuidd'.
   rcorder: requirement `usbd' in file `/usr/local/etc/rc.d/hald' has no
  providers.
  
   # rcorder /etc/rc.d/* /usr/local/etc/rc.d/* | awk
  ‘/SERVERS|cleanvar|ldconfig|dbus/ { print NR, $0 }’
   rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision
  `kerberos'
   rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision
  `named'
   rcorder: file `/usr/local/etc/rc.d/dnscrypt-proxy' is before unknown
  provision `unbound'
   rcorder: Circular dependency on file `/usr/local/etc/rc.d/webcamd'.
   rcorder: Circular dependency on provision `dbus' in file
  `/usr/local/etc/rc.d/webcamd'.
   rcorder: Circular dependency on provision `ldconfig' in file
  `/usr/local/etc/rc.d/dnscrypt-proxy'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/devfs'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/mdconfig2'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/newsyslog'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/syslogd'.
   rcorder: Circular dependency on provision `NETWORKING' in file
  `/etc/rc.d/kdc'.
   rcorder: Circular dependency on provision `ldconfig' in file
  `/etc/rc.d/SERVERS'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/archdep'.
   rcorder: Circular dependency on provision `mountcritremote' in file
  `/etc/rc.d/SERVERS'.
   rcorder: requirement `tpmd' in file `/usr/local/etc/rc.d/tcsd' has no
  providers.
   rcorder: Circular dependency on file `/usr/local/etc/rc.d/uuidd'.
   rcorder: requirement `usbd' in file `/usr/local/etc/rc.d/hald' has no
  providers.
   cleanvar: Command not found.
   dbus/: Command not found.
  
   Note that this is still with the change to dnscrypt-ptoxy REQUIRE
  (adding ldconfig)
 
  Your rcorder is 50 shades of broken :(. Please remove all local
  modifications to scripts, then repost the output of the rcorder commands
  again. I suspect what’s going wrong is the result of some of my changes
 to
  remove etc/rc.d based on build knobs…
  Cheers,
 

 So much like the movies them... damn :X

 I don't recall any changes to the rc.d scripts except the one to
 dnscrypt-proxy (adding the ldconfig REQUIRE)

 I also don't really know what to make of the output... expect this part:

 Circular dependency on provision, but the man says:
 A set of files has a circular dependency which was detected while
 processing the stated condition.

 So it should mean that 'A' requires 'B' but 'B' requires 'A'... but this
 does not seem to be the case...

 I guess I'll have to go one by one and see if I can identify issue. But
 first I'll make sure the ports that use those rc.d scripts are up to date.


 Just to save a bit of time, many RC scripts are messed up at install time.

 One of the worst I have is for security/trousers-tddl. It is a mess. It
 wants kerberos and named, but most FreeBSD systems no longer run named or
 kerberos. As far as I can tell, no FreeBSD port provides a tpmd, so I have
 no idea where the heck that comes from.

 hald wants usbd which has been obsolete for some years. Certainly no
 providers any 

Re: pf crash on -current

2015-02-24 Thread Allan Jude
On 2015-02-24 18:10, Kristof Provost wrote:
 On 2015-02-24 08:05:47 (+0100), Kristof Provost kris...@sigsegv.be wrote:
 On 2015-02-23 17:23:55 (-0800), Davide Italiano dav...@freebsd.org wrote:
 The bt you posted suggest this could be stack overflow, probably due
 to infinite recursion.
 Also, as a wild guess, just looking at the stacktrace, I think this
 might be related to the recent ipv6 fragment changes. Try to back them
 out, and see if things gets more stable ( r278831 and r278843).

 That's almost certainly what it is.

 After a bit of fiddling around I've managed to reproduce this locally.
 
 Essentially we get caught in a loop of defragmenting and refragmenting:
 Fragmented packets come in on one interface and get collected until we
 can defragment it. At that point the defragmented packet is handed back
 to the ip stack (at the pfil point in ip6_input(). Normal processing
 continues.
 Eventually we figure out that the packet has to be forwarded and we end
 up at the pfil hook in ip6_forward(). After doing the inspection on the
 defragmented packet we see that the packet has been defragmented and
 because we're forwarding we have to refragment it. That's indicated by
 the presence of the PF_REASSEMBLED tag.
 
 In pf_refragment6() we remove that tag, split the packet up again and
 then ip6_forward() the individual fragments.
 Those fragments hit the pfil hook on the way out, so they're
 collected until we can reconstruct the full packet, at which point we're
 right back where we left off and things continue until we run out of
 stack.
 
 There are two reasons Allan is seeing this and no one else has so far.
 
 The first is that he's scrubbing both on input and output. My own tests
 have always been done with 'scrub in all fragment reassemble', rather
 than 'scrub all fragment reassemble' so I didn't see this problem.
 
 The second is that he's got an internal interface with a higher MTU,
 so the refragmentation actually works for him.
 There's an open problem where ip6_forward() drops the defragmented
 packet before the pfil(PFIL_OUT) hook because it's too big for the
 output interface.
 If the last patch of my series (https://reviews.freebsd.org/D1815) had
 been merged as well more people would have been affected.
 
 One possible fix for Allan's problem would be to tag the fragments after
 refragmentation so that pf ignores them. After all, the defragmented
 packet has already been inspected so there's no point in checking the
 fragments again.
 
 I have the feeling there's a way to fix this problem and the issue D1815
 tries to fix in one go though. I'll need to think about it a bit more.
 
 Regards,
 Kristof
 ___
 freebsd-current@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
 

Admittedly, when I switched from using pfSense to vanilla FreeBSD for my
firewall, when I got new hardware and wanted to run bhyve as well, i
just dumped the rules from my pfsense into a file and then started
editing by hand. So the scrub rule was not really a decision I made, but
was inherited from the pfsense.

It is actually my external interface (point-to-point fibre transport
from my basement to the data center) that has the higher MTU (4400),
whereas my internal network is all standard 1500 MTU.


-- 
Allan Jude



signature.asc
Description: OpenPGP digital signature