Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 628292

Summary: dev-lang/python fails to set XATTR_PAX markings on a tmp filesystem
Product: Gentoo Linux Reporter: Ulenrich <ulenrich>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal CC: tsmksubc
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ulenrich 2017-08-19 12:14:05 UTC
If run emerge python ebuilds on a tmp filesystem, like df:
tmp                     2097152     24740   2072412   2% /tmp
then pax marking won't work for all python builds:
---
 * Messages for package dev-lang/python-2.7.13:
 * Failed to set XATTR_PAX markings -me python.
 * Messages for package dev-lang/python-3.5.3:
 * Failed to set XATTR_PAX markings -me python.
 * Failed to set XATTR_PAX markings -me /tmp/portage/dev-lang/python-3.5.3/image/usr/bin/python3.5m.
 * Messages for package dev-lang/python-3.6.1-r1:
 * Failed to set XATTR_PAX markings -me python.
 * Failed to set XATTR_PAX markings -me /tmp/portage/dev-lang/python-3.6.1-r1/image/usr/bin/python3.6m.
---
but if moving the portage to hard disk it will work.
Comment 1 Jory A. Pratt gentoo-dev 2017-08-19 12:51:42 UTC
CONFIG_TMPFS_XATTR:                                                     │  
  │                                                                         │  
  │ Extended attributes are name:value pairs associated with inodes by      │  
  │ the kernel or by users (see the attr(5) manual page, or visit           │  
  │ <http://acl.bestbits.at/> for details).                                 │  
  │                                                                         │  
  │ Currently this enables support for the trusted.* and		    │  
  │ security.* namespaces.                                                  │  
  │                                                                         │  
  │ You need this for POSIX ACL support on tmpfs. 

You must enable the support in your kernel.