[Bug 817187] Re: change in readlink() errno in 2.6.39 and later kernels causes FTBFS for packages with older gnulib
lucid has seen the end of its life and is no longer receiving any updates. Marking the lucid task for this ticket as Won't Fix. ** Changed in: libvirt (Ubuntu Lucid) Status: Triaged = Won't Fix -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in Ubuntu. https://bugs.launchpad.net/bugs/817187 Title: change in readlink() errno in 2.6.39 and later kernels causes FTBFS for packages with older gnulib To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/817187/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 817187] Re: change in readlink() errno in 2.6.39 and later kernels causes FTBFS for packages with older gnulib
eol reached https://wiki.ubuntu.com/Releases ** Changed in: libvirt (Ubuntu Hardy) Status: Triaged = Invalid ** Changed in: libvirt (Ubuntu Natty) Status: Triaged = Invalid ** Changed in: linux (Ubuntu Oneiric) Status: In Progress = Invalid ** Changed in: linux (Ubuntu) Status: In Progress = Invalid -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in Ubuntu. https://bugs.launchpad.net/bugs/817187 Title: change in readlink() errno in 2.6.39 and later kernels causes FTBFS for packages with older gnulib To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/817187/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 817187] Re: change in readlink() errno in 2.6.39 and later kernels causes FTBFS for packages with older gnulib
** Changed in: m4 (Debian) Status: Unknown = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in Ubuntu. https://bugs.launchpad.net/bugs/817187 Title: change in readlink() errno in 2.6.39 and later kernels causes FTBFS for packages with older gnulib To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/817187/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 817187] Re: change in readlink() errno in 2.6.39 and later kernels causes FTBFS for packages with older gnulib
Have started a thread upstream to discuss this change. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in Ubuntu. https://bugs.launchpad.net/bugs/817187 Title: change in readlink() errno in 2.6.39 and later kernels causes FTBFS for packages with older gnulib To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/817187/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 817187] Re: change in readlink() errno in 2.6.39 and later kernels causes FTBFS for packages with older gnulib
Packages with gnulib in their source: main: augeas binfmt-support eglibc findutils gdb glib2.0 groff grub2 hello hello-debhelper liblouis libpipeline libtasn1-3 libvirt man-db mlocate texinfo universe/multiverse: amanda eiskaltdcpp freedink genparse hivex instantbird libdc0 libdrizzle liblouisxml mpop msmtp z80asm -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in Ubuntu. https://bugs.launchpad.net/bugs/817187 Title: change in readlink() errno in 2.6.39 and later kernels causes FTBFS for packages with older gnulib To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/817187/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 817187] Re: change in readlink() errno in 2.6.39 and later kernels causes FTBFS for packages with older gnulib
This is a notty one. The behavour has indeed changed, ENOENT was the previous return and now we return EINVAL. I do not have a POSIX manual to hand, but the gist of the restriction is as below: Empty pathname In the original Unix, the empty pathname referred to the current directory. Nowadays POSIX decrees that an empty pathname must not be resolved successfully. Linux returns ENOENT in this case. It could be argued that the new behaviour is just as valid. A change is however unhelpful. Especially as kernel behaviour is exposed in chroots. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in Ubuntu. https://bugs.launchpad.net/bugs/817187 Title: change in readlink() errno in 2.6.39 and later kernels causes FTBFS for packages with older gnulib To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/817187/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 817187] Re: change in readlink() errno in 2.6.39 and later kernels causes FTBFS for packages with older gnulib
** Description changed: This is due to the following: http://lists.gnu.org/archive/html/bug-gnulib/2011-03/msg00308.html coreutils' make check failed on rawhide due to a kernel change in how readlink and readlinkat treat the empty file name. Before, they'd fail with ENOENT. Now, it's EINVAL. This was discovered when preparing security updates for libvirt, but will affect more than libvirt, (see Debian http://bugs.debian.org/cgi- bin/bugreport.cgi?bug=630902). For libvirt, the patch in the above bug can be applied to gnulib/tests/test-areadlink.h to get these building again on newer releases. This is SRU-worthy, as libvirt will not build once the buildds are running newer kernels. If it is not SRUd before the next security update, the security team will do it as part of their update process. + + Upstream commit that introduced the change: + 65cfc6722361570bfe255698d9cd4dccaf47570d -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in Ubuntu. https://bugs.launchpad.net/bugs/817187 Title: change in readlink() errno in 2.6.39 and later kernels causes FTBFS for packages with older gnulib To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/817187/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 817187] Re: change in readlink() errno in 2.6.39 and later kernels causes FTBFS for packages with older gnulib
** Description changed: - This is due to the following: + When building packages in a chroot with gnulib testcases for readlink() on a 2.6.39 (Oneiric or newer) kernel, these packages may FTBFS. This is due to the following: http://lists.gnu.org/archive/html/bug-gnulib/2011-03/msg00308.html coreutils' make check failed on rawhide due to a kernel change in how readlink and readlinkat treat the empty file name. Before, they'd fail with ENOENT. Now, it's EINVAL. This was discovered when preparing security updates for libvirt, but will affect more than libvirt, (see Debian http://bugs.debian.org/cgi- bin/bugreport.cgi?bug=630902). For libvirt, the patch in the above bug can be applied to gnulib/tests/test-areadlink.h to get these building again on newer releases. This is SRU-worthy, as libvirt will not build once the buildds are running newer kernels. If it is not SRUd before the next security update, the security team will do it as part of their update process. Upstream commit that introduced the change: 65cfc6722361570bfe255698d9cd4dccaf47570d ** Description changed: When building packages in a chroot with gnulib testcases for readlink() on a 2.6.39 (Oneiric or newer) kernel, these packages may FTBFS. This is due to the following: http://lists.gnu.org/archive/html/bug-gnulib/2011-03/msg00308.html coreutils' make check failed on rawhide due to a kernel change in how readlink and readlinkat treat the empty file name. Before, they'd fail with ENOENT. Now, it's EINVAL. This was discovered when preparing security updates for libvirt, but will affect more than libvirt, (see Debian http://bugs.debian.org/cgi- bin/bugreport.cgi?bug=630902). For libvirt, the patch in the above bug can be applied to gnulib/tests/test-areadlink.h to get these building again on newer releases. This is SRU-worthy, as libvirt will not build once the buildds are running newer kernels. If it is not SRUd before the next security update, the security team will do it as part of their update process. - Upstream commit that introduced the change: + Upstream kernel commit that introduced the change: 65cfc6722361570bfe255698d9cd4dccaf47570d -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in Ubuntu. https://bugs.launchpad.net/bugs/817187 Title: change in readlink() errno in 2.6.39 and later kernels causes FTBFS for packages with older gnulib To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/817187/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 817187] Re: change in readlink() errno in 2.6.39 and later kernels causes FTBFS for packages with older gnulib
A quick review of other syscalls reacting to as a pathname tend to now place readlink as an inconsistant outsider: open(, O_RDONLY) = -1 ENOENT (No such file or directory) chmod(, 0777) = -1 ENOENT (No such file or directory) readlink(, 0x7fff794533c0, 2048) = -1 EINVAL (Invalid argument) stat(, 0x7fff79453330)= -1 ENOENT (No such file or directory) rename(, ) = -1 ENOENT (No such file or directory) unlink() = -1 ENOENT (No such file or directory) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in Ubuntu. https://bugs.launchpad.net/bugs/817187 Title: change in readlink() errno in 2.6.39 and later kernels causes FTBFS for packages with older gnulib To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/817187/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 817187] Re: change in readlink() errno in 2.6.39 and later kernels causes FTBFS for packages with older gnulib
** Changed in: linux (Ubuntu Oneiric) Status: Confirmed = In Progress ** Changed in: linux (Ubuntu Oneiric) Assignee: (unassigned) = Andy Whitcroft (apw) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in Ubuntu. https://bugs.launchpad.net/bugs/817187 Title: change in readlink() errno in 2.6.39 and later kernels causes FTBFS for packages with older gnulib To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/817187/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs