Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 894017 Details for
Bug 1096185
Do not expand mountpoint path, since it might cause deadlock
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Do not expand the mountpoint path
0001-Do-not-expand-the-mountpoint-path.patch (text/plain), 1.18 KB, created by
Vít Ondruch
on 2014-05-09 11:37:13 UTC
(
hide
)
Description:
Do not expand the mountpoint path
Filename:
MIME Type:
Creator:
Vít Ondruch
Created:
2014-05-09 11:37:13 UTC
Size:
1.18 KB
patch
obsolete
>From 6edc56750fb53b08dfbef5774f1e8f15f71a8d0a Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?V=C3=ADt=20Ondruch?= <vondruch@redhat.com> >Date: Fri, 9 May 2014 13:28:45 +0200 >Subject: [PATCH] Do not expand the mountpoint path. > >Stating the mount point might cause deadlocks, when mount is not working >as expected. This might be case for NFS mounts after change of computer >location. >--- > py/mockbuild/backend.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/py/mockbuild/backend.py b/py/mockbuild/backend.py >index f8df77d..0ff784f 100644 >--- a/py/mockbuild/backend.py >+++ b/py/mockbuild/backend.py >@@ -939,7 +939,7 @@ class Root(object): > # may prevent clean unmount. > for mountline in reversed(mountpoints): > mountpoint = mountline.split()[1] >- if os.path.realpath(mountpoint).startswith(os.path.realpath(self.makeChrootPath()) + "/"): >+ if mountpoint.startswith(os.path.realpath(self.makeChrootPath()) + "/"): > cmd = "umount -n -l %s" % mountpoint > self.root_log.warning("Forcibly unmounting '%s' from chroot." % mountpoint) > mockbuild.util.do(cmd, raiseExc=0, shell=True, env=self.env) >-- >1.9.0 >
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 1096185
: 894017