Bug#1035967: ypserv: yphelper, yppush fail to run with segmentation fault

2024-04-12 Thread Laurent Voisin
Hi all, I was encountering the same issue on a slave NIS machine. Adding the hostname of the master in the /etc/hosts file does work around this bug. I have additionally had a look at the source code of yphelper. It seems that there is a bug in function get_canonical_hostname which can read

Bug#1035967: ypserv: yphelper, yppush fail to run with segmentation fault

2023-05-12 Thread Robert Pumphrey
On 12/05/2023 13:32, Francesco P. Lovergine wrote: On Fri, May 12, 2023 at 01:01:24PM +0100, Robert Pumphrey wrote: Thank you for the fast response. On the NIS master, I have moved the domain directory /var/yp/domain to a backup. I then ran /usr/lib/yp/ypinit -m and added the IP addresses

Bug#1035967: ypserv: yphelper, yppush fail to run with segmentation fault

2023-05-12 Thread Francesco P. Lovergine
On Fri, May 12, 2023 at 01:01:24PM +0100, Robert Pumphrey wrote: Thank you for the fast response. On the NIS master, I have moved the domain directory /var/yp/domain to a backup. I then ran /usr/lib/yp/ypinit -m and added the IP addresses of the NIS slaves. This ran successfully.

Bug#1035967: ypserv: yphelper, yppush fail to run with segmentation fault

2023-05-12 Thread Robert Pumphrey
Thank you for the fast response. On the NIS master, I have moved the domain directory /var/yp/domain to a backup. I then ran /usr/lib/yp/ypinit -m and added the IP addresses of the NIS slaves. This ran successfully. /usr/lib/yp/yphelper  --hostname   runs successfully on the master.

Bug#1035967: ypserv: yphelper, yppush fail to run with segmentation fault

2023-05-12 Thread Francesco P. Lovergine
severity 1035967 normal thanks On Fri, May 12, 2023 at 11:09:50AM +0200, Francesco P. Lovergine wrote: tags 1035967 + moreinfo unreproducible thanks Hi Rob, I just verified with a fresh installation of bookworm and it perfectly works. My first hypothesis could be about a gdbm-related

Bug#1035967: ypserv: yphelper, yppush fail to run with segmentation fault

2023-05-12 Thread Francesco P. Lovergine
tags 1035967 + moreinfo unreproducible thanks Hi Rob, I just verified with a fresh installation of bookworm and it perfectly works. My first hypothesis could be about a gdbm-related breakage. It is somethig already seen in the past and even annotatedi at sect.9 of the Debian HOWTO. NEVER CROSS

Bug#1035967: ypserv: yphelper, yppush fail to run with segmentation fault

2023-05-11 Thread Rob Pumphrey
Package: ypserv Version: 4.1-2 Severity: important Dear Maintainer, Recently upgraded our NIS master from buster to bullseye. when I run cd /var/yp; make several apps fail to run and seg fault, for example /usr/lib/yp/yphelper --hostname Segmentation fault yppush -d example.com ypservers