Processed: Retry: Re: Bug#563724: libc6 use syscall utimensat unimplemented by etch kernel

2010-01-05 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> unmerge 563724
Bug#563724: futimens() is not POSIX compliant
Bug#563726: futimens() is not POSIX compliant
Bug#563754: futimens() is not POSIX compliant
Disconnected #563724 from all other report(s).

> reassign 563726 tar
Bug #563726 [libc6] futimens() is not POSIX compliant
Bug #563754 [libc6] futimens() is not POSIX compliant
Bug reassigned from package 'libc6' to 'tar'.
Bug reassigned from package 'libc6' to 'tar'.
Bug No longer marked as found in versions eglibc/2.10.2-3.
Bug No longer marked as found in versions eglibc/2.10.2-3.
> retitle 563726 tar: call futimens() with a bad file descriptor (AT_FDCWD)
Bug #563726 [tar] futimens() is not POSIX compliant
Bug #563754 [tar] futimens() is not POSIX compliant
Changed Bug title to 'tar: call futimens() with a bad file descriptor 
(AT_FDCWD)' from 'futimens() is not POSIX compliant'
Changed Bug title to 'tar: call futimens() with a bad file descriptor 
(AT_FDCWD)' from 'futimens() is not POSIX compliant'
> severity 563726 important
Bug #563726 [tar] tar: call futimens() with a bad file descriptor (AT_FDCWD)
Bug #563754 [tar] tar: call futimens() with a bad file descriptor (AT_FDCWD)
Severity set to 'important' from 'normal'

Severity set to 'important' from 'normal'

> reassign 563754 coreutils
Bug #563754 [tar] tar: call futimens() with a bad file descriptor (AT_FDCWD)
Bug #563726 [tar] tar: call futimens() with a bad file descriptor (AT_FDCWD)
Bug reassigned from package 'tar' to 'coreutils'.
Bug reassigned from package 'tar' to 'coreutils'.
> retitle 563754 tar: call futimens() with a bad file descriptor (AT_FDCWD)
Bug #563754 [coreutils] tar: call futimens() with a bad file descriptor 
(AT_FDCWD)
Bug #563726 [coreutils] tar: call futimens() with a bad file descriptor 
(AT_FDCWD)
Ignoring request to change the title of bug#563754 to the same title
Ignoring request to change the title of bug#563726 to the same title
> severity 563754 important
Bug #563754 [coreutils] tar: call futimens() with a bad file descriptor 
(AT_FDCWD)
Bug #563726 [coreutils] tar: call futimens() with a bad file descriptor 
(AT_FDCWD)
Ignoring request to change severity of Bug 563754 to the same value.
Ignoring request to change severity of Bug 563726 to the same value.
> block 563724 by 563726
Bug #563724 [libc6] futimens() is not POSIX compliant
Was not blocked by any bugs.
Added blocking bug(s) of 563724: 563726 and 563754
> block 563724 by 563754
Bug #563724 [libc6] futimens() is not POSIX compliant
Was blocked by: 563726 563754
Ignoring request to alter blocking bugs of bug #563724 to the same blocks 
previously set
> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


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



Processed (with 10 errors): Re: Bug#563724: libc6 use syscall utimensat unimplemented by etch kernel

2010-01-05 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> clone 563724 -1
Bug#563724: libc6 use syscall utimensat unimplemented by etch kernel
Bug is marked as being merged with others. Use an existing clone.

> clone 563724 -2
Bug#563724: libc6 use syscall utimensat unimplemented by etch kernel
Bug is marked as being merged with others. Use an existing clone.

> reassign -1 tar
Failed to clear fixed versions and reopen on -1: The 'bug' parameter ("-1") to 
Debbugs::Control::set_package did not pass regex check


> severity -1 important
Failed to set severity of Bug -1 to important: The 'bug' parameter ("-1") to 
Debbugs::Control::set_severity did not pass regex check


> retitle -1 tar: call futimens() with a bad file descriptor
Failed to set the title of -1: The 'bug' parameter ("-1") to 
Debbugs::Control::set_title did not pass regex check


> reassign -2 coreutils
Failed to clear fixed versions and reopen on -2: The 'bug' parameter ("-2") to 
Debbugs::Control::set_package did not pass regex check


