Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152029 - volume mounted with user_xattr prevents copy to /tmp
Summary: volume mounted with user_xattr prevents copy to /tmp
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: GNAP (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Network Appliance Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-19 22:12 UTC by bunkacid
Modified: 2013-11-20 23:09 UTC (History)
0 users

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 bunkacid 2006-10-19 22:12:51 UTC
I'm not sure how much of an actual bug this is in regards to GNAP as I've experienced this cp error before.  It just happens to be making things a pain to workaround.

I keep GNAP development files(overlays, specs) in my /home which is mounted with user_xattr, attempts to use cp within the GNAP scripts to other volumes not mounted with user_xattr result in an, "Operation not supported" error.

/tmp is tmpfs not mounted with user_xattr

This is probably not the best solution, but I changed all references to "cp -rp" in my gnap_make script to use "rsync -a" instead.

Another solution I had was to use a temporary directory within the user_xattr mounted volume.  To do this, after su, export TMPDIR=/home/somedir
mktemp will read this environment variable and use the new location.

Of course it would be very nice to be able to set the TMPDIR by using command line options to gnap_make.
Comment 1 bunkacid 2006-10-19 23:10:20 UTC
(In reply to comment #0)
> Another solution I had was to use a temporary directory within the user_xattr
> mounted volume.  To do this, after su, export TMPDIR=/home/somedir
> mktemp will read this environment variable and use the new location.
> 
> Of course it would be very nice to be able to set the TMPDIR by using command
> line options to gnap_make.
> 

Forgive my lameness but I found something to help me within the catalyst.conf file.
I created a /root/.catalystrc which contains
export TMPDIR=/path/to/somewhere

Comment 2 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-11-20 23:09:00 UTC
The GNAP project has been discontinued, its removal was acknowledged by steev.

If you need to, you can contact the Gentoo Embedded project; more information about the Gentoo Embedded project can be found on the following link:

http://www.gentoo.org/proj/en/base/embedded/

This removal happens as part of project cleanup by the Gentoo Council's members.