I seem to have some odd problem with my rcorder. As an example, I consider here /usr/local/etc/rc.d/ezjail.
When I run
The /usr/local/etc/rc.d/ezjail has the lines -
As one of the errors mentioned
So, ezjail requires sshd, and it is provided. Why does it still complain? And how can I fix it?
When I run
rcorder /usr/local/etc/rc.d/ezjail
I get a bunch of errors like
Code:
rcorder: file `/usr/local/etc/rc.d/ezjail' is before unknown provision `securelevel'
rcorder: requirement `sshd' in file `/usr/local/etc/rc.d/ezjail' has no providers.
rcorder: requirement `cleanvar' in file `/usr/local/etc/rc.d/ezjail' has no providers.
rcorder: requirement `LOGIN' in file `/usr/local/etc/rc.d/ezjail' has no providers.
The /usr/local/etc/rc.d/ezjail has the lines -
Code:
# PROVIDE: ezjail
# REQUIRE: LOGIN cleanvar sshd
# BEFORE: securelevel
# KEYWORD: nojail shutdown
As one of the errors mentioned
sshd
, I check the /etc/rc.d/sshd. That has a line
Code:
# PROVIDE: sshd
So, ezjail requires sshd, and it is provided. Why does it still complain? And how can I fix it?