Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Oct 2005 23:39:10 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Lefteris Tsintjelis <lefty@ene.asda.gr>
Cc:        freebsd-stable@freebsd.org, freebsd-questions@freebsd.org
Subject:   Re: Is rcorder working under /usr/local/etc/rc.d?
Message-ID:  <20051015203910.GA60135@flame.pc>
In-Reply-To: <435154BA.8030307@ene.asda.gr>
References:  <435154BA.8030307@ene.asda.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2005-10-15 22:12, Lefteris Tsintjelis <lefty@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'.




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