Bug#336661: bash: assertion fails when logging in to NIS account

2005-11-05 Thread Justin Pryzby
reassign 336661 bash, libc6
severity 336661 important
thanks

On Mon, Oct 31, 2005 at 02:22:27PM -0500, Bradley, James D. wrote:
 Package: bash
 Version: 3.0-17
 Severity: normal
  
 *** Please type your report below this line ***
  
 On my NIS client system (running nis 3.15-2), I have my NIS accounts
 imported using a netgroup in /etc/passwd and /etc/shadow
 ([EMAIL PROTECTED]:::...).
 When I try to log in or su to a NIS account, I get the following error:
  
 bash: nss_nis/nis-netgrp.c:79: _nss_nis_setnetgrent: Assertion
 `malloc_usable_size (netgrp-data) = len + 1' failed.
Since thats a glibc file, I suspect a glibc bug.  Libraries should
never fail assertions.  In fact, shouldn't assertions be disabled with
-DNDEBUG=1?

-- 
Clear skies,
Justin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#336661: bash: assertion fails when logging in to NIS account

2005-10-31 Thread Bradley, James D. CONT (EAGAN, MCALLISTER ASSOC Dept 723)
Title: Message



Package: bashVersion: 
3.0-17Severity: normal

*** Please type your report below 
this line ***

On my NIS client system (running nis 
3.15-2), I have my NIS accountsimported using a netgroup in /etc/passwd and 
/etc/shadow ([EMAIL PROTECTED]:::...).When I try to log 
in or su to a NIS account, I get the following error:

bash: nss_nis/nis-netgrp.c:79: 
_nss_nis_setnetgrent: Assertion `malloc_usable_size (netgrp-data) = len 
+ 1' failed.

and bash exits immediately. 
When I modify /etc/passwd and /etc/shadow toimport all NIS users rather than 
only those in the netgroup, bash works fine.

-- System Information:Debian 
Release: testing/unstable APT prefers testing APT policy: 
(500, 'testing')Architecture: i386 (i686)Shell: /bin/sh linked to 
/bin/bashKernel: Linux 2.6.13.4Locale: LANG=en_US, LC_CTYPE=en_US 
(charmap=ISO-8859-1)

Versions of packages bash depends 
on:ii 
base-files 
3.1.9 Debian base system miscellaneous 
fii 
libc6 
2.3.5-6 GNU C Library: Shared libraries anii 
libncurses5 
5.4-9 Shared libraries for terminal 
handii 
passwd 
1:4.0.13-1 change and administer password and

bash recommends no 
packages.

-- no debconf 
information