Hi,
given your feedback I was continuing to reproduce with:
* new Xenial container
* install nis
* avoid known bug 1558196
$ sudo /bin/systemctl add-wants multi-user.target rpcbind.service
* Config in /etc/default/nis: NISSERVER=master
* Config in /etc/yp.conf: ypserver 127.0.0.1
* Initialize with
$ sudo /usr/lib/yp/ypinit -m
$ service ypbind restart
$ service rpcbind restart
* Test if your config works
$ ypcat passwd
should show something like
ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash
* Trigger the bug
$ yppasswd -p ubuntu
Changing NIS account information for ubuntu on xenial-test.
Please enter root password:
Changing NIS password for ubuntu on xenial-test.
Please enter new password:
Please retype new password:
RPC: Unable to receive
The NIS password has not been changed on xenial-test.
This pretty much looks like your issue I think
* I find this in the dmesg
[20235.104479] rpc.yppasswdd[18166]: segfault at 0 ip 00007fe1eb41cb5a sp
00007ffcf114a6d8 error 4 in libc-2.23.so[7fe1eb37e000+1c0000]
Please note that I was unable to use your:
"$NEWNAME:x:$NEWUID:1000:$DESC:/home/$NEWNAME:/bin/bash"
I can't add it to the dbm files and if I do so to /etc/passwd yp just
never recognizes it as valid user.
But since the auto-inituali user being ubuntu is enough to trigger that is
ok.
I'm checking Yakkety and Debian next to get a feeling where things got
broken, updating soon I hope.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1629107
Title:
rpc.yppasswdd dumps core
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nis/+bug/1629107/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs