summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2019-01-23 04:39:04 +0000
committerEric Hameleers <alien@slackware.com>2019-01-23 17:59:47 +0100
commitf4a16dfaa3822cd84790612cfb5f6794e7397ea1 (patch)
tree61a5be5a608a9549f8e0e4f7ae99c0d98ed1bed3 /source
parent238f2af030367ddd0d0a014e19be72c45483e153 (diff)
downloadcurrent-f4a16dfaa3822cd84790612cfb5f6794e7397ea1.tar.gz
Wed Jan 23 04:39:04 UTC 201920190123043904
a/kernel-generic-4.19.17-x86_64-1.txz: Upgraded. a/kernel-huge-4.19.17-x86_64-1.txz: Upgraded. a/kernel-modules-4.19.17-x86_64-1.txz: Upgraded. d/kernel-headers-4.19.17-x86-1.txz: Upgraded. d/scons-3.0.4-x86_64-1.txz: Upgraded. d/vala-0.42.5-x86_64-1.txz: Upgraded. k/kernel-source-4.19.17-noarch-1.txz: Upgraded. n/httpd-2.4.38-x86_64-1.txz: Upgraded. This release contains security fixes and improvements. mod_session: mod_session_cookie does not respect expiry time allowing sessions to be reused. [Hank Ibell] mod_http2: fixes a DoS attack vector. By sending slow request bodies to resources not consuming them, httpd cleanup code occupies a server thread unnecessarily. This was changed to an immediate stream reset which discards all stream state and incoming data. [Stefan Eissing] mod_ssl: Fix infinite loop triggered by a client-initiated renegotiation in TLSv1.2 (or earlier) with OpenSSL 1.1.1 and later. PR 63052. [Joe Orton] For more information, see: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-17199 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-17189 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-0190 (* Security fix *) x/libdrm-2.4.97-x86_64-1.txz: Upgraded. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'source')
-rw-r--r--source/installer/ChangeLog.txt7
-rwxr-xr-xsource/installer/sources/initrd/sbin/mkbindmounts10
-rwxr-xr-xsource/installer/sources/initrd/usr/lib/setup/setup13
-rw-r--r--source/k/kernel-configs/config-generic-4.19.17 (renamed from source/k/kernel-configs/config-generic-4.19.16)2
-rw-r--r--source/k/kernel-configs/config-generic-4.19.17.x64 (renamed from source/k/kernel-configs/config-generic-4.19.16.x64)2
-rw-r--r--source/k/kernel-configs/config-generic-smp-4.19.17-smp (renamed from source/k/kernel-configs/config-generic-smp-4.19.16-smp)2
-rw-r--r--source/k/kernel-configs/config-huge-4.19.17 (renamed from source/k/kernel-configs/config-huge-4.19.16)2
-rw-r--r--source/k/kernel-configs/config-huge-4.19.17.x64 (renamed from source/k/kernel-configs/config-huge-4.19.16.x64)2
-rw-r--r--source/k/kernel-configs/config-huge-smp-4.19.17-smp (renamed from source/k/kernel-configs/config-huge-smp-4.19.16-smp)2
-rw-r--r--source/n/httpd/httpd.url4
10 files changed, 36 insertions, 10 deletions
diff --git a/source/installer/ChangeLog.txt b/source/installer/ChangeLog.txt
index b14c77e4..cc14f141 100644
--- a/source/installer/ChangeLog.txt
+++ b/source/installer/ChangeLog.txt
@@ -1,3 +1,10 @@
+Tue Jan 22 22:42:47 UTC 2019
+ Before running the CONFIGURE section, create bind mounts to /dev, /proc, and
+ /sys. This is useful for chrooting and setting up boot loaders.
+ Also add "mkbindmounts" command to do this manually for anything that's
+ mounted on /mnt. This avoids having to type these commands when using the
+ installer for system rescue purposes.
++--------------------------+
Sun Jan 6 19:54:10 UTC 2019
Account for .x64 suffix on /boot/config-* files with x86_64 when installing
the config files and /boot/config symlink. Thanks to Edward Grattan.
diff --git a/source/installer/sources/initrd/sbin/mkbindmounts b/source/installer/sources/initrd/sbin/mkbindmounts
new file mode 100755
index 00000000..40a9d731
--- /dev/null
+++ b/source/installer/sources/initrd/sbin/mkbindmounts
@@ -0,0 +1,10 @@
+#!/bin/bash
+# Create bind mounts from / to /mnt for /dev/, /proc, and /sys.
+# This may be useful for chrooting to a system partition mounted
+# on /mnt (for example to run mkinitrd_command_generator.sh or to
+# reinstall boot loaders).
+
+mkdir -p /mnt/{dev,proc,sys}
+mount -o bind /dev /mnt/dev
+mount -o bind /proc /mnt/proc
+mount -o bind /sys /mnt/sys
diff --git a/source/installer/sources/initrd/usr/lib/setup/setup b/source/installer/sources/initrd/usr/lib/setup/setup
index 7932feca..54334477 100755
--- a/source/installer/sources/initrd/usr/lib/setup/setup
+++ b/source/installer/sources/initrd/usr/lib/setup/setup
@@ -74,8 +74,13 @@ T_PX="/mnt"
echo "$T_PX" > $TMP/SeTT_PX
ROOT_DEVICE="`mount | grep "on / " | cut -f 1 -d ' '`"
echo "$ROOT_DEVICE" > $TMP/SeTrootdev
-if mount | grep /var/log/mount 1> /dev/null 2> /dev/null ; then # clear source
- umount /var/log/mount # location
+if mount | grep /var/log/mount 1> /dev/null 2> /dev/null ; then # clear source location:
+ # In case of bind mounts, try to unmount them first:
+ umount /var/log/mount/dev 2> /dev/null
+ umount /var/log/mount/proc 2> /dev/null
+ umount /var/log/mount/sys 2> /dev/null
+ # Unmount target partition:
+ umount /var/log/mount
fi
# Anything mounted on /var/log/mount now is a fatal error:
if mount | grep /var/log/mount 1> /dev/null 2> /dev/null ; then
@@ -326,6 +331,10 @@ to choose packages individually." 4 60
fi
if [ "$MAINSELECT" = "CONFIGURE" ]; then
+ # Make bind mounts for /dev, /proc, and /sys:
+ mount -o bind /dev $T_PX/dev 2> /dev/null
+ mount -o bind /proc $T_PX/proc 2> /dev/null
+ mount -o bind /sys $T_PX/sys 2> /dev/null
SeTconfig
REPLACE_FSTAB=Y
if [ -r $TMP/SeTnative ]; then
diff --git a/source/k/kernel-configs/config-generic-4.19.16 b/source/k/kernel-configs/config-generic-4.19.17
index 4a652056..1a428c02 100644
--- a/source/k/kernel-configs/config-generic-4.19.16
+++ b/source/k/kernel-configs/config-generic-4.19.17
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 4.19.16 Kernel Configuration
+# Linux/x86 4.19.17 Kernel Configuration
#
#
diff --git a/source/k/kernel-configs/config-generic-4.19.16.x64 b/source/k/kernel-configs/config-generic-4.19.17.x64
index b866a610..c12dafbf 100644
--- a/source/k/kernel-configs/config-generic-4.19.16.x64
+++ b/source/k/kernel-configs/config-generic-4.19.17.x64
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 4.19.16 Kernel Configuration
+# Linux/x86 4.19.17 Kernel Configuration
#
#
diff --git a/source/k/kernel-configs/config-generic-smp-4.19.16-smp b/source/k/kernel-configs/config-generic-smp-4.19.17-smp
index e7b93be8..10115c09 100644
--- a/source/k/kernel-configs/config-generic-smp-4.19.16-smp
+++ b/source/k/kernel-configs/config-generic-smp-4.19.17-smp
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 4.19.16 Kernel Configuration
+# Linux/x86 4.19.17 Kernel Configuration
#
#
diff --git a/source/k/kernel-configs/config-huge-4.19.16 b/source/k/kernel-configs/config-huge-4.19.17
index 82e2c09b..cda170ac 100644
--- a/source/k/kernel-configs/config-huge-4.19.16
+++ b/source/k/kernel-configs/config-huge-4.19.17
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 4.19.16 Kernel Configuration
+# Linux/x86 4.19.17 Kernel Configuration
#
#
diff --git a/source/k/kernel-configs/config-huge-4.19.16.x64 b/source/k/kernel-configs/config-huge-4.19.17.x64
index 28a86a14..4d769ba2 100644
--- a/source/k/kernel-configs/config-huge-4.19.16.x64
+++ b/source/k/kernel-configs/config-huge-4.19.17.x64
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 4.19.16 Kernel Configuration
+# Linux/x86 4.19.17 Kernel Configuration
#
#
diff --git a/source/k/kernel-configs/config-huge-smp-4.19.16-smp b/source/k/kernel-configs/config-huge-smp-4.19.17-smp
index bde61ce6..e3c29acf 100644
--- a/source/k/kernel-configs/config-huge-smp-4.19.16-smp
+++ b/source/k/kernel-configs/config-huge-smp-4.19.17-smp
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 4.19.16 Kernel Configuration
+# Linux/x86 4.19.17 Kernel Configuration
#
#
diff --git a/source/n/httpd/httpd.url b/source/n/httpd/httpd.url
index 2926d2a5..e3b1f00d 100644
--- a/source/n/httpd/httpd.url
+++ b/source/n/httpd/httpd.url
@@ -1,2 +1,2 @@
-http://www.apache.org/dist/httpd/httpd-2.4.37.tar.bz2
-http://www.apache.org/dist/httpd/httpd-2.4.37.tar.bz2.asc
+http://www.apache.org/dist/httpd/httpd-2.4.38.tar.bz2
+http://www.apache.org/dist/httpd/httpd-2.4.38.tar.bz2.asc