[PATCH] /etc/rc: WARNING: $compat5x_enable is not set properly
- see rc.conf(5).
Andre Guibert de Bruet
andy at siliconlandmark.com
Mon Dec 26 14:23:10 PST 2005
On Monday 26 December 2005 17:14, RW wrote:
> On Monday 26 December 2005 17:14, Andre Guibert de Bruet wrote:
>> I attached a patch that fixes the lack of a default value for this
>> variable in /usr/local/etc/rc.d/compat5x.sh (It can be found online as
>> well at http://bling.properkernel.com/freebsd/compat5x.rc.d.patch )
> Should this not default to "YES"?
> compat5x is a library dependence, why should a library dependence need
> to be turned-on in rc.conf?
Though I appreciate the modularity, I don't understand the need for the
knob in this port. Perhaps the script should be renamed to match the
naming used in ports like mysql-client and pkgtools for sake of
Through past experience with the ports system, software that requires
something to be run at startup needs to be enabled in rc.conf, which is
why I suggested the change that sets compat5x_enable to NO by default in
the rc.d script. Seeing that there isn't anything other than ldconfig
being run, maybe we should forego rcvar altogether in this script as RW
suggested. I posted the trivial one-line patch for that at
PS: Please CC me on replies. I am not subscribed to this list.
/* Andre Guibert de Bruet * 6f43 6564 7020 656f 2e74 4220 7469 6a20 */
/* Code poet / Sysadmin * 636f 656b 2e79 5320 7379 6461 696d 2e6e */
/* GSM: +1 734 846 8758 * 5520 494e 2058 6c73 7565 6874 002e 0000 */
/* WWW: siliconlandmark.com * Tormenting bytes since 1980. */
More information about the freebsd-ports