Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 640290 - sys-apps/portage: doins fails with portage.exception.OperationNotSupported: Filesystem containing file does not support extended attribute 'user.xdg.origin.url'
Summary: sys-apps/portage: doins fails with portage.exception.OperationNotSupported: F...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
Keywords: InVCS
: 640294 640296 640464 640670 (view as bug list)
Depends on:
Blocks: 637452
  Show dependency tree
Reported: 2017-12-08 16:28 UTC by Toralf Förster
Modified: 2018-02-02 00:01 UTC (History)
4 users (show)

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

emerge-info.txt (emerge-info.txt,16.35 KB, text/plain)
2017-12-08 16:28 UTC, Toralf Förster
app-admin:systemrescuecd-x86-5.1.2:20171208-101150.log (app-admin:systemrescuecd-x86-5.1.2:20171208-101150.log,2.61 KB, text/plain)
2017-12-08 16:28 UTC, Toralf Förster
emerge-history.txt (emerge-history.txt,338.94 KB, text/plain)
2017-12-08 16:28 UTC, Toralf Förster
environment (environment,17.17 KB, text/plain)
2017-12-08 16:28 UTC, Toralf Förster
etc.portage.tbz2 (etc.portage.tbz2,17.66 KB, application/x-bzip)
2017-12-08 16:28 UTC, Toralf Förster

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-12-08 16:28:04 UTC
 * ERROR: app-admin/systemrescuecd-x86-5.1.2::gentoo failed (install phase):
 *   doins failed


  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-systemd_20171129-195001


gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python3.5 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems) *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv app-admin/systemrescuecd-x86
[ebuild  N    ] app-admin/systemrescuecd-x86-5.1.2  USE="isohybrid"
Comment 1 Toralf Förster gentoo-dev 2017-12-08 16:28:07 UTC
Created attachment 508902 [details]
Comment 2 Toralf Förster gentoo-dev 2017-12-08 16:28:10 UTC
Created attachment 508904 [details]
Comment 3 Toralf Förster gentoo-dev 2017-12-08 16:28:13 UTC
Created attachment 508906 [details]
Comment 4 Toralf Förster gentoo-dev 2017-12-08 16:28:16 UTC
Created attachment 508908 [details]
Comment 5 Toralf Förster gentoo-dev 2017-12-08 16:28:19 UTC
Created attachment 508910 [details]
Comment 6 Zac Medico gentoo-dev 2017-12-09 04:04:38 UTC
*** Bug 640296 has been marked as a duplicate of this bug. ***
Comment 7 Zac Medico gentoo-dev 2017-12-09 04:05:15 UTC
*** Bug 640294 has been marked as a duplicate of this bug. ***
Comment 8 Zac Medico gentoo-dev 2017-12-09 04:14:03 UTC
Apparently your filesystem on /var/tmp/portage does not support user.* extended attributes. If it's tmpfs then you need the kernel patch from bug 470644 that's included in here:
Comment 9 Zac Medico gentoo-dev 2017-12-09 04:22:57 UTC
As a workaround, you can set this in /etc/portage/make.conf:

Comment 10 Zac Medico gentoo-dev 2017-12-09 04:50:20 UTC
There's some info about the user.xdg.* xattrs here:

It mentions these others that we should probably add to the default PORTAGE_XATTR_EXCLUDE:

Comment 11 Zac Medico gentoo-dev 2017-12-09 05:05:33 UTC
Actually the tmpfs patch for bug 470644 only supports user.pax.* for security reasons (which is why the kernel doesn't support user.* xattrs on tmpfs by default).
Comment 12 Toralf Förster gentoo-dev 2017-12-09 08:27:27 UTC
(In reply to Zac Medico from comment #9)
Will do that - thx !
Comment 13 Zac Medico gentoo-dev 2017-12-09 22:31:12 UTC
We might also consider adding trusted.* to the default PORTAGE_XATTR_EXCLUDE, since it was added to install-xattr here:

However, portage's PORTAGE_XATTR_EXCLUDE variable overrides the internal defaults of install-xattr, and I haven't seen any bug reports involving trusted.* xattrs yet.
Comment 14 Arfrever Frehtes Taifersar Arahesis 2017-12-10 07:16:03 UTC
*** Bug 640464 has been marked as a duplicate of this bug. ***
Comment 16 Larry the Git Cow gentoo-dev 2017-12-11 02:27:11 UTC
The bug has been referenced in the following commit(s):

commit 8401685e8d03c8d3ba0e2c7fc432f430880a4c8c
Author:     Zac Medico <>
AuthorDate: 2017-12-10 09:17:33 +0000
Commit:     Zac Medico <>
CommitDate: 2017-12-10 09:21:40 +0000

    PORTAGE_XATTR_EXCLUDE: add common user.* attributes (bug 640290)
    Common user.* attributes should be safe to exclude, and they
    are not supported on tmpfs, except for user.pax.* attributes
    that are supported with the patch from bug 470644.

 cnf/make.globals | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)}
Comment 17 Arfrever Frehtes Taifersar Arahesis 2017-12-12 09:20:28 UTC
*** Bug 640670 has been marked as a duplicate of this bug. ***