From: "Francesco P. Lovergine" <fran...@debian.org> Subject: Re: Bug#987920: ypbind-mt: /etc/defaultdomain should be created at installation time Date: Mon, 10 May 2021 11:57:36 +0200
> 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 Thank you for replay. I tried the former and it worked fine as following. ---------------------------------------------------------------------- rootz@rolling-vm-debian1[134]# cat /etc/default/nis YPBINDARGS=-no-ping rootz@rolling-vm-debian1[135]# systemctl restart ypbind.service rootz@rolling-vm-debian1[136]# ps auxwww | grep ypbind rootz 2001 0.0 0.0 94444 2688 ? Sl 19:17 0:00 /usr/sbin/ypbind -no-ping rootz 2006 0.0 0.0 7220 648 pts/3 S+ 19:17 0:00 grep ypbind rootz@rolling-vm-debian1[137]# ---------------------------------------------------------------------- And it seems to come from following line of /lib/systemd/system/ypbind.service ---------------------------------------------------------------------- Environment=YPBINDARGS= EnvironmentFile=-/etc/default/nis ---------------------------------------------------------------------- But it isn't good that user need to check unit file to know how to configure this package. So please also document it.