Commit Graph

1080 Commits

Author SHA1 Message Date
Zbigniew Jędrzejewski-Szmek 3db684b40f Version 249.13 2022-11-04 16:26:34 +01:00
Adam Williamson 34c1647bc3 Change dynamic stub target to make name resolution work in install %post 2022-06-16 10:39:15 -07:00
Adam Williamson 6b234deaf8 Create stub for resolv.conf symlink if it doesn't exist (#2074083) 2022-06-10 18:45:21 -07:00
Adam Williamson 6143e785dd Revert "Link /etc/resolv.conf to /usr/lib/systemd/resolv.conf"
This reverts commit 4b8edcc3e2.
2022-06-10 15:36:39 -07:00
Zbigniew Jędrzejewski-Szmek c4880f4e5e Fix removal of the systemd-resolved-initial-installation file 2022-04-29 19:06:05 +02:00
Zbigniew Jędrzejewski-Szmek 4b8edcc3e2 Link /etc/resolv.conf to /usr/lib/systemd/resolv.conf 2022-04-29 18:50:38 +02:00
Zbigniew Jędrzejewski-Szmek 7457b8ef7c scriptlets: add "||:" in more places 2022-04-29 18:11:06 +02:00
Zbigniew Jędrzejewski-Szmek 02cbdcbd21 systemd-resolved: rewrite %post scriptlet for systemd-resolved to not use coreutils 2022-04-29 08:56:58 +02:00
Zbigniew Jędrzejewski-Szmek 0c091275bc Version 249.12 2022-04-28 20:04:24 +02:00
Zbigniew Jędrzejewski-Szmek 893419015c Fix logic in %posttrans for systemd-resolved 2022-04-22 18:33:05 +02:00
Zbigniew Jędrzejewski-Szmek a3b0ac6518 Clean up modules.builtin.alias.bin on kernel upgrades 2022-04-12 10:16:12 +02:00
Zbigniew Jędrzejewski-Szmek 5f6666c925 Revert "Avoid trying to create the symlink if there's a dangling symlink already"
This reverts commit 9c9b28cd91.
2022-04-12 10:11:47 +02:00
Zbigniew Jędrzejewski-Szmek 0c79c0aff9 Do not touch /etc/resolv.conf on upgrades 2022-04-12 09:50:37 +02:00
Zbigniew Jędrzejewski-Szmek b92f3c4187 Version 249.11 2022-04-06 18:19:34 +02:00
Zbigniew Jędrzejewski-Szmek 9c9b28cd91 Avoid trying to create the symlink if there's a dangling symlink already
'test -e' says 'no' for dangling symlinks.

