[PATCH] /etc/rc: WARNING: $compat5x_enable is not set properly - see rc.conf(5).

Doug Barton dougb at FreeBSD.org
Mon Dec 26 14:19:55 PST 2005


RW wrote:
> On Monday 26 December 2005 17:14, Andre Guibert de Bruet wrote:
>> During startup, I am now seeing the following message:
>> /etc/rc: WARNING: $compat5x_enable is not set properly - see rc.conf(5).
>>
>> I believe this message is saying that the compat5x-i386 package now
>> requires a value to be set in the compat5x_enable variable.
>>
>> I attached a patch that fixes the lack of a default value for this
>> variable

Lack of a default value is a feature, as it draws attention to the problem, 
and suggests the correct solution.

> Should this not default to "YES"?
> 
> compat5x is a library dependence, why should a library dependence need to be 
> turned-on in rc.conf?

We are actually changing the way that library dependencies are handled, so 
this will not be an issue going forward. In general, it is bad form for any 
boot script to enable itself without user interaction.

Doug

-- 

     This .signature sanitized for your protection



More information about the freebsd-ports mailing list