On Mon, May 10, 2021 at 06:45:40PM +0900, Yasuhiro Kimura wrote:
From: Francesco Paolo Lovergine <france...@lovergine.com>
Subject: Re: Bug#987920: ypbind-mt: /etc/defaultdomain should be created at 
installation time
Date: Sun, 02 May 2021 08:48:06 +0200

Indeed, the general NIS howto included in the nis package provides the full 
documentation for who upgrades
or install both servers and clients. A small per program README could probably 
be a good idea for minimal
setup. My original idea was having the nis package as a doc only package after 
bullseye. It is now a
migration package, instead. Well, I think that a simple README file could be 
added at this stage of
release...

According to the unit file of ypbind.service, the value of YPBINDARGS
environment variable is passed as arguments when systemd starts ypbind
process. Then how does user set it if he wants to start ypbind with
arguments? As far as I see the unit file this package doesn't seem to
provide the way to set it. I'm not familiar with systemd but does
systemd itself provide such functionality?


Just set all vars in /etc/default/nis, this is the same approach used in the old package and init file. Of course it is also possible to override the default unit file with and administrator provided one in /etc/systemd

--
Francesco P. Lovergine

Reply via email to