set_rcvar load_rc_config run_rc_command: all not found

Karol Kwiatkowski freebsd at
Wed Jan 26 03:43:00 PST 2005

Christian Hiris wrote:
> On Wednesday 26 January 2005 05:45:05, Duane Winner wrote:
>>I've just noticed (after spending the past two weeks testing
>>5.3-release), that I'm getting this on every boot and shutdown:
>>    Local package initialization:set_rcvar: not found
>>    load_rc_config: not found
>>    run_rc_command: not found
>>Everything seems to be working fine, but I sure would like to know where
>>those "set_rcvar", "load_rc_config" and "run_rc_command" not found
>>messages are coming from and why.
> This messages were sent by a script, which resides in one of your local 
> startup directories. If you use the default local startup directories, then 
> search the scripts under /usr/local/etc/rc.d and /usr/X11R6/etc/rc.d for the 
> variables that couldn't be found. The script that wants to run the functions 
> set_rcvar, load_rc_config and run_rc_command requires the line 
> ". /etc/rc.subr". This line sucks in the file /etc/rc.subr and makes the 
> missing functions available to your script. 

Noticed this today. In my case /usr/X11R6/etc/rc.d/ was found
guilty (xorg-fontserver).

There's only "." instead of ". /etc/rc.subr"

If I'm reading changes[1] right it has been fixed about 3 hours ago.




Karol Kwiatkowski  <freebsd at orchid dot homeunix dot org>

More information about the freebsd-questions mailing list