Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Nov 2002 01:26:57 +0300 (MSK)
From:      Sergey Mokryshev <mokr@mokr.net>
To:        freebsd-current@freebsd.org
Subject:   rc_ng breakage introduced with src/etc/rc.d/Makefile 1.5
Message-ID:  <20021127010358.R620-100000@lemori.mokr.ru>

next in thread | raw e-mail | index | archive | help
Hello.


In the revision 1.5 of src/etc/rc.d/Makefile Gordon introduces the
following breakage into rc_ng scripts (didn't find it early, because
installed boxes works as expected and the bug introduce itself
a) only with a new installations;
b) when rcorder run manually)

root@girvas-gw:/etc/rc.d# rcorder -k FreeBSD -s nostart * >/dev/null
rcorder: requirement `ppp' in file `rpcbind' has no providers.
rcorder: requirement `beforenetlkm' in file `ipsec' has no providers.
rcorder: requirement `beforenetlkm' in file `ipfilter' has no providers.
rcorder: requirement `altqd' in file `NETWORKING' has no providers.
rcorder: requirement `dhclient' in file `NETWORKING' has no providers.
rcorder: requirement `network' in file `NETWORKING' has no providers.
rcorder: requirement `wscons' in file `syslogd' has no providers.
rcorder: requirement `sysdb' in file `syslogd' has no providers.
rcorder: requirement `mountall' in file `accounting' has no providers.
rcorder: requirement `mountall' in file `amd' has no providers.
rcorder: requirement `mountall' in file `cleartmp' has no providers.
rcorder: requirement `mountall' in file `ldconfig' has no providers.
rcorder: requirement `beforemountlkm' in file `mountd' has no providers.
rcorder: requirement `mountall' in file `mountd' has no providers.
rcorder: requirement `aftermountlkm' in file `securelevel' has no
providers.


Another one found -
Once you install /usr/ports/net/bind9-dlz WITH_OPENSSL=yes it can not
start, because /etc/rc.d/ldconfig seed /var/run/ld-elf.so.hints later
and /usr/local/sbin/named depends on the libraries in  /usr/local/lib

# ldd /usr/local/sbin/named
/usr/local/sbin/named:
  libcrypto.so.3 => /usr/local/lib/libcrypto.so.3 (0x281aa000)
  libmysqlclient.so.10 => /usr/local/lib/mysql/libmysqlclient.so.10
(0x28272000)
  libz.so.2 => /usr/lib/libz.so.2 (0x28290000)
  libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x2829e000)
  libm.so.2 => /usr/lib/libm.so.2 (0x282b7000)
  libc_r.so.5 => /usr/lib/libc_r.so.5 (0x282d5000)
  libc.so.5 => /usr/lib/libc.so.5 (0x282f8000)

As a quick fix I've added ldconfig as a dependancy to /etc/rc.d/SERVERS,
but I'm not sure if it breaks something in diskless environments.

I could not find a PR on this. Should I fill one?


Sincerely yours,
Sergey Mokryshev.

-- 
Sergey S. Mokryshev <mokr@mokr.net>
SMP453, MOKR-RIPN



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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