Compare commits

...

266 Commits

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
Karel Zak de66720388 2.28-3: fix #1234317 2016-06-13 13:10:17 +02:00
Karel Zak 2afb30fac6 v2.28-2: update a patch
+ /usr/bin/cat /builddir/build/SOURCES/2.23-login-lastlog-create.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
1 out of 1 hunk FAILED -- saving rejects to file login-utils/login.c.rej

Addresses: https://kojipkgs.fedoraproject.org/work/tasks/3930/13783930/build.log
2016-04-26 12:50:04 +02:00
Karel Zak 02e8b22b8e 2.28.1: upgrade 2016-04-12 13:38:27 +02:00
Karel Zak 77818367d0 2.28-0.3: libblkid: bugfix 2016-03-30 15:04:47 +02:00
Karel Zak e466e3cc2f commit new completion scripts 2016-03-29 11:51:16 +02:00
Karel Zak c67f1a42d8 2.28.0.2: upgrade to rc2 2016-03-29 11:19:22 +02:00
Karel Zak ae201aa504 commit missing patch 2016-03-22 13:53:06 +01:00
Karel Zak 3f8e6b01a1 2.28.0.1: upgrade 2016-03-22 13:41:15 +01:00
Fedora Release Engineering c3fa85dd81 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 02:29:08 +00:00
Karel Zak 9f10eae074 2.27.1-3: fix #1299255 2016-01-18 15:15:15 +01:00
Karel Zak c9e662019e 2.27.1-3: improve things for #1259745 2015-11-18 12:29:00 +01:00
Peter Robinson 9da9be552a - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 2015-11-10 18:14:40 +00:00
Karel Zak 6af60835d3 2.27.1-1: upgrade to stable release 2015-11-02 12:37:45 +01:00
Karel Zak 1a7e2063fd 2.27-1: upgrade to stable v2.27 2015-09-07 12:59:30 +02:00
Karel Zak 1dd1b6a182 2.27-0.4: upgrade to rc2 2015-08-24 13:18:12 +02:00
Karel Zak 298e4e50ad 2.27-0.3: small spec file changes 2015-08-13 11:35:50 +02:00
Karel Zak 185c052093 2.27-0.2: #1251320 and specfile portability 2015-08-12 10:56:45 +02:00
Karel Zak bfcb468173 v2.27: upgrade 2015-07-31 13:10:27 +02:00
Karel Zak 6278f8fb46 2.26.2-3: add dependence on systemd 2015-07-16 12:35:07 +02:00
Karel Zak 781e4d0274 2.26.2-3: fix spec file dates 2015-07-16 12:13:18 +02:00
Jaromir Capik b92fbbf0f8 Adding --without-tinfo to STAGE1 recipe
When the configure script finds no tinfo headers in the buildroot,
it searches for them on the host's rootfs and when found there,
it marks tinfo as present even when there's no compatible library
installed for the target architecture. That causes the build to fail
during cross-compiling.
The above switch explicitly says we don't want tinfo.
2015-06-30 15:04:59 +02:00
Dennis Gilmore ee6d69b122 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 01:44:05 +00:00
Jaromir Capik fa67a47381 Adding STAGE1 bootstrap recipe 2015-06-15 17:11:18 +02:00
Jaromir Capik c9a44d115f Merge branch 'f22' 2015-06-11 20:58:58 +02:00
Karel Zak 05c81d18b2 2.26.2-1: upgrade 2015-04-30 13:27:55 +02:00
Karel Zak 0b35981e89 2.26.2-1: upgrade to stable release 2015-04-30 12:55:13 +02:00
Karel Zak 3fe05ecbfc 2.26.1-1: upgrade and fix sfdisk bugs 2015-04-13 18:02:32 +02:00
Karel Zak eab90e03d7 2.26-1: upgrade to stable release 2015-03-03 11:01:52 +01:00
Till Maas 0d11c1c42f Rebuilt for Fedora 23 Change
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
2015-02-21 22:16:23 +01:00
Karel Zak 8b794a5fc5 2.26-1: upgrade to stable release 2015-02-19 13:58:32 +01:00
Karel Zak aa5805ac25 2.26-0.4: fix PPC build 2015-02-10 11:30:36 +01:00
Karel Zak f6a3ca6784 upload v2.26-rc2 sources 2015-02-05 15:13:57 +01:00
Karel Zak 55f81a38e7 2.26-0.3: upgrade to -rc2 2015-02-05 15:08:35 +01:00
Karel Zak 8e74662110 2.26-0.2: fix #1182778 2015-01-16 12:36:58 +01:00
Karel Zak d6ff12d6dc 2.26-0.1: upgrade to -rc1 2015-01-15 15:01:38 +01:00
Karel Zak 34a74aadf6 2.25.2-2: CVE-2014-9114 2014-11-27 14:39:25 +01:00
Karel Zak 89d447eb6c 2.25.2: new upstream version 2014-10-24 15:54:22 +02:00
Karel Zak f789f0d9fc 2.25.1: new upstream version 2014-09-03 12:57:18 +02:00
Karel Zak d4fa6b5537 Merge branch 'f21'
Conflicts:
	util-linux.spec
