Subject: pkg/32080: (samba) load_rc_config_var: not found
To: None <,,>
From: None <>
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
 > Starting nmbd.
 > load_rc_config_var: not found

load_rc_config_var was added and pulled up post-2.0.

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.


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.