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

Bug#670478: coreutils: Please disable test cp/parent-perm-race on hurd-i386



Package: coreutils
Version: 8.13-3.1
Severity: normal
User: debian-hurd@lists.debian.org
Usertags: hurd

Hello,

Last test issue with coreutils on hurd-i386 is cp/parent-perm-race: it
tries to copy a fifo with the --copy-contents option.  The problem is
that cp still uses O_NOFOLLOW in that case:

open("mode/fifo", O_RDONLY|O_NOFOLLOW)

O_NOFOLLOW is actually normally meant for security, to avoid attacks
through symlink redirection.  In that case, the Hurd thus disables
translators too, to avoid any rogue translator that would achieve the
same kind attach as symlink redirection.  But then --copy-contents can
not work, since the fifo thus can not work.  I don't think either the
Hurd or coreutils will want to change their behavior, so could the test
be disabled on GNU/Hurd?

Samuel

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.4 (SMP w/8 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 coreutils depends on:
ii  dpkg          1.16.2
ii  install-info  4.13a.dfsg.1-9
ii  libacl1       2.2.51-5
ii  libattr1      1:2.4.46-5
ii  libc6         2.13-27
ii  libselinux1   2.1.9-2

coreutils recommends no packages.

coreutils suggests no packages.

-- no debconf information

-- 
Samuel Thibault <samuel.thibault@fnac.net>
Fatal Error: Found [MS-Windows] System -> Repartitioning Disk for Linux...
(By cbbrown@io.org, Christopher Browne)



Reply to: