Summary: | Migration tools fail when empty lines exist in input files. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jesse <gentoobugzilla> |
Component: | Current packages | Assignee: | Robin Johnson <robbat2> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www.gentoo.org/doc/en/ldap-howto.xml | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jesse
2005-01-07 18:01:30 UTC
oops, and the ever-lovable emerge info... Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.3-mm4 i686) ================================================================= System uname: 2.6.3-mm4 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.16 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux-headers-2.4.19-r1,sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=pentium3 -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -mcpu=pentium3 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms" GENTOO_MIRRORS="http://gentoo.oregonstate.edu/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 acl alsa apache1 apm berkdb bitmap-fonts cdr chroot crypt cups doc encode fam fbcon foomaticdb fortran gdbm gif gpm gtk2 imagemagick jpeg kerberos ldap libclamav libwww mad mikmod motif mpeg mysql ncurses nls oggvorbis opengl openssh oss pam pdflib perl png postgres python rage128 readline ruby samba scanner sdl slang snmp spell ssl svga tcpd tiff truetype xml2 xv zlib" your /etc/passwd is invalid. it should never contain blank lines. they violate the original POSIX/SUS specifications - which say a blank line should be treated as the end of file. The glibc base NSS currently accepts it begrudgingly, but it is strongly discouraged. if you still want migration-tools fixed, attach a patch and reopen this. I'm not much of a coder myself, or I would attach a patch. However, right or wrong, I think some kind of error-catching/warning is in order rather than producing an invalid output. when it finds the empty like, it should stop according to the posix spec, not produce an invalid LDIF entry and move on. |