Is rcorder working under /usr/local/etc/rc.d?

Giorgos Keramidas keramida at ceid.upatras.gr
Sat Oct 15 13:40:40 PDT 2005


On 2005-10-15 22:12, Lefteris Tsintjelis <lefty at ene.asda.gr> wrote:
> I am getting all these "no provider" and rcorder doesn't seem to work
> properly under /usr/local/etc/rc.d. Services seem to start
> alphabetically and not in the right order specified. The keywords
> REQUIRE, PROVIDE, BEFORE and KEYWORD seem to be ignored. Services like
> SERVERS, NETWORKING, LOGIN, etc, are all provided within /etc/rc.d.
>
> rcorder /usr/local/etc/rc.d/*
>
> rcorder: requirement `SERVERS' in file `squid.sh' has no providers.
> rcorder: requirement `NETWORKING' in file `squid.sh' has no providers.
> rcorder: requirement `DAEMON' in file `snmptrapd.sh' has no providers.
[...]

These look like stuff that is "provided" by /etc/rc.d/* scripts.

Try including all the scripts in the rcorder command line:

% flame:/home/keramida$ rcorder  /usr/local/etc/rc.d/* >/dev/null
% rcorder: file `/usr/local/etc/rc.d/samba.sh' is before unknown provision `DAEMON'
% rcorder: requirement `named' in file `/usr/local/etc/rc.d/samba.sh' has no providers.
% rcorder: requirement `SERVERS' in file `/usr/local/etc/rc.d/samba.sh' has no providers.
% rcorder: requirement `NETWORKING' in file `/usr/local/etc/rc.d/samba.sh' has no providers.
% rcorder: requirement `ldconfig' in file `/usr/local/etc/rc.d/perforce.sh.sample' has no providers.
% rcorder: requirement `ldconfig' in file `/usr/local/etc/rc.d/mysql.sh' has no providers.
% rcorder: requirement `ldconfig' in file `/usr/local/etc/rc.d/000.pkgtools.sh' has no providers.

% flame:/home/keramida$ rcorder /etc/rc.d/* /usr/local/etc/rc.d/* >/dev/null
% rcorder: Circular dependency on provision `mountcritremote' in file `/etc/rc.d/newsyslog'.
% rcorder: Circular dependency on provision `mountcritremote' in file `/etc/rc.d/syslogd'.



More information about the freebsd-questions mailing list