Subject: pkg/15279: Samba 2.2.2 rc.d scripts respond $nmbd and $smbd
To: None <>
From: None <>
List: netbsd-bugs
Date: 01/17/2002 10:36:14
>Number:         15279
>Category:       pkg
>Synopsis:       Samba 2.2.2 rc.d scripts respond $nmbd and $smbd
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 17 10:36:00 PST 2002
>Originator:     Chris Tribo
>Release:        1.5.2 1/16/01 sources
NetBSD hostname 1.5.2 NetBSD 1.5.2 (conf) #0: Wed Jan 16 14:57:36 EST
2002     root@hostname:/usr/src/sys/arch/i386/compile/conf i386
Samba 2.2.2 from pkgsrc builds fine, but the rc.d scripts respond $smbd and $nmbd are not set correctly. 
copy /usr/pkg/etc/rc.d/{samba,nmbd,smbd} /etc/rc.d ; /etc/rc.d/samba start
My fix was to hardcode the names into the rc files in place of $name, obviously not the appropriate fix. I'm probably overlooking something simple.