import util-linux-2.32.1-22.el8
This commit is contained in:
parent
35db4d91d7
commit
d6bbfd1e30
28
SOURCES/0029-lscpu-use-the-first-VM-from-proc-sysinfo.patch
Normal file
28
SOURCES/0029-lscpu-use-the-first-VM-from-proc-sysinfo.patch
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
From 6f16035b81cd7feca02d6df8eff1bb954ed7e58d Mon Sep 17 00:00:00 2001
|
||||||
|
From: Karel Zak <kzak@redhat.com>
|
||||||
|
Date: Tue, 4 Sep 2018 14:30:37 +0200
|
||||||
|
Subject: [PATCH 29/32] lscpu: use the first VM from /proc/sysinfo
|
||||||
|
|
||||||
|
Addresses: https://github.com/karelzak/util-linux/issues/685
|
||||||
|
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1739443
|
||||||
|
Upstream: http://github.com/karelzak/util-linux/commit/350f5c8df2cb6edbfb5bae95f00a9fff446d236c
|
||||||
|
Signed-off-by: Karel Zak <kzak@redhat.com>
|
||||||
|
---
|
||||||
|
sys-utils/lscpu.c | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/sys-utils/lscpu.c b/sys-utils/lscpu.c
|
||||||
|
index fd6d63bbf..1aa7bff4d 100644
|
||||||
|
--- a/sys-utils/lscpu.c
|
||||||
|
+++ b/sys-utils/lscpu.c
|
||||||
|
@@ -866,6 +866,7 @@ read_hypervisor(struct lscpu_desc *desc, struct lscpu_modifier *mod)
|
||||||
|
*(str--) = '\0';
|
||||||
|
while ((str = strstr(desc->hypervisor, " ")))
|
||||||
|
memmove(str, str + 1, strlen(str));
|
||||||
|
+ break;
|
||||||
|
}
|
||||||
|
fclose(fd);
|
||||||
|
}
|
||||||
|
--
|
||||||
|
2.21.0
|
||||||
|
|
206
SOURCES/0030-tests-lscpu-s390-nested-virtualization.patch
Normal file
206
SOURCES/0030-tests-lscpu-s390-nested-virtualization.patch
Normal file
@ -0,0 +1,206 @@
|
|||||||
|
From e10bdfc6cd623f02740cf2bcfd9867c56534c5e5 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Radka Skvarilova <rskvaril@redhat.com>
|
||||||
|
Date: Sun, 22 Sep 2019 13:49:45 +0200
|
||||||
|
Subject: [PATCH 30/32] tests: lscpu s390 nested virtualization
|
||||||
|
|
||||||
|
Signed-off-by: Radka Skvarilova <rskvaril@redhat.com>
|
||||||
|
Addresses:https://bugzilla.redhat.com/show_bug.cgi?id=1739443
|
||||||
|
Upstream: http://github.com/karelzak/util-linux/commit/2062164894fffa314ecb7ac99dc6c98062484389
|
||||||
|
---
|
||||||
|
tests/expected/lscpu/lscpu-s390-nested-virt | 45 +++++++++++++++++++
|
||||||
|
tests/ts/lscpu/dumps/s390-nested-virt.tar.gz | Bin 0 -> 7199 bytes
|
||||||
|
2 files changed, 45 insertions(+)
|
||||||
|
create mode 100644 tests/expected/lscpu/lscpu-s390-nested-virt
|
||||||
|
create mode 100644 tests/ts/lscpu/dumps/s390-nested-virt.tar.gz
|
||||||
|
|
||||||
|
diff --git a/tests/expected/lscpu/lscpu-s390-nested-virt b/tests/expected/lscpu/lscpu-s390-nested-virt
|
||||||
|
new file mode 100644
|
||||||
|
index 000000000..2665fd8dc
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/tests/expected/lscpu/lscpu-s390-nested-virt
|
||||||
|
@@ -0,0 +1,45 @@
|
||||||
|
+CPU op-mode(s): 32-bit, 64-bit
|
||||||
|
+CPU(s): 2
|
||||||
|
+On-line CPU(s) list: 0,1
|
||||||
|
+Thread(s) per core: 1
|
||||||
|
+Core(s) per socket: 1
|
||||||
|
+Socket(s) per book: 1
|
||||||
|
+Book(s) per drawer: 1
|
||||||
|
+Drawer(s): 2
|
||||||
|
+NUMA node(s): 1
|
||||||
|
+Vendor ID: IBM/S390
|
||||||
|
+Machine type: 2964
|
||||||
|
+CPU dynamic MHz: 5000
|
||||||
|
+CPU static MHz: 5000
|
||||||
|
+BogoMIPS: 3033.00
|
||||||
|
+Hypervisor: KVM/Linux
|
||||||
|
+Hypervisor vendor: KVM
|
||||||
|
+Virtualization type: full
|
||||||
|
+Dispatching mode: horizontal
|
||||||
|
+L1d cache: 256 KiB
|
||||||
|
+L1i cache: 192 KiB
|
||||||
|
+L2d cache: 4 MiB
|
||||||
|
+L2i cache: 4 MiB
|
||||||
|
+L3 cache: 64 MiB
|
||||||
|
+L4 cache: 480 MiB
|
||||||
|
+NUMA node0 CPU(s): 0,1
|
||||||
|
+Vulnerability L1tf: Not affected
|
||||||
|
+Vulnerability Meltdown: Not affected
|
||||||
|
+Vulnerability Spec store bypass: Not affected
|
||||||
|
+Vulnerability Spectre v1: Mitigation; __user pointer sanitization
|
||||||
|
+Vulnerability Spectre v2: Mitigation; execute trampolines
|
||||||
|
+Flags: esan3 zarch stfle msa ldisp eimm dfp edat etf3eh highgprs te vx
|
||||||
|
+
|
||||||
|
+# The following is the parsable format, which can be fed to other
|
||||||
|
+# programs. Each different item in every column has an unique ID
|
||||||
|
+# starting from zero.
|
||||||
|
+# CPU,Core,Socket,Node,,L1d,L1i,L2d,L2i
|
||||||
|
+0,0,0,0,,0,0,0,0
|
||||||
|
+1,1,1,0,,1,1,1,1
|
||||||
|
+
|
||||||
|
+# The following is the parsable format, which can be fed to other
|
||||||
|
+# programs. Each different item in every column has an unique ID
|
||||||
|
+# starting from zero.
|
||||||
|
+# CPU,Core,Socket,Node,,L1d,L1i,L2d,L2i
|
||||||
|
+0,0,0,0,,0,0,0,0
|
||||||
|
+1,1,1,0,,1,1,1,1
|
||||||
|
diff --git a/tests/ts/lscpu/dumps/s390-nested-virt.tar.gz b/tests/ts/lscpu/dumps/s390-nested-virt.tar.gz
|
||||||
|
new file mode 100644
|
||||||
|
index 0000000000000000000000000000000000000000..7992699925395ed8d33b1e1466b74fc1aa235268
|
||||||
|
GIT binary patch
|
||||||
|
literal 7199
|
||||||
|
zcmb7|dpK14zsFsYO}nPFYuZ%PMd^Z336(4*TcRer3sNpgD3MZbv80PMNo`w{G9oG0
|
||||||
|
zqzE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=Th6Y4>g=<Ga>J8YcKlFT!$u~
|
||||||
|
zU}h$^s+Aj*!kGRmg5qdO&I&L3*^3Ul-?>~uq%5kE(CDVnT(u4M-CNUBNu%BUi2BJ!
|
||||||
|
zPh2=Jj;*RtaKQNx;WG2G9dMOuN8=8i|I6T(=e2y0NWti}1f_5D7?+p(_g_E(Hg(Yb
|
||||||
|
L#Syu9MY;b1+Xr6l
|
||||||
|
|
||||||
|
literal 0
|
||||||
|
HcmV?d00001
|
||||||
|
|
||||||
|
--
|
||||||
|
2.21.0
|
||||||
|
|
43
SOURCES/0031-chfn-don-t-append-extra-tailing-commas.patch
Normal file
43
SOURCES/0031-chfn-don-t-append-extra-tailing-commas.patch
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
From 90d4faece26c328c40336a0e02b875515c503e30 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Karel Zak <kzak@redhat.com>
|
||||||
|
Date: Mon, 19 Aug 2019 14:03:07 +0200
|
||||||
|
Subject: [PATCH 31/32] chfn: don't append extra tailing commas
|
||||||
|
|
||||||
|
# grep kzak /etc/passwd
|
||||||
|
kzak:x:1000:1000::/home/kzak:/bin/bash
|
||||||
|
|
||||||
|
# chfn kzak
|
||||||
|
...
|
||||||
|
grep kzak /etc/passwd
|
||||||
|
|
||||||
|
old version:
|
||||||
|
kzak:x:1000:1000:Karel Zak,,,,:/home/kzak:/bin/bash
|
||||||
|
|
||||||
|
fixed version:
|
||||||
|
kzak:x:1000:1000:Karel Zak:/home/kzak:/bin/bash
|
||||||
|
|
||||||
|
Reported-by: Filip Dvorak <fdvorak@redhat.com>
|
||||||
|
References: f723cbf544a7eac2927634f2cb6d802437a2d519
|
||||||
|
Upstream: http://github.com/karelzak/util-linux/commit/9210c0d225fd808da451d86055bf243a8b47a525
|
||||||
|
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1743555
|
||||||
|
Signed-off-by: Karel Zak <kzak@redhat.com>
|
||||||
|
---
|
||||||
|
login-utils/chfn.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/login-utils/chfn.c b/login-utils/chfn.c
|
||||||
|
index c5312fa0c..4f32604c5 100644
|
||||||
|
--- a/login-utils/chfn.c
|
||||||
|
+++ b/login-utils/chfn.c
|
||||||
|
@@ -377,7 +377,7 @@ static int save_new_data(struct chfn_control *ctl)
|
||||||
|
ctl->newf.other);
|
||||||
|
|
||||||
|
/* remove trailing empty fields (but not subfields of ctl->newf.other) */
|
||||||
|
- if (!ctl->newf.other) {
|
||||||
|
+ if (!ctl->newf.other || !*ctl->newf.other) {
|
||||||
|
while (len > 0 && gecos[len - 1] == ',')
|
||||||
|
len--;
|
||||||
|
gecos[len] = 0;
|
||||||
|
--
|
||||||
|
2.21.0
|
||||||
|
|
83
SOURCES/0032-tests-add-new-test-for-chfn-gecos.patch
Normal file
83
SOURCES/0032-tests-add-new-test-for-chfn-gecos.patch
Normal file
@ -0,0 +1,83 @@
|
|||||||
|
From 447b7d7222bf8cb3591d611aa51917bd4453f8d6 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Radka Skvarilova <rskvaril@redhat.com>
|
||||||
|
Date: Mon, 16 Dec 2019 10:57:32 +0100
|
||||||
|
Subject: [PATCH 32/32] tests: add new test for chfn gecos
|
||||||
|
|
||||||
|
Addresses: http://bugzilla.redhat.com/show_bug.cgi?id=1743555
|
||||||
|
Upstream: http://github.com/karelzak/util-linux/commit/02238bff663ce5fe823980d8119f3871cc348764
|
||||||
|
Upstream: http://github.com/karelzak/util-linux/commit/b2ef43864f24b1a9c0c67fe2a7177a5110da1b6e
|
||||||
|
Signed-off-by: Karel Zak <kzak@redhat.com>
|
||||||
|
---
|
||||||
|
tests/commands.sh | 1 +
|
||||||
|
tests/expected/chfn/gecos | 6 ++++++
|
||||||
|
tests/ts/chfn/gecos | 36 ++++++++++++++++++++++++++++++++++++
|
||||||
|
3 files changed, 43 insertions(+)
|
||||||
|
create mode 100644 tests/expected/chfn/gecos
|
||||||
|
create mode 100755 tests/ts/chfn/gecos
|
||||||
|
|
||||||
|
diff --git a/tests/commands.sh b/tests/commands.sh
|
||||||
|
index 93100caf6..b56381c9e 100644
|
||||||
|
--- a/tests/commands.sh
|
||||||
|
+++ b/tests/commands.sh
|
||||||
|
@@ -104,3 +104,4 @@ TS_CMD_UUIDPARSE=${TS_CMD_UUIDPARSE-"${ts_commandsdir}uuidparse"}
|
||||||
|
TS_CMD_WHEREIS=${TS_CMD_WHEREIS-"${ts_commandsdir}whereis"}
|
||||||
|
TS_CMD_WIPEFS=${TS_CMD_WIPEFS-"${ts_commandsdir}wipefs"}
|
||||||
|
TS_CMD_CHRT=${TS_CMD_CHRT-"${ts_commandsdir}chrt"}
|
||||||
|
+TS_CMD_CHFN=${TS_CMD_CHFN-"${ts_commandsdir}chfn"}
|
||||||
|
diff --git a/tests/expected/chfn/gecos b/tests/expected/chfn/gecos
|
||||||
|
new file mode 100644
|
||||||
|
index 000000000..af7b81b6c
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/tests/expected/chfn/gecos
|
||||||
|
@@ -0,0 +1,6 @@
|
||||||
|
+Initialize user
|
||||||
|
+testuser_chfn_test:x:9899:9899::/home/testuser_chfn_test:/bin/bash
|
||||||
|
+Changing finger information for testuser_chfn_test.
|
||||||
|
+
|
||||||
|
+Finger information changed.
|
||||||
|
+testuser_chfn_test:x:9899:9899:test_gecos:/home/testuser_chfn_test:/bin/bash
|
||||||
|
diff --git a/tests/ts/chfn/gecos b/tests/ts/chfn/gecos
|
||||||
|
new file mode 100755
|
||||||
|
index 000000000..aad27d40a
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/tests/ts/chfn/gecos
|
||||||
|
@@ -0,0 +1,36 @@
|
||||||
|
+#!/bin/bash
|
||||||
|
+
|
||||||
|
+#
|
||||||
|
+# Copyright (C) 2019 Radka Skvarilova <rskvaril@redhat.com>
|
||||||
|
+#
|
||||||
|
+# This file is part of util-linux.
|
||||||
|
+#
|
||||||
|
+# This file is free software; you can redistribute it and/or modify
|
||||||
|
+# it under the terms of the GNU General Public License as published by
|
||||||
|
+# the Free Software Foundation; either version 2 of the License, or
|
||||||
|
+# (at your option) any later version.
|
||||||
|
+#
|
||||||
|
+# This file is distributed in the hope that it will be useful,
|
||||||
|
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
+# GNU General Public License for more details.
|
||||||
|
+#
|
||||||
|
+
|
||||||
|
+TS_TOPDIR="${0%/*}/../.."
|
||||||
|
+TS_DESC="gecos"
|
||||||
|
+
|
||||||
|
+. $TS_TOPDIR/functions.sh
|
||||||
|
+ts_init "$*"
|
||||||
|
+
|
||||||
|
+ts_skip_nonroot
|
||||||
|
+ts_check_test_command "$TS_CMD_CHFN"
|
||||||
|
+ts_check_prog "useradd"
|
||||||
|
+ts_check_prog "userdel"
|
||||||
|
+
|
||||||
|
+ts_log "Initialize user"
|
||||||
|
+useradd -u 9899 --shell /bin/bash testuser_chfn_test
|
||||||
|
+grep testuser /etc/passwd >> $TS_OUTPUT
|
||||||
|
+$TS_CMD_CHFN -f test_gecos testuser_chfn_test >>$TS_OUTPUT
|
||||||
|
+grep testuser /etc/passwd >> $TS_OUTPUT
|
||||||
|
+userdel --remove testuser_chfn_test &> /dev/null
|
||||||
|
+ts_finalize
|
||||||
|
--
|
||||||
|
2.21.0
|
||||||
|
|
83
SOURCES/0033-tests-update-lscpu-test-for-RHEL8.patch
Normal file
83
SOURCES/0033-tests-update-lscpu-test-for-RHEL8.patch
Normal file
@ -0,0 +1,83 @@
|
|||||||
|
From b30f84e240bd60a23508797e33a4777cbaa50949 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Karel Zak <kzak@redhat.com>
|
||||||
|
Date: Tue, 17 Dec 2019 10:53:47 +0100
|
||||||
|
Subject: [PATCH] tests: update lscpu test for RHEL8
|
||||||
|
|
||||||
|
The test is originally from upstream (~v2.35), but RHEL-8 uses older
|
||||||
|
version with a little different output -- RHEL-8 has no vulnerability
|
||||||
|
fields and it counts cache sizes in different way.
|
||||||
|
|
||||||
|
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1739443
|
||||||
|
Signed-off-by: Karel Zak <kzak@redhat.com>
|
||||||
|
---
|
||||||
|
tests/expected/lscpu/lscpu-s390-nested-virt | 57 ++++++++++-----------
|
||||||
|
1 file changed, 26 insertions(+), 31 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/tests/expected/lscpu/lscpu-s390-nested-virt b/tests/expected/lscpu/lscpu-s390-nested-virt
|
||||||
|
index 2665fd8dc..a6ab04f0b 100644
|
||||||
|
--- a/tests/expected/lscpu/lscpu-s390-nested-virt
|
||||||
|
+++ b/tests/expected/lscpu/lscpu-s390-nested-virt
|
||||||
|
@@ -1,34 +1,29 @@
|
||||||
|
-CPU op-mode(s): 32-bit, 64-bit
|
||||||
|
-CPU(s): 2
|
||||||
|
-On-line CPU(s) list: 0,1
|
||||||
|
-Thread(s) per core: 1
|
||||||
|
-Core(s) per socket: 1
|
||||||
|
-Socket(s) per book: 1
|
||||||
|
-Book(s) per drawer: 1
|
||||||
|
-Drawer(s): 2
|
||||||
|
-NUMA node(s): 1
|
||||||
|
-Vendor ID: IBM/S390
|
||||||
|
-Machine type: 2964
|
||||||
|
-CPU dynamic MHz: 5000
|
||||||
|
-CPU static MHz: 5000
|
||||||
|
-BogoMIPS: 3033.00
|
||||||
|
-Hypervisor: KVM/Linux
|
||||||
|
-Hypervisor vendor: KVM
|
||||||
|
-Virtualization type: full
|
||||||
|
-Dispatching mode: horizontal
|
||||||
|
-L1d cache: 256 KiB
|
||||||
|
-L1i cache: 192 KiB
|
||||||
|
-L2d cache: 4 MiB
|
||||||
|
-L2i cache: 4 MiB
|
||||||
|
-L3 cache: 64 MiB
|
||||||
|
-L4 cache: 480 MiB
|
||||||
|
-NUMA node0 CPU(s): 0,1
|
||||||
|
-Vulnerability L1tf: Not affected
|
||||||
|
-Vulnerability Meltdown: Not affected
|
||||||
|
-Vulnerability Spec store bypass: Not affected
|
||||||
|
-Vulnerability Spectre v1: Mitigation; __user pointer sanitization
|
||||||
|
-Vulnerability Spectre v2: Mitigation; execute trampolines
|
||||||
|
-Flags: esan3 zarch stfle msa ldisp eimm dfp edat etf3eh highgprs te vx
|
||||||
|
+CPU op-mode(s): 32-bit, 64-bit
|
||||||
|
+CPU(s): 2
|
||||||
|
+On-line CPU(s) list: 0,1
|
||||||
|
+Thread(s) per core: 1
|
||||||
|
+Core(s) per socket: 1
|
||||||
|
+Socket(s) per book: 1
|
||||||
|
+Book(s) per drawer: 1
|
||||||
|
+Drawer(s): 2
|
||||||
|
+NUMA node(s): 1
|
||||||
|
+Vendor ID: IBM/S390
|
||||||
|
+Machine type: 2964
|
||||||
|
+CPU dynamic MHz: 5000
|
||||||
|
+CPU static MHz: 5000
|
||||||
|
+BogoMIPS: 3033.00
|
||||||
|
+Hypervisor: KVM/Linux
|
||||||
|
+Hypervisor vendor: KVM
|
||||||
|
+Virtualization type: full
|
||||||
|
+Dispatching mode: horizontal
|
||||||
|
+L1d cache: 128K
|
||||||
|
+L1i cache: 96K
|
||||||
|
+L2d cache: 2048K
|
||||||
|
+L2i cache: 2048K
|
||||||
|
+L3 cache: 65536K
|
||||||
|
+L4 cache: 491520K
|
||||||
|
+NUMA node0 CPU(s): 0,1
|
||||||
|
+Flags: esan3 zarch stfle msa ldisp eimm dfp edat etf3eh highgprs te vx
|
||||||
|
|
||||||
|
# The following is the parsable format, which can be fed to other
|
||||||
|
# programs. Each different item in every column has an unique ID
|
||||||
|
--
|
||||||
|
2.21.0
|
||||||
|
|
@ -0,0 +1,91 @@
|
|||||||
|
From 60f97394878d8b540ee6a4fb9c9edaae2f90d0d0 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Karel Zak <kzak@redhat.com>
|
||||||
|
Date: Tue, 17 Dec 2019 18:10:31 +0100
|
||||||
|
Subject: [PATCH] tests: (fdisk) make sure we use the same sizes for MD devices
|
||||||
|
|
||||||
|
It seems on some kernels MD can return error if the devices in RAID
|
||||||
|
have different size
|
||||||
|
|
||||||
|
# mdadm -q --create /dev/md8 --chunk=64 --level=0 --raid-devices=2 /dev/sda1 /dev/sda2
|
||||||
|
mdadm: RUN_ARRAY failed: Unknown error 524
|
||||||
|
|
||||||
|
# dmesg
|
||||||
|
...
|
||||||
|
[ 1485.148435] md/raid0:md8: cannot assemble multi-zone RAID0 with default_layout setting
|
||||||
|
[ 1485.152306] md/raid0: please set raid.default_layout to 1 or 2
|
||||||
|
[ 1485.154050] md: pers->run() failed ...
|
||||||
|
[ 1485.154104] md: md8 stopped.
|
||||||
|
|
||||||
|
Reference: https://bugzilla.redhat.com/show_bug.cgi?id=1784534
|
||||||
|
Signed-off-by: Karel Zak <kzak@redhat.com>
|
||||||
|
---
|
||||||
|
tests/expected/fdisk/align-512-4K-md | 12 ++++++------
|
||||||
|
tests/ts/fdisk/align-512-4K-md | 4 ++--
|
||||||
|
2 files changed, 8 insertions(+), 8 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/tests/expected/fdisk/align-512-4K-md b/tests/expected/fdisk/align-512-4K-md
|
||||||
|
index caca03154..3690c04c2 100644
|
||||||
|
--- a/tests/expected/fdisk/align-512-4K-md
|
||||||
|
+++ b/tests/expected/fdisk/align-512-4K-md
|
||||||
|
@@ -16,7 +16,7 @@ Created a new <removed>.
|
||||||
|
Command (m for help): Partition type
|
||||||
|
p primary (1 primary, 0 extended, 3 free)
|
||||||
|
e extended (container for logical partitions)
|
||||||
|
-Select (default p): Partition number (2-4, default 2): First sector (43008-102399, default 43008): Last sector, +sectors or +size{K,M,G,T,P} (43008-102399, default 102399):
|
||||||
|
+Select (default p): Partition number (2-4, default 2): First sector (51199-102399, default 51200): Last sector, +sectors or +size{K,M,G,T,P} (51200-102399, default 102399):
|
||||||
|
Created a new <removed>.
|
||||||
|
|
||||||
|
Command (m for help): Disk <removed>: 50 MiB, 52428800 bytes, 102400 sectors
|
||||||
|
@@ -27,8 +27,8 @@ Disklabel type: dos
|
||||||
|
Disk identifier: <removed>
|
||||||
|
|
||||||
|
Device Boot Start End Sectors Size Id Type
|
||||||
|
-<removed>1 2048 43007 40960 20M 83 Linux
|
||||||
|
-<removed>2 43008 102399 59392 29M 83 Linux
|
||||||
|
+<removed>1 2048 51198 49151 24M 83 Linux
|
||||||
|
+<removed>2 51200 100350 49151 24M 83 Linux
|
||||||
|
|
||||||
|
Command (m for help): The partition table has been altered.
|
||||||
|
Calling ioctl() to re-read partition table.
|
||||||
|
@@ -49,16 +49,16 @@ Created a new <removed>.
|
||||||
|
Command (m for help): Partition type
|
||||||
|
p primary (0 primary, 0 extended, 4 free)
|
||||||
|
e extended (container for logical partitions)
|
||||||
|
-Select (default p): Partition number (1-4, default 1): First sector (2048-100095, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (2048-100095, default 100095):
|
||||||
|
+Select (default p): Partition number (1-4, default 1): First sector (2048-97791, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (2048-97791, default 97791):
|
||||||
|
Created a new <removed>.
|
||||||
|
|
||||||
|
Command (m for help): Partition type
|
||||||
|
p primary (1 primary, 0 extended, 3 free)
|
||||||
|
e extended (container for logical partitions)
|
||||||
|
-Select (default p): Partition number (2-4, default 2): First sector (22528-100095, default 22528): Last sector, +sectors or +size{K,M,G,T,P} (22528-100095, default 100095):
|
||||||
|
+Select (default p): Partition number (2-4, default 2): First sector (22528-97791, default 22528): Last sector, +sectors or +size{K,M,G,T,P} (22528-97791, default 97791):
|
||||||
|
Created a new <removed>.
|
||||||
|
|
||||||
|
-Command (m for help): Disk <removed>: 48.9 MiB, 51249152 bytes, 100096 sectors
|
||||||
|
+Command (m for help): Disk <removed>: 47.8 MiB, 50069504 bytes, 97792 sectors
|
||||||
|
Units: sectors of 1 * 512 = 512 bytes
|
||||||
|
Sector size (logical/physical): 512 bytes / 4096 bytes
|
||||||
|
I/O size (minimum/optimal): 65536 bytes / <removed> bytes
|
||||||
|
diff --git a/tests/ts/fdisk/align-512-4K-md b/tests/ts/fdisk/align-512-4K-md
|
||||||
|
index 7f60a654f..68aaff0b7 100755
|
||||||
|
--- a/tests/ts/fdisk/align-512-4K-md
|
||||||
|
+++ b/tests/ts/fdisk/align-512-4K-md
|
||||||
|
@@ -41,12 +41,12 @@ n
|
||||||
|
p
|
||||||
|
1
|
||||||
|
|
||||||
|
-+20M
|
||||||
|
++49150
|
||||||
|
n
|
||||||
|
p
|
||||||
|
2
|
||||||
|
|
||||||
|
-
|
||||||
|
++49150
|
||||||
|
p
|
||||||
|
w
|
||||||
|
q
|
||||||
|
--
|
||||||
|
2.21.0
|
||||||
|
|
@ -2,7 +2,7 @@
|
|||||||
Summary: A collection of basic system utilities
|
Summary: A collection of basic system utilities
|
||||||
Name: util-linux
|
Name: util-linux
|
||||||
Version: 2.32.1
|
Version: 2.32.1
|
||||||
Release: 17%{?dist}
|
Release: 22%{?dist}
|
||||||
License: GPLv2 and GPLv2+ and LGPLv2+ and BSD with advertising and Public Domain
|
License: GPLv2 and GPLv2+ and LGPLv2+ and BSD with advertising and Public Domain
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
URL: http://en.wikipedia.org/wiki/Util-linux
|
URL: http://en.wikipedia.org/wiki/Util-linux
|
||||||
@ -44,6 +44,7 @@ BuildRequires: autoconf
|
|||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
|
BuildRequires: git-core
|
||||||
|
|
||||||
### Sources
|
### Sources
|
||||||
Source0: ftp://ftp.kernel.org/pub/linux/utils/util-linux/v%{upstream_major}/util-linux-%{upstream_version}.tar.xz
|
Source0: ftp://ftp.kernel.org/pub/linux/utils/util-linux/v%{upstream_major}/util-linux-%{upstream_version}.tar.xz
|
||||||
@ -148,6 +149,18 @@ Patch26: 0026-partx-document-d-vs.-nr-and-fix-test.patch
|
|||||||
Patch27: 0027-libmount-improve-mountinfo-reliability.patch
|
Patch27: 0027-libmount-improve-mountinfo-reliability.patch
|
||||||
Patch28: 0028-libmount-use-fmemopen-in-more-robust-way-coverity-sc.patch
|
Patch28: 0028-libmount-use-fmemopen-in-more-robust-way-coverity-sc.patch
|
||||||
|
|
||||||
|
### RHEL-8.2
|
||||||
|
###
|
||||||
|
# 1739443 - lscpu reports wrong hypervisor in nested virt on s390x
|
||||||
|
Patch29: 0029-lscpu-use-the-first-VM-from-proc-sysinfo.patch
|
||||||
|
Patch30: 0030-tests-lscpu-s390-nested-virtualization.patch
|
||||||
|
# 1743555 - command chfn adds some useless commas with GECOS information into /etc/password
|
||||||
|
Patch31: 0031-chfn-don-t-append-extra-tailing-commas.patch
|
||||||
|
Patch32: 0032-tests-add-new-test-for-chfn-gecos.patch
|
||||||
|
# 1739443 - lscpu reports wrong hypervisor in nested virt on s390x
|
||||||
|
Patch33: 0033-tests-update-lscpu-test-for-RHEL8.patch
|
||||||
|
# CI fix
|
||||||
|
Patch34: 0034-tests-fdisk-make-sure-we-use-the-same-sizes-for-MD-d.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The util-linux package contains a large variety of low-level system
|
The util-linux package contains a large variety of low-level system
|
||||||
@ -329,7 +342,7 @@ chfn and chsh utilities with dependence on libuser
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n %{name}-%{upstream_version}
|
%autosetup -p1 -Sgit -n %{name}-%{upstream_version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
unset LINGUAS || :
|
unset LINGUAS || :
|
||||||
@ -1013,6 +1026,22 @@ fi
|
|||||||
%{_libdir}/python*/site-packages/libmount/
|
%{_libdir}/python*/site-packages/libmount/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 17 2019 Karel Zak <kzak@redhat.com> 2.32.1-22
|
||||||
|
- improve CI tests portability to rhel-8 kernel
|
||||||
|
|
||||||
|
* Tue Dec 17 2019 Karel Zak <kzak@redhat.com> 2.32.1-21
|
||||||
|
- add git to BuildRequires due to autosetup -Sgit
|
||||||
|
|
||||||
|
* Tue Dec 17 2019 Karel Zak <kzak@redhat.com> 2.32.1-20
|
||||||
|
- fix spec file typo
|
||||||
|
|
||||||
|
* Tue Dec 17 2019 Karel Zak <kzak@redhat.com> 2.32.1-19
|
||||||
|
- fix test for #1739443
|
||||||
|
|
||||||
|
* Mon Dec 16 2019 Karel Zak <kzak@redhat.com> 2.32.1-18
|
||||||
|
- fix #1739443 - lscpu reports wrong hypervisor in nested virt on s390x
|
||||||
|
- fix #1743555 - command chfn adds some useless commas with GECOS information into /etc/password
|
||||||
|
|
||||||
* Sat Sep 21 2019 Karel Zak <kzak@redhat.com> 2.32.1-17
|
* Sat Sep 21 2019 Karel Zak <kzak@redhat.com> 2.32.1-17
|
||||||
- fix error path in mountinfo patch (#1751447)
|
- fix error path in mountinfo patch (#1751447)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user