Help with NIS on ubuntu 22.04
Michael Fitoussi
Michael.Fitoussi at mobileye.com
Fri Aug 12 09:48:51 UTC 2022
Hello
I've a docker image based FROM ubuntu:18.04
At the end of the image, I've:
# Configure NIS
COPY yp.conf /etc/yp.conf
COPY nsswitch.conf /etc/nsswitch.conf
COPY default-nis /etc/default/nis
COPY common-session /etc/pam.d/common-session
RUN echo 'mobileye' > /etc/defaultdomain
RUN /etc/init.d/rpcbind restart
RUN /etc/init.d/nis restart
All is fine and I can see in the build output:
Step 53/55 : RUN /etc/init.d/nis restart
---> Running in 0fe8684241e3
* Stopping NIS services
...done.
* Starting NIS services
* binding to YP server...
* ....
* ....
* ....
* ....
* ....
* ....
* ....
* ....
* ....
* ....
...fail!
...done.
However, when migrating to FROM ubuntu:22.04, the /etc/init.d/nis doesn't exists
I've tried to replace it with:
* RUN /etc/init.d/ypxfrd restart
* RUN /etc/init.d/ypbind restart
* RUN /etc/init.d/ypbind reload
* ...
but nothing helped to have my tpclient binded to my ypserver
Any help / external link / other will be greatly appreciated.
Thanks a lot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-motu/attachments/20220812/8593d3e7/attachment.html>
More information about the Ubuntu-motu
mailing list