forked from pool/util-linux
Accepting request 719008 from home:sbrabec:branches:util-linux-2.34
- Update to version 2.34. OBS-URL: https://build.opensuse.org/request/show/719008 OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=411
This commit is contained in:
parent
e0eedbb342
commit
47aaf083a0
@ -1,3 +1,33 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 26 23:49:42 CEST 2019 - sbrabec@suse.com
|
||||||
|
|
||||||
|
- Update to version 2.34:
|
||||||
|
* new command hardlink
|
||||||
|
* rewrite of lsblk, now supports --dedup
|
||||||
|
* support for FUSE in umount
|
||||||
|
* support for "--all -o remount" in mount
|
||||||
|
* su: prefer /etc/default/su over /etc/login.defs and ENV_SUPATH
|
||||||
|
over ENV_ROOTPATH (bsc#1121197), improved --pty
|
||||||
|
* unshare: add -S/--setuid, -G/--setgid, -R/--root and -w/--wd
|
||||||
|
* fstrim: do not suppress warnings unless --quiet is used
|
||||||
|
* lscpu: print 'Frequency boost' and 'Vulnerability' fields, add
|
||||||
|
--caches
|
||||||
|
* logger: merge multiple MESSAGE= lines
|
||||||
|
* libblkid: do not depend on libuuid, supports DRBD9 detection
|
||||||
|
* libsmartcols: support N:M relationships in tree-like output
|
||||||
|
* fstrim and uuidd systemd services: hardening settings to
|
||||||
|
improve security and service isolation
|
||||||
|
* fstrim: trim root filesystem on --fstab, check for read-only
|
||||||
|
filesystems on --all and --fstab (boo#1106214).
|
||||||
|
* fstrim -A: properly de-duplicate sub-volumes (boo#1127701).
|
||||||
|
* Obsoletes util-linux-login_defs-priority1.patch,
|
||||||
|
util-linux-login_defs-priority2.patch and
|
||||||
|
util-linux-login_defs-SYS_UID.patch.
|
||||||
|
* Many Other fixes, see
|
||||||
|
https://www.kernel.org/pub/linux/utils/util-linux/v2.34/v2.34-ReleaseNotes
|
||||||
|
- util-linux-login_defs-check.sh: Update checksum, login now
|
||||||
|
supports LASTLOG_UID_MAX.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jul 22 17:19:22 CEST 2019 - sbrabec@suse.com
|
Mon Jul 22 17:19:22 CEST 2019 - sbrabec@suse.com
|
||||||
|
|
||||||
|
@ -115,7 +115,7 @@ BuildRequires: libmount-devel
|
|||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
#END SECOND STAGE DEPENDENCIES
|
#END SECOND STAGE DEPENDENCIES
|
||||||
Version: 2.33.2
|
Version: 2.34
|
||||||
Release: 0
|
Release: 0
|
||||||
# util-linux is a base package and uuidd pre-requiring pwdutils pulls
|
# util-linux is a base package and uuidd pre-requiring pwdutils pulls
|
||||||
# that into the core build cycle. pwdutils also pulls in the whole
|
# that into the core build cycle. pwdutils also pulls in the whole
|
||||||
@ -145,12 +145,6 @@ Source51: blkid.conf
|
|||||||
Patch0: make-sure-sbin-resp-usr-sbin-are-in-PATH.diff
|
Patch0: make-sure-sbin-resp-usr-sbin-are-in-PATH.diff
|
||||||
Patch1: libmount-print-a-blacklist-hint-for-unknown-filesyst.patch
|
Patch1: libmount-print-a-blacklist-hint-for-unknown-filesyst.patch
|
||||||
Patch2: Add-documentation-on-blacklisted-modules-to-mount-8-.patch
|
Patch2: Add-documentation-on-blacklisted-modules-to-mount-8-.patch
|
||||||
# PATCH-FIX-UPSTREAM util-linux-login_defs-priority1.patch bsc1121197 sbrabec@suse.com -- Fix priorities of login.defs values.
|
|
||||||
Patch3: util-linux-login_defs-priority1.patch
|
|
||||||
# PATCH-FIX-UPSTREAM util-linux-login_defs-priority2.patch bsc1121197 sbrabec@suse.com -- Fix priorities of login.defs values.
|
|
||||||
Patch4: util-linux-login_defs-priority2.patch
|
|
||||||
# PATCH-FIX-UPSTREAM util-linux-login_defs-SYS_UID.patch bsc1121197 sbrabec@suse.com -- Fix discrepancies in SYS_UID* fallback.
|
|
||||||
Patch5: util-linux-login_defs-SYS_UID.patch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
#
|
#
|
||||||
%if %build_util_linux
|
%if %build_util_linux
|
||||||
@ -412,9 +406,6 @@ cp -a %{S:2} .
|
|||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
%patch3 -p1
|
|
||||||
%patch4 -p1
|
|
||||||
%patch5 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
||||||
@ -937,6 +928,7 @@ rmdir --ignore-fail-on-non-empty /run/run >/dev/null 2>&1 || :
|
|||||||
%{_bindir}/findmnt
|
%{_bindir}/findmnt
|
||||||
%{_bindir}/flock
|
%{_bindir}/flock
|
||||||
%{_bindir}/getopt
|
%{_bindir}/getopt
|
||||||
|
%{_bindir}/hardlink
|
||||||
%{_bindir}/hexdump
|
%{_bindir}/hexdump
|
||||||
%{_bindir}/ionice
|
%{_bindir}/ionice
|
||||||
%{_bindir}/ipcmk
|
%{_bindir}/ipcmk
|
||||||
@ -1039,6 +1031,7 @@ rmdir --ignore-fail-on-non-empty /run/run >/dev/null 2>&1 || :
|
|||||||
%{_mandir}/man1/fincore.1.gz
|
%{_mandir}/man1/fincore.1.gz
|
||||||
%{_mandir}/man1/flock.1.gz
|
%{_mandir}/man1/flock.1.gz
|
||||||
%{_mandir}/man1/getopt.1.gz
|
%{_mandir}/man1/getopt.1.gz
|
||||||
|
%{_mandir}/man1/hardlink.1.gz
|
||||||
%{_mandir}/man1/hexdump.1.gz
|
%{_mandir}/man1/hexdump.1.gz
|
||||||
%{_mandir}/man1/ipcrm.1.gz
|
%{_mandir}/man1/ipcrm.1.gz
|
||||||
%{_mandir}/man1/ipcs.1.gz
|
%{_mandir}/man1/ipcs.1.gz
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
|
|
||||||
iQIzBAABCAAdFiEEsMZNFDAcxu+u32Dk5LcdXuw5woQFAlyspAgACgkQ5LcdXuw5
|
|
||||||
woRdIA/+NyJ0z27Qpg9JHUja6jQJRfpzEEg2kCc1hVyVlAuXVVo2ovWNjpTnJqsY
|
|
||||||
tQk/rHlfnj/X1XGhsCa00R8xYrnfLDLujJoJw8F0Ghe25exOgh9gB7Ah77p5NXox
|
|
||||||
IhGuSY8tg7WrxI2LI1VFnIOvrBXXMtcrE99QgcwcaZFzzOjybkCFYT7o26PHhXi1
|
|
||||||
HF0rpRi3J8q6QCHoHVofiG8bfYClDohj89WdWlQ2OcTRRXS3x6NOYzc021crmwIe
|
|
||||||
aa1WP6hZhre6rK6YtMRAIZKM+zArzS6sMkSsjSpU30bBMIxHlP2mwmrhuTWtDmfS
|
|
||||||
Q7rybUT4s0fxjIaa6dn7twXRYqxkYu1ZMUw0oF1D6mJD3fJM1jjz5paMKQYRswWN
|
|
||||||
FDEGn8yNPmDzh3v2tJHOetN76l7LcEEcXiBk/8/5FDwDB8XvZQFGnIOeivXgZPDn
|
|
||||||
tz+Qc7/1fb9lkE11kM2DBpbL9+Trv/PlX6AtBorOYZrDiAQbvTGfCFG2KcA4sRKn
|
|
||||||
zIrjycH1B2mjdhTm3tP5hY+MkAWECwx92cuf95tD0KxKnFsmfv3HgYl86VgjHvHE
|
|
||||||
EvaShFmct6TaHzskvMaHIaiywRX2OqvwzPQyapymreHwAMdyFRRRGcJV13uVQppj
|
|
||||||
P1rWKP9lAMOMETH9IinGKSYY2fLwrK84t9SttymEAdSuAant4Lo=
|
|
||||||
=alGJ
|
|
||||||
-----END PGP SIGNATURE-----
|
|
BIN
util-linux-2.33.2.tar.xz
(Stored with Git LFS)
BIN
util-linux-2.33.2.tar.xz
(Stored with Git LFS)
Binary file not shown.
16
util-linux-2.34.tar.sign
Normal file
16
util-linux-2.34.tar.sign
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQIzBAABCAAdFiEEsMZNFDAcxu+u32Dk5LcdXuw5woQFAl0Dem4ACgkQ5LcdXuw5
|
||||||
|
woSlGg//eWI46Oy/Bwvd4QuZ5CGvuDzmoLsYyr3YvJrVTTZci9I/j0tZYpGKRsK4
|
||||||
|
ftUP+dJ0eyur9b+xUlQi5WPMHITPpbo0HoKRzkBJQ+Z98IhiLDclhxgzX8wy1bos
|
||||||
|
gbZ0fVcct4L9fcrL8x/yRrT2WFIrVVdPeNUcR1gN0J4PaIr1Itd3CvXmkOU3JsxG
|
||||||
|
6KnfnQRxUcSb9QxNIrc3ME0MRnJzI+YehG66rdh7PKiTat26YYehWukelEzju22Q
|
||||||
|
BHvj4wwDNs6UQ8Y26cVArYKf+5S1FSvudY0c+4C7aQC9IYjQYh99l/APBMr1Tvep
|
||||||
|
d8f02zxZbCB30lmkCov0JQB1ajRMHlgnH4tG1nki9gi4kyBc89HY4CFX00PiCFX8
|
||||||
|
NOJI9559syCu76aK+KMwNZTPxjxy5HzYfSDqsSSizajYahDpZ9ge9NT3dOqkM4Sz
|
||||||
|
wFwAv5IdmgH5cIO0va4obNKR0TNUCEIThETpxaY9GAkyyUavCA6RXywobYSnTdbQ
|
||||||
|
K+prQfTH25/UDoW1rDdoNe2IrDeUsPD74oXUxmDgCMBpWAHPdt+gQMzv6fhl2A3Y
|
||||||
|
e+A5Ypmh6YgIppY+rtjLbkMCYhJ1jVbV6eLVyb2y0IIltw4xrvzNlbpIHW7DPdY8
|
||||||
|
+BUJMSG/Yq5+qKPijsq1th5s7a2B0r816ti+EllZxOTpKbKMSYo=
|
||||||
|
=iGKC
|
||||||
|
-----END PGP SIGNATURE-----
|
BIN
util-linux-2.34.tar.xz
(Stored with Git LFS)
Normal file
BIN
util-linux-2.34.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,60 +0,0 @@
|
|||||||
From 0d37969cbe2cb85d9c01f78071528a8a7c789f96 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Stanislav Brabec <sbrabec@suse.cz>
|
|
||||||
Date: Wed, 24 Apr 2019 11:16:53 +0200
|
|
||||||
Subject: [PATCH] lslogins: Fix discrepancies of SYS_UID_MIN
|
|
||||||
|
|
||||||
util-linux does not contain useradd. Its most popular implementation
|
|
||||||
comes from shadow. SYS_UID_MIN is one of common parameters. Its
|
|
||||||
hardcoded fallback value is equal to 101 in shadow useradd (see
|
|
||||||
shadow-4.6/libmisc/find_new_uid.c: get_ranges()), but 201 in
|
|
||||||
login-utils/lslogins.c.
|
|
||||||
|
|
||||||
Let lslogins use the same fallback as useradd from shadow.
|
|
||||||
|
|
||||||
Hopefully most distros define its custom value of SYS_UID_MIN in
|
|
||||||
/etc/login.defs, so this problem is not visible.
|
|
||||||
|
|
||||||
login-utils/lslogins.1 does not mention its default at all. Add a
|
|
||||||
reference and improve text of lslogins(1) to prevent off-by-one
|
|
||||||
interpretation.
|
|
||||||
|
|
||||||
Signed-off-by: Stanislav Brabec <sbrabec@suse.cz>
|
|
||||||
Signed-off-by: Karel Zak <kzak@redhat.com>
|
|
||||||
---
|
|
||||||
login-utils/lslogins.1 | 6 +++---
|
|
||||||
login-utils/lslogins.c | 2 +-
|
|
||||||
2 files changed, 4 insertions(+), 4 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/login-utils/lslogins.1 b/login-utils/lslogins.1
|
|
||||||
index 5aa14c706..f003ef264 100644
|
|
||||||
--- a/login-utils/lslogins.1
|
|
||||||
+++ b/login-utils/lslogins.1
|
|
||||||
@@ -92,9 +92,9 @@ Display information related to login by password (see also \fB\-afL).
|
|
||||||
Raw output (no columnation).
|
|
||||||
.TP
|
|
||||||
\fB\-s\fR, \fB\-\-system\-accs\fR
|
|
||||||
-Show system accounts. These are by default all accounts with a UID below 1000
|
|
||||||
-(non-inclusive), with the exception of either nobody or nfsnobody (UID 65534).
|
|
||||||
-This hardcoded default maybe overwritten by parameters SYS_UID_MIN and SYS_UID_MAX in
|
|
||||||
+Show system accounts. These are by default all accounts with a UID between 101 and 999
|
|
||||||
+(inclusive), with the exception of either nobody or nfsnobody (UID 65534).
|
|
||||||
+This hardcoded default may be overwritten by parameters SYS_UID_MIN and SYS_UID_MAX in
|
|
||||||
the file /etc/login.defs.
|
|
||||||
.TP
|
|
||||||
\fB\-\-time\-format\fR \fItype\fP
|
|
||||||
diff --git a/login-utils/lslogins.c b/login-utils/lslogins.c
|
|
||||||
index efb20a4f7..3d9c9b97a 100644
|
|
||||||
--- a/login-utils/lslogins.c
|
|
||||||
+++ b/login-utils/lslogins.c
|
|
||||||
@@ -74,7 +74,7 @@ static int lslogins_flag;
|
|
||||||
|
|
||||||
#define UL_UID_MIN 1000
|
|
||||||
#define UL_UID_MAX 60000
|
|
||||||
-#define UL_SYS_UID_MIN 201
|
|
||||||
+#define UL_SYS_UID_MIN 101
|
|
||||||
#define UL_SYS_UID_MAX 999
|
|
||||||
|
|
||||||
/* we use the value of outmode to determine
|
|
||||||
--
|
|
||||||
2.21.0
|
|
||||||
|
|
@ -15,7 +15,7 @@ echo -n "Checking login.defs variables in util-linux... " >&2
|
|||||||
sed -n 's/^.*logindefs_setenv*("[A-Z0-9_]*", "\([A-Z0-9_]*\)".*$/\1/p'
|
sed -n 's/^.*logindefs_setenv*("[A-Z0-9_]*", "\([A-Z0-9_]*\)".*$/\1/p'
|
||||||
) | LC_ALL=C sort -u >util-linux-login_defs-vars.lst
|
) | LC_ALL=C sort -u >util-linux-login_defs-vars.lst
|
||||||
|
|
||||||
if test $(sha1sum util-linux-login_defs-vars.lst | sed 's/ .*$//') != a9c56a10a4b5a0afb63c9208b8ca0cb1b46a8429 ; then
|
if test $(sha1sum util-linux-login_defs-vars.lst | sed 's/ .*$//') != ca9ea2bf3ee8c8c0c623ace938cdf0f04869f8cf ; then
|
||||||
|
|
||||||
echo "does not match!" >&2
|
echo "does not match!" >&2
|
||||||
echo "Checksum is: $(sha1sum util-linux-login_defs-vars.lst | sed 's/ .*$//')" >&2
|
echo "Checksum is: $(sha1sum util-linux-login_defs-vars.lst | sed 's/ .*$//')" >&2
|
||||||
|
@ -1,39 +0,0 @@
|
|||||||
From 15a191f6d30dfe202a080a3d90968b63d695a29f Mon Sep 17 00:00:00 2001
|
|
||||||
From: Stanislav Brabec <sbrabec@suse.cz>
|
|
||||||
Date: Thu, 10 Jan 2019 01:28:53 +0100
|
|
||||||
Subject: [PATCH 1/2] su-common.c: prefer /etc/default/su over login.defs
|
|
||||||
|
|
||||||
su(1) documentation says:
|
|
||||||
/etc/default/su command specific logindef config file
|
|
||||||
/etc/login.defs global logindef config file
|
|
||||||
|
|
||||||
It indirectly indicates that /etc/default/su should take precedence
|
|
||||||
over /etc/login.defs.
|
|
||||||
|
|
||||||
But the reverse is true. It is not possible to define ENV_PATH in
|
|
||||||
/etc/login.defs and then make su specific customization in
|
|
||||||
/etc/default/su. We need to change read order to match the documented
|
|
||||||
behavior.
|
|
||||||
|
|
||||||
Signed-off-by: Stanislav Brabec <sbrabec@suse.cz>
|
|
||||||
---
|
|
||||||
login-utils/su-common.c | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/login-utils/su-common.c b/login-utils/su-common.c
|
|
||||||
index e0604e246..19074247c 100644
|
|
||||||
--- a/login-utils/su-common.c
|
|
||||||
+++ b/login-utils/su-common.c
|
|
||||||
@@ -1229,8 +1229,8 @@ static void load_config(void *data)
|
|
||||||
struct su_context *su = (struct su_context *) data;
|
|
||||||
|
|
||||||
DBG(MISC, ul_debug("loading logindefs"));
|
|
||||||
- logindefs_load_file(su->runuser ? _PATH_LOGINDEFS_RUNUSER : _PATH_LOGINDEFS_SU);
|
|
||||||
logindefs_load_file(_PATH_LOGINDEFS);
|
|
||||||
+ logindefs_load_file(su->runuser ? _PATH_LOGINDEFS_RUNUSER : _PATH_LOGINDEFS_SU);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
--
|
|
||||||
2.20.1
|
|
||||||
|
|
@ -1,74 +0,0 @@
|
|||||||
From 86f42e5a2a9d8a483ad0ca85fdf090172fb4d385 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Stanislav Brabec <sbrabec@suse.cz>
|
|
||||||
Date: Thu, 10 Jan 2019 01:28:54 +0100
|
|
||||||
Subject: [PATCH 2/2] su-common.c: prefer ENV_SUPATH over ENV_ROOTPATH
|
|
||||||
|
|
||||||
ENV_SUPATH and ENV_ROOTPATH are equivalent and ENV_ROOTPATH takes
|
|
||||||
precedence in both login and su. It makes no sense. More logical would be
|
|
||||||
precedence of ENV_SUPATH in su and ENV_ROOTPATH in login.
|
|
||||||
|
|
||||||
Signed-off-by: Stanislav Brabec <sbrabec@suse.cz>
|
|
||||||
---
|
|
||||||
login-utils/login.1 | 2 +-
|
|
||||||
login-utils/runuser.1 | 2 +-
|
|
||||||
login-utils/su-common.c | 4 ++--
|
|
||||||
login-utils/su.1 | 2 +-
|
|
||||||
4 files changed, 5 insertions(+), 5 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/login-utils/login.1 b/login-utils/login.1
|
|
||||||
index cb8addec3..b73eae147 100644
|
|
||||||
--- a/login-utils/login.1
|
|
||||||
+++ b/login-utils/login.1
|
|
||||||
@@ -282,7 +282,7 @@ a regular user logs in. The default value is
|
|
||||||
(string)
|
|
||||||
.RS 4
|
|
||||||
If set, it will be used to define the PATH environment variable when
|
|
||||||
-the superuser logs in. The default value is
|
|
||||||
+the superuser logs in. ENV_ROOTPATH takes precedence. The default value is
|
|
||||||
.I /usr\:/local\:/sbin:\:/usr\:/local\:/bin:\:/sbin:\:/bin:\:/usr\:/sbin:\:/usr\:/bin
|
|
||||||
.RE
|
|
||||||
.SH FILES
|
|
||||||
diff --git a/login-utils/runuser.1 b/login-utils/runuser.1
|
|
||||||
index bf0d02471..221672200 100644
|
|
||||||
--- a/login-utils/runuser.1
|
|
||||||
+++ b/login-utils/runuser.1
|
|
||||||
@@ -183,7 +183,7 @@ default value is
|
|
||||||
.B ENV_SUPATH
|
|
||||||
(string)
|
|
||||||
.RS 4
|
|
||||||
-Defines the PATH environment variable for root. The default value is
|
|
||||||
+Defines the PATH environment variable for root. ENV_SUPATH takes precedence. The default value is
|
|
||||||
.IR /usr/local/sbin:\:/usr/local/bin:\:/sbin:\:/bin:\:/usr/sbin:\:/usr/bin .
|
|
||||||
.RE
|
|
||||||
.PP
|
|
||||||
diff --git a/login-utils/su-common.c b/login-utils/su-common.c
|
|
||||||
index 19074247c..0e44eb87c 100644
|
|
||||||
--- a/login-utils/su-common.c
|
|
||||||
+++ b/login-utils/su-common.c
|
|
||||||
@@ -989,8 +989,8 @@ static void setenv_path(const struct passwd *pw)
|
|
||||||
if (pw->pw_uid)
|
|
||||||
rc = logindefs_setenv("PATH", "ENV_PATH", _PATH_DEFPATH);
|
|
||||||
|
|
||||||
- else if ((rc = logindefs_setenv("PATH", "ENV_ROOTPATH", NULL)) != 0)
|
|
||||||
- rc = logindefs_setenv("PATH", "ENV_SUPATH", _PATH_DEFPATH_ROOT);
|
|
||||||
+ else if ((rc = logindefs_setenv("PATH", "ENV_SUPATH", NULL)) != 0)
|
|
||||||
+ rc = logindefs_setenv("PATH", "ENV_ROOTPATH", _PATH_DEFPATH_ROOT);
|
|
||||||
|
|
||||||
if (rc)
|
|
||||||
err(EXIT_FAILURE, _("failed to set the PATH environment variable"));
|
|
||||||
diff --git a/login-utils/su.1 b/login-utils/su.1
|
|
||||||
index d6a064fd2..5ae6d6b2d 100644
|
|
||||||
--- a/login-utils/su.1
|
|
||||||
+++ b/login-utils/su.1
|
|
||||||
@@ -209,7 +209,7 @@ default value is
|
|
||||||
.B ENV_SUPATH
|
|
||||||
(string)
|
|
||||||
.RS 4
|
|
||||||
-Defines the PATH environment variable for root. The default value is
|
|
||||||
+Defines the PATH environment variable for root. ENV_SUPATH takes precedence. The default value is
|
|
||||||
.IR /usr/local/sbin:\:/usr/local/bin:\:/sbin:\:/bin:\:/usr/sbin:\:/usr/bin .
|
|
||||||
.RE
|
|
||||||
.PP
|
|
||||||
--
|
|
||||||
2.20.1
|
|
||||||
|
|
@ -1,3 +1,33 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 26 23:49:42 CEST 2019 - sbrabec@suse.com
|
||||||
|
|
||||||
|
- Update to version 2.34:
|
||||||
|
* new command hardlink
|
||||||
|
* rewrite of lsblk, now supports --dedup
|
||||||
|
* support for FUSE in umount
|
||||||
|
* support for "--all -o remount" in mount
|
||||||
|
* su: prefer /etc/default/su over /etc/login.defs and ENV_SUPATH
|
||||||
|
over ENV_ROOTPATH (bsc#1121197), improved --pty
|
||||||
|
* unshare: add -S/--setuid, -G/--setgid, -R/--root and -w/--wd
|
||||||
|
* fstrim: do not suppress warnings unless --quiet is used
|
||||||
|
* lscpu: print 'Frequency boost' and 'Vulnerability' fields, add
|
||||||
|
--caches
|
||||||
|
* logger: merge multiple MESSAGE= lines
|
||||||
|
* libblkid: do not depend on libuuid, supports DRBD9 detection
|
||||||
|
* libsmartcols: support N:M relationships in tree-like output
|
||||||
|
* fstrim and uuidd systemd services: hardening settings to
|
||||||
|
improve security and service isolation
|
||||||
|
* fstrim: trim root filesystem on --fstab, check for read-only
|
||||||
|
filesystems on --all and --fstab (boo#1106214).
|
||||||
|
* fstrim -A: properly de-duplicate sub-volumes (boo#1127701).
|
||||||
|
* Obsoletes util-linux-login_defs-priority1.patch,
|
||||||
|
util-linux-login_defs-priority2.patch and
|
||||||
|
util-linux-login_defs-SYS_UID.patch.
|
||||||
|
* Many Other fixes, see
|
||||||
|
https://www.kernel.org/pub/linux/utils/util-linux/v2.34/v2.34-ReleaseNotes
|
||||||
|
- util-linux-login_defs-check.sh: Update checksum, login now
|
||||||
|
supports LASTLOG_UID_MAX.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jul 22 17:19:22 CEST 2019 - sbrabec@suse.com
|
Mon Jul 22 17:19:22 CEST 2019 - sbrabec@suse.com
|
||||||
|
|
||||||
|
@ -115,7 +115,7 @@ BuildRequires: libmount-devel
|
|||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
#END SECOND STAGE DEPENDENCIES
|
#END SECOND STAGE DEPENDENCIES
|
||||||
Version: 2.33.2
|
Version: 2.34
|
||||||
Release: 0
|
Release: 0
|
||||||
# util-linux is a base package and uuidd pre-requiring pwdutils pulls
|
# util-linux is a base package and uuidd pre-requiring pwdutils pulls
|
||||||
# that into the core build cycle. pwdutils also pulls in the whole
|
# that into the core build cycle. pwdutils also pulls in the whole
|
||||||
@ -145,12 +145,6 @@ Source51: blkid.conf
|
|||||||
Patch0: make-sure-sbin-resp-usr-sbin-are-in-PATH.diff
|
Patch0: make-sure-sbin-resp-usr-sbin-are-in-PATH.diff
|
||||||
Patch1: libmount-print-a-blacklist-hint-for-unknown-filesyst.patch
|
Patch1: libmount-print-a-blacklist-hint-for-unknown-filesyst.patch
|
||||||
Patch2: Add-documentation-on-blacklisted-modules-to-mount-8-.patch
|
Patch2: Add-documentation-on-blacklisted-modules-to-mount-8-.patch
|
||||||
# PATCH-FIX-UPSTREAM util-linux-login_defs-priority1.patch bsc1121197 sbrabec@suse.com -- Fix priorities of login.defs values.
|
|
||||||
Patch3: util-linux-login_defs-priority1.patch
|
|
||||||
# PATCH-FIX-UPSTREAM util-linux-login_defs-priority2.patch bsc1121197 sbrabec@suse.com -- Fix priorities of login.defs values.
|
|
||||||
Patch4: util-linux-login_defs-priority2.patch
|
|
||||||
# PATCH-FIX-UPSTREAM util-linux-login_defs-SYS_UID.patch bsc1121197 sbrabec@suse.com -- Fix discrepancies in SYS_UID* fallback.
|
|
||||||
Patch5: util-linux-login_defs-SYS_UID.patch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
#
|
#
|
||||||
%if %build_util_linux
|
%if %build_util_linux
|
||||||
@ -412,9 +406,6 @@ cp -a %{S:2} .
|
|||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
%patch3 -p1
|
|
||||||
%patch4 -p1
|
|
||||||
%patch5 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
||||||
@ -937,6 +928,7 @@ rmdir --ignore-fail-on-non-empty /run/run >/dev/null 2>&1 || :
|
|||||||
%{_bindir}/findmnt
|
%{_bindir}/findmnt
|
||||||
%{_bindir}/flock
|
%{_bindir}/flock
|
||||||
%{_bindir}/getopt
|
%{_bindir}/getopt
|
||||||
|
%{_bindir}/hardlink
|
||||||
%{_bindir}/hexdump
|
%{_bindir}/hexdump
|
||||||
%{_bindir}/ionice
|
%{_bindir}/ionice
|
||||||
%{_bindir}/ipcmk
|
%{_bindir}/ipcmk
|
||||||
@ -1039,6 +1031,7 @@ rmdir --ignore-fail-on-non-empty /run/run >/dev/null 2>&1 || :
|
|||||||
%{_mandir}/man1/fincore.1.gz
|
%{_mandir}/man1/fincore.1.gz
|
||||||
%{_mandir}/man1/flock.1.gz
|
%{_mandir}/man1/flock.1.gz
|
||||||
%{_mandir}/man1/getopt.1.gz
|
%{_mandir}/man1/getopt.1.gz
|
||||||
|
%{_mandir}/man1/hardlink.1.gz
|
||||||
%{_mandir}/man1/hexdump.1.gz
|
%{_mandir}/man1/hexdump.1.gz
|
||||||
%{_mandir}/man1/ipcrm.1.gz
|
%{_mandir}/man1/ipcrm.1.gz
|
||||||
%{_mandir}/man1/ipcs.1.gz
|
%{_mandir}/man1/ipcs.1.gz
|
||||||
|
@ -1,3 +1,33 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 26 23:49:42 CEST 2019 - sbrabec@suse.com
|
||||||
|
|
||||||
|
- Update to version 2.34:
|
||||||
|
* new command hardlink
|
||||||
|
* rewrite of lsblk, now supports --dedup
|
||||||
|
* support for FUSE in umount
|
||||||
|
* support for "--all -o remount" in mount
|
||||||
|
* su: prefer /etc/default/su over /etc/login.defs and ENV_SUPATH
|
||||||
|
over ENV_ROOTPATH (bsc#1121197), improved --pty
|
||||||
|
* unshare: add -S/--setuid, -G/--setgid, -R/--root and -w/--wd
|
||||||
|
* fstrim: do not suppress warnings unless --quiet is used
|
||||||
|
* lscpu: print 'Frequency boost' and 'Vulnerability' fields, add
|
||||||
|
--caches
|
||||||
|
* logger: merge multiple MESSAGE= lines
|
||||||
|
* libblkid: do not depend on libuuid, supports DRBD9 detection
|
||||||
|
* libsmartcols: support N:M relationships in tree-like output
|
||||||
|
* fstrim and uuidd systemd services: hardening settings to
|
||||||
|
improve security and service isolation
|
||||||
|
* fstrim: trim root filesystem on --fstab, check for read-only
|
||||||
|
filesystems on --all and --fstab (boo#1106214).
|
||||||
|
* fstrim -A: properly de-duplicate sub-volumes (boo#1127701).
|
||||||
|
* Obsoletes util-linux-login_defs-priority1.patch,
|
||||||
|
util-linux-login_defs-priority2.patch and
|
||||||
|
util-linux-login_defs-SYS_UID.patch.
|
||||||
|
* Many Other fixes, see
|
||||||
|
https://www.kernel.org/pub/linux/utils/util-linux/v2.34/v2.34-ReleaseNotes
|
||||||
|
- util-linux-login_defs-check.sh: Update checksum, login now
|
||||||
|
supports LASTLOG_UID_MAX.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jul 22 17:19:22 CEST 2019 - sbrabec@suse.com
|
Mon Jul 22 17:19:22 CEST 2019 - sbrabec@suse.com
|
||||||
|
|
||||||
|
@ -115,7 +115,7 @@ BuildRequires: libmount-devel
|
|||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
#END SECOND STAGE DEPENDENCIES
|
#END SECOND STAGE DEPENDENCIES
|
||||||
Version: 2.33.2
|
Version: 2.34
|
||||||
Release: 0
|
Release: 0
|
||||||
# util-linux is a base package and uuidd pre-requiring pwdutils pulls
|
# util-linux is a base package and uuidd pre-requiring pwdutils pulls
|
||||||
# that into the core build cycle. pwdutils also pulls in the whole
|
# that into the core build cycle. pwdutils also pulls in the whole
|
||||||
@ -145,12 +145,6 @@ Source51: blkid.conf
|
|||||||
Patch0: make-sure-sbin-resp-usr-sbin-are-in-PATH.diff
|
Patch0: make-sure-sbin-resp-usr-sbin-are-in-PATH.diff
|
||||||
Patch1: libmount-print-a-blacklist-hint-for-unknown-filesyst.patch
|
Patch1: libmount-print-a-blacklist-hint-for-unknown-filesyst.patch
|
||||||
Patch2: Add-documentation-on-blacklisted-modules-to-mount-8-.patch
|
Patch2: Add-documentation-on-blacklisted-modules-to-mount-8-.patch
|
||||||
# PATCH-FIX-UPSTREAM util-linux-login_defs-priority1.patch bsc1121197 sbrabec@suse.com -- Fix priorities of login.defs values.
|
|
||||||
Patch3: util-linux-login_defs-priority1.patch
|
|
||||||
# PATCH-FIX-UPSTREAM util-linux-login_defs-priority2.patch bsc1121197 sbrabec@suse.com -- Fix priorities of login.defs values.
|
|
||||||
Patch4: util-linux-login_defs-priority2.patch
|
|
||||||
# PATCH-FIX-UPSTREAM util-linux-login_defs-SYS_UID.patch bsc1121197 sbrabec@suse.com -- Fix discrepancies in SYS_UID* fallback.
|
|
||||||
Patch5: util-linux-login_defs-SYS_UID.patch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
#
|
#
|
||||||
%if %build_util_linux
|
%if %build_util_linux
|
||||||
@ -412,9 +406,6 @@ cp -a %{S:2} .
|
|||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
%patch3 -p1
|
|
||||||
%patch4 -p1
|
|
||||||
%patch5 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
||||||
@ -937,6 +928,7 @@ rmdir --ignore-fail-on-non-empty /run/run >/dev/null 2>&1 || :
|
|||||||
%{_bindir}/findmnt
|
%{_bindir}/findmnt
|
||||||
%{_bindir}/flock
|
%{_bindir}/flock
|
||||||
%{_bindir}/getopt
|
%{_bindir}/getopt
|
||||||
|
%{_bindir}/hardlink
|
||||||
%{_bindir}/hexdump
|
%{_bindir}/hexdump
|
||||||
%{_bindir}/ionice
|
%{_bindir}/ionice
|
||||||
%{_bindir}/ipcmk
|
%{_bindir}/ipcmk
|
||||||
@ -1039,6 +1031,7 @@ rmdir --ignore-fail-on-non-empty /run/run >/dev/null 2>&1 || :
|
|||||||
%{_mandir}/man1/fincore.1.gz
|
%{_mandir}/man1/fincore.1.gz
|
||||||
%{_mandir}/man1/flock.1.gz
|
%{_mandir}/man1/flock.1.gz
|
||||||
%{_mandir}/man1/getopt.1.gz
|
%{_mandir}/man1/getopt.1.gz
|
||||||
|
%{_mandir}/man1/hardlink.1.gz
|
||||||
%{_mandir}/man1/hexdump.1.gz
|
%{_mandir}/man1/hexdump.1.gz
|
||||||
%{_mandir}/man1/ipcrm.1.gz
|
%{_mandir}/man1/ipcrm.1.gz
|
||||||
%{_mandir}/man1/ipcs.1.gz
|
%{_mandir}/man1/ipcs.1.gz
|
||||||
|
Loading…
Reference in New Issue
Block a user