Subject: port-alpha/6254: mountd seg fault with NIS netgroup
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthew ALDOUS <mda@bdl.mhri.edu.au>
List: netbsd-bugs
Date: 10/06/1998 16:05:29
>Number: 6254
>Category: port-alpha
>Synopsis: mountd seg faults for netgroups without host entries
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Oct 5 23:20:01 1998
>Last-Modified:
>Originator: Matthew ALDOUS
>Organization:
Mental Health Research Institute
>Release: 1.3.2
>Environment:
System: NetBSD bdl 1.3.2 NetBSD 1.3.2 (ALCOR) #5: Mon Sep 21 15:16:35 EST 1998 root@bdl:/usr/src/sys/arch/alpha/compile/ALCOR alpha
>Description:
If a netgroup is used in /etc/exports, and the netgroup is defined
as a NIS map (eg, netgroup (,-,domain) ) , then mountd will seg fault,
unless the hosts are specifically mentioned. (eg, netgroup(host,-,-) )
>How-To-Repeat:
----------------------------------------
[/]cat /etc/netgroup
netgroup (,,,)
[/]ypcat -k netgroup
netgroup (,,,)
[/]cat /etc/exports
/var/mail netgroup
[/]/usr/sbin/mountd
Segmentation fault (core dumped)
----------------------------------------
[/]cat /etc/netgroup
netgroup (localhost,,,)
[/]ypcat -k netgroup
netgroup (localhost,,,)
[/]cat /etc/exports
/var/mail netgroup
[/]/usr/sbin/mountd
----------------------------------------
>Fix:
>Audit-Trail:
>Unformatted: