Subject: pkg/32080: (samba) load_rc_config_var: not found
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <gavan@coolfactor.org>
List: pkgsrc-bugs
Date: 11/15/2005 16:01:00
>Number:         32080
>Category:       pkg
>Synopsis:       (samba) load_rc_config_var: not found
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 15 16:01:00 +0000 2005
>Originator:     Gavan Fantom
>Release:        NetBSD 2.0_BETA
>Organization:
>Environment:
>Description:
 > Starting nmbd.
 > load_rc_config_var: not found

load_rc_config_var was added and pulled up post-2.0.

>How-To-Repeat:
Install samba on a NetBSD 2.0ish box, from before load_rc_config_var was added to rc.conf. Use the example rc.d script supplied to start samba.

>Fix:

Workaround is to update /etc/rc.subr on the target machine, but this should work out of the box. pkgsrc needs to either not rely on this functionality yet, or needs to test for its presence and arrange for it to be upgraded if necessary.