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

2015-08-26 Thread Miguel C
I was testing with this again recently and it seems the big difference is
local_unbound!

BtW Barry thanks for the suggestion but I (and I think others) mentioned in
the thread that adding ldconfig REQUIRE in dnscrypt made no difference.

A box with dnscrypt+unbound doesn't have the issue,so I compared the 2 rc.d
scripts and noticed unbound doesn't use:

# BEFORE: NETWORKING

btw why would we want local_unbound BEFORE networking? doesn't it make
more sense to run it after, If something fails there (NETWORKG)
local_unbound won't be usable anyway, or am I saying something stupid? :P

Melhores Cumprimentos // Best Regards
---
*Miguel Clara*
*IT - Sys Admin  Developer*

On Fri, Jul 24, 2015 at 11:35 PM, Barry Allard barry.all...@gmail.com
wrote:

 Folks,

 The issue is that ldconfig must run before dnscrypt-proxy so it can find
 the sodium shared lib.

 One simple fix is to change /usr/local/etc/rc.d/dnscrypt-proxy (might not
 cover every edge case, but it appears to work.)

 # PROVIDE: dnscrypt_proxy
 # REQUIRE: ldconfig cleanvar
 # BEFORE: SERVERS
 # KEYWORD: shutdown

 No more circular depends and ldconfig is always first.

 $ rcorder /etc/rc.d/* /usr/local/etc/rc.d/* | awk
 '/SERVERS|dnscrypt-proxy|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: requirement `tpmd' in file `/usr/local/etc/rc.d/tcsd' has no
 providers.
 rcorder: requirement `slapd' in file `/usr/local/etc/rc.d/postfix' has no
 providers.
 rcorder: requirement `slapd' in file `/usr/local/etc/rc.d/dovecot' has no
 providers.
 18 /etc/rc.d/cleanvar
 67 /etc/rc.d/ldconfig
 68 /usr/local/etc/rc.d/dnscrypt-proxy
 75 /etc/rc.d/SERVERS

 (Feel free to fw: to the list. Also documented upstream
 https://github.com/jedisct1/dnscrypt-proxy/issues/242 in case someone
 else runs into this.)

 Regards,
 Barry Allard


___
freebsd-current@freebsd.org mailing list
https://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-03-20 Thread Miguel Clara
On Fri, Mar 20, 2015 at 7:01 PM, Kevin Oberman rkober...@gmail.com wrote:

 On Fri, Mar 20, 2015 at 7:47 AM, Miguel Clara miguelmcl...@gmail.com
 wrote:


 On Thu, Feb 26, 2015 at 2:52 AM, Garrett Cooper yaneurab...@gmail.com
 wrote:


 On Feb 25, 2015, at 18:08, Kevin Oberman rkober...@gmail.com wrote:

 On Wed, Feb 25, 2015 at 2:30 PM, Garrett Cooper yaneurab...@gmail.com
 wrote:

 On Feb 25, 2015, at 14:19, Miguel Clara miguelmcl...@gmail.com wrote:

 ...

  I noticed this too, but in that case why doesn't it affect all users?
 (or all the ones using dnscrypt+local_unbound) maybe something changed in
 NETWORKING recently?
 
  Hum:
 
 https://svnweb.freebsd.org/base/head/etc/rc.d/NETWORKING?r1=275299r2=278704
 
  Interesting, as I am using the most recent version which does not
 REQUIRE local_unbound
 
  I'm even more confused now :|
 
 
  So it has to come after SERVERS but before local_unbound. But
 NETWORKING depends on local_unbound they are both dependent on NEWORKING
 which has to be after SERVERS. Can you say fubar! Clearly broken. And this
 means that removing SERVERS will re-shuffle the order more appropriately.
 
  It seems that the behavior of rcorder is not as documented as well as
 being undefined when circular dependencies occur. The man page says that
 rcorder aborts when it encounters a circular dependency, but that is not
 the case. It probably is best that it not die, but that leaves things in an
 unknown and inconsistant state, which is also a very bad idea. I guess when
 a circular dependency is encountered, a dichotomy occurs.

 Now you know why I’m so curious about all of this stuff.

 When I was working on ^/projects/building-blocks, I was able to move
 most of these pieces around by changing REQUIRE: to BEFORE:, but I noticed
 that it changes the rcorder a bit, so I haven’t been super gung ho in
 implementing my change.

 I think there are a couple bugs present on
 9-STABLE/10-STABLE/11-CURRENT:

 - Things go awry if named is removed/not installed.
 - Things go awry if local_unbound is removed (which would have been the
 case if the rc.d script was removed from your system, which existed before
 my changes).
 - Other rc.d scripts not being present might break assumptions.

 I need to create dummy providers for certain logical stages (DNS is one
 of them) to solve part of this problem and provide third parties with a
 mechanism that can be depended on (I wish applications were written in a
 more robust manner to fail gracefully and retry instead of failing flat on
 their face, but as I’ve seen at several jobs, getting developers to fail,
 then retry is hard :(…).

 Another short-term hack:

 Install dummy/no-op providers so the ordering is preserved, then remove
 the hacks after all of the bugs have been shaken out.

 Thanks!


 Garret,

 Also undocumented (except in rcorder.c) is that the lack of a provider
 is not an error. This effectively makes a list of providers into an OR. So,
 for name service the normal list is named local_unbound unbound and any
 will work for ordering and having none is a no-op, so if you don't run any
 nameserver (or kerberos or whatever provider), it is not an issue. As long
 as rcorder finds a provider, it will be used to set the order, but the lack
 of any or all providers just means that the specified provider is ignored
 and if a REQUIRES or BEFORE lists no existing providers, the statement is
 simply ignored.

 The real problem is that there is no defined rule for behavior in the
 event of a circular dependency and any change to any decision point in the
 ordering process may change the way the ordering flips. That is why these
 things are such a royal pain to debug. A change in any rc.d script may
 cause the ordering of seemingly unrelated scripts to change, perhaps
 drastically, and the error messages, while not misleading, is only a
 starting point in tracking this down. This means there may be time bombs
 that break working ports without their being touched or even re-installed.
 And the triggering change my, itself be correct.


 Or etc/rc.d/named...

 PROVIDES: DNS

 I'm going to post a fix up for this on arch@/rc@ because it needs to be
 solved in a saner way -- especially for systems that are pedantic about
 rcorder, like our version at $work.


 I re-sync my source and noticed the change while doing the mergemaster
 part... with this I can now change dnscrypt to:

 @@ -4,7 +4,7 @@
  #
  # PROVIDE: dnscrypt_proxy
  # REQUIRE: SERVERS cleanvar
 -# BEFORE: named local_unbound unbound
 +# BEFORE: DNS

 And this makes the rcorder ok for dnscrypt-proxy


 This is still broken and only works by random luck. At this time there
 appears to be nothing providing DNS. At least the default
 /etc/rc.d/local_unbound does not.nor does anything else in /etc/rc.d. It
 looks like this change effectively removes all BEFORE constraints, so it
 may start any time after SERVERS and cleanvar. But, it if really expects to
 start before name service comes up, 

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

2015-03-20 Thread Miguel Clara
On Thu, Feb 26, 2015 at 2:52 AM, Garrett Cooper yaneurab...@gmail.com
wrote:


 On Feb 25, 2015, at 18:08, Kevin Oberman rkober...@gmail.com wrote:

 On Wed, Feb 25, 2015 at 2:30 PM, Garrett Cooper yaneurab...@gmail.com
 wrote:

 On Feb 25, 2015, at 14:19, Miguel Clara miguelmcl...@gmail.com wrote:

 ...

  I noticed this too, but in that case why doesn't it affect all users?
 (or all the ones using dnscrypt+local_unbound) maybe something changed in
 NETWORKING recently?
 
  Hum:
 
 https://svnweb.freebsd.org/base/head/etc/rc.d/NETWORKING?r1=275299r2=278704
 
  Interesting, as I am using the most recent version which does not
 REQUIRE local_unbound
 
  I'm even more confused now :|
 
 
  So it has to come after SERVERS but before local_unbound. But
 NETWORKING depends on local_unbound they are both dependent on NEWORKING
 which has to be after SERVERS. Can you say fubar! Clearly broken. And this
 means that removing SERVERS will re-shuffle the order more appropriately.
 
  It seems that the behavior of rcorder is not as documented as well as
 being undefined when circular dependencies occur. The man page says that
 rcorder aborts when it encounters a circular dependency, but that is not
 the case. It probably is best that it not die, but that leaves things in an
 unknown and inconsistant state, which is also a very bad idea. I guess when
 a circular dependency is encountered, a dichotomy occurs.

 Now you know why I’m so curious about all of this stuff.

 When I was working on ^/projects/building-blocks, I was able to move most
 of these pieces around by changing REQUIRE: to BEFORE:, but I noticed that
 it changes the rcorder a bit, so I haven’t been super gung ho in
 implementing my change.

 I think there are a couple bugs present on 9-STABLE/10-STABLE/11-CURRENT:

 - Things go awry if named is removed/not installed.
 - Things go awry if local_unbound is removed (which would have been the
 case if the rc.d script was removed from your system, which existed before
 my changes).
 - Other rc.d scripts not being present might break assumptions.

 I need to create dummy providers for certain logical stages (DNS is one
 of them) to solve part of this problem and provide third parties with a
 mechanism that can be depended on (I wish applications were written in a
 more robust manner to fail gracefully and retry instead of failing flat on
 their face, but as I’ve seen at several jobs, getting developers to fail,
 then retry is hard :(…).

 Another short-term hack:

 Install dummy/no-op providers so the ordering is preserved, then remove
 the hacks after all of the bugs have been shaken out.

 Thanks!


 Garret,

 Also undocumented (except in rcorder.c) is that the lack of a provider is
 not an error. This effectively makes a list of providers into an OR. So,
 for name service the normal list is named local_unbound unbound and any
 will work for ordering and having none is a no-op, so if you don't run any
 nameserver (or kerberos or whatever provider), it is not an issue. As long
 as rcorder finds a provider, it will be used to set the order, but the lack
 of any or all providers just means that the specified provider is ignored
 and if a REQUIRES or BEFORE lists no existing providers, the statement is
 simply ignored.

 The real problem is that there is no defined rule for behavior in the
 event of a circular dependency and any change to any decision point in the
 ordering process may change the way the ordering flips. That is why these
 things are such a royal pain to debug. A change in any rc.d script may
 cause the ordering of seemingly unrelated scripts to change, perhaps
 drastically, and the error messages, while not misleading, is only a
 starting point in tracking this down. This means there may be time bombs
 that break working ports without their being touched or even re-installed.
 And the triggering change my, itself be correct.


 Or etc/rc.d/named...

 PROVIDES: DNS

 I'm going to post a fix up for this on arch@/rc@ because it needs to be
 solved in a saner way -- especially for systems that are pedantic about
 rcorder, like our version at $work.


I re-sync my source and noticed the change while doing the mergemaster
part... with this I can now change dnscrypt to:

@@ -4,7 +4,7 @@
 #
 # PROVIDE: dnscrypt_proxy
 # REQUIRE: SERVERS cleanvar
-# BEFORE: named local_unbound unbound
+# BEFORE: DNS

And this makes the rcorder ok for dnscrypt-proxy
___
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-03-20 Thread Kevin Oberman
On Fri, Mar 20, 2015 at 7:14 PM, Miguel Clara miguelmcl...@gmail.com
wrote:


 On Fri, Mar 20, 2015 at 7:01 PM, Kevin Oberman rkober...@gmail.com
 wrote:

 On Fri, Mar 20, 2015 at 7:47 AM, Miguel Clara miguelmcl...@gmail.com
 wrote:


 On Thu, Feb 26, 2015 at 2:52 AM, Garrett Cooper yaneurab...@gmail.com
 wrote:


 On Feb 25, 2015, at 18:08, Kevin Oberman rkober...@gmail.com wrote:

 On Wed, Feb 25, 2015 at 2:30 PM, Garrett Cooper yaneurab...@gmail.com
 wrote:

 On Feb 25, 2015, at 14:19, Miguel Clara miguelmcl...@gmail.com
 wrote:

 ...

  I noticed this too, but in that case why doesn't it affect all
 users? (or all the ones using dnscrypt+local_unbound) maybe something
 changed in NETWORKING recently?
 
  Hum:
 
 https://svnweb.freebsd.org/base/head/etc/rc.d/NETWORKING?r1=275299r2=278704
 
  Interesting, as I am using the most recent version which does not
 REQUIRE local_unbound
 
  I'm even more confused now :|
 
 
  So it has to come after SERVERS but before local_unbound. But
 NETWORKING depends on local_unbound they are both dependent on NEWORKING
 which has to be after SERVERS. Can you say fubar! Clearly broken. And this
 means that removing SERVERS will re-shuffle the order more appropriately.
 
  It seems that the behavior of rcorder is not as documented as well
 as being undefined when circular dependencies occur. The man page says 
 that
 rcorder aborts when it encounters a circular dependency, but that is not
 the case. It probably is best that it not die, but that leaves things in 
 an
 unknown and inconsistant state, which is also a very bad idea. I guess 
 when
 a circular dependency is encountered, a dichotomy occurs.

 Now you know why I’m so curious about all of this stuff.

 When I was working on ^/projects/building-blocks, I was able to move
 most of these pieces around by changing REQUIRE: to BEFORE:, but I noticed
 that it changes the rcorder a bit, so I haven’t been super gung ho in
 implementing my change.

 I think there are a couple bugs present on
 9-STABLE/10-STABLE/11-CURRENT:

 - Things go awry if named is removed/not installed.
 - Things go awry if local_unbound is removed (which would have been
 the case if the rc.d script was removed from your system, which existed
 before my changes).
 - Other rc.d scripts not being present might break assumptions.

 I need to create dummy providers for certain logical stages (DNS is
 one of them) to solve part of this problem and provide third parties with 
 a
 mechanism that can be depended on (I wish applications were written in a
 more robust manner to fail gracefully and retry instead of failing flat on
 their face, but as I’ve seen at several jobs, getting developers to fail,
 then retry is hard :(…).

 Another short-term hack:

 Install dummy/no-op providers so the ordering is preserved, then
 remove the hacks after all of the bugs have been shaken out.

 Thanks!


 Garret,

 Also undocumented (except in rcorder.c) is that the lack of a provider
 is not an error. This effectively makes a list of providers into an OR. So,
 for name service the normal list is named local_unbound unbound and any
 will work for ordering and having none is a no-op, so if you don't run any
 nameserver (or kerberos or whatever provider), it is not an issue. As long
 as rcorder finds a provider, it will be used to set the order, but the lack
 of any or all providers just means that the specified provider is ignored
 and if a REQUIRES or BEFORE lists no existing providers, the statement is
 simply ignored.

 The real problem is that there is no defined rule for behavior in the
 event of a circular dependency and any change to any decision point in the
 ordering process may change the way the ordering flips. That is why these
 things are such a royal pain to debug. A change in any rc.d script may
 cause the ordering of seemingly unrelated scripts to change, perhaps
 drastically, and the error messages, while not misleading, is only a
 starting point in tracking this down. This means there may be time bombs
 that break working ports without their being touched or even re-installed.
 And the triggering change my, itself be correct.


 Or etc/rc.d/named...

 PROVIDES: DNS

 I'm going to post a fix up for this on arch@/rc@ because it needs to
 be solved in a saner way -- especially for systems that are pedantic about
 rcorder, like our version at $work.


 I re-sync my source and noticed the change while doing the mergemaster
 part... with this I can now change dnscrypt to:

 @@ -4,7 +4,7 @@
  #
  # PROVIDE: dnscrypt_proxy
  # REQUIRE: SERVERS cleanvar
 -# BEFORE: named local_unbound unbound
 +# BEFORE: DNS

 And this makes the rcorder ok for dnscrypt-proxy


 This is still broken and only works by random luck. At this time there
 appears to be nothing providing DNS. At least the default
 /etc/rc.d/local_unbound does not.nor does anything else in /etc/rc.d. It
 looks like this change effectively removes all BEFORE constraints, so it
 may start any time after 

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

2015-03-20 Thread Kevin Oberman
On Fri, Mar 20, 2015 at 7:47 AM, Miguel Clara miguelmcl...@gmail.com
wrote:


 On Thu, Feb 26, 2015 at 2:52 AM, Garrett Cooper yaneurab...@gmail.com
 wrote:


 On Feb 25, 2015, at 18:08, Kevin Oberman rkober...@gmail.com wrote:

 On Wed, Feb 25, 2015 at 2:30 PM, Garrett Cooper yaneurab...@gmail.com
 wrote:

 On Feb 25, 2015, at 14:19, Miguel Clara miguelmcl...@gmail.com wrote:

 ...

  I noticed this too, but in that case why doesn't it affect all users?
 (or all the ones using dnscrypt+local_unbound) maybe something changed in
 NETWORKING recently?
 
  Hum:
 
 https://svnweb.freebsd.org/base/head/etc/rc.d/NETWORKING?r1=275299r2=278704
 
  Interesting, as I am using the most recent version which does not
 REQUIRE local_unbound
 
  I'm even more confused now :|
 
 
  So it has to come after SERVERS but before local_unbound. But
 NETWORKING depends on local_unbound they are both dependent on NEWORKING
 which has to be after SERVERS. Can you say fubar! Clearly broken. And this
 means that removing SERVERS will re-shuffle the order more appropriately.
 
  It seems that the behavior of rcorder is not as documented as well as
 being undefined when circular dependencies occur. The man page says that
 rcorder aborts when it encounters a circular dependency, but that is not
 the case. It probably is best that it not die, but that leaves things in an
 unknown and inconsistant state, which is also a very bad idea. I guess when
 a circular dependency is encountered, a dichotomy occurs.

 Now you know why I’m so curious about all of this stuff.

 When I was working on ^/projects/building-blocks, I was able to move
 most of these pieces around by changing REQUIRE: to BEFORE:, but I noticed
 that it changes the rcorder a bit, so I haven’t been super gung ho in
 implementing my change.

 I think there are a couple bugs present on 9-STABLE/10-STABLE/11-CURRENT:

 - Things go awry if named is removed/not installed.
 - Things go awry if local_unbound is removed (which would have been the
 case if the rc.d script was removed from your system, which existed before
 my changes).
 - Other rc.d scripts not being present might break assumptions.

 I need to create dummy providers for certain logical stages (DNS is one
 of them) to solve part of this problem and provide third parties with a
 mechanism that can be depended on (I wish applications were written in a
 more robust manner to fail gracefully and retry instead of failing flat on
 their face, but as I’ve seen at several jobs, getting developers to fail,
 then retry is hard :(…).

 Another short-term hack:

 Install dummy/no-op providers so the ordering is preserved, then remove
 the hacks after all of the bugs have been shaken out.

 Thanks!


 Garret,

 Also undocumented (except in rcorder.c) is that the lack of a provider is
 not an error. This effectively makes a list of providers into an OR. So,
 for name service the normal list is named local_unbound unbound and any
 will work for ordering and having none is a no-op, so if you don't run any
 nameserver (or kerberos or whatever provider), it is not an issue. As long
 as rcorder finds a provider, it will be used to set the order, but the lack
 of any or all providers just means that the specified provider is ignored
 and if a REQUIRES or BEFORE lists no existing providers, the statement is
 simply ignored.

 The real problem is that there is no defined rule for behavior in the
 event of a circular dependency and any change to any decision point in the
 ordering process may change the way the ordering flips. That is why these
 things are such a royal pain to debug. A change in any rc.d script may
 cause the ordering of seemingly unrelated scripts to change, perhaps
 drastically, and the error messages, while not misleading, is only a
 starting point in tracking this down. This means there may be time bombs
 that break working ports without their being touched or even re-installed.
 And the triggering change my, itself be correct.


 Or etc/rc.d/named...

 PROVIDES: DNS

 I'm going to post a fix up for this on arch@/rc@ because it needs to be
 solved in a saner way -- especially for systems that are pedantic about
 rcorder, like our version at $work.


 I re-sync my source and noticed the change while doing the mergemaster
 part... with this I can now change dnscrypt to:

 @@ -4,7 +4,7 @@
  #
  # PROVIDE: dnscrypt_proxy
  # REQUIRE: SERVERS cleanvar
 -# BEFORE: named local_unbound unbound
 +# BEFORE: DNS

 And this makes the rcorder ok for dnscrypt-proxy


This is still broken and only works by random luck. At this time there
appears to be nothing providing DNS. At least the default
/etc/rc.d/local_unbound does not.nor does anything else in /etc/rc.d. It
looks like this change effectively removes all BEFORE constraints, so it
may start any time after SERVERS and cleanvar. But, it if really expects to
start before name service comes up, it's not going to happen as those start
before SERVERS. The effect is probably only 

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

2015-02-26 Thread Jeffrey Bouquet


On Wed, 25 Feb 2015 18:52:35 -0800, Garrett Cooper yaneurab...@gmail.com 
wrote:

 
  On Feb 25, 2015, at 18:08, Kevin Oberman rkober...@gmail.com wrote:
  
  On Wed, Feb 25, 2015 at 2:30 PM, Garrett Cooper yaneurab...@gmail.com 
  wrote:
  On Feb 25, 2015, at 14:19, Miguel Clara miguelmcl...@gmail.com wrote:
  
  ...
  
   I noticed this too, but in that case why doesn't it affect all users? 
   (or all the ones using dnscrypt+local_unbound) maybe something changed 
   in NETWORKING recently?
  
   Hum:
   https://svnweb.freebsd.org/base/head/etc/rc.d/NETWORKING?r1=275299r2=278704
  
   Interesting, as I am using the most recent version which does not 
   REQUIRE local_unbound
  
   I'm even more confused now :|
  
  
   So it has to come after SERVERS but before local_unbound. But NETWORKING 
   depends on local_unbound they are both dependent on NEWORKING which has 
   to be after SERVERS. Can you say fubar! Clearly broken. And this means 
   that removing SERVERS will re-shuffle the order more appropriately.
  
   It seems that the behavior of rcorder is not as documented as well as 
   being undefined when circular dependencies occur. The man page says that 
   rcorder aborts when it encounters a circular dependency, but that is not 
   the case. It probably is best that it not die, but that leaves things in 
   an unknown and inconsistant state, which is also a very bad idea. I 
   guess when a circular dependency is encountered, a dichotomy occurs.
  
  Now you know why I’m so curious about all of this stuff.
  
  When I was working on ^/projects/building-blocks, I was able to move most 
  of these pieces around by changing REQUIRE: to BEFORE:, but I noticed that 
  it changes the rcorder a bit, so I haven’t been super gung ho in 
  implementing my change.
  
  I think there are a couple bugs present on 9-STABLE/10-STABLE/11-CURRENT:
  
  - Things go awry if named is removed/not installed.
  - Things go awry if local_unbound is removed (which would have been the 
  case if the rc.d script was removed from your system, which existed before 
  my changes).
  - Other rc.d scripts not being present might break assumptions.
  
  I need to create dummy providers for certain logical stages (DNS is one of 
  them) to solve part of this problem and provide third parties with a 
  mechanism that can be depended on (I wish applications were written in a 
  more robust manner to fail gracefully and retry instead of failing flat on 
  their face, but as I’ve seen at several jobs, getting developers to fail, 
  then retry is hard :(…).
  
  Another short-term hack:
  
  Install dummy/no-op providers so the ordering is preserved, then remove 
  the hacks after all of the bugs have been shaken out.
  
  Thanks!
  
  Garret, 
  
  Also undocumented (except in rcorder.c) is that the lack of a provider is 
  not an error. This effectively makes a list of providers into an OR. So, 
  for name service the normal list is named local_unbound unbound and any 
  will work for ordering and having none is a no-op, so if you don't run any 
  nameserver (or kerberos or whatever provider), it is not an issue. As long 
  as rcorder finds a provider, it will be used to set the order, but the lack 
  of any or all providers just means that the specified provider is ignored 
  and if a REQUIRES or BEFORE lists no existing providers, the statement is 
  simply ignored.
  
  The real problem is that there is no defined rule for behavior in the event 
  of a circular dependency and any change to any decision point in the 
  ordering process may change the way the ordering flips. That is why these 
  things are such a royal pain to debug. A change in any rc.d script may 
  cause the ordering of seemingly unrelated scripts to change, perhaps 
  drastically, and the error messages, while not misleading, is only a 
  starting point in tracking this down. This means there may be time bombs 
  that break working ports without their being touched or even re-installed. 
  And the triggering change my, itself be correct.
 
 Or etc/rc.d/named...
 
 PROVIDES: DNS
 



I don't know if this is adding not-relevancy to this thread or not... I've a 
long persistent dbus-daemon* *uuid*
(names approximate, not saved during boot) two start ... failures during 
rc...  despite reinstalling the ports
and dependencies, particularly the .so. files mentioned (not included here...  

uuidd_enable=YES   (e2fsprogs* )
dbus_enable=YES  (*dbus*) 

beginning v9 OR v10 ( not recollecting enough...) and persisting thenceforth.

Maybe those two could also be similarly fixed to this thread's one
Despite not being in use day-to-day... nor particularly relevant... installed 
only conventionally.

___
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-25 Thread Piotr Kubaj
Although I'm not on CURRENT, I can reproduce this problem on my PC's
running 10.1-RELEASE. It started on 31st January on only 1 PC and then
appeared on others after a few days. I update ports on a daily basis, so
that may be a hint. Strangely, only 3 of 5 of my computers are affected.
Once it appears during a reboot, it never goes away during other
reboots, so manual start of dnscrypt-proxy is required.

The same also happens with fuse on another computer, but that is a
separate issue.
___
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-25 Thread Kevin Oberman
On Tue, Feb 24, 2015 at 6:05 PM, Miguel Clara miguelmcl...@gmail.com
wrote:



 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 

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

2015-02-25 Thread Miguel Clara
On Wed, Feb 25, 2015 at 9:58 PM, Kevin Oberman rkober...@gmail.com wrote:

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



 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.

 

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

2015-02-25 Thread Garrett Cooper
On Feb 25, 2015, at 14:19, Miguel Clara miguelmcl...@gmail.com wrote:

...

 I noticed this too, but in that case why doesn't it affect all users? (or all 
 the ones using dnscrypt+local_unbound) maybe something changed in 
 NETWORKING recently?
 
 Hum:
 https://svnweb.freebsd.org/base/head/etc/rc.d/NETWORKING?r1=275299r2=278704
 
 Interesting, as I am using the most recent version which does not REQUIRE 
 local_unbound 
 
 I'm even more confused now :|
 
 
 So it has to come after SERVERS but before local_unbound. But NETWORKING 
 depends on local_unbound they are both dependent on NEWORKING which has to be 
 after SERVERS. Can you say fubar! Clearly broken. And this means that 
 removing SERVERS will re-shuffle the order more appropriately. 
 
 It seems that the behavior of rcorder is not as documented as well as being 
 undefined when circular dependencies occur. The man page says that rcorder 
 aborts when it encounters a circular dependency, but that is not the case. It 
 probably is best that it not die, but that leaves things in an unknown and 
 inconsistant state, which is also a very bad idea. I guess when a circular 
 dependency is encountered, a dichotomy occurs.

Now you know why I’m so curious about all of this stuff.

When I was working on ^/projects/building-blocks, I was able to move most of 
these pieces around by changing REQUIRE: to BEFORE:, but I noticed that it 
changes the rcorder a bit, so I haven’t been super gung ho in implementing my 
change.

I think there are a couple bugs present on 9-STABLE/10-STABLE/11-CURRENT:

- Things go awry if named is removed/not installed.
- Things go awry if local_unbound is removed (which would have been the case if 
the rc.d script was removed from your system, which existed before my changes).
- Other rc.d scripts not being present might break assumptions.

I need to create dummy providers for certain logical stages (DNS is one of 
them) to solve part of this problem and provide third parties with a mechanism 
that can be depended on (I wish applications were written in a more robust 
manner to fail gracefully and retry instead of failing flat on their face, but 
as I’ve seen at several jobs, getting developers to fail, then retry is hard 
:(…).

Another short-term hack:

Install dummy/no-op providers so the ordering is preserved, then remove the 
hacks after all of the bugs have been shaken out.

Thanks!


signature.asc
Description: Message signed with OpenPGP using GPGMail


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

2015-02-25 Thread Kevin Oberman
On Wed, Feb 25, 2015 at 2:30 PM, Garrett Cooper yaneurab...@gmail.com
wrote:

 On Feb 25, 2015, at 14:19, Miguel Clara miguelmcl...@gmail.com wrote:

 ...

  I noticed this too, but in that case why doesn't it affect all users?
 (or all the ones using dnscrypt+local_unbound) maybe something changed in
 NETWORKING recently?
 
  Hum:
 
 https://svnweb.freebsd.org/base/head/etc/rc.d/NETWORKING?r1=275299r2=278704
 
  Interesting, as I am using the most recent version which does not
 REQUIRE local_unbound
 
  I'm even more confused now :|
 
 
  So it has to come after SERVERS but before local_unbound. But NETWORKING
 depends on local_unbound they are both dependent on NEWORKING which has to
 be after SERVERS. Can you say fubar! Clearly broken. And this means that
 removing SERVERS will re-shuffle the order more appropriately.
 
  It seems that the behavior of rcorder is not as documented as well as
 being undefined when circular dependencies occur. The man page says that
 rcorder aborts when it encounters a circular dependency, but that is not
 the case. It probably is best that it not die, but that leaves things in an
 unknown and inconsistant state, which is also a very bad idea. I guess when
 a circular dependency is encountered, a dichotomy occurs.

 Now you know why I’m so curious about all of this stuff.

 When I was working on ^/projects/building-blocks, I was able to move most
 of these pieces around by changing REQUIRE: to BEFORE:, but I noticed that
 it changes the rcorder a bit, so I haven’t been super gung ho in
 implementing my change.

 I think there are a couple bugs present on 9-STABLE/10-STABLE/11-CURRENT:

 - Things go awry if named is removed/not installed.
 - Things go awry if local_unbound is removed (which would have been the
 case if the rc.d script was removed from your system, which existed before
 my changes).
 - Other rc.d scripts not being present might break assumptions.

 I need to create dummy providers for certain logical stages (DNS is one of
 them) to solve part of this problem and provide third parties with a
 mechanism that can be depended on (I wish applications were written in a
 more robust manner to fail gracefully and retry instead of failing flat on
 their face, but as I’ve seen at several jobs, getting developers to fail,
 then retry is hard :(…).

 Another short-term hack:

 Install dummy/no-op providers so the ordering is preserved, then remove
 the hacks after all of the bugs have been shaken out.

 Thanks!


Garret,

Also undocumented (except in rcorder.c) is that the lack of a provider is
not an error. This effectively makes a list of providers into an OR. So,
for name service the normal list is named local_unbound unbound and any
will work for ordering and having none is a no-op, so if you don't run any
nameserver (or kerberos or whatever provider), it is not an issue. As long
as rcorder finds a provider, it will be used to set the order, but the lack
of any or all providers just means that the specified provider is ignored
and if a REQUIRES or BEFORE lists no existing providers, the statement is
simply ignored.

The real problem is that there is no defined rule for behavior in the event
of a circular dependency and any change to any decision point in the
ordering process may change the way the ordering flips. That is why these
things are such a royal pain to debug. A change in any rc.d script may
cause the ordering of seemingly unrelated scripts to change, perhaps
drastically, and the error messages, while not misleading, is only a
starting point in tracking this down. This means there may be time bombs
that break working ports without their being touched or even re-installed.
And the triggering change my, itself be correct.
--
Kevin Oberman, Network Engineer, Retired
E-mail: rkober...@gmail.com
___
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-25 Thread Garrett Cooper

 On Feb 25, 2015, at 18:08, Kevin Oberman rkober...@gmail.com wrote:
 
 On Wed, Feb 25, 2015 at 2:30 PM, Garrett Cooper yaneurab...@gmail.com 
 wrote:
 On Feb 25, 2015, at 14:19, Miguel Clara miguelmcl...@gmail.com wrote:
 
 ...
 
  I noticed this too, but in that case why doesn't it affect all users? (or 
  all the ones using dnscrypt+local_unbound) maybe something changed in 
  NETWORKING recently?
 
  Hum:
  https://svnweb.freebsd.org/base/head/etc/rc.d/NETWORKING?r1=275299r2=278704
 
  Interesting, as I am using the most recent version which does not REQUIRE 
  local_unbound
 
  I'm even more confused now :|
 
 
  So it has to come after SERVERS but before local_unbound. But NETWORKING 
  depends on local_unbound they are both dependent on NEWORKING which has to 
  be after SERVERS. Can you say fubar! Clearly broken. And this means that 
  removing SERVERS will re-shuffle the order more appropriately.
 
  It seems that the behavior of rcorder is not as documented as well as 
  being undefined when circular dependencies occur. The man page says that 
  rcorder aborts when it encounters a circular dependency, but that is not 
  the case. It probably is best that it not die, but that leaves things in 
  an unknown and inconsistant state, which is also a very bad idea. I guess 
  when a circular dependency is encountered, a dichotomy occurs.
 
 Now you know why I’m so curious about all of this stuff.
 
 When I was working on ^/projects/building-blocks, I was able to move most of 
 these pieces around by changing REQUIRE: to BEFORE:, but I noticed that it 
 changes the rcorder a bit, so I haven’t been super gung ho in implementing 
 my change.
 
 I think there are a couple bugs present on 9-STABLE/10-STABLE/11-CURRENT:
 
 - Things go awry if named is removed/not installed.
 - Things go awry if local_unbound is removed (which would have been the case 
 if the rc.d script was removed from your system, which existed before my 
 changes).
 - Other rc.d scripts not being present might break assumptions.
 
 I need to create dummy providers for certain logical stages (DNS is one of 
 them) to solve part of this problem and provide third parties with a 
 mechanism that can be depended on (I wish applications were written in a 
 more robust manner to fail gracefully and retry instead of failing flat on 
 their face, but as I’ve seen at several jobs, getting developers to fail, 
 then retry is hard :(…).
 
 Another short-term hack:
 
 Install dummy/no-op providers so the ordering is preserved, then remove the 
 hacks after all of the bugs have been shaken out.
 
 Thanks!
 
 Garret, 
 
 Also undocumented (except in rcorder.c) is that the lack of a provider is not 
 an error. This effectively makes a list of providers into an OR. So, for name 
 service the normal list is named local_unbound unbound and any will work 
 for ordering and having none is a no-op, so if you don't run any nameserver 
 (or kerberos or whatever provider), it is not an issue. As long as rcorder 
 finds a provider, it will be used to set the order, but the lack of any or 
 all providers just means that the specified provider is ignored and if a 
 REQUIRES or BEFORE lists no existing providers, the statement is simply 
 ignored.
 
 The real problem is that there is no defined rule for behavior in the event 
 of a circular dependency and any change to any decision point in the ordering 
 process may change the way the ordering flips. That is why these things are 
 such a royal pain to debug. A change in any rc.d script may cause the 
 ordering of seemingly unrelated scripts to change, perhaps drastically, and 
 the error messages, while not misleading, is only a starting point in 
 tracking this down. This means there may be time bombs that break working 
 ports without their being touched or even re-installed. And the triggering 
 change my, itself be correct.

Or etc/rc.d/named...

PROVIDES: DNS

I'm going to post a fix up for this on arch@/rc@ because it needs to be solved 
in a saner way -- especially for systems that are pedantic about rcorder, like 
our version at $work.


___
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/* /usr/local

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: 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 

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

2015-02-23 Thread Miguel Clara
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,

Running dmesg -a I see this relvant part:
% dmesg -a | grep dns -A20
Starting dnscrypt_proxy.
Shared object libsodium.so.13 not found, required by dnscrypt-proxy
/etc/rc: WARNING: failed to start dnscrypt_proxy
Starting local_unbound.
Starting pflogd:
Starting pflog.
pflog0: promiscuous mode enabled
Enabling pfNo ALTQ support in kernel
ALTQ related functions disabled
No ALTQ support in kernel
ALTQ related functions disabled
.
add net fe80::: gateway ::1
add net ff02::: gateway ::1
add net :::0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
add net default: gateway fe80::62a4:4cff:fe28:13c0%wlan0
Waiting 30s for the default route interface: .(no carrier)
ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib
/usr/local/lib/compat /usr/local/lib/gcc47 /usr/local/lib/libxul
/usr/local/lib/nss /usr/local/llvm35/lib
32-bit compatibility ldconfig path: /usr/lib32 /usr/local/lib32/compat

So it seems that the issue is that ldconfig runs after the service is
started and so when it starts I doens't know about the shared lib (or where
to look for it)

How can I fix this behaviour?

Thanks
___
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-23 Thread Mark Felder


On Mon, Feb 23, 2015, at 12:43, Miguel Clara 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,
 
 Running dmesg -a I see this relvant part:
 % dmesg -a | grep dns -A20
 Starting dnscrypt_proxy.
 Shared object libsodium.so.13 not found, required by dnscrypt-proxy
 /etc/rc: WARNING: failed to start dnscrypt_proxy
 Starting local_unbound.
 Starting pflogd:
 Starting pflog.
 pflog0: promiscuous mode enabled
 Enabling pfNo ALTQ support in kernel
 ALTQ related functions disabled
 No ALTQ support in kernel
 ALTQ related functions disabled
 .
 add net fe80::: gateway ::1
 add net ff02::: gateway ::1
 add net :::0.0.0.0: gateway ::1
 add net ::0.0.0.0: gateway ::1
 add net default: gateway fe80::62a4:4cff:fe28:13c0%wlan0
 Waiting 30s for the default route interface: .(no carrier)
 ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib
 /usr/local/lib/compat /usr/local/lib/gcc47 /usr/local/lib/libxul
 /usr/local/lib/nss /usr/local/llvm35/lib
 32-bit compatibility ldconfig path: /usr/lib32 /usr/local/lib32/compat
 
 So it seems that the issue is that ldconfig runs after the service is
 started and so when it starts I doens't know about the shared lib (or
 where
 to look for it)
 
 How can I fix this behaviour?
 

If you edit the dnscrypt-proxy rc script to say:

# REQUIRE: SERVERS cleanvar ldconfig

Does that help?
___
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-23 Thread Miguel Clara
Probably does... I'll reboot to make sure, but that will surely do it :)

I wasn't aware we could set ldconfig in the rc.d scripts... thanks for
sharing.


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

On Mon, Feb 23, 2015 at 9:44 PM, Mark Felder f...@freebsd.org wrote:



 On Mon, Feb 23, 2015, at 12:43, Miguel Clara 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,
 
  Running dmesg -a I see this relvant part:
  % dmesg -a | grep dns -A20
  Starting dnscrypt_proxy.
  Shared object libsodium.so.13 not found, required by dnscrypt-proxy
  /etc/rc: WARNING: failed to start dnscrypt_proxy
  Starting local_unbound.
  Starting pflogd:
  Starting pflog.
  pflog0: promiscuous mode enabled
  Enabling pfNo ALTQ support in kernel
  ALTQ related functions disabled
  No ALTQ support in kernel
  ALTQ related functions disabled
  .
  add net fe80::: gateway ::1
  add net ff02::: gateway ::1
  add net :::0.0.0.0: gateway ::1
  add net ::0.0.0.0: gateway ::1
  add net default: gateway fe80::62a4:4cff:fe28:13c0%wlan0
  Waiting 30s for the default route interface: .(no carrier)
  ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib
  /usr/local/lib/compat /usr/local/lib/gcc47 /usr/local/lib/libxul
  /usr/local/lib/nss /usr/local/llvm35/lib
  32-bit compatibility ldconfig path: /usr/lib32 /usr/local/lib32/compat
 
  So it seems that the issue is that ldconfig runs after the service is
  started and so when it starts I doens't know about the shared lib (or
  where
  to look for it)
 
  How can I fix this behaviour?
 

 If you edit the dnscrypt-proxy rc script to say:

 # REQUIRE: SERVERS cleanvar ldconfig

 Does that help?
 ___
 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

___
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-23 Thread Miguel Clara


On February 23, 2015 10:04:19 PM WET, Miguel Clara miguelmcl...@gmail.com 
wrote:
Probably does... I'll reboot to make sure, but that will surely do it
:)

I wasn't aware we could set ldconfig in the rc.d scripts... thanks for
sharing.




Hum just tested and its still starting before ldconfig runs and so the issue 
remains. 

:/

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
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-23 Thread Miguel Clara


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. 



Cheers!

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___
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-23 Thread Garrett Cooper
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?

Cheers!


signature.asc
Description: Message signed with OpenPGP using GPGMail


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

2015-02-23 Thread NGie Cooper
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?
___
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-23 Thread Miguel Clara
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
___
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-23 Thread Garrett Cooper
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/* /usr/local/etc/rc.d/* | awk 
‘/SERVERS|cleanvar|ldconfig|dbus/ { print NR, $0 }’


signature.asc
Description: Message signed with OpenPGP using GPGMail