2014-08-27 16:19:51 +02:00
Karel Zak b079edfd15 2.25.1-rc1: new upstream version 2014-08-27 15:53:32 +02:00
Peter Robinson 71fd605ed8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-18 07:20:06 +00:00
Peter Robinson 8d539d225f - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-18 07:19:54 +00:00
Tom Callaway 5de818c896 fix license handling 2014-08-06 13:05:20 +02:00
Tom Callaway ab1e5c59d6 fix license handling 2014-08-06 13:04:29 +02:00
Karel Zak 361265db38 2.25-2: fix unit files usage with in subpackages 2014-07-24 10:34:39 +02:00
Karel Zak 9165bd23fd 2.25-1: new upstream version
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-07-22 12:30:50 +02:00
Karel Zak 1fc81bb819 fix changelog date 2014-07-02 12:35:09 +02:00
Karel Zak 4be87e9faa 2.25-0.3: upgrade to -rc2 2014-07-02 12:31:03 +02:00
Peter Jones 9016a84fba Fix libblkid's squashfs probe return checking.
Related: rhbz#1112315
2014-06-25 17:21:26 -04:00
Peter Jones 594dffa0d4 Fix libblkid's squashfs probe return checking.
Related: rhbz#1112315
2014-06-25 17:18:13 -04:00
Karel Zak b06e73cfce 2.25-0.1: upgrade 2014-06-19 14:51:54 +02:00
Dennis Gilmore 5c303e7460 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 22:08:12 -05:00
Kalev Lember 299715637f Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 2014-05-28 12:25:37 +02:00
Karel Zak a8e3fb405f 2.24.2-4: #1094935 - use systemd_post for uuidd 2014-05-12 11:37:27 +02:00
Karel Zak ec1e4fccb3 2.24.2-3: #1090638 - remove pam_securetty.so from .pamd files 2014-05-12 10:41:52 +02:00
Karel Zak f708bc4f81 2.24.2-2: add missing -n uuidd 2014-05-07 12:33:19 +02:00
Karel Zak d9d58da0e7 2.24.2-2: use systemd scriptlets 2014-05-07 12:29:27 +02:00
Karel Zak 90488bdc3b 2.24.2-1: upgrade 2014-04-25 10:25:56 +02:00
Karel Zak aca47746da 2.24.1-2: use autosetup 2014-01-30 09:50:54 +01:00
Karel Zak ea09323fa7 2.24.1: upgrade 2014-01-21 09:54:54 +01:00
Karel Zak 120f8c1351 2.24-2: #1031262 2013-11-18 11:38:33 +01:00
Karel Zak 3c3df501f7 2.24-1: upgrade, #1022217, nologin 2013-10-23 12:22:38 +02:00
Karel Zak 636ae6f91d 2.24-0.1: upgrade
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-09-27 15:09:27 +02:00
Karel Zak f16c031219 2.23.2-4: #1005566 #1005194 2013-09-10 10:40:39 +02:00
Karel Zak a6e628e5e7 2.23.2-3: #921498 2013-09-10 10:40:28 +02:00
Karel Zak 49ff57a01e 2.23.2-3: #950497 2013-09-10 10:40:21 +02:00
Karel Zak 2cfecf3529 2.23.2-3: #987787 2013-09-10 10:40:12 +02:00
Karel Zak 706e746809 2.23.2-3: rename patches 2013-09-10 10:39:59 +02:00
Karel Zak d7262717be 2.23.2-3: refresh patches
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-09-10 10:39:48 +02:00
Karel Zak 5a1ed95fbe 2.23.2-2: fix 990083
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-08-01 09:59:14 +02:00
Karel Zak 2919d71edd 2.23.2-1: upgrade
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-07-31 14:57:08 +02:00
Karel Zak bf69284dde 2.23.1-3: fix #972457 (agetty)
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-06-13 11:40:47 +02:00
Karel Zak e1b05c26c4 add missing patch 2013-06-05 14:55:07 +02:00
Karel Zak 85ffd93331 2.23.1-2: fix #962145 2013-06-05 14:50:03 +02:00
Karel Zak 067da383fc 2.23.1: upgrade 2.23 -> 2.23.1
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-05-28 12:24:56 +02:00
Karel Zak d2b0e417cf Merge branch 'master' into f19 2013-04-25 13:26:38 +02:00
Karel Zak 506ce7948f 2.23-1: upgrade 2.23-rc2 -> 2.23
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-25 13:09:58 +02:00
Karel Zak 1ae81e57b4 2.23-0.7: remove unused patches
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-15 11:36:37 +02:00
Karel Zak 19ed00a32f 2.23-0.6: 2.23-0.6: 2.23-0.6: 2.23-0.6: 2.23-0.6: 2.23-0.6: remove unused patches
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-15 11:00:04 +02:00
Karel Zak 59ea5186b7 2.23-0.6: commit uncommitted changes
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-15 10:39:36 +02:00
Karel Zak 3fc0e67f32 2.23-0.6: remove floppy from util-linux
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-15 10:37:16 +02:00
Karel Zak 379232cd95 2.23-0.5: fix #948274
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-12 15:32:50 +02:00
Karel Zak 7bc31e71b7 2.23-0.4: upgrade to -rc2
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-11 00:32:07 +02:00
Karsten Hopp 3d430624ce merge F19 patches to fix builds on bigendian arches 2013-04-08 15:10:48 +02:00
Karel Zak 4a3cb48228 2.23-0.3: fix build for s390
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-27 12:13:24 +01:00
Karel Zak 4788cbd6e7 2.23-0.2: libmount fixes
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-27 10:53:32 +01:00
Karel Zak 27a5499f1e 2.23-0.1: upgrade to uspream 2.23-rc1
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-27 10:45:15 +01:00
Karel Zak 2c19cdfe49 2.23-0.1: upgrade to uspream 2.23-rc1
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-22 14:10:10 +01:00
Karel Zak c2496a27a2 2.22.2-6: #912778
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-02-20 12:45:51 +01:00
Karel Zak cb9405c20e 2.22.2-5: #902512, refresh patches
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-02-20 12:44:06 +01:00
Karel Zak 2a4e9f041e 2.22.2-4: spec file cleanup
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-02-06 10:30:04 +01:00
Karel Zak 8e3b51d51a 2.22.2-3
- fix #882305 - agetty: unstable /dev/tty* permissions
- fix #885314 - hexdump segfault
- fix #896447 - No newlines in piped "cal" command
- fix libblkid cache usage (upstream patch)
- fix #905008 - uuidd: /usr/sbin/uuidd has incorrect file permissions