Let's also ignore the error if this fails. We shouldn't fail the
transaction.
2022-04-06 18:03:06 +02:00
Zbigniew Jędrzejewski-Szmek 2ea657e54b Drop some unnecessary requirements 2022-04-06 18:03:06 +02:00
Zbigniew Jędrzejewski-Szmek a16919cb65 Move part of %post scriptlet for resolved to %posttrans (rhbz#2018913) 2022-04-06 18:03:05 +02:00
Zbigniew Jędrzejewski-Szmek ca998c583b Drop scriptlet for handling nobody user upgrades from Fedora <28
For https://fedoraproject.org/wiki/Changes/RenameNobodyUser a scriptlet
was introduced with prevents nss-systemd from synthesizing entries for nobody.
Let's remove the scriptlet: very few people upgrade from such old systems,
and even if they do, having a duplicate entry for nobody is annoying
but hardly a big problem.

(The other side of this, support in nss-systemd remains in place.)

This allows deps on the tools used in the scriptlet to be dropped from -libs.

While at it, also drop noop ldconfig scriptlets.
2022-04-06 18:02:27 +02:00
Zbigniew Jędrzejewski-Szmek c7de3aca4f Remove duplicated pam systemd-user file 2022-04-06 18:02:27 +02:00
Zbigniew Jędrzejewski-Szmek bbe738a886 Create /etc/resolv.conf symlink if nothing is present yet 2022-04-06 18:02:25 +02:00
Zbigniew Jędrzejewski-Szmek ffba95e69b Version 249.9 2022-01-12 22:37:33 +01:00
Zbigniew Jędrzejewski-Szmek cb3a59c306 Version 249.8 2022-01-11 22:11:28 +01:00
Zbigniew Jędrzejewski-Szmek 52e7bf2892 Add Recommends for dlopened libs and move files into subpackages
(cherry picked from commit b24b99d669)
2022-01-11 21:09:23 +01:00
Zbigniew Jędrzejewski-Szmek ea7cbea4df Create /etc/resolv.conf symlink if nothing is present yet
(cherry picked from commit 7f4e198603)
2022-01-11 21:09:23 +01:00
Petr Menšík df4de9640e Switch to NM resolver on systemd-resolved uninstall
If /etc/resolv.conf pointed to systemd-resolved stub configuration, it
is obvious it would stop working. Compensate it by deleting the link, it
would be created again on installation. Try to pass ownership to NM,
which also provides similar file. Keep it missing otherwise, might be
created by unknown tool on reboot.

Signed-off-by: Petr Menšík <pemensik@redhat.com>
(cherry picked from commit 27cc5e08c2)
2022-01-11 21:09:23 +01:00
Zbigniew Jędrzejewski-Szmek 0892c0e617 Drop comments about already-merged pull request
(cherry picked from commit e19aaa4604)
2022-01-11 20:57:51 +01:00
Ludwig Nussel 07eb64ce34 Fix video link
(cherry picked from commit 6ffa8d89d6)
2022-01-11 20:57:20 +01:00
Zbigniew Jędrzejewski-Szmek 548de65904 %ghost /var/lib/{machines,portables}
(cherry picked from commit d1ad6b189d)
2022-01-11 20:57:14 +01:00
Luca BRUNO 8117c94f49 sysusers/provides: parse and output static IDs
This adds support for parsing static UIDs and GIDs from sysusers.d
fragments, and automatically forwarding them to the generated
'Provides' entries.
It will allow inspecting users/groups with static IDs directly
from package metadata:
```
$ rpm --query --provides --package gdm-41.0-3.fc36.x86_64.rpm
[...]
group(gdm) = 42
user(gdm) = 42
```
2021-11-19 18:26:05 +01:00
Zbigniew Jędrzejewski-Szmek 6e22462286 Bump release
Oh, no autorelease here!
2021-11-15 14:09:39 +01:00
Zbigniew Jędrzejewski-Szmek 642c902b6e Supress errors on selinux systems
See https://bugzilla.redhat.com/show_bug.cgi?id=2023332.
https://bugzilla.redhat.com/show_bug.cgi?id=2023332 is also related.
2021-11-15 13:47:57 +01:00
Zbigniew Jędrzejewski-Szmek db2f82fa35 Version 249.7 2021-11-14 16:36:14 +01:00
Kir Kolyshkin 5421902031 Fix scope activation from a user instance
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2021-11-11 16:21:06 -08:00
Zbigniew Jędrzejewski-Szmek 5326f0bf63 Fix helper to restart user units with older systemd 2021-11-08 10:27:20 +01:00
Adam Williamson c0981501ef Version 249.6 2021-11-04 14:40:55 +01:00
Zbigniew Jędrzejewski-Szmek c2e9f7e09f Version 249.5 2021-10-14 11:20:28 +02:00
Zbigniew Jędrzejewski-Szmek eca91e245a Wrap package descriptions at 80 columns 2021-10-14 11:19:44 +02:00
Zbigniew Jędrzejewski-Szmek 8aaf0e6971 Fix build with the latest kernels 2021-10-14 11:19:40 +02:00
Adam Williamson 18055531ff Don't build with -Ddefault-dns-over-tls=opportunistic (#2006393) 2021-10-08 15:50:40 -07:00
Zbigniew Jędrzejewski-Szmek 7a99d80faa Version 249.4 2021-08-24 14:51:54 +02:00
Zbigniew Jędrzejewski-Szmek b0031ef378 Version 294.3 2021-08-06 16:11:50 +02:00
Zbigniew Jędrzejewski-Szmek 4d6b947613 Version 249.2 2021-07-23 17:05:52 +02:00
Michael Catanzaro e78d9b34cb Build with -Ddefault-dns-over-tls=opportunistic 2021-07-23 12:45:59 +02:00
Zbigniew Jędrzejewski-Szmek c61b9c5d29 Version 249.1 2021-07-20 15:18:39 +02:00
Zbigniew Jędrzejewski-Szmek a6bdda479d Add sfdisk to BuildRequires
https://bugzilla.redhat.com/show_bug.cgi?id=1983450
2021-07-20 09:40:39 +02:00
Neal Gompa a0d61b955d Use correct NEWS URLs for systemd 249 releases in changelog entries 2021-07-07 20:54:55 -04:00
Neal Gompa a54f704deb Make local checkout builds use Release: 0
This ensures that local checkout builds always have a lower Release
than officially built snapshot releases.
2021-07-07 20:54:21 -04:00
Zbigniew Jędrzejewski-Szmek 6dd3849ca6 Version 249 2021-07-07 21:47:57 +02:00
Zbigniew Jędrzejewski-Szmek d0f46326ec Version 249-rc3 2021-07-01 20:17:16 +02:00
Zbigniew Jędrzejewski-Szmek c323a213de Adjust check for outdated triggers file
With the switch to jinja2, the file is generated during normal build, so
we need to move the check later.
2021-06-25 18:30:40 +02:00