Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 628292 - dev-lang/python fails to set XATTR_PAX markings on a tmp filesystem
Summary: dev-lang/python fails to set XATTR_PAX markings on a tmp filesystem
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-19 12:14 UTC by Ulenrich
Modified: 2017-08-19 16:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.