rc.d/tcsd requires SERVERS and asks to activate before named. rc.d/named asks to activate before SERVERS.
tcsd.in shows # PROVIDE: tcsd # REQUIRE: SERVERS tpmd # BEFORE: named hastd kerberos # KEYWORD: shutdown this seems solved. I think we could close.
(In reply to w.schwarzenfeld from comment #1) dns/bind911 has START_LATE option. I installed the option off. When executing rcorder /etc/rc.d/* /usr/local/etc/rc.d/* under that condition, I get a message "rcorder: Circular dependency on provision `SERVERS' in file `/usr/local/etc/rc.d/tcsd'.". There are more "rcorder: Circular dependency ..." messages now, so I don't know anymore :)
You are right: usr/local/etc/rc.d/915resolution rcorder: Circular dependency on provision `SERVERS' in file `/usr/local/etc/rc.d/tpmd'. /usr/local/etc/rc.d/tpmd rcorder: Circular dependency on provision `SERVERS' in file `/usr/local/etc/rc.d/tcsd'.
Created attachment 189778 [details] [patch] fix rc ordering for tpmd & tcsd Here's a patch to fix ordering problems in the rc.d scripts for security/trousers (tcsd) and emulators/tpm-emulator (tpmd). It also replaces the rc.d dependency on kerberos to be kdc instead (rc.d/kerberos was renamed to rc.d/kdc in FreeBSD 10.1).
Created attachment 189780 [details] [patch] fix rc ordering for tpmd & tcsd [v2] v2: Remove accidental cruft from patch. No substantial change vs. v1.
(In reply to John Hein from comment #5) Before this fix (attachment 189780 [details]), rcorder shows: % rcorder /usr/local/etc/rc.d/tcsd /usr/local/etc/rc.d/tpmd /usr/local/etc/rc.d/named /etc/rc.d/* | & grep rcorder rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision `kerberos' rcorder: Circular dependency on provision `SERVERS' in file `/usr/local/etc/rc.d/tpmd'. rcorder: Circular dependency on provision `SERVERS' in file `/usr/local/etc/rc.d/tcsd'.
Should there be a post-install or some other step during portlint or such to detect this?
They are two different ports, that have absolutely no relation, there cannot be any automatic way to detect this. The trousers probably need to loose the SERVERS requirement.
Awaiting Hiroki's approval of patch as maintainer.
hrs (Hiroki) seems inactive, should move it back to the pool? (I see same PR belonging to him are long time open, some since 2014).
similar problem here bug #216673 .
(In reply to Alfred Perlstein from comment #7) Re: detecting this at port install time. I think you could do something like: rcorder /etc/rc.d/* /usr/local/etc/rc.d/* > rcorder-before-install install rc.d script rcorder /etc/rc.d/* /usr/local/etc/rc.d/* > rcorder-after-install Compare before & after, and warn about any new rcorder errors. I don't have a patch, but it doesn't seem too hard to be able to add something to QA to help with this.