Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Feb 2015 10:58:36 -0800
From:      Garrett Cooper <yaneurabeya@gmail.com>
To:        Miguel Clara <miguelmclara@gmail.com>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   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")
Message-ID:  <6CFFAB58-D5E9-4355-9F0F-1A28CDCD68FF@gmail.com>
In-Reply-To: <CADGo8CVjVig6HT6o2MYMzXizFLG62WMEFTe278nq8qoOg3-akQ@mail.gmail.com>
References:  <CADGo8CURnvyLD55zs5m=hgrG9g6xct0q4ZMSNiY%2BzLA1GBi0Ug@mail.gmail.com> <CAGHfRMC1_jRQxkxu-aaJJBvqb8oPvOrCiJwOWhLsR1A81YKrEw@mail.gmail.com> <CADGo8CWyyFJXR5fD%2BYe%2BSynzH0mqfh3Fsx8ULmQzOxTwR0Bd8A@mail.gmail.com> <FF6DD5BB-7D15-4224-8EF5-DA1C89908B1B@gmail.com> <B506CD41-42F8-4DAF-B2D3-B09C70A2A28D@gmail.com> <64AF7708-217B-4AC0-A47A-AD1B0BFF7EDC@gmail.com> <CADGo8CUCCjrW-3p9F4aiwRh1fbid%2BfNjikag55%2BNheJYBUt-Rg@mail.gmail.com> <885DA4D0-9644-4F06-97C9-04EAD7B4958C@gmail.com> <CADGo8CVjVig6HT6o2MYMzXizFLG62WMEFTe278nq8qoOg3-akQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_8A2CB008-7D8A-4946-9F6B-C07C2E0C6DC6
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

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

>=20
> On Tue, Feb 24, 2015 at 6:13 PM, Garrett Cooper =
<yaneurabeya@gmail.com> wrote:
> On Feb 24, 2015, at 6:35, Miguel Clara <miguelmclara@gmail.com> wrote:
>=20
> > ]# 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 =
=91/SERVERS|cleanvar|ldconfig|dbus/ { print NR, $0 }=92
> > 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)
>=20
> 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=92s going wrong is the result of some of my =
changes to remove etc/rc.d based on build knobs=85
> Cheers,
>=20
> So much like the movies them... damn.... :X
>=20
> 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:
>=20
> "Circular dependency on provision", but the man says:
> A set of files has a circular dependency which was	detected while =
processing the stated condition.
>=20
> So it should mean that 'A' requires 'B' but 'B' requires 'A'... but =
this does not seem to be the case=85

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=92t installed if MK_UNBOUND=3Dno).

It looks like you=92re installing world with MK_KERBEROS=3Dno.

I was going to create a dummy provider called =93DNS=94 for all scripts =
to depend on (and named/unbound would PROVIDE: DNS), but it would =
require backporting that script everywhere (and I haven=92t done that =
quite yet=85).

Please also run `make delete-old` and delete any stale rc.d scripts if =
prompted by mergemaster/etcupdate.

HTH,

--Apple-Mail=_8A2CB008-7D8A-4946-9F6B-C07C2E0C6DC6
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJU7MncAAoJEMZr5QU6S73enu8IAKOJIdqYwwzGiuo5/UznZQn8
oWuXvBteuBFri1YzkowX3HzjWmxtG53NGV/6GwUPvdaiArUBlbyOjv4tH4lFD6K1
wj9ft9p8J8SDvmElZ2TX1NRPXtBQ8208ifjYa7jy+9vpcS53NAcukmPg+dgq7+3d
KewIbD/7Ep1fv8dRArUpfr0GBEDUlqfWqFUFaQviDwb5looVpaeVJvApJwZMRdEl
+IXFr7bblmAz1+RvneUKKoSCyrtQsfIvoa28XKjqpNEE9HV3e2rAtoTQ0sEIzM1P
KPdC29awrDpP1s3yXJGf2s1IDR3V2qKtV/7htCSEhjIlKbj1zgrx9/46r/eqXhQ=
=x+1b
-----END PGP SIGNATURE-----

--Apple-Mail=_8A2CB008-7D8A-4946-9F6B-C07C2E0C6DC6--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6CFFAB58-D5E9-4355-9F0F-1A28CDCD68FF>