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 946625 Details for
Bug 1147687
move authconfig and firewalld to core group
[?]
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]
proposed anaconda patch
0001-Add-authconfig-and-firewalld-packages-when-used-in-k.patch (text/plain), 2.58 KB, created by
Brian Lane
on 2014-10-13 23:14:53 UTC
(
hide
)
Description:
proposed anaconda patch
Filename:
MIME Type:
Creator:
Brian Lane
Created:
2014-10-13 23:14:53 UTC
Size:
2.58 KB
patch
obsolete
>From a7272dfe352bf50151cf543f29aef0a55363e0b0 Mon Sep 17 00:00:00 2001 >From: "Brian C. Lane" <bcl@redhat.com> >Date: Mon, 13 Oct 2014 14:50:37 -0700 >Subject: [master/f21/rhel7] Add authconfig and firewalld packages when used in > ks (#1147687) > >Only include the packages in the packageset if the commands are seen in >the kickstart. >--- > pyanaconda/install.py | 6 ++++++ > pyanaconda/kickstart.py | 16 ++++++++++++++++ > 2 files changed, 22 insertions(+) > >diff --git a/pyanaconda/install.py b/pyanaconda/install.py >index 0393204..e179b99 100644 >--- a/pyanaconda/install.py >+++ b/pyanaconda/install.py >@@ -206,6 +206,10 @@ def doInstall(storage, payload, ksdata, instClass): > with progress_report(_("Discovering realm to join")): > ksdata.realm.setup() > >+ # Check for additional packages >+ ksdata.authconfig.setup() >+ ksdata.firewall.setup() >+ > # make name resolution work for rpm scripts in chroot > if flags.can_touch_runtime_system("copy /etc/resolv.conf to sysroot"): > network.copyFileToPath("/etc/resolv.conf", iutil.getSysroot()) >@@ -214,6 +218,8 @@ def doInstall(storage, payload, ksdata, instClass): > # system is bootable and configurable, and some other packages in order > # to finish setting up the system. > packages = storage.packages + ksdata.realm.packages >+ packages += ksdata.authconfig.packages + ksdata.firewall.packages >+ > if not ksdata.bootloader.disabled: > packages += storage.bootloader.packages > >diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py >index f1cde9a..b2f47a2 100644 >--- a/pyanaconda/kickstart.py >+++ b/pyanaconda/kickstart.py >@@ -240,6 +240,14 @@ def refreshAutoSwapSize(storage): > ### > > class Authconfig(commands.authconfig.FC3_Authconfig): >+ def __init__(self, *args, **kwargs): >+ commands.authconfig.FC3_Authconfig.__init__(self, *args, **kwargs) >+ self.packages = [] >+ >+ def setup(self): >+ if self.seen: >+ self.packages = ["authconfig"] >+ > def execute(self, *args): > cmd = "/usr/sbin/authconfig" > if not os.path.lexists(iutil.getSysroot()+cmd): >@@ -605,6 +613,14 @@ class Fcoe(commands.fcoe.RHEL7_Fcoe): > return fc > > class Firewall(commands.firewall.F20_Firewall): >+ def __init__(self, *args, **kwargs): >+ commands.firewall.F20_Firewall.__init__(self, *args, **kwargs) >+ self.packages = [] >+ >+ def setup(self): >+ if self.seen: >+ self.packages = ["firewalld"] >+ > def execute(self, storage, ksdata, instClass): > args = [] > # enabled is None if neither --enable or --disable is passed >-- >1.9.3 >
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 1147687
:
942782
| 946625