Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#563726: libc6-2.10.2-3 may break utime on folders

3 views
Skip to first unread message

Guillaume Ayoub

unread,
Jan 4, 2010, 4:40:02 PM1/4/10
to
Package: libc6
Version: 2.10.2-3
Severity: important


Hello,

Just after upgrading libc6 from 2.10.2-2 to 2.10.2-3, utime calls fail for
folders (not for regular files). This breaks main programs such as tar, dpkg,
touch and postfix.

Here are 2 examples:

$ ls -l
drwxr-xr-x 2 user users 4096 jan. 4 17:22 test_directory
-rw-r--r-- 1 user users 0 jan. 4 17:22 test_file
$touch test_file
$touch test_directory
touch: setting times of `test_directory': Bad file descriptor

$aptitude upgrade
(...)
tar: ./postrm: Cannot utime: Bad file descriptor
tar: ./postinst: Cannot utime: Bad file descriptor
tar: ./md5sums: Cannot utime: Bad file descriptor
tar: ./shlibs: Cannot utime: Bad file descriptor
tar: ./control: Cannot utime: Bad file descriptor
tar: ./symbols: Cannot utime: Bad file descriptor
tar: .: Cannot utime: Bad file descriptor
tar: Exiting with failure status due to previous errors
dpkg-deb: subprocess tar returned error exit status 2

Downgrading /lib/libc-2.10.2.so to version 2.10.2-2 fixes the bug.

I have an ext3 partition with a lot of free space. Note that I have an old
kernel (2.6.21.1).


-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.21.1dedibox-r7
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libc6 depends on:
ii libc-bin 2.10.2-3 Embedded GNU C Library: Binaries
ii libgcc1 1:4.4.2-8 GCC support library

Versions of packages libc6 recommends:
pn libc6-i686 <none> (no description available)

Versions of packages libc6 suggests:
ii debconf [debconf-2.0] 1.5.28 Debian configuration management sy
pn glibc-doc <none> (no description available)
ii locales 2.10.2-3 Embedded GNU C Library: National L

-- debconf information excluded

--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Christian Marillat

unread,
Jan 5, 2010, 2:50:02 AM1/5/10
to
Hi,

I'm also able to reproduce this bug on a Sparc machine and a 2.6.18
kernel (latest kernel doesn't boot).

Christian

0 new messages