Signed-off-by: Karel Zak <kzak@redhat.com>
2013-02-03 17:13:24 +01:00
Karel Zak 1bc2448b90 2.22.2-2: fix #889888
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-01-15 15:13:07 +01:00
Karel Zak 0a456518f3 2.22.2-1: upgrade
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-12-13 13:16:43 +01:00
Karel Zak dff9e6fd53 2.22.1-5
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-11-19 16:11:38 +01:00
Karel Zak ead2073dab fix spec file
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-11-16 13:11:56 +01:00
Karel Zak 84d2be4ab3 2.22.1-4: #872787
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-11-16 13:00:20 +01:00
Karel Zak 7443d56081 2.22.1-3: enable su(1) and runuser(1)
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-11-01 15:09:04 +01:00
Karel Zak 2adc0e74a6 Merge branch 'f18' 2012-11-01 10:46:15 +01:00
Karel Zak 4d123a0a11 2.22.1-2: apply upstream 2.22.2 patches
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-11-01 10:28:02 +01:00
Karel Zak 5fd3817ee5 2.22.1-1: upgrade
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-10-11 11:59:30 +02:00
Karel Zak e79ab2d9de 2.22.1-1: upgrade
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-10-10 17:12:15 +02:00
Karel Zak 82639d6500 2.22-2: remove obsolete references to e2fsprogs
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-10-03 09:42:34 +02:00
Karel Zak 49e6ba1400 2.22-2: remove obsolete references to e2fsprogs
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-10-03 09:42:04 +02:00
Karel Zak 1de1774f06 2.22-1: upgrade, enable eject, fix #853164, #851230
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-09-06 13:44:34 +02:00
Karel Zak 1d0642d057 2.22-1: upgrade, enable eject, fix #853164, #851230
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-09-06 12:51:38 +02:00
Karel Zak e5224a209a 2.22-0.1: upgrade to new upstream release
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-08-16 15:23:02 +02:00
Karel Zak 0d8c506be7 2.22-0.1: upgrade to new upstream release
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-08-16 15:22:02 +02:00
Dennis Gilmore 7518e4396c Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-27 03:58:13 -05:00
Karel Zak 77dc49ad7c 2.21.2-2: replace udev dependenceis with systemd
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-06-13 10:38:00 +02:00
Karel Zak a887e3b8da 2.21.2-1: upgrade to bugfix release 2.21.2
- fix #814699 - namei(1) incorrectly resolves relative symlinks
- fix #820707 - Impossible to unmount nfsv4/krb5 mounts after network disconnect
- fix #816877 - libmount does not close device fd before mount(2)
- fix #822705 - unable to login after installing

