Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jun 2020 09:19:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 247626] net/py-wsdd: Update to 0.6.1
Message-ID:  <bug-247626-7788-znBKBkK4g3@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-247626-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-247626-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247626

--- Comment #4 from Hiroo Ono <hiroo.ono+freebsd@gmail.com> ---
Created attachment 216065
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D216065&action=
=3Dedit
proposed rc.d script.

> The vendor version has an unnecesary dependency on Samba (testparm) just =
for something like "set the workgroup name", and does not let you set your =
own flags in rc.conf for wsdd (often needed for things like "-i em0").  Tha=
t's a feature I really, really needed.

How about attached rc.d script. With it, you can just add
    wsdd_suppflags=3D"-i em0"
in rc.conf and the rc.d script detect the workgroup automatically.
There are alternative choices to write workgroup in rc.conf like
    wsdd_group=3D"WORKGROUP"
to overwrite automatically detected one, or
    wsdd_domain=3D"EXAMPLE.COM"
to replace "-w WORKGROUP" with "-d EXAMPLE.COM".

wsdd_flags=3D... does not work, because it will be automatically added to t=
he
arguments of $command, but if there is a better word than 'suppflags', I wi=
ll
change the variable name.

If this is OK, I think I need to check at least NetBSD and OpenBSD's daemon
command and rc script if the above rc.d script might work before reporting =
it
to upstream.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-247626-7788-znBKBkK4g3>