SHA256
1
0
forked from pool/systemd
Commit Graph

881 Commits

Author SHA256 Message Date
Franck Bui
db5aaafc0e - Fix a regression caused by the split of the sysusers config files shipped by
systemd (bsc#1196322)
  Calls to %sysusers_create were not updated accordingly.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1257
2022-02-24 13:44:24 +00:00
Franck Bui
39726d4947 - spec: fix dependencies for mini variants (follow-up)
systemd-mini-container is one of the sub-package that relies systemd-mini to
  conflict with kiwi and to not be installed on real systems.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1256
2022-02-23 17:47:50 +00:00
Franck Bui
da7db93ea6 - Import commit 0bb1977021be2fc9ebfae10d766dff0b1a457f88 (merge of v249.10)
For a complete list of changes, visit:
  b9b83c5d11...0bb1977021

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1255
2022-02-22 15:30:37 +00:00
Franck Bui
dcb79a246a - Import commit b9b83c5d11e686178ddd545862a00b33c6fdfabb
8973cb2462 systemd-coredump: allow setting external core size to infinity (bsc#1195899 jsc#SLE-23866)

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1254
2022-02-22 14:54:05 +00:00
Franck Bui
bdc0d5a926 Accepting request 956704 from home:favogt:branches:Base:System
- Fix build if %_distconfdir is not defined (see bsc#1195679)

OBS-URL: https://build.opensuse.org/request/show/956704
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1253
2022-02-22 14:05:17 +00:00
Franck Bui
351e69e6e3 - Drop enablement symlink migration support of SysV init scripts
And let's finish reducing the support of SysV init scripts to its minimum.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1252
2022-02-18 08:11:02 +00:00
Franck Bui
53c0c58da9 - spec: fix dependencies for mini variants
Make sure that all mini variants won't be installed in real systems and won't
  be involved when building medias with kiwi. Note that sub-packages that
  requires systemd (such as udev) don't need any special treatment since the
  specific deps are inherited from the main (mini) package.
- spec: simplify systemd-mini-doc dependencies by assuming that the doc
  sub-package can't be a build requirement for other packages.
- spec: libsystemd-mini and libudev-mini need to provide libsystemd and libudev
  respectively

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1251
2022-02-14 15:52:52 +00:00
Franck Bui
b7fc6f7a38 - Rename systemd-sysvinit into systemd-sysvcompat
systemd-sysvinit was probably provided to allow systems to switch from
  sysvinit to systemd by overwriting /sbin/init with a link to systemd. But this
  isn't very useful anymore due to the fact that sysvinit is not supported since
  several years. Therefore the subpackage contains now the files needed to keep
  backward compatibility with SysV init scripts (most notably sysv-generator)
  and has been renamed accordingly. The few files that are not specific to
  sysvinit (such as /bin/init) have been moved to the main package.
  Normally this new subpackage shouldn't be needed (since all packages use
  systemd unit files) unless a 3rd party application is installed and still
  relies on SysV init scripts.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1250
2022-02-14 09:09:21 +00:00
Franck Bui
26f6231c47 - systemd.spec: explicitely turn on/off build options
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1248
2022-02-14 07:34:49 +00:00
Franck Bui
5e29814e05 - Always create systemd-network system user, even if systemd-networkd is not
installed (bsc#1195559)

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1246
2022-02-04 15:23:12 +00:00
Franck Bui
7d7afbe979 - Make more use of %{_unitdir} in files.{systemd,container}
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1245
2022-02-02 09:33:06 +00:00
Franck Bui
f09be28e73 - Installation of libnss_mymachines.so depended on %{bootstrap} but it is
actually installed when %{with machined} is true.
- Call ldconfig when container subpackage is installed since it ships
  nss-mymachines NSS plug-in module.
- Drop 0006-sysv-generator-add-back-support-for-SysV-scripts-for.patch
       0009-sysv-add-back-support-for-all-virtual-facility-and-f.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1243
2022-02-01 09:21:17 +00:00
Franck Bui
dc2bffc70d - Import commit 117bd7f14aa7834d85a4306cd380d292bec04108
1395c74be7 udevadm: cleanup-db: don't delete information for kept db entries (bsc#1194912)
  bbafc8092a udevadm: cleanup_dir: use dot_or_dot_dot()

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1242
2022-01-31 15:56:09 +00:00
Franck Bui
71481ef6cf - Drop 0006-sysv-generator-add-back-support-for-SysV-scripts-for.patch 0009-sysv-add-back-support-for-all-virtual-facility-and-f.patch
Given the fact that Factory no more ship SysV init scripts since several
  months, only scripts coming from 3rd party applications should remain which
  are unlikely to rely on the SUSE specifities implemented by these
  patches. This change was announced on the Factory mailing list:
  https://lists.opensuse.org/archives/list/factory@lists.opensuse.org/thread/3ERUP5ZZJ6PPA36L3HVN46BH6U6JL74O/

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1241
2022-01-31 15:05:15 +00:00
Franck Bui
2b4112e1f9 - Import commit 885e0b9126bd2cf1e3f6b147c45ec58a5550c75c
41334be59e meson: minor cleanup
  3db0c28462 sysusers: split up systemd.conf
- Drop 0012-resolved-create-etc-resolv.conf-symlink-at-runtime.patch (bsc#1195153)
  Since v241, the patch isn't useful anymore because resolved is no more able to
  create /etc/resolv.conf symlink by itself,it runs as 'systemd-resolve'
  user. The symlink is now handled by a tmpfiles config file which is only
  installed when systemd-resolved is. The tmpfiles config file has currently a
  lower priority than the one shipped by netconfig.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1240
2022-01-31 14:13:33 +00:00
Franck Bui
3868d6b01d - Make use of %ldconfig_scriptlets
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1239
2022-01-31 10:21:19 +00:00
Franck Bui
6cfe6f2376 - Merge nss-resolved and nss-mymachines NSS plug-in modules into systemd-network
and systemd-container respectively.
  These modules are plug-in modules hence the shared library packaging policy
  doesn't apply for them. Moreover they're pretty useless alone without their
  respective systemd services, Hence let's reduce the number of sub-packages as
  the list keeps increasing.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1238
2022-01-31 10:16:32 +00:00
Franck Bui
ea1914fbfe - Merge libudev-devel into systemd-devel
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1236
2022-01-27 16:09:21 +00:00
Franck Bui
f29e940359 - Make sure that libopenssl-devel is installed when building resolved. Openssl
was implictly pulled in by systemd-experimental subpackage but could be
  missing if the build of this subpackage was disabled.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1235
2022-01-27 07:49:42 +00:00
Franck Bui
32caedbc10 - resolved: disable fallback DNS servers and fail when no DNS server info could
be obtained from the links. It's better to let the sysadmin know that
  something is likely misconfigured rather than silently handing over the DNS
  queries to Google or Cloudflare.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1234
2022-01-26 17:34:15 +00:00
Franck Bui
e444aad0ac Document bsc#1192637 in the changelogs
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1233
2022-01-26 17:03:49 +00:00
Franck Bui
48ed358dfb - resolved: disable DNSSEC until the following issue is solved:
https://github.com/systemd/systemd/issues/10579
- Replace '%setup+%autopatch' with '%autosetup'

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1232
2022-01-26 15:32:02 +00:00
Franck Bui
eb8c3c4572 - systemd.spec: explicitely list all files for each main (sub) packages
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1231
2022-01-26 14:18:47 +00:00
Franck Bui
a340d8d64b - Move the whole content of /usr/share/doc/packages/systemd in doc subpackage
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1229
2022-01-20 08:31:23 +00:00
Franck Bui
7cbd5f9854 - Move the systemd-network-generator stuff in udev package
This generator can generate .link files and is mainly used in initrd where
  udev is mandatory.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1228
2022-01-19 14:30:23 +00:00
Franck Bui
c808214f56 - Restore /sbin/udevadm and /bin/systemctl (obsolete) paths when split_usr is
true (bsc#1194519)

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1227
2022-01-18 20:40:06 +00:00
Franck Bui
bfa6b12ff4 - Import commit 3743acbce3bd44208af453fc6dc384a1236dc83c (merge of v249.9)
For a complete list of changes, visit:
  e2ca79dd77...3743acbce3

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1226
2022-01-17 09:18:38 +00:00
Franck Bui
41391b086e Revert the drop of 0009-pid1-handle-console-specificities-weirdness-for-s390.patch: s390 is supported on Factory/TW
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1224
2022-01-17 08:45:49 +00:00
Franck Bui
6e23ca65e7 fix name of 0009-sysv-add-back-support-for-all-virtual-facility-and-f.patch in specfile
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1223
2022-01-17 08:16:34 +00:00
Franck Bui
45669cffeb - Drop 0009-pid1-handle-console-specificities-weirdness-for-s390.patch, it's SLE
material.
- Extract bits from 0008-sysv-generator-translate-Required-Start-into-a-Wants.patch
  which are not specific to the handling of 'Required-Start:' and move them into a
  new patch 1010-sysv-add-back-support-for-all-virtual-facility-and-f.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1222
2022-01-14 15:14:43 +00:00
Franck Bui
7138585718 - Import commit e2ca79dd775d1f7d39861d57f23c43f6cd85a872 (merge of v249.8)
For a complete list of changes, visit:
  458220239c...e2ca79dd77
- Drop the following patches as they have been merged into SUSE/v249 branch:
  5000-shared-rm_rf-refactor-rm_rf_children_inner-to-shorte.patch
  5001-shared-rm_rf-refactor-rm_rf-to-shorten-code-a-bit.patch
  5002-shared-rm-rf-loop-over-nested-directories-instead-of.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1221
2022-01-13 22:00:43 +00:00
Franck Bui
6c84c8d5d2 - Import commit 458220239c69b8e5fe7be480929348daeccb70d1
e95df40b09 shared/rm-rf: loop over nested directories instead of instead of recursing (CVE-2021-3997 bsc#1194178)
  078e04305d shared/rm_rf: refactor rm_rf() to shorten code a bit
  6d560d0aca shared/rm_rf: refactor rm_rf_children_inner() to shorten code a bit
  6666ff056c localectl: don't omit keymaps files that are symlinks (bsc#1191826)

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1220
2022-01-13 20:57:06 +00:00
Franck Bui
a0ba4fbaff - Added patches to fix CVE-2021-3997 (bsc#1194178)
5000-shared-rm_rf-refactor-rm_rf_children_inner-to-shorte.patch
  5001-shared-rm_rf-refactor-rm_rf-to-shorten-code-a-bit.patch
  5002-shared-rm-rf-loop-over-nested-directories-instead-of.patch
  These patches will be dropped and cherry-picked from upstream once upstream
  will commit them in their main branch.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1219
2022-01-11 08:08:34 +00:00
Franck Bui
b398607d35 - Import commit a54f80116ccf105dff11aef5d18dd110ebd3e8ee
30cbebc56f tmpfiles: 'st' may have been used uninitialized
  5443654ec0 macro: add new helper RET_NERRNO()
  8d90ecc435 rm-rf: optionally fsync() after removing directory tree
  591344010d rm-rf: refactor rm_rf_children(), split out body of directory iteration loop
  8c7762c4f1 Bump the max number of inodes for /dev to a million (bsc#1192858)
  dc9476c881 journal: don't remove the flushed flag when journald is stopped
  29efc29efd TEST-10: don't attempt to write a byte to the socket
  773fb785b6 Bump the max number of inodes for /dev to 128k (bsc#1192858)

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1218
2022-01-06 14:35:57 +00:00
Franck Bui
c3f45bf95e - Update systemd-user PAM service again
Change the default implementation of pam_setcred() again, previously
  customized to run the full "auth" PAM stack and only call pam_deny.so which is
  basically the SUSE default behavior without pam_warn.so.
  This is considered safer, especially on SLE where a regression was spotted by
  QA.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1217
2022-01-04 08:30:42 +00:00
Franck Bui
493d5f22b9 Accepting request 936250 from home:lnussel:branches:Base:System
- move files related to static nodes to udev

OBS-URL: https://build.opensuse.org/request/show/936250
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1216
2021-12-07 19:29:40 +00:00
Franck Bui
3fdff99e48 Accepting request 933656 from home:lnussel:branches:Base:System
- Replace S:$n references with SOURCE$n. Makes vim * search work.

OBS-URL: https://build.opensuse.org/request/show/933656
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1215
2021-11-25 10:00:18 +00:00
Franck Bui
ffad028ee5 Reference jsc#SLE-17798 in the changelog
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1214
2021-11-23 15:38:41 +00:00
Franck Bui
1ba6cc880b - Import commit 523f32df573d459551760b072cb62906f4a2cf23 (merge of 249.7)
For a complete list of changes, visit:
  c34c987126...523f32df57
- Import commit c34c98712600bc206919ec6ed136195f75ac1967
  f99aa40c6e TEST-12: make sure 'adm' group exist
  6c7194ff99 TEST-08: don't force ext4 for /
  dd1814b8f9 test: use kbd-mode-map we ship in one more test case
  94c5febf2a test: fix TEST-10-ISSUE-2467

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1213
2021-11-22 09:12:53 +00:00
Franck Bui
a08b33ac5d - Update the dependencies of the systemd-testsuite sub-package.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1212
2021-11-22 08:47:06 +00:00
Franck Bui
d59b4d1479 - Import commit 61c79e68381801428c0bc00a56b9e2e9cfa68373 (merge of 249.6)
bcdeee7b4c virt: Support detection for ARM64 Hyper-V guests (bsc#1186071)
  [...]
  For a complete list of changes, visit:
  8521f8d22f...61c79e6838
- Drop 0001-Revert-core-Check-unit-start-rate-limiting-earlier.patch
  It's part of v249.6.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1211
2021-11-15 10:34:05 +00:00
Franck Bui
bc2277421d - Add 0001-Revert-core-Check-unit-start-rate-limiting-earlier.patch
Temporarly revert commit ed8fbbf1745c6a2dc0b8cd560ac8a3353f72e979
  until the regression it introduced [1] is addressed by upstream and
  a fix is released via the stable tree.
  [1] https://github.com/systemd/systemd/issues/21025

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1210
2021-11-02 10:36:41 +00:00
Franck Bui
e91b637983 Reference bsc#1190984 in the changelog
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1209
2021-10-28 09:32:40 +00:00
Franck Bui
5114b3d334 - Disable nss-systemd and translations features for the mini flavour
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1208
2021-10-19 14:42:56 +00:00
Franck Bui
ee849c199d - Really enable libiptc for masquerading support (bsc#1191651)
Currently used by systemd-nspawn and systemd-networkd.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1207
2021-10-18 19:42:41 +00:00
Franck Bui
c439b9bec9 - Convert systemd package to multibuild
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1206
2021-10-18 10:30:34 +00:00
Franck Bui
f7b937968d - Import commit 8521f8d22fd44400289fcea03493ebd7f8b1487d (merge of v249.5)
For a complete list of changes, visit:
  355e113ce1...8521f8d22f

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1204
2021-10-15 12:22:28 +00:00
Franck Bui
15f422b382 - Import commit 355e113ce193e5e2d195278c57d47f9a1b00ae46
3b4a005095 meson: add missing include directory when using xkbcommon
  4c4e642712 meson: allow extra net naming schemes to be defined during configuration (jsc#SLE-18514)
  78466e4464 meson: drop the list of valid net naming schemes
  b9a2098f9d netif-naming: inline one iterator variable
  d7fbbc5e74 Add remaining supported schemes as options for default-net-naming-scheme

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1203
2021-10-15 12:07:31 +00:00
Franck Bui
4bd5e376d8 - Rename %{gnu-efi} into %{sd_boot}
Build conditionals (%bcond_with and %bcond_without) are used to
  define a specific feature of systemd. "gnu-efi" is rather an
  implemenation detail. Also not really sure what "efi" option alone
  is useful for since systemd-boot & co depends on "gnu-efi".
- Enable sd_boot support for aarch64

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1202
2021-10-15 11:50:45 +00:00
Franck Bui
40636e3824 - Ghost own directories /var/log/journal and /var/log/journal/remote again
rpmlint no more complain about the setgid bit, see sr#923496.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1201
2021-10-15 09:32:30 +00:00