Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Apr 2021 19:28:30 +0900 (JST)
From:      Yasuhiro Kimura <yasu@utahime.org>
To:        freebsd-ports@freebsd.org, freebsd-stable@freebsd.org
Subject:   Re: How to make 'named' rc script invokded earlier at boot time
Message-ID:  <20210430.192830.81070476206975927.yasu@utahime.org>
In-Reply-To: <202104300925.13U9P4me001645@nuc.oldach.net>
References:  <20210430.171510.1646879613648433205.yasu@utahime.org> <202104300925.13U9P4me001645@nuc.oldach.net>

next in thread | previous in thread | raw e-mail | index | archive | help
From: b56fpu@oldach.net (Helge Oldach)
Subject: Re: How to make 'named' rc script invokded earlier at boot time
Date: Fri, 30 Apr 2021 11:25:03 +0200 (CEST)

> Looks like this is caused by security/trousers which has "BEFORE: named hastd". This port had been touched 3 weeks ago.

You provide me very good hint!

On my home server security/trousers and emulators/tpm-emulator are
installed as dependencies of security/gnutls. They install
/usr/local/etc/rc.d/tcsd and /usr/local/etc/rc.d/tpmd respectivley.
And there is circular dependency between these 2 rc srcipts and
/usr/local/etc/rc.d/named.

----------------------------------------------------------------------
root@eastasia[1067]# 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: Circular dependency on file `/usr/local/etc/rc.d/named'.
rcorder: Circular dependency on provision `fake_prov_00000004': /usr/local/etc/rc.d/tcsd -> /usr/local/etc/rc.d/tpmd -> /etc/rc.d/SERVERS -> /usr/local/etc/rc.d/named -> /usr/local/etc/rc.d/tcsd.
rcorder: `/usr/local/etc/rc.d/named' was seen in circular dependencies for 1 times.
rcorder: `/etc/rc.d/SERVERS' was seen in circular dependencies for 1 times.
rcorder: `/usr/local/etc/rc.d/tpmd' was seen in circular dependencies for 1 times.
rcorder: `/usr/local/etc/rc.d/tcsd' was seen in circular dependencies for 1 times.
rcorder: `/usr/local/etc/rc.d/named' was seen in circular dependencies for 1 times.
root@eastasia[1068]#
----------------------------------------------------------------------

If I temporally move /usr/local/etc/rc.d/tcsd to somewhere else and
add 'ntpdate' to 'BEFORE' line of /usr/local/etc/rc.d/named, then
'named' comes before 'ntpupdate' in the result of rcorder.

---
Yasuhiro Kimura



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210430.192830.81070476206975927.yasu>