Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 490782 - Running emerge randomly fails with "OSError: [Errno 2] No such file or directory: '/var/tmp/portage/../.ipc_lock'" in lxc container
Summary: Running emerge randomly fails with "OSError: [Errno 2] No such file or direct...
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-08 21:34 UTC by Uwe L. Korn
Modified: 2014-11-07 20:35 UTC (History)
1 user (show)

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


Attachments
Full back trace (7oelApBMmk5gsKpCfCr1.txt,1.84 KB, text/plain)
2013-11-08 21:35 UTC, Uwe L. Korn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Uwe L. Korn 2013-11-08 21:34:24 UTC
While I hoped to streamline my qt5-package development using Docker/lxc, I have randomly on every second package install this error, e.g:

OSError: [Errno 2] No such file or directory: '/var/tmp/portage/perl-core/Test-Simple-0.980.0/.ipc_lock'

Rerunning the same emerge call my work for this package but stops often randomly on another package.



Reproducible: Always
Comment 1 Uwe L. Korn 2013-11-08 21:35:07 UTC
Created attachment 362814 [details]
Full back trace
Comment 2 Uwe L. Korn 2013-11-08 21:36:03 UTC
# emerge -qvp sys-apps/portage
[ebuild   R   ] sys-apps/portage-2.2.7  USE="(ipc) -build -doc -epydoc (-pypy2_0) -python2 -python3 (-selinux) -xattr" LINGUAS="-ru" PYTHON_TARGETS="python2_7 python3_2 (-pypy2_0) -python2_6 (-python3_3) (-python3_4)"
Comment 3 Zac Medico gentoo-dev 2014-11-07 18:25:25 UTC
(In reply to Uwe L. Korn from comment #0)
> While I hoped to streamline my qt5-package development using Docker/lxc, I
> have randomly on every second package install this error, e.g:
> 
> OSError: [Errno 2] No such file or directory:
> '/var/tmp/portage/perl-core/Test-Simple-0.980.0/.ipc_lock'
> 
> Rerunning the same emerge call my work for this package but stops often
> randomly on another package.

This seems like possible a kernel issue. The open call that's failing specifies os.O_CREAT (as shown in the traceback), so it looks like the kernel or filesystem is failing to create the file.
Comment 4 Zac Medico gentoo-dev 2014-11-07 20:35:58 UTC
Please specify details about the kernel version and filesystem.