New version 29.24-1

- Fix crash in tui when default partitioning scheme is not supported.
  (rvykydal)
- Fix pylint errors (vponcova)
- Add libtool build dependency (jkonecny)
- Remove shebang from DUD test (jkonecny)
- Add inst.addrepo documentation for HD variant (jkonecny)
- Warn when repo names are not unique (jkonecny)
- HD addon repos have mount directories permanent (jkonecny)
- Unmount hard drive additional repositories (jkonecny)
- Move RepoData copy creation to the RepoData class (jkonecny)
- Show empty file protocol on HD addon repo fail (jkonecny)
- Mount and use HDD additional repositories (jkonecny)
- Separate _find_and_mount_iso from _setup_media (jkonecny)
- Load hard drive repo type from inst.addrepo (jkonecny)
- Do not fail if .discinfo file can't be read (jkonecny)
- Use productmd to parse .discinfo file (jkonecny)
- Add payload sources tests (jkonecny)
- Cleanup payload tests source file (jkonecny)
- Add documentation for inst.addrepo boot option (jkonecny)
- Add additional repositories to KS data (jkonecny)
- Use new source solution (jkonecny)
- Add payload sources implementation (jkonecny)
- Don't resize a device if the size is same as the old size (#1572828)
  (vponcova)
- Mark disks with additional repos as protected (jkonecny)
- Support boot args parsing to list (jkonecny)
- Add inst.addrepo new options (jkonecny)
- Make parenthesis consistent (jkonecny)
- Remove unused parameter from live_startup method (jkonecny)
- Disable treeinfo based repos only once (jkonecny)
- Disable treeinfo repos when base repo change (jkonecny)
- Treeinfo repos can't be changed nor removed (jkonecny)
- Add all repositories from the treeinfo file (jkonecny)
- Load base repository location from treeinfo (jkonecny)
- Add limited file:// protocol to GUI Source spoke (jkonecny)
- Add BaseOS between default base repositories (jkonecny)
- Split _setupInstallDevice method in payload (jkonecny)
- Check the LUKS2 memory requirements (vponcova)
- Add an option for choosing version of LUKS in GUI (vponcova)
- Add tests for LUKS2 in the auto partitioning module (vponcova)
- Apply the LUKS2 options from the auto partitioning module (vponcova)
- Support LUKS2 options in the auto partitioning module (vponcova)
- Support LUKS2 options in logvol, part and raid commands (vponcova)
- Enable to set a default version of LUKS (vponcova)
- Update dependencies and kickstart commands to support LUKS2 (#1547908)
  (vponcova)
- Revert back to running DNF in a subprocess (mkolman)
- Use SimpleConfigFile to get PLATFORM_ID from /etc/os-release (mkolman)
- Fix a 5 year old typo in the spec file (mkolman)
- Use wwn attr instead of removed wwid. (#1565693) (dlehman)
This commit is contained in:
Martin Kolman 2018-08-22 17:53:56 +02:00
parent 5873518367
commit df7a1bba91
4 changed files with 58 additions and 67 deletions

1
.gitignore vendored
View File

@ -155,3 +155,4 @@
/anaconda-29.21.tar.bz2 /anaconda-29.21.tar.bz2
/anaconda-29.22.tar.bz2 /anaconda-29.22.tar.bz2
/anaconda-29.23.tar.bz2 /anaconda-29.23.tar.bz2
/anaconda-29.24.tar.bz2

View File

@ -1,51 +0,0 @@
From dedeb70b021f1a02461167ce1d520dfb0df6d911 Mon Sep 17 00:00:00 2001
From: Martin Kolman <mkolman@redhat.com>
Date: Fri, 10 Aug 2018 15:05:47 +0200
Subject: [PATCH] Revert back to running DNF in a subprocess
When working on the modula installation support via the install_specs()
API we hit a weird issue with DNF crashing on a "foregin key error"
when accessing one of its sqlite databases.
When looking into it with the DNF developers we found out the issue
goes away when we just run the DNF transaction in a dummy process
instead of a real one. That seemed to work fine and there were no
apparent regressions at that time so we went with the workaround.
Looks like we might have been wrong - bug 1614511 strongly hints
on chroot being used by rpm od DNF during package installation trasaction
is causing GTK to crash by basically swapping the root filesystem under
it.
A similar issue back with yum was the main reason for isolating
the yum payload into a separate process. So switch back to the previous
behavior where the DNF trasaction runs in a separate sub-process to
shield the main Anaconda process from rpm/DNF chroot shenanigans.
Resolves: rhbz#1614511
Related: rhbz#1613296
---
pyanaconda/payload/dnfpayload.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/pyanaconda/payload/dnfpayload.py b/pyanaconda/payload/dnfpayload.py
index 3e166389b9..61ab753107 100644
--- a/pyanaconda/payload/dnfpayload.py
+++ b/pyanaconda/payload/dnfpayload.py
@@ -37,7 +37,6 @@
import collections
import itertools
import multiprocessing
-import multiprocessing.dummy
import operator
import hashlib
import shutil
@@ -1020,7 +1019,7 @@ def install(self):
progress_message(pre_msg)
queue_instance = multiprocessing.Queue()
- process = multiprocessing.dummy.Process(target=do_transaction,
+ process = multiprocessing.Process(target=do_transaction,
args=(self._base, queue_instance))
process.start()
(token, msg) = queue_instance.get()

View File

@ -6,8 +6,8 @@
Summary: Graphical system installer Summary: Graphical system installer
Name: anaconda Name: anaconda
Version: 29.23 Version: 29.24
Release: 3%{?dist} Release: 1%{?dist}
License: GPLv2+ and MIT License: GPLv2+ and MIT
Group: Applications/System Group: Applications/System
URL: http://fedoraproject.org/wiki/Anaconda URL: http://fedoraproject.org/wiki/Anaconda
@ -18,11 +18,6 @@ URL: http://fedoraproject.org/wiki/Anaconda
# ./autogen.sh # ./autogen.sh
# make dist # make dist
Source0: %{name}-%{version}.tar.bz2 Source0: %{name}-%{version}.tar.bz2
# Reverts to running dnf in a subprocess (not a thread). Requires
# libdnf-0.17.0-2.fc29 or higher. Fixes
# https://bugzilla.redhat.com/show_bug.cgi?id=1614511
# https://github.com/rhinstaller/anaconda/pull/1571
Patch0: 1571.patch
# Versions of required components (done so we make sure the buildrequires # Versions of required components (done so we make sure the buildrequires
# match the requires versions of things). # match the requires versions of things).
@ -43,13 +38,14 @@ Patch0: 1571.patch
%define libxklavierver 5.4 %define libxklavierver 5.4
%define mehver 0.23-1 %define mehver 0.23-1
%define nmver 1.0 %define nmver 1.0
%define pykickstartver 3.14-1 %define pykickstartver 3.16-1
%define pypartedver 2.5-2 %define pypartedver 2.5-2
%define rpmver 4.10.0 %define rpmver 4.10.0
%define simplelinever 1.1-1 %define simplelinever 1.1-1
%define utillinuxver 2.15.1 %define utillinuxver 2.15.1
BuildRequires: audit-libs-devel BuildRequires: audit-libs-devel
BuildRequires: libtool
BuildRequires: gettext-devel >= %{gettextver} BuildRequires: gettext-devel >= %{gettextver}
BuildRequires: gtk3-devel >= %{gtk3ver} BuildRequires: gtk3-devel >= %{gtk3ver}
BuildRequires: gtk-doc BuildRequires: gtk-doc
@ -91,7 +87,7 @@ The anaconda package is a metapackage for the Anaconda installer.
Summary: Core of the Anaconda installer Summary: Core of the Anaconda installer
Requires: python3-libs Requires: python3-libs
Requires: python3-dnf >= %{dnfver} Requires: python3-dnf >= %{dnfver}
Requires: python3-blivet >= 1:3.1.0-0.1.b1 Requires: python3-blivet >= 1:3.1.0-1
Requires: python3-blockdev >= %{libblockdevver} Requires: python3-blockdev >= %{libblockdevver}
Requires: python3-meh >= %{mehver} Requires: python3-meh >= %{mehver}
Requires: libreport-anaconda >= 2.0.21-1 Requires: libreport-anaconda >= 2.0.21-1
@ -255,7 +251,6 @@ runtime on NFS/HTTP/FTP servers or local disks.
%prep %prep
%setup -q %setup -q
%patch0 -p1
%build %build
# use actual build-time release number, not tarball creation time release number # use actual build-time release number, not tarball creation time release number
@ -353,11 +348,57 @@ update-desktop-database &> /dev/null || :
%{_prefix}/libexec/anaconda/dd_* %{_prefix}/libexec/anaconda/dd_*
%changelog %changelog
* Fri Aug 10 2018 Adam Williamson <awilliam@redhat.com> - 29.23-3 * Wed Aug 22 2018 Martin Kolman <mkolman@redhat.com> - 29.24-1
- Switch back to running dnf in a subprocess (#1614511) - Fix crash in tui when default partitioning scheme is not supported.
(rvykydal)
* Tue Aug 07 2018 Martin Kolman <mkolman@redhat.com> - 29.23-2 - Fix pylint errors (vponcova)
- Fix a typo - Add libtool build dependency (jkonecny)
- Remove shebang from DUD test (jkonecny)
- Add inst.addrepo documentation for HD variant (jkonecny)
- Warn when repo names are not unique (jkonecny)
- HD addon repos have mount directories permanent (jkonecny)
- Unmount hard drive additional repositories (jkonecny)
- Move RepoData copy creation to the RepoData class (jkonecny)
- Show empty file protocol on HD addon repo fail (jkonecny)
- Mount and use HDD additional repositories (jkonecny)
- Separate _find_and_mount_iso from _setup_media (jkonecny)
- Load hard drive repo type from inst.addrepo (jkonecny)
- Do not fail if .discinfo file can't be read (jkonecny)
- Use productmd to parse .discinfo file (jkonecny)
- Add payload sources tests (jkonecny)
- Cleanup payload tests source file (jkonecny)
- Add documentation for inst.addrepo boot option (jkonecny)
- Add additional repositories to KS data (jkonecny)
- Use new source solution (jkonecny)
- Add payload sources implementation (jkonecny)
- Don't resize a device if the size is same as the old size (#1572828)
(vponcova)
- Mark disks with additional repos as protected (jkonecny)
- Support boot args parsing to list (jkonecny)
- Add inst.addrepo new options (jkonecny)
- Make parenthesis consistent (jkonecny)
- Remove unused parameter from live_startup method (jkonecny)
- Disable treeinfo based repos only once (jkonecny)
- Disable treeinfo repos when base repo change (jkonecny)
- Treeinfo repos can't be changed nor removed (jkonecny)
- Add all repositories from the treeinfo file (jkonecny)
- Load base repository location from treeinfo (jkonecny)
- Add limited file:// protocol to GUI Source spoke (jkonecny)
- Add BaseOS between default base repositories (jkonecny)
- Split _setupInstallDevice method in payload (jkonecny)
- Check the LUKS2 memory requirements (vponcova)
- Add an option for choosing version of LUKS in GUI (vponcova)
- Add tests for LUKS2 in the auto partitioning module (vponcova)
- Apply the LUKS2 options from the auto partitioning module (vponcova)
- Support LUKS2 options in the auto partitioning module (vponcova)
- Support LUKS2 options in logvol, part and raid commands (vponcova)
- Enable to set a default version of LUKS (vponcova)
- Update dependencies and kickstart commands to support LUKS2 (#1547908)
(vponcova)
- Revert back to running DNF in a subprocess (mkolman)
- Use SimpleConfigFile to get PLATFORM_ID from /etc/os-release (mkolman)
- Fix a 5 year old typo in the spec file (mkolman)
- Use wwn attr instead of removed wwid. (#1565693) (dlehman)
* Tue Aug 07 2018 Martin Kolman <mkolman@redhat.com> - 29.23-1 * Tue Aug 07 2018 Martin Kolman <mkolman@redhat.com> - 29.23-1
- Bump required DNF version (mkolman) - Bump required DNF version (mkolman)

View File

@ -1 +1 @@
SHA512 (anaconda-29.23.tar.bz2) = 2a31b32cc3c6b164cc60468cc2afd6b24a4e85fa116cde778b1c9c934c24cdb75d2bac89f475075d8582b089ce9314731fd3345f8e1a5786bce1310a6fca44c7 SHA512 (anaconda-29.24.tar.bz2) = 1bf706503df40844d08bd285835db2178b02cba1bdcd06080c22ff09a5185eeb9c5593209b830343fe6bc4c49246716b29c50d4dff45d3a85d5c85dc81b3cdd8