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 717173 Details for
Bug 923927
Some dirs are labeled differently in /var/lib/mock directory
[?]
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]
Add default options for yum to avoid SELinux relabeling
setopt_tsflags.patch (text/plain), 1.50 KB, created by
Clark Williams
on 2013-03-27 17:15:58 UTC
(
hide
)
Description:
Add default options for yum to avoid SELinux relabeling
Filename:
MIME Type:
Creator:
Clark Williams
Created:
2013-03-27 17:15:58 UTC
Size:
1.50 KB
patch
obsolete
>commit 6bbefaaa144088f872e2835a3ab55c67b0baa3e3 >Author: Clark Williams <clark.williams@gmail.com> >Date: Wed Mar 27 12:12:01 2013 -0500 > > add --setopt=tsflags=nocontext to all yum commands [BZ# 923927] > > Adding the above flag to the yum_common_opt config options means > that yum will not try and relabel anything in the chroot. > > Signed-off-by: Clark Williams <clark.williams@gmail.com> > >diff --git a/etc/mock/site-defaults.cfg b/etc/mock/site-defaults.cfg >index ec4feae..30939dc 100644 >--- a/etc/mock/site-defaults.cfg >+++ b/etc/mock/site-defaults.cfg >@@ -133,7 +133,7 @@ > # config_opts['root'] = 'name-of-yum-build-dir' > # config_opts['target_arch'] = 'i386' > # config_opts['yum.conf'] = '' >-# config_opts['yum_common_opts'] = [] >+# config_opts['yum_common_opts'] = ['--setopt=tsflags=nocontext'] > # > # CAN SET, defaults usually work ok: > # config_opts['chroot_setup_cmd'] = 'install buildsys-build' >diff --git a/py/mock.py b/py/mock.py >index e9fb425..de7e49d 100755 >--- a/py/mock.py >+++ b/py/mock.py >@@ -371,7 +371,7 @@ def setup_default_config_opts(config_opts, unprivUid): > config_opts['rpmbuild_arch'] = None # <-- None means set automatically from target_arch > config_opts['yum.conf'] = '' > config_opts['yum_builddep_opts'] = '' >- config_opts['yum_common_opts'] = [] >+ config_opts['yum_common_opts'] = ['--setopt=tsflags=nocontext'] > config_opts['priorities.conf'] = '\n[main]\nenabled=0' > config_opts['rhnplugin.conf'] = '\n[main]\nenabled=0' > config_opts['more_buildreqs'] = {}
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 923927
: 717173 |
730396