Package: libc6; Maintainer for libc6 is GNU Libc Maintainers <debian-glibc@lists.debian.org>; Source for libc6 is src:glibc (PTS, buildd, popcon).
Reported by: Richard Kettlewell <rjk-direct@greenend.org.uk>
Date: Tue, 28 Apr 1998 23:33:01 UTC
Severity: normal
Found in version 2.0.7pre1-4
Fixed in version glibc/2.2-6
Done: owner@bugs.debian.org (Debian Bug Tracking System)
Bug is archived. No further changes may be made.
View this report as an mbox folder, status mbox, maintainer mbox
Report forwarded to debian-bugs-dist@lists.debian.org, Juan Cespedes <cespedes@debian.org>
:
Bug#21839
; Package libc6
.
(full text, mbox, link).
Acknowledgement sent to Richard Kettlewell <rjk-direct@greenend.org.uk>
:
New bug report received and forwarded. Copy sent to Juan Cespedes <cespedes@debian.org>
.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: libc6 Version: 2.0.7pre1-4 glibc's implementation of fgets() (and presumably other read functions) return an error when they encounter EINTR. I note that this is a change from the behaviour of the 5.4.17-1 libc5 package, though the 5.4.38-1 libc5 package behaves the same as glibc. sfere has Debian libc5 5.4.38-1 and Debian libc6 2.0.7pre1-4:- : sfere; cat t.c #include <stdio.h> #include <signal.h> #include <unistd.h> void handler(int sig) { char buffer[1024]; sprintf(buffer, "signal handler called, sig=%d\n", sig); write(2, buffer, strlen(buffer)); } main() { char buffer[1024]; struct sigaction sa; sa.sa_handler = handler; sigemptyset(&sa.sa_mask); sa.sa_flags = 0; sigaction(SIGINT, &sa, NULL); fgets(buffer, sizeof buffer, stdin); if(ferror(stdin)) { perror("stdin"); } return 0; } : sfere; i486-linuxlibc1-gcc -o t t.c : sfere; ldd ./t libc.so.5 => /lib/libc.so.5 (0x4000f000) : sfere; ./t signal handler called, sig=2 stdin: Interrupted system call : sfere; gcc -o t t.c : sfere; ldd ./t libc.so.6 => /lib/libc.so.6 (0x40013000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) : sfere; ./t signal handler called, sig=2 stdin: Interrupted system call : sfere; chiark has Debian libc5 5.4.17-1:- : chiark; gcc -o t t.c : chiark; ./t signal handler called, sig=2 signal handler called, sig=2 signal handler called, sig=2 : chiark;
Reply sent to owner@bugs.debian.org (Debian Bug Tracking System)
:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Richard Kettlewell <rjk-direct@greenend.org.uk>
:
Bug acknowledged by developer.
(full text, mbox, link).
Message #10 received at 21839-done@bugs.debian.org (full text, mbox, reply):
[Message part 1 (application/pgp, inline)]
This is an automatic notification regarding your Bug report #42912: glibc changes break gdm (maybe others?), which was filed against the libc6 package. It has been closed by one of the developers, namely Ben Collins <bcollins@debian.org>. Their explanation is attached below. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact the developer directly, or email 42912@bugs.debian.org or me. Darren Benham (administrator, Debian Bugs database) Received: (at 42912-close) by bugs.debian.org; 18 Dec 2000 20:09:01 +0000 >From troup@auric.debian.org Mon Dec 18 14:09:01 2000 Return-path: <troup@auric.debian.org> Received: from auric.debian.org [206.246.226.45] (mail) by master.debian.org with esmtp (Exim 3.12 1 (Debian)) id 1486ai-0008Pc-00; Mon, 18 Dec 2000 14:09:00 -0600 Received: from troup by auric.debian.org with local (Exim 3.12 1 (Debian)) id 1486O0-0000Zw-00; Mon, 18 Dec 2000 14:55:52 -0500 From: Ben Collins <bcollins@debian.org> To: 42912-close@bugs.debian.org Subject: Bug#42912: fixed in glibc 2.2-6 Message-Id: <E1486O0-0000Zw-00@auric.debian.org> Sender: James Troup <troup@auric.debian.org> Date: Mon, 18 Dec 2000 14:55:52 -0500 Delivered-To: 42912-close@bugs.debian.org We believe that the bug you reported is fixed in the latest version of glibc, which has been installed in the Debian FTP archive: libc6-dev_2.2-6_powerpc.deb to pool/main/g/glibc/libc6-dev_2.2-6_powerpc.deb locales_2.2-6_all.deb to pool/main/g/glibc/locales_2.2-6_all.deb libc6-prof_2.2-6_sparc.deb to pool/main/g/glibc/libc6-prof_2.2-6_sparc.deb nscd_2.2-6_powerpc.deb to pool/main/g/glibc/nscd_2.2-6_powerpc.deb libc6-dbg_2.2-6_sparc.deb to pool/main/g/glibc/libc6-dbg_2.2-6_sparc.deb nscd_2.2-6_i386.deb to pool/main/g/glibc/nscd_2.2-6_i386.deb i18ndata_2.2-6_all.deb to pool/main/g/glibc/i18ndata_2.2-6_all.deb libc6-prof_2.2-6_powerpc.deb to pool/main/g/glibc/libc6-prof_2.2-6_powerpc.deb libc6-i686_2.2-6_i386.deb to pool/main/g/glibc/libc6-i686_2.2-6_i386.deb libc6-dbg_2.2-6_i386.deb to pool/main/g/glibc/libc6-dbg_2.2-6_i386.deb libc6-pic_2.2-6_sparc.deb to pool/main/g/glibc/libc6-pic_2.2-6_sparc.deb libc6_2.2-6_i386.deb to pool/main/g/glibc/libc6_2.2-6_i386.deb glibc_2.2-6.diff.gz to pool/main/g/glibc/glibc_2.2-6.diff.gz libc6-dev_2.2-6_i386.deb to pool/main/g/glibc/libc6-dev_2.2-6_i386.deb libc6-pic_2.2-6_i386.deb to pool/main/g/glibc/libc6-pic_2.2-6_i386.deb glibc_2.2-6.dsc to pool/main/g/glibc/glibc_2.2-6.dsc libc6_2.2-6_sparc.deb to pool/main/g/glibc/libc6_2.2-6_sparc.deb libc6-prof_2.2-6_i386.deb to pool/main/g/glibc/libc6-prof_2.2-6_i386.deb nscd_2.2-6_sparc.deb to pool/main/g/glibc/nscd_2.2-6_sparc.deb glibc-doc_2.2-6_all.deb to pool/main/g/glibc/glibc-doc_2.2-6_all.deb libc6-pic_2.2-6_powerpc.deb to pool/main/g/glibc/libc6-pic_2.2-6_powerpc.deb libc6-dbg_2.2-6_powerpc.deb to pool/main/g/glibc/libc6-dbg_2.2-6_powerpc.deb libc6-dev_2.2-6_sparc.deb to pool/main/g/glibc/libc6-dev_2.2-6_sparc.deb libc6-v9_2.2-6_sparc.deb to pool/main/g/glibc/libc6-v9_2.2-6_sparc.deb libc6_2.2-6_powerpc.deb to pool/main/g/glibc/libc6_2.2-6_powerpc.deb libc6-i586_2.2-6_i386.deb to pool/main/g/glibc/libc6-i586_2.2-6_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 42912@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Ben Collins <bcollins@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: Fri, 15 Dec 2000 15:30:16 -0500 Source: glibc Binary: locales libc0.2-dbg glibc-doc nscd libc6-i586 libc6.1-dbg libc6-i686 libc0.2 libc6-dbg libc6-v9 libc0.2-prof libc6.1 libc6 libc0.2-pic libc6.1-prof libc6-prof libc0.2-dev libc6.1-pic libc6-pic i18ndata libc6.1-dev libc6-dev Architecture: source all sparc powerpc i386 Version: 2.2-6 Distribution: unstable Urgency: low Maintainer: Ben Collins <bcollins@debian.org> Changed-By: Ben Collins <bcollins@debian.org> Description: glibc-doc - GNU C Library: Documentation i18ndata - GNU C Library: National Language (locale) data [source] libc6 - GNU C Library: Shared libraries and Timezone data libc6-dbg - GNU C Library: Libraries with debugging symbols libc6-dev - GNU C Library: Development Libraries and Header Files. libc6-pic - GNU C Library: PIC archive library libc6-prof - GNU C Library: Profiling Libraries. libc6-v9 - GNU C Library: Shared libraries [v9 optimized] libc6-i586 - GNU C Library: Shared libraries [i586 optimized] libc6-i686 - GNU C Library: Shared libraries [i686 optimized] locales - GNU C Library: National Language (locale) data [support] nscd - GNU C Library: Name Service Cache Daemon Closes: 10689 17528 19168 20988 21272 23547 24414 24652 25773 26226 27227 29675 30427 31465 31502 33197 34442 35089 35123 35624 35644 36139 36498 37296 37409 37681 38028 39077 39080 39562 39578 39582 39585 39693 39705 40053 40184 41455 41800 41917 41947 41952 42088 42135 42512 42912 42944 46173 48476 52420 52914 53748 57101 57729 58713 59429 59622 60743 61154 64074 64878 65634 66138 66757 70012 70658 74164 74945 75473 75865 77170 78495 78881 78937 79221 79224 Changes: glibc (2.2-6) unstable; urgency=low . * Added m68k lchown fixes, plus removed conflict for libstdc++2.10-dev on m68k. Bug/patch provided by Michael Fedrowitz <michael.fedrowitz@informatik.uni-ulm.de>, closes: #78937 * libc-opt: added memprof to the death list of packages that don't work with our optimized libraries, closes: #79224 * Added Provides: glibc2.2 to libc6/libc6.1/libc0.2 so I can make locales dep on it, closes: #78495 * CVS sync as of 2000-12-15 * Fixed previously: closes: #75865, #77170, #75473 * Added a "." counter while checking services for install, closes: #78881 * %hhn works as expected in i386 in this version of glibc, closes: #79221 * Looks like this is resolved, closes: #59429 * The libc info page says not to use fgets on streams that may have NULL char's, which sockets might, closes: #57729 * This is probably fixed, if not reopen it please, closes: #24414 * Well this bug report has no report in the BTS, I am going to assume from the age and type of the title, that it is fixed, closes: #21272 * Old ld.so issue, most likely resolved in hamm, closes: #46173 * This bug is a simple programming mistake. For one the child never fills the buffer in certain cases, so it's contents are never flushed. If the program called fflush after every output, then it works fine, closes: #26226 * The new upgrade code in libc postint should resolve this, closes: #64074 * This is a compilation error. libc.so.6 does not contain fxstat (libc-nonshared.a does), so if you don't link properly (like with gcc), you will miss some symbols, closes: #36139 * Similar to the above, also resolved, closes: #30427 * Old ld.so bug, fixed, closes: #70658 * Current localedef doesn't seem to segv on improper input, closes: #65634, #64878 * YAOLDSOB (Yet Another LDSO Bug), closes: #42944 * Lack of useful info in the BTS ("I suspect glibc" doesn't cut it), closes: #36498 * Someone needs to read release notes, closes: #41455 * Uh, tzconfig works. Tzselect is not for changing timezones, but for querying what the available ones are. From tzselect(1): . Note that tzselect will not actually change the timezone for you. Use the tzconfig(8) utility to achieve this. . So you see, this is how it's meant to be, closes: #37409 * Fixed in glibc 2.2, closes: #42512 * a) all init scripts need to support restart b) postinst uses stop/start now anyway c) postinst fails much better now when things go wrong . closes: #52914 * getaddrinfo does DNS lookups regardless because of the nature of the function. Also it handles ipv4/ipv6 better now, closes: #60743 * I don't see why libc6 needs to create /etc/rcS.d/ when dpkg does it so closes: #66138 * strstr seems pretty fast now, closes: #10689 * Latest emacs/libc6 is working fine, closes: #48476 * YAOLDSOB, closes: #42135 * libstdc++-v3/glibc2.2 compiles fine together, closes: #66757 * strerror() with maxerror+1 works as expected now, closes: #40184 * No other info, and no similar reports. Assuming user error, closes: #31465 * Old ssh-nonfree getting a sigsegv is not a bug in libc6, but sshd, closes: #41800 * Restarting woffle already, closes: #74164 * I believe this was due to some old nss1 issues, which are now resolved during upgrades, closes: #35089 * This is something libc6 itself cannot fix. Either way, rsh/rlogin is broken by nature, closes: #19168 * Well, I can't retroactively go back to hamm and add a stub for setresuid(), closes: #29675 * Fixed upstream a long time ago, closes: #39693 * From unix/getlogin.c: . /* Get name of tty connected to fd 0. Return NULL if not a tty or if fd 0 isn't open. Note that a lot of documentation says that getlogin() is based on the controlling terminal---what they really mean is "the terminal connected to standard input". The getlogin() implementation of DEC Unix, SunOS, Solaris, HP-UX all return NULL if fd 0 has been closed, so this is the compatible thing to do. Note that ttyname(open("/dev/tty")) on those systems returns /dev/tty, so that is not a possible solution for getlogin(). */ . So basically, closes: #17528 * Current nis/nss-compat code looks like it handles this right, closes: #33197 * libc6 cannot compensate for broken coding, closes: #42912 * nprocs is fixed in 2.2, closes: #57101 * libdb.so.2 does have shlibs now, closes: #39578 * getcwd now returns NULL in the case shown in this bug report, so there is no suprise if the program checks the return correctly, closes: #27227 * Adduser now restarts nscd as needed, closes: #37296 * getaddrinfo fixes for ipv4/ipv6 fixes this, closes: #58713 * Programs using libc5/libc6 at the same time via dynamically loading libc5 apps from a libc6 apps) simply does not work, closes: #42088 * getaddrinfo fix, closes: #70012 * libc-64 was never meant to work right, closes: #53748 * libNoVersion.so.1 is gone, closes: #37681 * libc/postinst is file-rc friendly now, closes: #40053 * libdb2 is no longer a reference for libdb stuff, closes: #61154 * ld.so/ldconfig now have man pages, closes: #41917 * Bah, libtricks is old and gone, closes: #39080 * /var/state/glibc is gone, closes: #39562, #39705 * glibc no longer includes db/db2, so look for docs in those seperate packages, closes: #23547 * scsi/scsi.h is there, closes: #31502 * linux/joystick.h is there, closes: #38028 * db.h is no longer in libc6-dev, closes: #39077, #74945 * nprocs works on sparc now, closes: #52420 * ldd now supports libc5 better, closes: #35644 * Unreproducable, closes: #39582, #25773, #35624, #35123 * /var/lib/misc/Makefile does not refer to /var/db, closes: #41947 * llseek is obsolete, use lseek64 now, closes: #20988 * Actually this looks like an error in the program, closes: #41952 * Hmm, I would guess that libc6/libc5.4.38 is correct, and libc5.4.17 is wrong, close: #21839 * Fixed in the Before Time, during the Great Long-Long Ago, closes: #39585, #34442, #59622, #24652 * That's all for now... Files: d3f54e6f043aa7553347577e3309c740 1069 libs required glibc_2.2-6.dsc 3d6939d2bb7f0a89f02a1e24753e538d 556928 libs required glibc_2.2-6.diff.gz e140e92c90f0098b0addb515062068e9 3401834 base required libc6_2.2-6_sparc.deb 900ce8aeeec887856055b43bce16f5e5 2330376 devel standard libc6-dev_2.2-6_sparc.deb 300208e4b121c50d5c81d1fc9474a543 971026 devel extra libc6-prof_2.2-6_sparc.deb 285945a50567f8d255cb2af743b83694 2824524 devel extra libc6-dbg_2.2-6_sparc.deb fdec002e9f2388322f68042ceaeb3a4b 850026 devel extra libc6-pic_2.2-6_sparc.deb c1951c98aec054b4c386a44b1d903b3a 902314 libs extra libc6-v9_2.2-6_sparc.deb 746b27236f339608ae15cd316a3fa40b 40946 admin optional nscd_2.2-6_sparc.deb b75f644d33a1e4da03762ec621a7ff0c 576598 admin standard locales_2.2-6_all.deb b2b2914a04b057d293d1c0f281cc7d1f 2403278 admin extra i18ndata_2.2-6_all.deb e0a827139c11f580bf8d2e86d14fc9d4 2500616 doc optional glibc-doc_2.2-6_all.deb 2d6871f7f7ba478d7bc840abccfe51d7 3055550 base required libc6_2.2-6_i386.deb d4f7686f9c53d9eeada0fc0222b685a5 2174674 devel standard libc6-dev_2.2-6_i386.deb e23322ffa892918c5400123b3096d7ef 882864 devel extra libc6-prof_2.2-6_i386.deb ae37b4c99b6589b8e1531712ab5a40e0 2574304 devel extra libc6-dbg_2.2-6_i386.deb c01aa3292df57d381a609ade98b63bda 780074 devel extra libc6-pic_2.2-6_i386.deb d012076eac70e9422bd20aad2e1237a8 917116 libs extra libc6-i586_2.2-6_i386.deb 965a609bac8e3bacf0785e67b474a4f7 916004 libs extra libc6-i686_2.2-6_i386.deb 4f28bf9425bfb1f020c1193c0c28ba5b 40802 admin optional nscd_2.2-6_i386.deb 4786d4647af7cdcc6c73eef721f72a2b 3535288 base required libc6_2.2-6_powerpc.deb cd97a92d129322beb45bb808ac45b262 2162178 devel standard libc6-dev_2.2-6_powerpc.deb 318311d43eb65e8b4b0c8926c63b3af9 1052058 devel extra libc6-prof_2.2-6_powerpc.deb 9ca47cdca8776c6a0f3955f6069e6cfa 2865738 devel extra libc6-dbg_2.2-6_powerpc.deb 8c258a50112dbd55ce472a9e4d150b0a 866318 devel extra libc6-pic_2.2-6_powerpc.deb 750e6d7254851571b076285eeaaa0e19 41634 admin optional nscd_2.2-6_powerpc.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.1 (GNU/Linux) Comment: Ben Collins <bcollins@debian.org> iD8DBQE6PGMJfNc/ZB4E7C0RAhzBAJ92ZIFAtcJA0/Sc2YXoZurzY+HkcQCgorow WjEpa3xO76P2zwix5wMm18w= =TRsD -----END PGP SIGNATURE-----
Send a report that this bug log contains spam.
Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.