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 914650 Details for
Bug 1116158
systemd-215-1.fc21 breaks rawhide buildroot
[?]
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]
[PATCH v3] backend: do not touch mtab
0001-backend-do-not-touch-mtab.patch (text/plain), 1.68 KB, created by
Igor Gnatenko
on 2014-07-04 07:37:14 UTC
(
hide
)
Description:
[PATCH v3] backend: do not touch mtab
Filename:
MIME Type:
Creator:
Igor Gnatenko
Created:
2014-07-04 07:37:14 UTC
Size:
1.68 KB
patch
obsolete
>From c681660f9b6a10d2c2d9f82d68acfbf8e4151284 Mon Sep 17 00:00:00 2001 >From: Igor Gnatenko <i.gnatenko.brain@gmail.com> >Date: Fri, 4 Jul 2014 03:40:21 +0400 >Subject: [PATCH] backend: do not touch mtab > >mtab has been added to systemd's tmpfiles.d/etc.conf: >L+ /etc/mtab - - - - ../proc/self/mounts > >Reference: https://bugzilla.redhat.com/show_bug.cgi?id=1116158 >Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com> >--- > py/mockbuild/backend.py | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > >diff --git a/py/mockbuild/backend.py b/py/mockbuild/backend.py >index 0ae63a8..c55f095 100644 >--- a/py/mockbuild/backend.py >+++ b/py/mockbuild/backend.py >@@ -506,6 +506,10 @@ class Root(object): > os.symlink("/proc/self/fd/1", self.makeChrootPath("dev/stdout")) > os.symlink("/proc/self/fd/2", self.makeChrootPath("dev/stderr")) > >+ if os.path.isfile(self.makeChrootPath('etc', 'mtab')): >+ os.remove(self.makeChrootPath('etc', 'mtab')) >+ os.symlink("/proc/mounts", self.makeChrootPath('etc', 'mtab')) >+ > os.chown(self.makeChrootPath('dev/tty'), pwd.getpwnam('root')[2], grp.getgrnam('tty')[2]) > os.chown(self.makeChrootPath('dev/ptmx'), pwd.getpwnam('root')[2], grp.getgrnam('tty')[2]) > >@@ -546,8 +550,7 @@ class Root(object): > def _setupFiles(self): > # touch files > self.root_log.debug('touch required files') >- for item in [self.makeChrootPath('etc', 'mtab'), >- self.makeChrootPath('etc', 'fstab'), >+ for item in [self.makeChrootPath('etc', 'fstab'), > self.makeChrootPath('var', 'log', 'yum.log')]: > mockbuild.util.touch(item) > >-- >2.0.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 1116158
:
914599
|
914600
|
914650
|
914651