> severity -2 important
Failed to set severity of Bug -2 to important: The 'bug' parameter ("-2") to 
Debbugs::Control::set_severity did not pass regex check


> retitle -2 touch: call futimens() with a bad file descriptor (AT_FDCWD)
Failed to set the title of -2: The 'bug' parameter ("-2") to 
Debbugs::Control::set_title did not pass regex check


> retitle 563724 futimens() is not POSIX compliant
Bug #563724 [libc6] libc6 use syscall utimensat unimplemented by etch kernel
Bug #563726 [libc6] libc6-2.10.2-3 may break utime on folders
Bug #563754 [libc6] libc6-2.10.2-3 may break utime on folders
Changed Bug title to 'futimens() is not POSIX compliant' from 'libc6 use 
syscall utimensat unimplemented by etch kernel'
Changed Bug title to 'futimens() is not POSIX compliant' from 'libc6-2.10.2-3 
may break utime on folders'
Changed Bug title to 'futimens() is not POSIX compliant' from 'libc6-2.10.2-3 
may break utime on folders'
> block 563724 by -1
Failed to set blocking bugs of 563724: Invalid blocking bug(s):-1

> block 563724 by -2
Failed to set blocking bugs of 563724: Invalid blocking bug(s):-2

> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


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



Bug#563724: libc6 use syscall utimensat unimplemented by etch kernel

2010-01-05 Thread Aurelien Jarno
clone 563724 -1
clone 563724 -2
reassign -1 tar
severity -1 important
retitle -1 tar: call futimens() with a bad file descriptor
reassign -2 coreutils
severity -2 important
retitle -2 touch: call futimens() with a bad file descriptor (AT_FDCWD)
retitle 563724 futimens() is not POSIX compliant
block 563724 by -1
block 563724 by -2
thanks

On Mon, Jan 04, 2010 at 10:09:16PM +0100, Bill Allombert wrote:
> Package: libc6
> Version: 2.10.2-3
> 
> Hello Debian libc maintainers,
> 
> I run a sid chroot on top of etch, using the etch kernel linux 2.6.18-6-686,
> and dpkg started to fail with
> tar: ./preinst: Cannot utime: Bad file descriptor
> 
> touch also fails:
> 
> %mkdir /tmp/bar
> %touch /tmp/bar
> touch: setting times of `/tmp/bar': Bad file descriptor
> strace report:
> utimensat(AT_FDCWD, "/tmp/bar", NULL, 0) = -1 ENOSYS (Function not 
> implemented)
> 
> It seems that the issue is that the etch kernel does not implement
> utimensat. 

The problem is actually different. The utimensat is called by tar or
touch, which when it does not exists fallback to futimens(). This part
hasn't changed.

futimens() in glibc is now POSIX 2008 compliant, and return -EBADF when
a bad file descriptor is passed. This is actually what tar and touch
do when it calls futimens(AT_FDCWD, ...).

I will temporarily revert this patch, and I am cloning this bug to tar
and touch so that they are fixed. I'll reapply it when they are fixed.

-- 
Aurelien Jarno  GPG: 1024D/F1BCDB73
aurel...@aurel32.net http://www.aurel32.net



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



Bug#563724: libc6 use syscall utimensat unimplemented by etch kernel

2010-01-04 Thread Bill Allombert
Package: libc6
Version: 2.10.2-3

Hello Debian libc maintainers,

I run a sid chroot on top of etch, using the etch kernel linux 2.6.18-6-686,
and dpkg started to fail with
tar: ./preinst: Cannot utime: Bad file descriptor

touch also fails:

%mkdir /tmp/bar
%touch /tmp/bar
touch: setting times of `/tmp/bar': Bad file descriptor
strace report:
utimensat(AT_FDCWD, "/tmp/bar", NULL, 0) = -1 ENOSYS (Function not implemented)

It seems that the issue is that the etch kernel does not implement
utimensat. 

A similar report can be found at:


Cheers,
Bill.

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

Kernel: Linux 2.6.18-6-686 (SMP w/2 CPU cores)
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-5  GCC support library

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

Versions of packages libc6 suggests:
ii  debconf [debconf-2.0] 1.5.28 Debian configuration management sy
pn  glibc-doc  (no description available)
ii  locales   2.10.2-2   GNU C Library: National Language (



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