in place upgrade from 18.04 to 18.10 breaks NIS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nis (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
After upgrading in place servers which are NIS clients from ubuntu-mate 18.04 to ubuntu-mate 18.10, nis will not start upon boot. systemctl enable nis and systemctl start nis will not start nis. However, purging and then re-installing fixes. I.e. Save NIS conf file, cp /etc/yp.conf /etc/yp.save; apt purge nis; apt install nis; cp /etc/yp.save /etc/yp.conf; systemctl enable nis, systemctl start nis; now it works and will start properly after a reboot. This may seem trivial but it seriously broke many services for my customers until I figured it out.
ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: nis 3.17.1-3 [modified: etc/yp.conf]
ProcVersionSign
Uname: Linux 4.18.0-
ApportVersion: 2.20.10-0ubuntu13
Architecture: amd64
CurrentDesktop: MATE
Date: Mon Oct 22 19:39:23 2018
SourcePackage: nis
UpgradeStatus: Upgraded to cosmic on 2018-10-22 (0 days ago)
mtime.conffile.
The change below fixed this for me. This is related to Debian bug report #906436.
[1]: https:/ /bugs.debian. org/906436
default/nis: Remove unsupported option
Currently the service *nis* fails to start, after upgrading to Ubuntu
18.10.
> * Drop -no-dbus from YPBINDARGS= in /etc/default/nis. D-Bus support, so setting
> We no longer build nis with NetworkManager/
> this option made ypbind fail to start. (Closes: #906436)
[1]: https:/ /bugs.launchpad .net/ubuntu/ +source/ nis/+bug/ 1799335/
diff --git a/default/nis b/default/nis
index 5b230a0..fdd10ee 100644
--- a/default/nis
+++ b/default/nis
@@ -25,7 +25,7 @@ NISMASTER=
YPSERVARGS=
# Additional options to be given to ypbind when it is started. -no-dbus
-YPBINDARGS=
+YPBINDARGS=
# Additional options to be given to yppasswdd when it is started. Note
# that if -p is set then the YPPWDDIR above should be empty.