set_rcvar load_rc_config run_rc_command: all not found

Duane Winner dwinner-lists at att.net
Wed Jan 26 06:37:50 PST 2005


Yup!:

Karol Kwiatkowski wrote:

>Christian Hiris wrote:
>  
>
>>On Wednesday 26 January 2005 05:45:05, Duane Winner wrote:
>>
>>    
>>
>>>Hello,
>>>
>>>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/xfs.sh 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.
>
>  
>
That was it...I just cvsup'ed my ports a few minutes ago and 
portupgraded xorg-fontserver, and the errors went away.

Thanks,
Duane

>Regards,
>
>Karol
>
>[1]http://www.freebsd.org/cgi/cvsweb.cgi/ports/x11-servers/xorg-fontserver/Makefile
>
>  
>


More information about the freebsd-questions mailing list