Commit Graph

93 Commits

Author SHA1 Message Date
Jan Macku
2d7302fd0b systemd-252-4
Resolves: #2138081,#2159448
2023-02-06 12:28:47 +01:00
Jan Synacek
b81de9fb53 spec: fix rpm verification (#1702300)
(cherry picked from commit 15d8f0c95a3fff7d78a8c22cb0aae45ae471add1)

Related: #2165316
2023-01-30 16:02:01 +01:00
Zbigniew Jędrzejewski-Szmek
82fe48cc58 Fix permissions on %ghost files (rhbz#2122889)
(cherry picked from commit 58777c7cac)

Related: #2165316
2023-01-30 15:56:55 +01:00
Zbigniew Jędrzejewski-Szmek
3b40355969 Correct file modes for %ghosted files
/var/log/btmp was changed in https://github.com/systemd/systemd/commit/f6e64b78cc,
but never adjusted here.

(cherry picked from commit db26d980dd)

Related: #2165316
2023-01-30 15:56:00 +01:00
Jan Macku
eceb26ad96 systemd-252-3
Resolves: #2138081,#2141979,#2151993,#2155517,#2160477
2023-01-16 09:56:47 +01:00
Jan Macku
79350f79d8 systemd-252-2
Resolves: #2137584,#2138081,#2141979
2022-12-09 09:36:14 +01:00
Jan Macku
d3400e6e35 Use split-files.py from Fedora
Related: #2138081
2022-12-05 12:22:58 +01:00
Jan Macku
12166e1929 Rebase to systemd v252 + systemd-stable v252.2
Resolves: #2138081
2022-12-05 12:22:58 +01:00
Jan Macku
dd626b6e53 Remove patches - rebase preparation
Related: #2138081
2022-12-05 12:22:58 +01:00
Jan Macku
454e3e2598 spec: Explicitly set default net naming scheme to rhel-9
Resolves: #2138883
2022-12-02 15:33:45 +01:00
Jan Macku
888bfe290c spec: Release bump
Related: #2140646
2022-12-02 14:44:17 +01:00
Jan Macku
9875c7e5b4 spec: Build systemd-boot EFI tools
Resolves: #2140646
2022-12-02 13:19:39 +01:00
Jan Macku
56f1ee916b systemd-250-11
Resolves: #2120604,#2121144
2022-08-25 10:24:32 +02:00
Jan Macku
2891ff393e systemd-250-10
Resolves: #2120222
2022-08-22 14:51:33 +02:00
Jan Macku
50665f7e22 systemd-250-9
Resolves: #2087778,#2116681,#2118297,#2118668
2022-08-18 13:35:33 +02:00
Jan Macku
0daf48d9aa systemd-250-8
Resolves: #2047682,#2068043,#2068131,#2073003,#2073994,#2082131,#2083493,#2087652,#2100340
2022-07-20 08:37:23 +02:00
Jan Macku
c895351950 systemd-250-7
Resolves: #2017035
2022-04-20 08:57:39 +00:00
David Tardon
4ab2887d57 pam: do not require a non-expired password for user@.service
Without this parameter, we would allow user@ to start if the user
has no password (i.e. the password is "locked"). But when the user does have a password,
and it is marked as expired, we would refuse to start the service.
There are other authentication mechanisms and we should not tie this service to
the password state.

The documented way to disable an *account* is to call 'chage -E0'. With a disabled
account, user@.service will still refuse to start:

systemd[16598]: PAM failed: User account has expired
systemd[16598]: PAM failed: User account has expired
systemd[16598]: user@1005.service: Failed to set up PAM session: Operation not permitted
systemd[16598]: user@1005.service: Failed at step PAM spawning /usr/lib/systemd/systemd: Operation n  ot permitted
systemd[1]: user@1005.service: Main process exited, code=exited, status=224/PAM
systemd[1]: user@1005.service: Failed with result 'exit-code'.
systemd[1]: Failed to start user@1005.service.
systemd[1]: Stopping user-runtime-dir@1005.service...

RHEL-only

Resolves: #2059553
2022-04-20 10:19:51 +02:00
Jan Macku
a7a177e071 systemd-250-4
Resolves: #1982596,#2009237,#2013213,#2052106
2022-02-23 11:09:19 +01:00
Jan Macku
b650a930d3 systemd-250-3
Resolves: #2047768,#2017035
2022-02-08 16:11:14 +01:00
David Tardon
f53bd80383 Switch from gcrypt to openssl
Resolves: #1642072
2022-02-07 15:04:02 +00:00
Michal Sekletar
07a470e853 spec: make sure version string starts with version number
This is SAP requirement, but at the same time we make it compatible with
RHEL-8.

Related: #2049054
2022-02-07 12:53:07 +00:00
David Tardon
12239cde92 Add runtime Requires on cryptsetup-libs too
Related: #2017541
2022-02-07 11:01:01 +00:00
David Tardon
0ccc6aac5f Add runtime Requires on tpm2-tss
Related: #2017541
2022-02-07 11:01:01 +00:00
Zbigniew Jędrzejewski-Szmek
f809abde93 Pull in tpm2-tss dependency
(cherry picked from commit 141af483cc)

Resolves: #2017541
2022-02-07 11:01:01 +00:00
David Tardon
2e35c6bb3d Move systemd-cryptenroll to systemd-udev
Related: #2017541
2022-02-07 11:01:01 +00:00
David Tardon
6fe2e60681 Move resolvconf to systemd-resolved
Resolves: #2029853
2022-02-04 10:13:25 +00:00
Jan Macku
9efbb443aa Rebase to v250
* Apply RHEL-only patches

Resolves: #2047768
2022-01-31 13:24:15 +01:00
Jan Macku
0224c0ebb1 Rebase to v250 - drop all patches
Related: #2047768
2022-01-31 13:22:31 +01:00
Jan Macku
5b2321d1b0 spec: Take ownership of /var/log/lastlog
Based on Fedora commits:
* f97cf5817a
* 238e8e0e64

Resolves: #2044984
2022-01-25 14:03:56 +01:00
Jan Macku
d4f3415740 systemd-249-9
Resolves: #2016042,#2017035,#2019468
2021-11-18 14:14:01 +01:00
Jan Macku
5d32e92a42 spec: Return back %check section
It's required by Packit.

Revert of: 6545fb6a

Related: #2017035
2021-11-08 10:40:33 +01:00
Jan Macku
09bc8d360a systemd-249-8
Resolves: #1973856,#1998509,#2000927,#2003002,#2003031,#2003130,#2005024,#2009237
2021-10-14 07:05:34 +00:00
Davide Cavalca
654b62f988 Add provides for systemd-oomd-defaults to systemd-oomd
Resolves: rhbz#1995357

Signed-off-by: Davide Cavalca <dcavalca@centosproject.org>
2021-10-12 08:29:34 -07:00
Jan Macku
e4d025d34b spec: don't build bootctl when -Dgnu-efi=false is set
Resolves: #2003130
2021-10-12 08:48:16 +00:00
Michal Sekletar
6312c4d556 Install RHEL-7 compatible rc.local
RHEL-only

Resolves: #1978707
2021-10-12 08:21:34 +00:00
David Tardon
10ebc25bcd Restore watchdog timeout for our services
RHEL-only

Resolves: #2002991
2021-09-16 15:52:14 +02:00
Jan Macku
abd5097f41 systemd-249-4
Resolves: #1982666
2021-08-20 12:10:23 +02:00
Mohan Boddu
15f711741e Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-08-10 01:02:06 +00:00
David Tardon
2638f025f6 Change support URL
RHEL-only

Resolves: #1982576
2021-08-06 14:06:12 +00:00
Lukas Nykryn
491a809050 systemd-249-2
Resolves: #1619292,#1954429,#1959826,#1960703,#1973210,#1973856,#1978639,#1982603,#1984299,#1989472
2021-08-06 13:58:37 +00:00
Aleksandra Fedorova
6b7a413c41 Add RHEL gating configuration 2021-07-15 03:28:23 +02:00
Michal Sekletar
3c50caeeab Rebase to v249
Resolves: #1981276
2021-07-12 16:50:52 +00:00
Kyle Walker
2a648cdec0 Don't create /var/log/journal during package installation
Related: rhbz#1968064

Signed-off-by: Kyle Walker <kwalker@redhat.com>
2021-06-18 05:19:37 +00:00
Jan Macku
6b062019ed spec: Fix changelog after mass rebuild
Related: #1971065
2021-06-17 16:10:39 +02:00
David Tardon
fdf537198b Drop Recommends: libxkbcommon
It is only used by systemd-localed to check the validity of keymap set
via .SetXKeyboard DBus call. And I don't think it even makes any sense
to do that on a system where the graphics stack--and therefore
libxkbcommon--is not installed...

Resolves: #1947941
2021-06-17 13:35:50 +00:00
David Tardon
cde5053f52 Drop Recommends: diffutils
It is only needed for "systemd-delta --diff", which is likely not used
very much. And anyone trying to use it on a systemd where diffutils is
not installed will be notified about the absence of diff by an error
message, so they can just install it and move on...

Resolves: #1947941
2021-06-17 13:35:50 +00:00
David Tardon
d5d8f1ce85 Replace ELF dependency with a package name one
It was wrong anyway, as it worked only on 64-bit architectures.

Related: #1947941
2021-06-17 13:35:50 +00:00
David Tardon
783ff1e309 Change Recommends: libpcre2 to Requires
Resolves: #1947941
2021-06-17 13:35:50 +00:00
David Tardon
4ece7e8daf Build without libpwquality
It is only needed by homed, which we disable.

Resolves: #1947941
2021-06-17 13:35:50 +00:00