Signed-off-by: Karel Zak <kzak@redhat.com>
2012-05-25 13:44:50 +02:00
Karel Zak 32be86ade7 2.21.1-1: upgrade to stable release
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-03-30 13:48:09 +02:00
Karel Zak 7cb4cff5d3 2.21-1: upgrade to stable release
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-24 13:37:21 +01:00
Orion Poplawski 6c2b43a945 Add Requires(post): coreutils to libblkid 2012-02-17 14:45:10 -07:00
Karel Zak 952f94ffaf 2.21-0.2: fix #788703
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-09 10:48:05 +01:00
Karel Zak f6117ff853 2.21-0.1: upgrade to v2.21-rc2
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-07 14:12:06 +01:00
Harald Hoyer b2fdd8fbf3 install everything in /usr
This patch is needed for the /usr-move feature
https://fedoraproject.org/wiki/Features/UsrMove

This package requires now 'filesystem' >= 3, which is only installable
on a system which has /bin, /sbin, /lib, /lib64 as symlinks to /usr and
not regular directories. The 'filesystem' package acts as a guard, to
prevent *this* package to be installed on old unconverted systems.

New installations will have the 'filesystem' >=3 layout right away, old
installations need to be converted with anaconda or dracut first; only
after that, the 'filesystem' package, and also *this* package can be
installed.

