[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#369536: marked as done (_nss_nis_setnetgrent: Assertion `len > 0' failed)

Your message dated Fri, 13 Apr 2007 11:08:12 +0200
with message-id <461F487C.7030705@aurel32.net>
and subject line Bug#369536: _nss_nis_setnetgrent: Assertion `len > 0' failed
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: libc6
Version: 2.3.6-9
Severity: important

if in /etc/nsswitch.conf:

netgroup:       nis

then e.g. sudo fails:

vsauer@gelnhausen: ~ > sudo bash
sudo: nss_nis/nis-netgrp.c:78: _nss_nis_setnetgrent: Assertion `len > 0' failed

and rpc.mountd fails with the same error.

If I set

netgroup: files

everything runs okay.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (990, 'stable'), (800, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE (charmap=ISO-8859-1)

Versions of packages libc6 depends on:
ii  tzdata                        2006c-2    Time Zone and Daylight Saving Time

libc6 recommends no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 2.5-1

Sergio Gelato a écrit :
> unmerge 369536
> retitle 369536 _nss_nis_setnetgrent: Assertion `len > 0' failed
> found 369536 2.3.6.ds1-13
> tags 369536 + fixed-upstream
> thanks
> This bug is about the NIS netgroup map, the others are about the
> group map. Unmerging.
> This particular bug is a duplicate of
> 	http://bugs.gentoo.org/show_bug.cgi?id=96370
> which was resolved (upstream) long ago. Basically, the assert(len > 0) 
> on line 78 of nss_nis/nis-netgrp.c should read assert(len >= 0).
> A real shame that this made it into etch.

I confirm that the bug has been fixed in glibc 2.5, I am therefore
marking the bug closed by this new version.

I will try to get this patch in the next stable update.

  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net

--- End Message ---

Reply to: