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

Bug#347545: marked as done (login crashes when trying to use nis)



Your message dated Sun, 15 Jan 2006 01:47:10 -0800
with message-id <E1Ey4Te-0002Au-VC@spohr.debian.org>
and subject line Bug#322011: fixed in glibc 2.3.5-12
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)

--------------------------------------
Received: (at submit) by bugs.debian.org; 11 Jan 2006 12:57:45 +0000
>From eddy@opera.com Wed Jan 11 04:57:45 2006
Return-path: <eddy@opera.com>
Received: from sam.opera.com ([193.69.113.81])
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1EwfXs-0008An-QX
	for submit@bugs.debian.org; Wed, 11 Jan 2006 04:57:45 -0800
Received: from whorl.oslo.opera.com (pat.opera.com [193.69.113.22])
	by sam.opera.com (8.12.3/8.12.3/Debian-7.1) with ESMTP id k0BCvR5R009590;
	Wed, 11 Jan 2006 12:57:27 GMT
Received: from eddy by whorl.oslo.opera.com with local (Exim 3.36 #1 (Debian))
	id 1EwfXb-0000EY-00; Wed, 11 Jan 2006 13:57:27 +0100
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Edward Welbourne <eddy@opera.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: login crashes when trying to use nis
Reply-To: eddy@opera.com
Message-ID: <20060111125727.31647.51833.reportbug@pc123.lan019.oslo.opera.com>
X-Mailer: reportbug 3.18
Date: Wed, 11 Jan 2006 13:57:27 +0100
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: nis
Version: 3.15-3
Severity: grave
Justification: renders package unusable

(arguably critical; when installed, renders login unusable)
When root tried to su - eddy it got this response on stderr:
-su: nss_nis/nis-netgrp.c:79: _nss_nis_setnetgrent: Assertion `malloc_usable_size (netgrp->data) >= len + 1' failed.

When I try to log on at a terminal, I get exactly the same response,
but without the -su: prefix (however, it was much easier to capture the
response from root's shell using 2>file, and e-mail it to myself).

I had
+::0:
as the last line of my /etc/group and
+@host::::::
as last line of /etc/passwd, for a suitable host name on our local
network, and, after first seeing the above error, also added this line
at the end of /etc/shadow, but this made no visible difference.
Naturally, I had to remove all of those before I could log in.

My nis/domain is a local domain served by another host on the local
network, which /etc/yp.conf is configured to consult; ypcat passwd's
output did include lines for eddy on that server, and /var/yp/binding/
did get entries (.1 and .2) for the domain specified.

The debconf info (which used to contain the nis/domain datum discussed
above) says nis is "not yet configured".  Since I've uninstalled nis
and re-installed it recently, I can only suppose this is due to the
installation scripts not configuring nis.  Getting to the point above
had involved a great deal of guess-work, reading of man pages,
stumbling by chance on relevant files and filling those with data by
trial and error.  Nothing made itself even remotely obvious as a "how
to tell nis to configure itself", even in the course of all that
rummaging.  Running dpkg-reconfigure, I get consulted for the
nis/domain value; it already knows the value I had configured it to by
hand; and I think this was run when I re-installed nis.  (The prompt
for this is, fundamentally, unhelpful: only when I'd got it wrong, and
rummaged a lot as above, did I discover a passing comment, probably in
a man page: from which I realized that it isn't a domain name in the
normal sense; and gleaned that the datum is stored in
/etc/defaultdomain, and must match that on the nis server, so went to
the ypserver and looked in its /etc/defaultdomain to discover the
correct value.  It would be worth saying "look in your NIS server's
/etc/defaultdomain for the authoritative version of this variable" or
some such.)  I didn't get consulted for the ypserver's IP address, nor
was I asked whether I wanted to enable nis in passwd and group.

Until the package's installation scripts ask those questions and sort
out the correct magic in /etc/*, this package is not ready for normal
mortals to use: crucial information is only available by asking
someone who already knows, or by insane amounts of effort, persistence
and lucky guess-work.  But I digress.

-- Package-specific info:

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13-1-686-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages nis depends on:
ii  debconf [debconf-2.0]     1.4.66         Debian configuration management sy
ii  libc6                     2.3.5-8        GNU C Library: Shared libraries an
ii  libgdbm3                  1.8.3-2        GNU dbm database routines (runtime
ii  libslp1                   1.2.1-5        OpenSLP libraries
ii  make                      3.80+3.81.b4-1 The GNU version of the "make" util
ii  netbase                   4.24           Basic TCP/IP networking system
ii  portmap                   5-16           The RPC portmapper
ii  sysvinit                  2.86.ds1-4     System-V like init

nis recommends no packages.

-- debconf information:
* nis/not-yet-configured:

---------------------------------------
Received: (at 322011-close) by bugs.debian.org; 15 Jan 2006 09:50:40 +0000
>From katie@ftp-master.debian.org Sun Jan 15 01:50:40 2006
Return-path: <katie@ftp-master.debian.org>
Received: from katie by spohr.debian.org with local (Exim 4.50)
	id 1Ey4Te-0002Au-VC; Sun, 15 Jan 2006 01:47:10 -0800
From: Denis Barbier <barbier@debian.org>
To: 322011-close@bugs.debian.org
X-Katie: $Revision: 1.65 $
Subject: Bug#322011: fixed in glibc 2.3.5-12
Message-Id: <E1Ey4Te-0002Au-VC@spohr.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sun, 15 Jan 2006 01:47:10 -0800
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 9

Source: glibc
Source-Version: 2.3.5-12

We believe that the bug you reported is fixed in the latest version of
glibc, which is due to be installed in the Debian FTP archive:

glibc-doc_2.3.5-12_all.deb
  to pool/main/g/glibc/glibc-doc_2.3.5-12_all.deb
glibc_2.3.5-12.diff.gz
  to pool/main/g/glibc/glibc_2.3.5-12.diff.gz
glibc_2.3.5-12.dsc
  to pool/main/g/glibc/glibc_2.3.5-12.dsc
libc6-amd64_2.3.5-12_i386.deb
  to pool/main/g/glibc/libc6-amd64_2.3.5-12_i386.deb
libc6-dbg_2.3.5-12_i386.deb
  to pool/main/g/glibc/libc6-dbg_2.3.5-12_i386.deb
libc6-dev-amd64_2.3.5-12_i386.deb
  to pool/main/g/glibc/libc6-dev-amd64_2.3.5-12_i386.deb
libc6-dev_2.3.5-12_i386.deb
  to pool/main/g/glibc/libc6-dev_2.3.5-12_i386.deb
libc6-i686_2.3.5-12_i386.deb
  to pool/main/g/glibc/libc6-i686_2.3.5-12_i386.deb
libc6-pic_2.3.5-12_i386.deb
  to pool/main/g/glibc/libc6-pic_2.3.5-12_i386.deb
libc6-prof_2.3.5-12_i386.deb
  to pool/main/g/glibc/libc6-prof_2.3.5-12_i386.deb
libc6-udeb_2.3.5-12_i386.udeb
  to pool/main/g/glibc/libc6-udeb_2.3.5-12_i386.udeb
libc6_2.3.5-12_i386.deb
  to pool/main/g/glibc/libc6_2.3.5-12_i386.deb
libnss-dns-udeb_2.3.5-12_i386.udeb
  to pool/main/g/glibc/libnss-dns-udeb_2.3.5-12_i386.udeb
libnss-files-udeb_2.3.5-12_i386.udeb
  to pool/main/g/glibc/libnss-files-udeb_2.3.5-12_i386.udeb
locales_2.3.5-12_all.deb
  to pool/main/g/glibc/locales_2.3.5-12_all.deb
nscd_2.3.5-12_i386.deb
  to pool/main/g/glibc/nscd_2.3.5-12_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 322011@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Denis Barbier <barbier@debian.org> (supplier of updated glibc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 15 Jan 2006 00:54:16 +0100
Source: glibc
Binary: libc6-dev-amd64 libc6-i686 libc6-dev-ppc64 libc0.3-pic glibc-doc libc1-udeb libc0.3 libc6.1-dev libc1-pic libc6-s390x libnss-files-udeb libc1-dbg libc6-dev-sparc64 libc0.3-dev libc6-udeb libc6-dbg libc6.1-pic libc6-dev libc0.3-prof libc6-sparcv9 libc6.1-prof libc1 locales libc6-pic libc0.3-udeb libc1-prof libc6-ppc64 libc0.3-dbg libc6-amd64 libc6-prof libc6 libc6-sparcv9b libc6.1-udeb libc6.1-dbg nscd libc6-sparc64 libnss-dns-udeb libc6.1 libc1-dev libc6-dev-s390x
Architecture: source i386 all
Version: 2.3.5-12
Distribution: unstable
Urgency: low
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Changed-By: Denis Barbier <barbier@debian.org>
Description: 
 glibc-doc  - GNU C Library: Documentation
 libc6      - GNU C Library: Shared libraries and Timezone data
 libc6-amd64 - GNU C Library: 64bit Shared libraries for AMD64
 libc6-dbg  - GNU C Library: Libraries with debugging symbols
 libc6-dev  - GNU C Library: Development Libraries and Header Files
 libc6-dev-amd64 - GNU C Library: 64bit Development Libraries for AMD64
 libc6-i686 - GNU C Library: Shared libraries [i686 optimized]
 libc6-pic  - GNU C Library: PIC archive library
 libc6-prof - GNU C Library: Profiling Libraries
 libc6-udeb - GNU C Library: Shared libraries - udeb (udeb)
 libnss-dns-udeb - GNU C Library: NSS helper for DNS - udeb (udeb)
 libnss-files-udeb - GNU C Library: NSS helper for files - udeb (udeb)
 locales    - GNU C Library: National Language (locale) data [support]
 nscd       - GNU C Library: Name Service Cache Daemon
Closes: 233308 235759 254417 254993 271549 310635 322011 328831 334762
Changes: 
 glibc (2.3.5-12) unstable; urgency=low
 .
   * debian/patches/glibc235-nis-netgrp.diff: New file to fix assertion
     failures with NIS.  (Closes: #322011)
   * Switch to quilt to handle Debian patches.
     - debian/control.in/main: add Build-Depends: quilt.
     - Replace debian/rules.d/dpatch.mk by debian/rules.d/quilt.mk.
     - Rename debian/patches/*.dpatch into debian/patches/*.diff.
     - Move localedata patches into debian/patches/localedata/
   * debian/patches/localedata/cvs-localedata.diff: Update to latest CVS.
     Among other changes:
     - locales/mn_MN: Fix date_fmt.  (Closes: #328831)
     - locales/de_DE: Add transliterations for quoting characters.
       (Closes: #235759)
     - locales/ss_ZA locales/tn_ZA locales/ve_ZA locales/nso_ZA
       locales/ts_ZA: New files.  (Closes: #254417)
     - locales/km_KH: New file.  (Closes: #334762)
     - locales/mg_MG: New file.  (Closes: #271549)
     - locales/sr_CS: New file.  (Closes: #254993)
   * debian/patches/locale-iso4217.diff: Update to latest CVS.
     This includes changes from glibc235-localedata-sr_CS.diff, which
     is no more needed.
   * debian/patches/locale-iso639.diff: New file.
   * debian/patches/locale-ku_TR.diff: New file, to provide a Kurdish
     locale needed by d-i.  This locale comes from upstream CVS, and has
     been updated to the latest patch sent to BZ870.
   * debian/patches/localedata/locale-eo_EO.diff: Apply minor updates to
     this locale file.  Add eo and eo.UTF-8 to SUPPORTED.  (Closes: #233308)
   * Import collation fixes and enhancements for localedef from
     belocs-locales-bin.
   * debian/patches/forward-backward-collation.diff: New file.  Due to the
     fixes in localedef, some bugs in code which was previously never run
     did show up.  (Closes: #310635)
   * debian/patches/locale/locale-print-LANGUAGE.diff: New file, so that
     locale displays the LANGUAGE environment variable when called without
     argument.
   * Add myself to Uploaders.
Files: 
 a06693382ef27b931960ad540efe7a6c 1924 libs required glibc_2.3.5-12.dsc
 2037775402177036c478340d62b5ea27 421739 libs required glibc_2.3.5-12.diff.gz
 1e5e1c594c0f10172a20361226fc7f0f 3333498 doc optional glibc-doc_2.3.5-12_all.deb
 3a91b9f3d9677e27dc0096a0ee608540 4122638 libs standard locales_2.3.5-12_all.deb
 461a77901b8f9a5adf9fc0304f23db4a 5028906 libs required libc6_2.3.5-12_i386.deb
 6580b1939c2222f15e3932619e23ac60 2686418 libdevel standard libc6-dev_2.3.5-12_i386.deb
 ad2fd01c39eb4cbaf53987ed136280b1 1271278 libdevel extra libc6-prof_2.3.5-12_i386.deb
 0ae91978aadb8422ef236f12bab44b87 1015694 libdevel optional libc6-pic_2.3.5-12_i386.deb
 d1e8fa359eab14385597593f69f20d52 1067672 libs extra libc6-i686_2.3.5-12_i386.deb
 d74e19e66916fd878669aca3b22dfa9c 3260760 libs standard libc6-amd64_2.3.5-12_i386.deb
 1f0da0299b2009b808933a9fb278c13a 2003042 libdevel optional libc6-dev-amd64_2.3.5-12_i386.deb
 acebf750a9b6a6f4bb05f905731b8d29 126712 admin optional nscd_2.3.5-12_i386.deb
 522c7540999266bf76a50ac59ede30fa 6533848 libdevel extra libc6-dbg_2.3.5-12_i386.deb
 525ca724a0bf0b843714df1164443ada 706104 debian-installer extra libc6-udeb_2.3.5-12_i386.udeb
 ba00fc72638a0c2a87b7b58d8a520a8e 8274 debian-installer extra libnss-dns-udeb_2.3.5-12_i386.udeb
 a7b577e6c96be19fcba507979dac9807 14774 debian-installer extra libnss-files-udeb_2.3.5-12_i386.udeb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDyg2t8Ri1lR4WGvsRAk57AJ9Q357Kz14Nfb3YUkjEa45cGqjgsACglMev
ecnxM1n8xZKNweoM0QrcLl8=
=NgLK
-----END PGP SIGNATURE-----



Reply to: