Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 132105 Details for
Bug 194081
sys-apps/portage-2.1.3.10 backtrace during unmerge: OSError: [Errno 16] Device or resource busy
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ignore EBUSY during unmerge
ebusy.patch (text/plain), 1.02 KB, created by
Zac Medico
on 2007-09-28 17:20:08 UTC
(
hide
)
Description:
ignore EBUSY during unmerge
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2007-09-28 17:20:08 UTC
Size:
1.02 KB
patch
obsolete
>Index: pym/portage.py >=================================================================== >--- pym/portage.py (revision 7869) >+++ pym/portage.py (revision 7870) >@@ -7471,7 +7471,13 @@ > > #process symlinks second-to-last, directories last. > mydirs = [] >- ignored_unlink_errnos = (errno.ENOENT, errno.ENOTDIR, errno.EISDIR) >+ ignored_unlink_errnos = ( >+ errno.EBUSY, errno.ENOENT, >+ errno.ENOTDIR, errno.EISDIR) >+ ignored_rmdir_errnos = ( >+ errno.EEXIST, errno.ENOTEMPTY, >+ errno.EBUSY, errno.ENOENT, >+ errno.ENOTDIR, errno.EISDIR) > modprotect = os.path.join(self.vartree.root, "lib/modules/") > > def unlink(file_name, lstatobj): >@@ -7636,9 +7642,7 @@ > bsd_chflags.chflags(parent_name, pflags) > show_unmerge("<<<", "", "dir", obj) > except EnvironmentError, e: >- if e.errno not in (errno.ENOENT, >- errno.EEXIST, errno.ENOTEMPTY, >- errno.ENOTDIR): >+ if e.errno not in ignored_rmdir_errnos: > raise > if e.errno != errno.ENOENT: > show_unmerge("---", "!empty", "dir", obj)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 194081
: 132105