NetBSD Problem Report #51691

From www@NetBSD.org  Mon Dec  5 11:29:23 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 2E5C27A2FE
	for <gnats-bugs@gnats.NetBSD.org>; Mon,  5 Dec 2016 11:29:23 +0000 (UTC)
Message-Id: <20161205112922.0C2B87A354@mollari.NetBSD.org>
Date: Mon,  5 Dec 2016 11:29:22 +0000 (UTC)
From: hacman@math.uni-bonn.de
Reply-To: hacman@math.uni-bonn.de
To: gnats-bugs@NetBSD.org
Subject: samba4: useless rc-script samba
X-Send-Pr-Version: www-1.0

>Number:         51691
>Category:       pkg
>Synopsis:       samba4: useless rc-script samba
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 05 11:30:00 +0000 2016
>Last-Modified:  Wed Apr 19 20:35:01 +0000 2017
>Originator:     Manuel Hachtkemper
>Release:        pkgsrc-2016Q1
>Organization:
Mathematisches Institut der Universität Bonn
>Environment:
NetBSD warnow.math.uni-bonn.de 6.1_STABLE NetBSD 6.1_STABLE (MI-Server) #6: Mon Feb 15 13:45:03 CET 2016  support@trave.math.uni-bonn.de:/usr/obj/sys/arch/amd64/compile/miserv amd64
Architecture: x86_64
Machine: amd64
>Description:
The net/samba4 rc-script "samba" is useless right now, because it tries to start a non-existent sbin/samba executable.
Instead, it would be more helpful, if this script could be a wrapper for handling smbd, nmbd and winbind -- at least this is what the rc-script in net/samba does.

(It was suggested, that I should file a pr here: https://mail-index.netbsd.org/pkgsrc-users/2016/12/01/msg024041.html )
>How-To-Repeat:
Install net/samba4 and start /etc/rc.d/samba.
>Fix:

>Audit-Trail:
From: Robert Elz <kre@munnari.OZ.AU>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51691 (samba4: useless rc-script samba)
Date: Thu, 20 Apr 2017 03:10:05 +0700

 Not only is the useless rc.d/samba installed (in examples/rc.d - along
 with a MESSAGE indicating it can be started once installed) the
 files/winbindd.sh rc.d script for winbindd is not installed (and
 again, the MESSAGE indicates that starting smbd nmbd (which have
 working rc.d scripts) and winbindd gives a different service
 (alternative to using the nom functional rc.d/samba)

 Also, according to its web page, samba4 is at vers 4.6.2
 the pkgsrc version is 4.3.9 ...

From: Robert Elz <kre@munnari.OZ.AU>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51691 (samba4: useless rc-script samba)
Date: Thu, 20 Apr 2017 03:30:19 +0700

     Date:        Wed, 19 Apr 2017 20:15:01 +0000 (UTC)
     From:        Robert Elz <kre@munnari.OZ.AU>
     Message-ID:  <20170419201501.6C9077A285@mollari.NetBSD.org>

   |  Also, according to its web page, samba4 is at vers 4.6.2
   |  the pkgsrc version is 4.3.9 ...

 Ignore this, I hadn't noticed that the pkg had (fairly) recently been
 updated ...   I'll update and try again.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.