Bug#34683: Netgroups are not recognized in /etc/exports, /etc/hosts.allow
Package: libc6
Version: 2.1.1-0pre1.3
I am using 2.0.35 slink+potato
libc6 2.1.1-0pre1.3
netbase 3.12-2
nfs-server 2.2beta37-1
nis 3.3.1-1
I have had the same problem with
libc6 2.0.7.19981211-6
netbase 3.11-1.2
nfs-server 2.2beta37-1
Netgroups are not recognized in /etc/exports, this leads to not being able
to mount anything from the hosts in the netgroup so I get messages from
mountd about unauthorized access.
Similarly, netgroups are not recognized in /etc/hosts.allow and I get
messages from each daemon using tcp wrappers that access is not allowed.
I have tried using settings in the /etc/nsswitch.conf
netgroup: nis
netgroup: db nis
netgroup: files db nis
none of these helped (I built the db by running make from /var/db)
"ypcat netgroup" works correctly, so it is definitely not NIS problem
>From fiddling around with this, I concluded that it must be a libc
problem. I think it has some relation to the bugs 26306 and 26297.
Note, another bug that, I think, is present in libc6 2.0.7.19981211-6 +
netbase 3.11-1.2:
Using hostname pattern matching in /etc/exports does not
work but in the new libc6 2.1.1-0pre1.3 + netbase 3.12-2 it works.
(NFS-server is the same on both setups)
(an example of /etc/exports)
/usr/local @netgroup(ro) #does not work
/usr/doc *.mydomain.com #works in libc6 2.1.1-0pre1.3 only
This bug really bugs me :)
Thank you for your excellent work.
Debian is the best distribution around, thanks for keeping it this way.
Sincerely,
Anatoly Akkerman.
Reply to: