Compare commits

...

130 Commits
f24 ... rawhide

Author SHA1 Message Date
Karel Zak c87ed81c2c 2.39-0.5: upgrade to 2.39-rc3 2023-04-19 11:39:42 +02:00
Karel Zak 09904cbd56 2.39-0.4: fix libmount 2023-04-05 21:59:20 +02:00
Karel Zak 5fa93ec5e0 fix spec file for -rc2 2023-04-04 19:34:43 +02:00
Karel Zak 3bf1f5a44f 2.39-0.2: upgrade to -rc2 2023-04-04 14:59:49 +02:00
Karel Zak 4ffd39d553 commit missing files 2023-03-21 19:34:04 +01:00
Karel Zak a228e53a4b 2.39-0.1: upgrade to -rc1 2023-03-20 13:55:14 +01:00
Fedora Release Engineering a04c11370c Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 06:01:31 +00:00
Florian Weimer d65ce0b32c Backport upstream patch to fix C99 issue in kill
It is again necessary to run autotools during the build.

Related to:

  <https://fedoraproject.org/wiki/Changes/PortingToModernC>
  <https://fedoraproject.org/wiki/Toolchain/PortingToModernC>
2022-12-17 21:40:37 +01:00
Karel Zak 260ccc24c5 2.38.1-2: improve tmpfiles.d use 2022-08-22 12:00:27 +02:00
Karel Zak c96992b25e 2.38.1-1: upgrade 2022-08-04 16:04:00 +02:00
Fedora Release Engineering dd1f0e5a82 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 11:35:51 +00:00
Python Maint f64c455630 Rebuilt for Python 3.11 2022-06-13 15:08:44 +02:00
Karel Zak 1f18765a68 2.38-3: fix changelog 2022-04-13 20:47:23 +02:00
Zbigniew Jędrzejewski-Szmek 6c5649c0b6 Simplify creation of /etc/mtab symlink
It was created unconditionally in %post, so the original contents (if
any) were overwritten. Listing is as %config was just misleading.
Let's simply list the symlink as normal contents in the rpm, so that
rpm can install the symlink for us.

(The scriplet was missing a dependency on coreutils for ln, but let's
not add that if we can drop the whole thing.)

[kzak@redhat.com: - add %changelog entry]
2022-03-30 13:33:13 +02:00
Karel Zak 6578411a87 2.38-1: upgrade, spec file cleanup 2022-03-30 13:15:41 +02:00
Zbigniew Jędrzejewski-Szmek 3b965f951d Modernize style
Guidelines say %global should be used instead of %define.
Also drop periods from Summary, add them to %description.
%__sed and friends are deprecated.
2022-03-30 13:05:58 +02:00
Zbigniew Jędrzejewski-Szmek c409cb5073 Drop very old upgrade scriptlet for libblkid
It was there in the initial commit in 2011, but it looks like it is
older than that.
2022-03-30 12:58:54 +02:00
Karel Zak f3b1a65177 2.38-rc3: upgrade 2022-03-16 09:54:43 +01:00
Karel Zak 5abc3df64a 2.38-0.3: add /usr/lib/tmpfiles.d/uuidd.conf 2022-02-02 12:23:05 +01:00
Zbigniew Jędrzejewski-Szmek f9a78e1def 2.38-0.2: Release ownership of /var/log/lastlog
/var/log directory is provided by filesystem package, no need to create
it. And systemd >= 235 will create /var/log/lastlog owned by utmp. So
release ownership of the file, and let systemd manage it.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1798685.
Similar change in setup: https://pagure.io/setup/pull-request/30.
2022-02-02 11:23:26 +01:00
Karel Zak f55af7b31a add v2.38-rc1 sources 2022-01-31 16:32:09 +01:00
Karel Zak 93b5e7b623 2.38-0.1: upgrade to v2.38-rc1 2022-01-31 16:22:25 +01:00
Fedora Release Engineering b3ca809df8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-22 03:42:53 +00:00
Karel Zak 2abaf6eb96 2.37.2-1: upgrade 2021-08-17 10:43:34 +02:00
Fedora Release Engineering f9f53d46a2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 20:13:49 +00:00
Karel Zak 31097faf0c 2.37-5: remove util-linux-60-raw.rules 2021-07-14 18:20:13 +02:00
Karel Zak e7be6ae5f5 2.37-4: fix #1981729 (close_range(), remove raw(8) and PCRE2 use) 2021-07-14 18:08:26 +02:00
Richard W.M. Jones cca6bc092d Rebuild for updated pcre2
The package fails to install in Rawhide at the moment with:

DEBUG util.py:444:  Error:
DEBUG util.py:444:   Problem: package util-linux-2.37-2.fc35.x86_64 requires util-linux-core = 2.37-2.fc35, but none of the providers can be installed
DEBUG util.py:444:    - conflicting requests
DEBUG util.py:444:    - nothing provides libpcre2-posix.so.2()(64bit) needed by util-linux-core-2.37-2.fc35.x86_64

This is my attempt to see if I can fix this with a simple rebuild.  If
not I will file a bug.
2021-06-16 11:55:58 +01:00
Python Maint e86e462be5 Rebuilt for Python 3.10 2021-06-04 21:19:06 +02:00
Karel Zak b50e3f3a07 2.37-1: upgrade, add util-linux-core 2021-06-01 12:23:41 +02:00
Karel Zak f00635cf14 2.37-0.1: upgrade to upstream v2.37-rc2 2021-05-14 10:42:53 +02:00
Zbigniew Jędrzejewski-Szmek 985b3cb330 Make changelog chronological again 2021-04-21 17:04:24 +02:00
Zbigniew Jędrzejewski-Szmek 05489e2334 Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
2021-03-02 16:12:05 +01:00
Robert Scheck 2002e7d438 2.36.2-2: Spec file cleanup
[kzak@redhat.com: - add changelog entry to spec file]
2021-03-02 13:00:11 +01:00
Karel Zak 8abfa74392 2.36.2-1: upgrade 2021-02-12 16:14:51 +01:00
Kelvin Fan 1c853c1f4b 2.36.1-4: Add patch to add /run/motd.d to default MOTD_FILE in login(1) 2021-01-27 17:19:12 +01:00
Karel Zak b188598d35 2.36.1-3: improve uuidd scriptlets
It seems we need to explicitly restart and uninstall uuiddd.socket
unit too.
2021-01-14 15:42:41 +01:00
Tom Stellard 08aad7c190 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-09 00:31:51 +00:00
Karel Zak 5977e189d6 2.36.1-2: cleanup patches, fix 'symfollow' mount issue 2020-11-19 11:50:25 +01:00
Karel Zak 347549f079 upload sources 2020-11-16 15:32:39 +01:00
Karel Zak c48435329a 2.36.1: upgrade 2020-11-16 14:56:03 +01:00
Tom Stellard b441300c92 v2.36-4: Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro

[kzak@redhat.com: - port to the current master branch]
2020-11-12 11:10:09 +01:00
Karel Zak b0e9e3bcb8 2.36-3: #1860461 - sfdisk gaps
and add autotools to BuildRequires
2020-09-01 13:40:56 +02:00
Karel Zak 16f25ffc54 2.36-3: remove libmount mountinfo workaround 2020-09-01 12:45:28 +02:00
Fedora Release Engineering 5aecaa99fe - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 13:28:25 +00:00
Karel Zak f991f6faa9 2.36-1: upgrade 2020-07-23 14:51:41 +02:00
Karel Zak 98af691bc7 Merge #5 `Minor conditional tweaks for ELN` 2020-06-23 10:41:51 +00:00
Miro Hrončok ed9b0d3627 Rebuilt for Python 3.9 2020-05-26 03:54:15 +02:00
Karel Zak acc3919c15 new v2.35.2 tarball 2020-05-20 17:09:41 +02:00
Karel Zak e998a685f7 2.35.2-1: upstream stable update 2020-05-20 17:06:23 +02:00
Troy Dawson 098671aa4d Minor conditional tweaks for ELN
Signed-off-by: Troy Dawson tdawson@redhat.com
2020-05-13 19:06:17 +00:00
Karel Zak fe0e3c7437 2.35.1-9: fix typo 2020-04-15 10:29:57 +02:00
Karel Zak 7c81cc769f 2.35.1-8: fix #1822226 #1823463 2020-04-15 09:57:05 +02:00
Kalev Lember 580f0fece0 Another attempt at enabling fstrim.timer on F32 upgrades (#1811506)
Avoid using %systemd_post as it is guarding the trigger with '$1 -eq 1'
which not true for %triggerpostun (it's 2 for updates in triggerpostun).

Also, while at this, fine-tune the trigger condition to trigger for
package updates from older F32 versions as well -- this makes it much
easier to test this fix, and also fixes fstrim.timer for anyone who
installed from F32 beta media.
2020-03-24 13:50:01 +01:00
Karel Zak 9a75633915 2.35.1-6: fix #1811506 (triggerpostun) 2020-03-19 10:22:45 +01:00
Karel Zak f1bf9845c3 2.35.1-5: fix lsblk -P 2020-02-25 16:01:23 +01:00
Karel Zak 20ae04497c 2.35.1-4: enable fstrim.timer when upgrading
During upgrades of Fedora 30/31 to 32/33, enable fstrim.timer per
the new vendor preset so they're the same as a clean install.

Addresses: https://fedoraproject.org/wiki/Changes/EnableFSTrimTimer
Addresses: https://pagure.io/fesco/issue/2309
2020-02-06 11:59:30 +01:00
Karel Zak 2831759869 2.35.1-3: fix fstrim.service 2020-02-04 16:34:54 +01:00
Karel Zak 523a7c4f54 2.35.1-2: sfdisk issue 2020-02-04 15:31:56 +01:00
Karel Zak 086a8aa5c9 2.35.1-1: upstream upgrade 2020-02-03 12:08:46 +01:00
Fedora Release Engineering 028de3ee58 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-31 02:50:05 +00:00
Karel Zak b3e437baf2 2.35-1: upgrade 2020-01-21 12:13:20 +01:00
Karel Zak 7c4fd7f42a 2.35-0.5: upgrade to usptream -rc2 2020-01-09 10:48:10 +01:00
Karel Zak 80deb77249 2.35-0.4: fix agetty 2019-12-20 15:10:19 +01:00
Karel Zak a61dbe7cc6 2.35-0.3: upgrade to upstream snapshot 2019-12-20 13:26:59 +01:00
Adam Williamson 2cde2b2546 Revert upstream commit 7ef86a0 to fix RHBZ #1783066 2019-12-12 18:07:54 -08:00
Karel Zak 42ab31a080 2.35-0.1: upgrade to usptream release 2019-12-11 12:57:10 +01:00
Karel Zak 707076abd5 2.34-6: mountinfo issue 2019-09-13 09:53:00 +02:00
Karel Zak 83243ee93c 2.34-5: #1751290 (lsblk) 2019-09-12 11:36:01 +02:00
Karel Zak 4ac61ab4ac 2.34-4: add BuildRequires: readline
Note that the library is already in Fedora minimal base.
2019-09-05 13:04:30 +02:00
Miro Hrončok 4820f4132a Rebuilt for Python 3.8 2019-08-19 11:08:55 +02:00
Karel Zak a1ba076eea 2.34-2: add BuildRequires: librtas-devel 2019-07-24 17:00:02 +02:00
Karel Zak a495296401 2.34-1: upstream version upgrade 2019-06-14 14:03:34 +02:00
Karel Zak c0267df5f2 2.34-0.2: new sources 2019-05-30 12:50:39 +02:00
Karel Zak 7748eaf530 2.34-0.2: upgrade 2019-05-30 12:44:03 +02:00
Karel Zak 351fc04cd1 2.34-0.1: upgrade 2019-05-02 10:03:39 +02:00
Karel Zak 5ecbe52e91 2.33.2-1: upgrade 2019-04-09 16:14:33 +02:00
Igor Gnatenko 6469bd527b
Remove obsolete scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-03-07 11:20:51 +01:00
Fedora Release Engineering 8645c3a8bd - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 10:59:49 +00:00
Igor Gnatenko 11d74871f2 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:53 +01:00
Björn Esser 7152f9510d
Rebuilt for libcrypt.so.2 (#1666033) 2019-01-14 18:53:50 +01:00
Karel Zak ffe5e68263 2.33.1-1: upgrade 2019-01-09 11:54:05 +01:00
Karel Zak bdd2c5116b fix build on s390 2018-11-01 11:24:45 +01:00
Karel Zak a3884eaf3e 2.33-0.1: upgrade, ldconfig 2018-11-01 10:09:29 +01:00
Karel Zak 59614e3019 2.32.1-1: upgrade
Signed-off-by: Karel Zak <kzak@redhat.com>
2018-07-16 13:46:33 +02:00
Fedora Release Engineering bfac7fc8c6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 08:21:38 +00:00
Jason Tibbitts 052fa90bc6 Remove needless use of %defattr 2018-07-10 01:43:37 -05:00
Miro Hrončok 5940ccada5 Rebuilt for Python 3.7 2018-06-19 11:30:05 +02:00
Karel Zak 4ada5eaed7 add adjtime file 2018-05-18 11:08:27 +02:00
Karel Zak 437d842852 2.32-5: move /etc/adjtime from initscripts to util-linux 2018-05-18 10:47:36 +02:00
Karel Zak c18880bcb1 2.32-4: fix uuidd.service 2018-04-11 09:27:03 +02:00
Karel Zak ba7c336b4c 2.32-3: improve ./configure 2018-04-10 14:56:50 +02:00
Karel Zak c96e764d51 2.32-2: fix #1560283 2018-03-27 11:17:39 +02:00
Karel Zak 3d6431f7c5 remove unused patches 2018-03-27 11:07:40 +02:00
Karel Zak 4c91ee804e 2.32-1: upgrade 2018-03-21 15:59:31 +01:00
Karel Zak 279eda57a9 2.32-0.2: add BuildRequires gcc 2018-02-20 12:20:35 +01:00
Karel Zak d3224d47ec 2.32-0.1: upstream upgrade 2018-02-13 13:46:57 +01:00
Fedora Release Engineering 3d667f8a82 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 20:13:27 +00:00
Björn Esser 8039d29dfb
Rebuilt for switch to libxcrypt 2018-01-20 23:08:40 +01:00
Karel Zak 530b947e7b Merge #3 `Fix directory ownership in python subpackage` 2018-01-12 12:13:52 +00:00
Lumir Balhar 58bac092a5 Fix directory ownership in python subpackage 2018-01-03 16:24:53 +01:00
Serhii Turivnyi 55938ef1c2 Add CI tests for Atomic Host using the standard test interface 2017-12-15 14:43:47 +02:00
Karel Zak 8db7d85a0e Merge #1 `Initial commit for downstream tests using standard test interface` 2017-11-15 12:27:20 +00:00
Karel Zak 4420515181 2.31-2: dmesg fix 2017-10-30 15:20:51 +01:00
Karel Zak 3251a896f8 2.31-1: remove obsolete patch 2017-10-23 12:29:38 +02:00
Karel Zak 95b12b7aa0 2.31-1: upstream ugrade 2017-10-23 11:56:41 +02:00
Rachel Sibley a56a94947c Initial commit for downstream tests using standard test interface 2017-10-16 16:00:11 -04:00
Karel Zak 401fd81490 2.31-0.4:fix losetup build error 2017-10-09 11:01:57 +02:00
Karel Zak 8aba0e5c79 new sources 2017-10-09 10:49:50 +02:00
Karel Zak 208b062ff6 2.31-0.3: upgrade to rc2, enable rfkill 2017-10-09 10:42:31 +02:00
Karel Zak 2cbb58aee9 2.31-0.2: disable rfkill
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-09-25 11:24:21 +02:00
Karel Zak 93789c7721 upgrade to v2.31-rc1 2017-09-22 12:56:53 +02:00
Karel Zak 558fdf8110 upgrade to v2.30.2 2017-09-22 10:17:26 +02:00
Karel Zak 8aba564a5f 2.30.1-5: ln-s more robust 2017-08-14 11:16:01 +02:00
Karel Zak d8ee2107f1 2.30.1-4: fix post install script 2017-08-04 11:01:51 +02:00
Karel Zak f898c96467 2.30.1-3: fix #1390191 2017-08-02 15:10:45 +02:00
Fedora Release Engineering c186315fe8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 21:07:09 +00:00
Karel Zak cdab8b4a76 upgrade to v2.30.1
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-07-20 14:16:09 +02:00
Karel Zak 17b923cc1e upgrade to v2.30 2017-06-02 12:58:33 +02:00
Karel Zak 77887c051b upgrade to v2.30-rc1 2017-05-17 10:51:15 +02:00
Karel Zak 4efad38df3 upgrade to v2.29.2 2017-02-24 12:25:37 +01:00
Fedora Release Engineering 04f1d57f74 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 16:52:10 +00:00
Karel Zak 07ed6e64f8 upgrade to v2.29.1 2017-01-20 15:52:13 +01:00
Miro Hrončok d3eae21d69 Rebuild for Python 3.6 2016-12-19 18:20:38 +01:00
Karel Zak 3d940d4e83 upgrade to v2.29 2016-11-08 12:47:08 +01:00
Karel Zak b570e8a4eb upgrade to v2.29-rc2 2016-10-19 15:30:01 +02:00
Karel Zak c55c42ae5d upgrade to v2.29-rc1 2016-09-30 12:04:51 +02:00
Karel Zak b106becc25 v2.28.2: upgrade 2016-09-07 14:18:10 +02:00
Karel Zak ef494ba0d6 v2.28.1: upgrade 2016-08-18 09:59:05 +02:00
Fedora Release Engineering e91f50c406 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages 2016-07-19 13:05:20 +00:00
17 changed files with 823 additions and 342 deletions

42
.gitignore vendored
View File

@ -48,3 +48,45 @@
/util-linux-2.28-rc1.tar.xz
/util-linux-2.28-rc2.tar.xz
/util-linux-2.28.tar.xz
/util-linux-2.28.1.tar.xz
/util-linux-2.28.2.tar.xz
/util-linux-2.29-rc1.tar.xz
/util-linux-2.29-rc2.tar.xz
/util-linux-2.29.tar.xz
/util-linux-2.29.1.tar.xz
/util-linux-2.29.2.tar.xz
/util-linux-2.30-rc1.tar.xz
/util-linux-2.30.tar.xz
/util-linux-2.30.1.tar.xz
/util-linux-2.30.2.tar.xz
/util-linux-2.31-rc1.tar.xz
/util-linux-2.31-rc2.tar.xz
/util-linux-2.31.tar.xz
/util-linux-2.32-rc1.tar.xz
/util-linux-2.32.tar.xz
/util-linux-2.32.1.tar.xz
/util-linux-2.33-rc2.tar.xz
/util-linux-2.33.1.tar.xz
/util-linux-2.33.2.tar.xz
/util-linux-2.34-rc1.tar.xz
/util-linux-2.34-rc2.tar.xz
/util-linux-2.34.tar.xz
/util-linux-2.35-rc1.tar.xz
/util-linux-2.35-rc1-20-63f8.tar.xz
/util-linux-2.35-rc2.tar.xz
/util-linux-2.35.tar.xz
/util-linux-2.35.1.tar.xz
/util-linux-2.35.2.tar.xz
/util-linux-2.36.tar.xz
/util-linux-2.36.1.tar.xz
/util-linux-2.36.2.tar.xz
/util-linux-2.37-rc2.tar.xz
/util-linux-2.37.tar.xz
/util-linux-2.37.2.tar.xz
/util-linux-2.38-rc1.tar.xz
/util-linux-2.38-rc3.tar.xz
/util-linux-2.38.tar.xz
/util-linux-2.38.1.tar.xz
/util-linux-2.39-rc1.tar.xz
/util-linux-2.39-rc2.tar.xz
/util-linux-2.39-rc3.tar.xz

View File

@ -1,13 +0,0 @@
diff -up util-linux-2.27.1/libblkid/src/probe.c.kzak util-linux-2.27.1/libblkid/src/probe.c
diff -up util-linux-2.27.1/libblkid/src/superblocks/zfs.c.kzak util-linux-2.27.1/libblkid/src/superblocks/zfs.c
--- util-linux-2.27.1/libblkid/src/superblocks/zfs.c.kzak 2015-11-02 10:07:34.567648465 +0100
+++ util-linux-2.27.1/libblkid/src/superblocks/zfs.c 2015-11-18 12:13:32.716188023 +0100
@@ -258,7 +258,7 @@ static int probe_zfs(blkid_probe pr, con
const struct blkid_idinfo zfs_idinfo =
{
.name = "zfs_member",
- .usage = BLKID_USAGE_RAID,
+ .usage = BLKID_USAGE_FILESYSTEM,
.probefunc = probe_zfs,
.minsz = 64 * 1024 * 1024,
.magics = BLKID_NONE_MAGIC

View File

@ -1,34 +0,0 @@
From 55ad13c26fe5d0e606be5a83937f31b8cf576588 Mon Sep 17 00:00:00 2001
From: Karel Zak <kzak@redhat.com>
Date: Thu, 28 Apr 2016 13:54:01 +0200
Subject: [PATCH] libblkid: make I/O errors on CDROMs non-fatal
It seems too tricky to get a real size of the data track on hybrid
disks with audio+data. It seems overkill to analyze all header in
libblkid and on some disks it's probably possible to get I/O error
almost everywhere due to crazy copy protection etc.
Signed-off-by: Karel Zak <kzak@redhat.com>
---
libblkid/src/probe.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/libblkid/src/probe.c b/libblkid/src/probe.c
index 63baed3..5d9f701 100644
--- a/libblkid/src/probe.c
+++ b/libblkid/src/probe.c
@@ -615,7 +615,10 @@ static struct blkid_bufinfo *read_buffer(blkid_probe pr, uint64_t real_off, uint
if (ret != (ssize_t) len) {
DBG(LOWPROBE, ul_debug("\tread failed: %m"));
free(bf);
- if (ret >= 0)
+
+ /* I/O errors on CDROMs are non-fatal to work with hybrid
+ * audio+data disks */
+ if (ret >= 0 || blkid_probe_is_cdrom(pr))
errno = 0;
return NULL;
}
--
2.4.11

View File

@ -1,12 +0,0 @@
diff -up util-linux-2.28/login-utils/login.c.kzak util-linux-2.28/login-utils/login.c
--- util-linux-2.28/login-utils/login.c.kzak 2016-03-08 14:28:16.724156218 +0100
+++ util-linux-2.28/login-utils/login.c 2016-04-26 12:45:29.235326017 +0200
@@ -510,7 +510,7 @@ static void log_lastlog(struct login_con
sa.sa_handler = SIG_IGN;
sigaction(SIGXFSZ, &sa, &oldsa_xfsz);
- fd = open(_PATH_LASTLOG, O_RDWR, 0);
+ fd = open(_PATH_LASTLOG, O_RDWR | O_CREAT, 0);
if (fd < 0)
goto done;

2
adjtime Normal file
View File

@ -0,0 +1,2 @@
0.0 0 0.0
0

View File

@ -1,13 +0,0 @@
diff -up util-linux-2.27.1/libblkid/src/superblocks/minix.c.kzak util-linux-2.27.1/libblkid/src/superblocks/minix.c
--- util-linux-2.27.1/libblkid/src/superblocks/minix.c.kzak 2016-01-18 15:02:05.493738910 +0100
+++ util-linux-2.27.1/libblkid/src/superblocks/minix.c 2016-01-18 15:04:20.020773281 +0100
@@ -90,7 +90,8 @@ static int probe_minix(blkid_probe pr, c
struct minix_super_block *sb = (struct minix_super_block *) data;
int zones, ninodes, imaps, zmaps, firstz;
- if (sb->s_imap_blocks == 0 || sb->s_zmap_blocks == 0)
+ if (sb->s_imap_blocks == 0 || sb->s_zmap_blocks == 0 ||
+ sb->s_log_zone_size != 0)
return 1;
zones = version == 2 ? minix_swab32(swabme, sb->s_zones) :

View File

@ -0,0 +1,13 @@
diff --git a/include/pathnames.h b/include/pathnames.h
index 3845d4c33..fac3a0783 100644
--- a/include/pathnames.h
+++ b/include/pathnames.h
@@ -41,7 +41,7 @@
#ifndef _PATH_MAILDIR
# define _PATH_MAILDIR "/var/spool/mail"
#endif
-#define _PATH_MOTDFILE "/usr/share/misc/motd:/run/motd:/etc/motd"
+#define _PATH_MOTDFILE "/usr/share/misc/motd:/run/motd:/run/motd.d:/etc/motd:/etc/motd.d"
#ifndef _PATH_NOLOGIN
# define _PATH_NOLOGIN "/etc/nologin"
#endif

View File

@ -0,0 +1,12 @@
diff -up util-linux-2.36/login-utils/login.c.kzak util-linux-2.36/login-utils/login.c
--- util-linux-2.36/login-utils/login.c.kzak 2020-07-23 14:13:26.777030764 +0200
+++ util-linux-2.36/login-utils/login.c 2020-07-23 14:11:22.793686983 +0200
@@ -585,7 +585,7 @@ static void log_lastlog(struct login_con
sa.sa_handler = SIG_IGN;
sigaction(SIGXFSZ, &sa, &oldsa_xfsz);
- fd = open(_PATH_LASTLOG, O_RDWR, 0);
+ fd = open(_PATH_LASTLOG, O_RDWR | O_CREAT, 0);
if (fd < 0)
goto done;
offset = cxt->pwd->pw_uid * sizeof(ll);

View File

@ -1 +1 @@
e534e6ccc49107e5d31c329af798ef7d util-linux-2.28.tar.xz
SHA512 (util-linux-2.39-rc3.tar.xz) = 8a93d32a5ceb38d50a4b2c8bfa48bcab7ec9b758c89b5a1a4f7fd74558dce37385bd7ea203345148d4389de4ea60ec42058f9d7889a8075d3e616773d085427e

13
tests/tests.yml Normal file
View File

@ -0,0 +1,13 @@
# Test which run in classic and docker environemnt
- hosts: localhost
tags:
- classic
- container
- atomic
roles:
- role: standard-test-beakerlib
tests:
- various
required_packages:
- util-linux
- util-linux-user

64
tests/various/Makefile Normal file
View File

@ -0,0 +1,64 @@
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# Makefile of /CoreOS/util-linux/various
# Description: This test groups small sanity and regression tests for util-linux
# Author: Miroslav Vadkerti <mvadkert@redhat.com>
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# Copyright (c) 2013 Red Hat, Inc. All rights reserved.
#
# This copyrighted material is made available to anyone wishing
# to use, modify, copy, or redistribute it subject to the terms
# and conditions of the GNU General Public License version 2.
#
# This program 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.
#
# You should have received a copy of the GNU General Public
# License along with this program; if not, write to the Free
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301, USA.
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
export TEST=/CoreOS/util-linux/Sanity/various
export TESTVERSION=1.0
BUILT_FILES=
FILES=$(METADATA) runtest.sh Makefile PURPOSE
.PHONY: all install download clean
run: $(FILES) build
./runtest.sh
build: $(BUILT_FILES)
test -x runtest.sh || chmod a+x runtest.sh
clean:
rm -f *~ $(BUILT_FILES)
include /usr/share/rhts/lib/rhts-make.include
$(METADATA): Makefile
@echo "Owner: Miroslav Vadkerti <mvadkert@redhat.com>" > $(METADATA)
@echo "Name: $(TEST)" >> $(METADATA)
@echo "TestVersion: $(TESTVERSION)" >> $(METADATA)
@echo "Path: $(TEST_DIR)" >> $(METADATA)
@echo "Description: This test groups small sanity and regression tests for util-linux" >> $(METADATA)
@echo "Type: Sanity" >> $(METADATA)
@echo "TestTime: 10m" >> $(METADATA)
@echo "RunFor: util-linux" >> $(METADATA)
@echo "Requires: util-linux util-linux-user" >> $(METADATA)
@echo "Priority: Normal" >> $(METADATA)
@echo "License: GPLv2" >> $(METADATA)
@echo "Confidential: no" >> $(METADATA)
@echo "Destructive: no" >> $(METADATA)
@echo "Releases: -RHEL3 -RHEL4 -RHEL5Server -RHEL5Client -RHEL6" >> $(METADATA)
rhts-lint $(METADATA)

3
tests/various/PURPOSE Normal file
View File

@ -0,0 +1,3 @@
PURPOSE of /CoreOS/util-linux/various
Description: This test groups small sanity and regression tests for util-linux
Author: Miroslav Vadkerti <mvadkert@redhat.com>

52
tests/various/runtest.sh Executable file
View File

@ -0,0 +1,52 @@
#!/bin/bash
# vim: dict=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# runtest.sh of /CoreOS/util-linux/various
# Description: This test groups small sanity and regression tests for util-linux
# Author: Miroslav Vadkerti <mvadkert@redhat.com>
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# Copyright (c) 2013 Red Hat, Inc. All rights reserved.
#
# This copyrighted material is made available to anyone wishing
# to use, modify, copy, or redistribute it subject to the terms
# and conditions of the GNU General Public License version 2.
#
# This program 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.
#
# You should have received a copy of the GNU General Public
# License along with this program; if not, write to the Free
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301, USA.
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Include Beaker environment
#. /usr/bin/rhts-environment.sh || exit 1
. /usr/share/beakerlib/beakerlib.sh || exit 1
PACKAGE="util-linux"
rlJournalStart
rlPhaseStartSetup
rlAssertRpm $PACKAGE
rlPhaseEnd
rlPhaseStartTest "return code of chfn should be always 1 in case failure"
rlRun "chfn -f a:b" 1
rlRun "chfn -o a:b" 1
rlRun "chfn -p a:b" 1
rlRun "chfn -h a:b" 1
rlRun "chfn -x a:b" 1
rlRun "chfn -f a -o b -p c -h d unknown-user" 1
rlPhaseEnd
rlPhaseStartCleanup
rlPhaseEnd
rlJournalPrintText
rlJournalEnd

View File

@ -1,8 +0,0 @@
#
# Enter raw device bindings here.
#
# An example would be:
# ACTION=="add", KERNEL=="sda", RUN+="/usr/bin/raw /dev/raw/raw1 %N"
# to bind /dev/raw/raw1 to /dev/sda, or
# ACTION=="add", ENV{MAJOR}=="8", ENV{MINOR}=="1", RUN+="/usr/bin/raw /dev/raw/raw2 %M %m"
# to bind /dev/raw/raw2 to the device with major 8, minor 1.

View File

@ -7,7 +7,6 @@ password include system-auth
# pam_selinux.so close should be the first session rule
session required pam_selinux.so close
session required pam_loginuid.so
session optional pam_console.so
# pam_selinux.so open should only be followed by sessions to be executed in the user context
session required pam_selinux.so open
session required pam_namespace.so

File diff suppressed because it is too large Load Diff

1
uuidd-tmpfiles.conf Normal file
View File

@ -0,0 +1 @@
d /run/uuidd 2775 uuidd uuidd