Hi Michael,

On Fri, Aug 12, 2022 at 09:48:51AM +0000, Michael Fitoussi wrote:
> 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

I'm sorry, but this is not a user support forum.  You should probably refer
to /usr/share/doc/nis/NEWS.Debian.gz in the 22.04 version of the nis package
which explains what changes the Debian maintainer has made and how users are
expected to configure/use the packages in the new version.  Failing that,
you can try asking on https://askubuntu.com.  However, these packages are
pass-through from Debian, not anything that is actively maintained by the
Ubuntu community, so your mileage may vary as far as support is concerned.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org

Attachment: signature.asc
Description: PGP signature

-- 
Ubuntu-motu mailing list
Ubuntu-motu@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu

Reply via email to