Packages *should* not install files in /bin, /sbin, /lib, /lib64, but
only in the corresponding directories in /usr. Packages *must* not
install conflicting files with the same names in the corresponding
directories in / and /usr. Especially compatibilty symlinks must not be
installed.

Feel free to modify any of the changes to the spec file, but keep the
above in mind.
2012-01-25 15:09:03 +01:00
Dennis Gilmore d1bad96edd - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-14 01:41:40 -06:00
Karel Zak 8587dd2a9a 2.20.1-3: #748216, remove ddate(1)
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-11-22 16:32:30 +01:00
Dennis Gilmore 9966c1fdc6 - Rebuilt for glibc bug#747377 2011-10-26 19:28:12 -05:00
Karel Zak 8a8438a080 2.20.1-1: upgrade to the release 2.20.1
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-10-20 12:01:01 +02:00
Karel Zak dc4135e724 2.20-1: upgrade to stable 2.20
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-29 14:27:52 +02:00
Karel Zak 16cfb1591e 2.20.0.2: upgrade to -rc2
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-17 11:44:15 +02:00
Karel Zak c8007f2ee2 2.20-0.1: upgrade to 2.20-rc1
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-02 16:56:01 +02:00
Karel Zak 6d73e5dfdf 2.19.1-2: merge changes from f15 (#716483, #709681, #709319)
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-07-05 00:05:24 +02:00
Karel Zak 1d99930816 2.19.1-1: upgrade
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-05-06 14:03:12 +02:00
Karel Zak ad1b19d275 2.19.1-0.1: upgrade to upstream 2.19.1-rc1
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-04-20 13:42:39 +02:00
Karel Zak cbffb8f231 2.19-2: fix #682502
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-03-07 10:55:11 +01:00
Karel Zak 35ae187053 2.19-1: upgrade to stable release
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-02-10 10:49:59 +01:00
Karel Zak a5988fe3ea 2.19-0.6: fix #665062
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-02-08 17:30:48 +01:00
Dennis Gilmore 9641d59f73 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-07 18:45:53 -06:00
Karel Zak 37c7a13540 2.19-0.4: upgrade to v2.19-rc3
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-25 17:37:28 +01:00
Karel Zak 54f17daa1b 2.19-0.3: upgrade to -rc2
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-25 15:33:36 +01:00
Karel Zak 4c5e4a4951 2.19-0.2: clean up specfile
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-19 10:39:22 +01:00
Karel Zak fd7089e44b 2.19-0.1: initial import of util-linux
Note that the upstream package has been renamed from util-linux-ng
back to util-linux. The util-linux-ng is obsolete now.

Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-19 09:56:35 +01:00
kzak 73db4af8d9 remove the rest of old files 2007-08-20 12:26:45 +00:00
24 changed files with 3514 additions and 155 deletions

View File

@ -1,2 +0,0 @@
floppy-0.12.tar.gz
util-linux-2.13-pre7.tar.bz2

92
.gitignore vendored Normal file
View File

@ -0,0 +1,92 @@
/floppy-0.16.tar.bz2
/util-linux-2.19-rc1.tar.bz2
/util-linux-2.19-rc1-32-gbded43d.tar.bz2
/util-linux-2.19-rc2.tar.bz2
/util-linux-2.19-rc3.tar.bz2
/util-linux-2.19.tar.bz2
*~
.*.log
*.rpm
/floppy-0.18.tar.bz2
/util-linux-2.19.1-rc1.tar.bz2
/util-linux-2.19.1.tar.bz2
/util-linux-2.20-rc1.tar.bz2
/util-linux-2.20-rc2.tar.bz2
/util-linux-2.20.tar.bz2
/util-linux-2.20.1.tar.bz2
/util-linux-2.21-rc2.tar.xz
/util-linux-2.21.tar.xz
/util-linux-2.21.1.tar.xz
/util-linux-2.21.2.tar.xz
/util-linux-2.22-rc2.tar.xz
/util-linux-2.22.tar.xz
/util-linux-2.22.1.tar.xz
/util-linux-2.22.2.tar.xz
/util-linux-2.23-rc1.tar.xz
/util-linux-2.23-rc2.tar.xz
/util-linux-2.23.tar.xz
/util-linux-2.23.1.tar.xz
/util-linux-2.23.2.tar.xz
/util-linux-2.24-rc1.tar.xz
/util-linux-2.24.tar.xz
/util-linux-2.24.1.tar.xz
/util-linux-2.24.2.tar.xz
/util-linux-2.25-rc1.tar.xz
/util-linux-2.25-rc2.tar.xz
/util-linux-2.25.tar.xz
/util-linux-2.25.1-rc1.tar.xz
/util-linux-2.25.1.tar.xz
/util-linux-2.25.2.tar.xz
/util-linux-2.26-rc1.tar.xz
/util-linux-2.26-rc2.tar.xz
/util-linux-2.26.tar.xz
/util-linux-2.26.2.tar.xz
/util-linux-2.27-rc1.tar.xz
/util-linux-2.27-rc2.tar.xz
/util-linux-2.27.tar.xz
/util-linux-2.27.1.tar.xz
/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,6 +0,0 @@
# Makefile for source rpm: util-linux
# $Id$
NAME := util-linux
SPECFILE = $(firstword $(wildcard *.spec))
include ../common/Makefile.common

12
STAGE1-util-linux Normal file
View File

@ -0,0 +1,12 @@
srpm util-linux
mcd $BUILDDIR/$1
cat <<EOF > config.cache
ax_cv_have_tls=yes
scanf_cv_alloc_modifier=ms
EOF
$SRC/${1}-*/configure $TCONFIGARGS --without-ncurses --without-tinfo \
--prefix=/usr --libexecdir=/usr/lib${SUFFIX} --libdir=/usr/lib${SUFFIX} \
--disable-wall --cache-file=config.cache --without-python --without-systemd
notparallel
make $J V=1
make $J install DESTDIR=${ROOTFS}

2
adjtime Normal file
View File

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

View File

@ -1 +0,0 @@
Obsolete in favor of util-linux-ng.

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,63 +0,0 @@
.\" $OpenBSD: nologin.8,v 1.8 1999/06/04 02:45:19 aaron Exp $
.\" $NetBSD: nologin.8,v 1.3 1995/03/18 14:59:09 cgd Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\" notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
.\" 3. All advertising materials mentioning features or use of this software
.\" must display the following acknowledgement:
.\" This product includes software developed by the University of
.\" California, Berkeley and its contributors.
.\" 4. Neither the name of the University nor the names of its contributors
.\" may be used to endorse or promote products derived from this software
.\" without specific prior written permission.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" @(#)nologin.8 8.1 (Berkeley) 6/19/93
.\"
.Dd February 15, 1997
.Dt NOLOGIN 8
.Os
.Sh NAME
.Nm nologin
.Nd politely refuse a login
.Sh SYNOPSIS
.Nm nologin
.Sh DESCRIPTION
.Nm
displays a message that an account is not available and
exits non-zero.
It is intended as a replacement shell field for accounts that
have been disabled.
.Pp
If the file
.Pa /etc/nologin.txt
exists,
.Nm
displays its contents to the user instead of the default message.
.Sh SEE ALSO
.Xr login 1
.Sh HISTORY
The
.Nm
command appeared in
.Bx 4.4 .

View File

@ -1,58 +0,0 @@
/* $OpenBSD: nologin.c,v 1.2 1997/04/04 16:51:37 millert Exp $ */
/*
* Copyright (c) 1997, Jason Downs. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS
* OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
#include <sys/types.h>
#include <fcntl.h>
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
/* Distinctly different from _PATH_NOLOGIN. */
#define _PATH_NOLOGIN_TXT "/etc/nologin.txt"
#define DEFAULT_MESG "This account is currently not available.\n"
/*ARGSUSED*/
int main(argc, argv)
int argc;
char *argv[];
{
int nfd, nrd;
char nbuf[128];
nfd = open(_PATH_NOLOGIN_TXT, O_RDONLY);
if (nfd < 0) {
write(STDOUT_FILENO, DEFAULT_MESG, strlen(DEFAULT_MESG));
exit (1);
}
while ((nrd = read(nfd, nbuf, sizeof(nbuf))) > 0)
write(STDOUT_FILENO, nbuf, nrd);
close (nfd);
exit (1);
}

1
sources Normal file
View File

@ -0,0 +1 @@
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,11 +0,0 @@
# This file and interface are deprecated.
# Applications needing raw device access should open regular
# block devices with O_DIRECT.
#
# Enter raw device bindings here.
#
# An example would be:
# ACTION=="add", KERNEL=="sda", RUN+="/bin/raw /dev/raw/raw1 %N"
# to bind /dev/raw/raw1 to /dev/sda, or
# ACTION=="add", ENV{MAJOR}=="8", ENV{MINOR}=="1", RUN+="/bin/raw /dev/raw/raw2 %M %m"
# to bind /dev/raw/raw2 to the device with major 8, minor 1.

View File

@ -1,15 +1,16 @@
#%PAM-1.0
auth [user_unknown=ignore success=ok ignore=ignore default=bad] pam_securetty.so
auth include system-auth
auth substack system-auth
auth include postlogin
account required pam_nologin.so
account include system-auth
password include system-auth
# pam_selinux.so close should be the first session rule
session required pam_selinux.so close
session optional pam_keyinit.so force revoke
session include system-auth
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 optional pam_ck_connector.so
session required pam_namespace.so
session optional pam_keyinit.so force revoke
session include system-auth
session include postlogin
-session optional pam_ck_connector.so

View File

@ -1,15 +1,15 @@
#%PAM-1.0
auth required pam_securetty.so
auth include system-auth
auth substack password-auth
auth include postlogin
account required pam_nologin.so
account include system-auth
password include system-auth
account include password-auth
password include password-auth
# pam_selinux.so close should be the first session rule
session required pam_selinux.so close
session optional pam_keyinit.so force revoke
session include system-auth
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
session optional pam_keyinit.so force revoke
session include password-auth
session include postlogin

View File

@ -0,0 +1,5 @@
#%PAM-1.0
auth include runuser
session optional pam_keyinit.so force revoke
-session optional pam_systemd.so
session include runuser

5
util-linux-runuser.pamd Normal file
View File

@ -0,0 +1,5 @@
#%PAM-1.0
auth sufficient pam_rootok.so
session optional pam_keyinit.so revoke
session required pam_limits.so
session required pam_unix.so

6
util-linux-su-l.pamd Normal file
View File

@ -0,0 +1,6 @@
#%PAM-1.0
auth include su
account include su
password include su
session optional pam_keyinit.so force revoke
session include su

14
util-linux-su.pamd Normal file
View File

@ -0,0 +1,14 @@
#%PAM-1.0
auth sufficient pam_rootok.so
# Uncomment the following line to implicitly trust users in the "wheel" group.
#auth sufficient pam_wheel.so trust use_uid
# Uncomment the following line to require a user to be in the "wheel" group.
#auth required pam_wheel.so use_uid
auth substack system-auth
auth include postlogin
account sufficient pam_succeed_if.so uid = 0 use_uid quiet
account include system-auth
password include system-auth
session include system-auth
session include postlogin
session optional pam_xauth.so

3204
util-linux.spec Normal file

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