Ubuntu

bits/fcntl.h does not define AT_EMPTY_PATH

Reported by Serge Hallyn on 2012-06-07
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
eglibc (Ubuntu)
Medium
Adam Conrad
Precise
Medium
Adam Conrad

Bug Description

SRU Justification:

[Impact]
A fix is needed for qemu-kvm to compile the virtio-9p-handle.c file.

[Development Fix]
This is fixed in quantal.

[Stable Fix]
A fix can be backported from quantal into precise.

[Test Case]
Try to compile the virtio-9p-handle.c file in qemu-kvm.

[Regression Potential]
This patch adds AT_SYMLINK_FOLLOW, AT_NO_AUTOMOUNT, AT_EMPTY_PATH, and AT_EACCESS to the proper fcntl.h files.

--

This bug is not upstream, and the define is too new to appear in debian. Upstream, AT_EMPTY_PATH is defined in io/fcntl.h. In debian, debian/patches/any/submitted-bits-fcntl_h-at.diff moves the *AT defines into the per-arch bits/fcntl.h files. The ubuntu-specific merge of newer upstream updated the patch doing so to remove the AT_EMPTY_PATH with the rest of that blcok from io/fcntl.c, but does not add it to the bits/fcntl.h files.

This is needed for qemu-kvm to compile the virtio-9p-handle.c file.

A debdiff is attached which adds the definition.

Serge Hallyn (serge-hallyn) wrote :
Changed in eglibc (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
tags: added: patch
Adam Conrad (adconrad) on 2012-06-12
Changed in eglibc (Ubuntu):
assignee: nobody → Adam Conrad (adconrad)
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package eglibc - 2.15-0ubuntu16

---------------
eglibc (2.15-0ubuntu16) quantal; urgency=low

  * Backport fix from 2.16 to fix htons() conversion errors on non-x86
    architectures, by correctly casting to uint16_t (LP: #1016349)
  * Restore missing AT_EMPTY_PATH definition in fnctl.h (LP: #1010069)
  * Backport FMA4/AVX detection from glibc 2.16 (LP: #956051, #979003)
  * Backport fixups to AVX-using code to match the detection backport.
 -- Adam Conrad <email address hidden> Thu, 09 Aug 2012 15:15:53 -0600

Changed in eglibc (Ubuntu):
status: Triaged → Fix Released
Chris J Arges (arges) on 2012-09-12
description: updated
Changed in eglibc (Ubuntu Precise):
assignee: nobody → Adam Conrad (adconrad)
importance: Undecided → Medium
status: New → In Progress
Chris J Arges (arges) on 2012-09-12
description: updated

Hello Serge, or anyone else affected,

Accepted eglibc into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/eglibc/2.15-0ubuntu10.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in eglibc (Ubuntu Precise):
status: In Progress → Fix Committed
tags: added: verification-needed

Confirmed. qemu-kvm tree without define_AT_EMPTY_PATH.patch applied builds
fine with the new eglibc, and fails without.

tags: added: verification-done
removed: verification-needed

Hello Serge, or anyone else affected,

Accepted eglibc into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/eglibc/2.15-0ubuntu10.3 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: removed: verification-done
tags: added: verification-needed
Serge Hallyn (serge-hallyn) wrote :

Precise-proposed does indeed fix this. I can now pop the patch in qemu-kvm package defining AT_EMPTY_PATH, and it still compiles. With precise-updates it does not.

tags: added: verification-done
removed: verification-needed

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Adam Conrad (adconrad) wrote :

This bug was fixed in the package eglibc - 2.15-0ubuntu10.3

---------------
eglibc (2.15-0ubuntu10.3) precise; urgency=low

  * Backport fixes for dbl-64 and ldbl-128 issues (LP: #1000498)
  * Backport another FMA support patch from glibc master branch.

eglibc (2.15-0ubuntu10.2) precise-security; urgency=low

  * SECURITY UPDATE: stack buffer overflow in vfprintf handling
    (LP: #1031301)
    - debian/patches/any/CVE-2012-3406.patch: switch to malloc when
      array grows too large to handle via alloca extension
    - CVE-2012-3406
  * SECURITY UPDATE: stdlib strtod integer/buffer overflows
    - debian/patches/any/CVE-2012-3480.patch: rearrange calculations
      and modify types to void integer overflows
    - CVE-2012-3480

eglibc (2.15-0ubuntu10.1) precise; urgency=low

  * Backport fix from 2.16 to fix htons() conversion errors on non-x86
    architectures, by correctly casting to uint16_t (LP: #1016349)
  * Restore missing AT_EMPTY_PATH definition in fnctl.h (LP: #1010069)
  * Backport FMA4/AVX detection from glibc 2.16 (LP: #956051, #979003)
  * Backport fixups to AVX-using code to match the detection backport.
  * Backport fix from 2.16 for sscanf/realloc deadlock (LP: #1028038)
  * Backport for bogus FPE on underflow for exp(double) (LP: #1007457)
 -- Adam Conrad <email address hidden> Wed, 03 Oct 2012 15:58:02 -0600

Changed in eglibc (Ubuntu Precise):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers