Commit Graph

911 Commits

Author SHA256 Message Date
Franck Bui
cc629c2985 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
f4efad3241 - 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
539f36322b - 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
5adcea0769 - 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
cf68f277ec - 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
70762427f5 - 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
8dfb4204a9 - 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
96920c49f6 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
3681fb2245 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
eb8ce3caea - 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
515dce1ec4 - 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
8bbe380377 - 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
450f529a91 - 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
34423eeb10 - 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
35cf21cc0b - 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
e8faaad458 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
5f3175e057 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
6553c4110a 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
a9a6441530 - 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
2020ee32ce - 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
6a238df9b8 - 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
60a740e3be - 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
35fd1be194 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
6511b57cd2 - 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
7ede02f134 - 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
b0df808421 - 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
d533aec39f - 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
757ed4aeb5 - 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
9fcf68768a - 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
2ee7601fa9 - 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
Franck Bui
22def4ab50 - Overwriting rootprefix= is only required when split-usr is enabled
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1200
2021-10-08 11:21:33 +00:00
Franck Bui
cd922f1152 - Rename %usrmerged into %split_usr
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1199
2021-10-08 10:11:10 +00:00
Franck Bui
a00cc781ce - Suppress PAM warning when the credentials for user@.service service
are established (bsc#1190515)
  systemd-user PAM service needs to define a default implementation of
  pam_setcred() otherwise the fallback (defined by /etc/pam.d/other)
  is used, which consists of pam_warn.so + pam_deny.so, and will throw
  a warning each time a user logs in.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1197
2021-10-06 08:03:55 +00:00
Franck Bui
d35edce05c - No need to install upstream pam configuration file "systemd-user"
It's overwritten by the SUSE version anyway.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1195
2021-10-05 08:47:13 +00:00
Franck Bui
feb2ae5fb2 - Work around rpmlint complaining about /var/log/journal shipped with setgid bit
This setgid bit has been already reviewed in the past and wasn't a
  concern. However we want the mode/ownership adjusted by tmpfiles and
  avoid the duplication of these info in rpm.
- Don't ghost own any directories created dynamically by tmpfiles
  Again rpmlint complains but it doesn't seem to make sense to try to
  track all paths (including theirs perms, ownerships...) created
  dynamically. And 'rpm -V' is likely to report issues later with
  these paths anyway.
  This effectively partially reverts the two previous commits.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1194
2021-09-29 14:09:21 +00:00
Franck Bui
1a17ea0a22 - Make sure the build process won't create /var/log/journal
- /var/log/journal/remote is owned by systemd-journal-remote

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1193
2021-09-24 12:59:13 +00:00
Franck Bui
c4bc71984f - systemd.spec: fix a bunch of rpmlint errors/warnings
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1191
2021-09-24 09:29:34 +00:00
Franck Bui
5721444122 - Drop systemd-logger
This sub package was introduced in order to configure persistent
  journal and also to make sure that another syslog provider (such as
  rsyslog) couldn't be installed at the same time: each syslog
  provider conflicts with each others.
  However this mechanism didn't work since uninstalling systemd-logger
  wasn't magically turning off persistent logging because
  /var/log/journal is likely to be populated hence not removed.
  Moreover using a subpackage to configure the mode of journald was
  overkill and the usual ways (main conf file or drop-ins) should be
  preferred.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1190
2021-09-24 07:42:46 +00:00
Franck Bui
02b27c7f2e - Import commit 7a5801342fe2f53e5c2a8578d6db132c0eca2d97
8d65ec4a66 test: wc is needed by test/units/testsuite-50.sh
  1527bcc5dd test: make the installation of the debug tools optional in the image
  f4e6bf0b37 journalctl: never fail at flushing when the flushed flag is set (bsc#1188588)

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1189
2021-09-22 13:45:37 +00:00
Franck Bui
f1f0a511c6 - Update the dependencies of the testsuite package
The debug tools are optional thus no more required.
  OTOH strip(1) is needed when building the test image and nc(1) is
  needed by some tests.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1188
2021-09-22 13:29:40 +00:00
Franck Bui
ebc3c7cff6 Add a couple of missing bug references in the changelog
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1187
2021-09-22 08:45:10 +00:00
Franck Bui
2ca488757b - Drop git internal files from the testsuite sub-package
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1186
2021-09-10 13:31:14 +00:00
Franck Bui
030978b3d3 - Adjust pam macros
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1185
2021-09-10 09:54:08 +00:00
Franck Bui
5589af79e8 - Don't reexecute user manager instances on package update yet
This can't be done until users have their user instance updated to
  the new version that supports reexecuting with SIGRTMIN+25 because
  this signal terminates the user managers for the previous versions.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1184
2021-09-08 17:13:42 +00:00
Franck Bui
b91c8d82b4 - Import commit ec72db9ee0f8ce061f83624d7148ff38a5993b11
3b1aa2f79f manager: reexecute on SIGRTMIN+25, user instances only
  fd46c81922 test: make sure to include all haveged unit files
- systemd.spec: reexec user manager instances on package updates

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1183
2021-09-08 14:28:02 +00:00
Franck Bui
84b9097ddf - Make sure the versions of both udev and systemd packages are always the same (bsc#1189480)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1182
2021-09-03 09:42:29 +00:00
Franck Bui
249d9fc7ff - Drop dependency on m4 (replaced by Jinja2)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1181
2021-09-02 10:06:11 +00:00
Franck Bui
bc257c9038 - Configure split-usr=true only when %usrmerged is not defined
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1180
2021-09-01 11:56:02 +00:00
Franck Bui
447f1467e1 - Import commit 40bda18e346ff45132ccd6f8f8e96de78dcf3470 (merge of v249.4)
For a complete list of changes, visit:
  7f23815a70...40bda18e34

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1179
2021-09-01 10:00:13 +00:00
Franck Bui
f2190bbf90 - Rework the test (sub)package:
- it's been renamed into 'systemd-testsuite'
  - it includes the extended tests too
  - the relevant commits have been backported to SUSE/v249 so no SUSE
    specific patch is needed to run the extended tests (see below)
  - the deps needed by the extended tests have been added
- Import commit 7f23815a706cf2b2df3eac2eb2f8220736b8f427
  ad216581b6 test: if haveged is part of initrd it needs to be installed in the image too
  088fbb71d0 test: adapt install_pam() for openSUSE
  4d631c1f0c Revert "test: adapt TEST-13-NSPAWN-SMOKE for SUSE"
  ef956eb8a2 test: on openSUSE the static linked version of busybox is named "busybox-static"
  6f7ce633b0 TEST-13-*: in busybox container sleep(1) takes a delay in seconds only
  278baaa3ec test: don't try to find BUILD_DIR when NO_BUILD is set
  3bba2f876a test: add support for NO_BUILD=1 on openSUSE
  d77cbc1b64 test: make busybox TEST-13-only dependency

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1178
2021-08-31 20:44:53 +00:00
Franck Bui
d1c9abf5e1 - Upgrade to v249.2 (commit c0bb2fcbc26f6aacde574656159504f263916719)
See https://github.com/openSUSE/systemd/blob/SUSE/v249/NEWS for
  details. 
  - Rebased 0002-rc-local-fix-ordering-startup-for-etc-init.d-boot.lo.patch
            0012-resolved-create-etc-resolv.conf-symlink-at-runtime.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1177
2021-08-03 13:02:44 +00:00
Franck Bui
d60d0ef3d9 - Avoid the error message when udev is updated due to udev being
already active when the sockets are started again (bsc#1188291)

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1176
2021-07-29 13:15:37 +00:00
Franck Bui
b1a84743a5 - Import commit 73e9e6fb847513c6d62f2fb445778ef5bc0fe516 (merge of v248.6)
For a complete list of changes, visit:
  cb29bcc5ef...73e9e6fb84

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1175
2021-07-26 12:44:37 +00:00
Franck Bui
3fdaba1f09 - Drop 0001-Revert-core-prevent-excessive-proc-self-mountinfo-pa.patch
Commit 81107b8419c39f726fd2805517a5b9faab204e59 fixes
  https://github.com/systemd/systemd/issues/19464 which makes the
  aforementioned patch not needed anymore.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1174
2021-07-20 16:29:26 +00:00
Franck Bui
4c062cd4c2 - Drop 1003-basic-unit-name-adjust-comments.patch
It's been merged in SUSE/v248 branch

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1173
2021-07-20 16:24:01 +00:00
Franck Bui
83ded7ebf4 - Import commit cb29bcc5ef2c0ee659686c5d229646a6ba98ec50 (merge of v248.5)
4a1c5f34bd basic/unit-name: do not use strdupa() on a path (bsc#1188063 CVE-2021-33910)
  [...]
  For a complete list of changes, visit:
  94efce2ee5...cb29bcc5ef
- Drop 1002-basic-unit-name-do-not-use-strdupa-on-a-path.patch as it
  was merged in v248.5.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1172
2021-07-20 16:05:37 +00:00
Franck Bui
248fa30cda - Import commit 94efce2ee59fca15a48ff9c232c8dd7cf930c0a0 (merge of v248.4)
For a complete list of changes, visit:
  c0aecee593...94efce2ee5
- Drop 1001-unit-name-generate-a-clear-error-code-when-convertin.patch
  as it was merged in v248.4.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1171
2021-07-20 15:44:54 +00:00
Franck Bui
38be57a4f2 - Import commit c0aecee593511e49638579cb2b9ac8aaf1f8e6c8
42ec1d537a login: use a hwdb entry for tagging Parallels' fb devices with 'master-of-seat' tag
  ecc7c7b462 login: use a hwdb entry for tagging HyperV's fb devices with 'master-of-seat' tag
  a4cfd70476 login: XGI Z7/Z9 (XG20 core) graphic chip requires master-of-seat to be set (bsc#1187154)
  ef553e0199 sd-dhcp-client: tentatively ignore FORCERENEW command (bsc#1185972 CVE-2020-13529)
  aae6c575fc sd-dhcp-client: logs when dhcp client unexpectedly gains a new lease
  258a3d2043 sd-dhcp-client: shorten code a bit
  0a80303114 sd-dhcp-client: check error earlier and reduce indentation

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1170
2021-07-20 15:23:18 +00:00
Franck Bui
af31c5ef5a - Added patches to fix CVE-2021-33910 (bsc#1188063)
Added 1001-unit-name-generate-a-clear-error-code-when-convertin.patch
  Added 1002-basic-unit-name-do-not-use-strdupa-on-a-path.patch
  Added 1003-basic-unit-name-adjust-comments.patch
  These patches will be moved to the git repo once the bug will become
  public.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1169
2021-07-20 12:22:21 +00:00
Franck Bui
3ec18beb3f - systemd-hwdb-update.service should be shipped by the udev package
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1168
2021-07-05 09:18:19 +00:00
Franck Bui
279491fe77 Accepting request 902825 from home:favogt:microtpm
- Enable TPM2 support

- Enable TPM2 support

OBS-URL: https://build.opensuse.org/request/show/902825
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1167
2021-07-01 08:51:02 +00:00
Franck Bui
296ceb6e83 - Finally don't create /run/lock/subsys anymore
This effectively reverts the fix for bsc#1187292 made earlier. This
  directory is specific to RH sysvinit and since we're going to fade
  the support of SysV init script away the directory has no future.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1166
2021-07-01 07:51:39 +00:00
Franck Bui
4bfb2e6540 - Import commit e9a23d9e064c2e7ac21a1b984d116bcf15327e63
8dd19c6ee3 sd-device: allow to read sysattr which contains embedded NUL
  d52409e5fe pid1: only add a Wants= type dependency on /tmp when PrivateTmp=yes (bsc#1181970

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1165
2021-06-28 16:57:58 +00:00
Franck Bui
a47d8db37c - Import commit fcdb8dce591db2f5fc3c1e3eeb7abe9a2090b401
aa2d840a3b compat-rules: fix warning: "label ‘out’ defined but not used" in path_id_compat.c
- Restore 61-persistent-storage-compat.rules that was mistakenly
  dropped during the merge of v248.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1164
2021-06-24 15:47:39 +00:00
Franck Bui
b06d6ccb57 - Create /run/lock/subsys again (bsc#1187292)
The creation of this directory was mistakenly dropped when
  'filesystem' package took the initialization of the generic paths
  over.
  Paths under /run/lock are still managed by systemd for lack of
  better place.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1163
2021-06-18 12:54:17 +00:00
Franck Bui
784edab7c8 - Drop systemd's dependency on udev (jsc#PM-2677)
In some environments (i.e. containers) udev is usually not necessary
  but pulls in unnecessary packages.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1162
2021-06-04 13:36:04 +00:00
Franck Bui
9d4ef42aa3 - Now that chkconfig/insserv are history, let's implement the strict
minimum in systemd-sysv-install to enable/disable SysV init scripts
  (bsc#1186595 bsc#1186359)
  Indeed there's no much point in dropping SysV support completely
  until upstream will do especially since 3rd party applications such
  as vmware still rely on it, see bsc#1186359).

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1161
2021-06-04 07:40:09 +00:00
Franck Bui
16ada62af5 - Allow the sysusers config files shipped by systemd rpms to be
overriden during system installation (bsc#1171962)
- While at it, add a comment to explain why we don't use
  %sysusers_create in %pre and why it should be safe in %post.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1160
2021-05-28 04:43:28 +00:00
Franck Bui
54617ddbb4 - udev requires systemd in its %post (bsc#1185958)
udevadm, called in udev's %post, requires libsystemd-shared-248.so.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1159
2021-05-25 07:37:28 +00:00
Franck Bui
750ef43659 - Restore all "License:" tags
udev uses a different license (GPL-2.0-only) than the main package
  and "osc service localrun format_spec_file" has the good taste to
  restore the license tags for all other subpackages if one of the
  subpackage tag differs.
  - Drop "License:" tags from all subpackages and make it inherited
    from the main package.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1158
2021-05-20 19:11:16 +00:00
Franck Bui
d7d40b8a17 - Expect 644 permissions for /usr/lib/udev/compat-symlink-generation (bsc#1185807)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1157
2021-05-20 15:50:19 +00:00
Franck Bui
e7f6d48240 - Spec file minor cleanups:
- Drop all "Group:" tags as they are deprecated.
  - Drop "License:" tags from all all subpackages and make it
    inherited from the main package.
  - Drop "%bcond_with parentpathid" as it's not used.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1156
2021-05-20 08:04:53 +00:00
Franck Bui
61f65aa6d3 - Introduce subpackage systemd-tests
This subpackage is mainly used before submitting a new version of
  the systemd packages. As such it's not intended for regular users
  hence can be removed/renamed at any time. One might wonder why the
  unit tests are not executed during package builds (%check)... the
  reason is that the environment used to build package (chroot) is too
  limited and therefore only a subset of the unit tests would be
  executed in this environment.
  To disable the build of the subpackage, use "--without=tests".

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1155
2021-05-19 06:52:49 +00:00
Franck Bui
65019fac48 - Add 0001-Revert-core-prevent-excessive-proc-self-mountinfo-pa.patch
A temporary patch until
  https://github.com/systemd/systemd/issues/19464 is solved.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1154
2021-05-18 10:05:32 +00:00
Franck Bui
04321851d5 - Import commit bc08011f04ac4f12569ec05965149f665a0b110b (merge of v248.3)
For a complete list of changes, visit:
  6f5c11b28f...bc08011f04

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1153
2021-05-18 08:34:58 +00:00
Franck Bui
ceab0f95ce fix wrong commit id used during merge of v248
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1152
2021-05-11 16:13:01 +00:00
Franck Bui
e06ae497fe - Import commit 6f5c11b28f5739b901390f22c2bf4c003cadedaa (merge of v248.2)
For a complete list of changes, visit:
  e5f93c9d2e...6f5c11b28f

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1151
2021-05-10 14:23:17 +00:00
Franck Bui
a4a68bdbdd - Upgrade to v248 (commit e5f93c9d2e9e26dd0dff430c4c072a547357ae7d)
See https://github.com/openSUSE/systemd/blob/SUSE/v248/NEWS for
  details. 
  - A couple runtime dependencies on libraries are now tracked
    manually (with Recommends:) due to the fact that some symbols of
    these libs are dynamically loaded with dlopen() (heck!)
  - oomd is left disablde for now
  - pam configuration file 'systemd-user' is now shipped in
    /usr/etc/pam.d
  - Rebased 0001-conf-parser-introduce-early-drop-ins.patch
            0003-strip-the-domain-part-from-etc-hostname-when-setting.patch
            0006-sysv-generator-add-back-support-for-SysV-scripts-for.patch
  - Dropped 0004-tmpfiles-support-exclude-statements-based-on-file-ow.patch
    as it is SLE specific.
- Clean systemd-experimental up:
  - Enclose "%package/%descriptoin experimental" within a "%if
    %experimental/%endif" block condition
  - List the build requirements in the sub-package instead of listing
    them in the main package.
  - Enable support for fido2, pwquality and qrencode in the home
    stuff
  - Improve the package description

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1149
2021-04-28 12:31:30 +00:00
Franck Bui
45629a3878 Accepting request 880903 from home:lnussel:legacyfree
- enable libiptc for masquerading support in networkd
- enable pstore, repart, userdb and homed

OBS-URL: https://build.opensuse.org/request/show/880903
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1147
2021-04-12 09:54:19 +00:00
Franck Bui
4370f066e5 - systemd.spec: clean some of the build deps up:
- libpcre is redundant with libpcre2 (only required by the full
    build) and the mini variant needs none of them. Hence drop the ref
    to libpcre.
  - normally libidn2 is needed by some optional features in
    systemd-network (only). But it's implicitly pulled in by libgnutls
    (required by the main package). Let's make sure the related
    features won't be disabled inadvertently in the future by making
    the dep explicit.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1146
2021-04-07 09:40:22 +00:00
Franck Bui
cbc894594d - Import commit 14581e01203df7aa63c7c8383a12e6ebe258476f (merge of v246.13)
423b1e759c Revert "resolved: gracefully handle with packets with too large RR count" (bsc#1183745)
  4723778738 meson.build: make xinitrcdir configurable (bsc#1183408)
  [...]
  For a complete list of changes, visit:
  9753d1c175...14581e0120
- Drop 0001-Revert-resolved-gracefully-handle-with-packets-with-.patch
  as it's part of v246.13.
- Make use of the new build option to ship xinitrc in
  /usr/etc/X11/xinit/xinitrc.d (bsc#1183408)

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1145
2021-03-30 14:09:02 +00:00
Franck Bui
a1a642bea2 - Add 0001-Revert-resolved-gracefully-handle-with-packets-with-.patch
Temporary workaround for bsc#1183745 (upstream issue 18917) until an
  actual fix is found.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1144
2021-03-24 07:19:48 +00:00
Franck Bui
22b1e38b3e Accepting request 880601 from home:Pharaoh_Atem:branches:Base:System
- Default to the "unified" cgroup hierarchy. At this point, most
  users of cgroup (such as docker, libvirt, kubernetes) should be 
  ready for this change. It's still possible to switch back to the
  old "hybrid" hierarchy by passing "systemd.unified_cgroup_hierarchy=0"
  option to the kernel command line.

OBS-URL: https://build.opensuse.org/request/show/880601
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1143
2021-03-23 17:55:26 +00:00
Franck Bui
dac35913dc Previous tarball was borked :-/
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1142
2021-03-15 20:54:49 +00:00
Franck Bui
9c2ecbf41b - Import commit ddbd660935d7cff7e5c846a98b312b50a7af4fe7 (merge of v246.11)
For a complete list of changes, visit:
  134cf1c8bc...ddbd660935
- Rebase 0001-conf-parser-introduce-early-drop-ins.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1141
2021-03-15 20:02:29 +00:00
Franck Bui
50fee06991 - Import commit 13bc08870147b35f87cefb074aec22e767b7ac04
846d61e0a1 boot: Move console declarations to missing_efi.h
  171a37228b boot: Add startswith() and endswith() functions with no_case variants
  0fad9f309a boot: Drop unnecessary braces
  c38bbb0874 boot: Fix void pointer arithmetic warning
  438210924b boot: Replace raw efivar gets with typed variants
  e46cb3e4a0 boot: Add  efivar_get/set_uint64_le() functions
  e16bee35c8 boot: Rename efivar_get/set_int() to efivar_get/set_uint_string()
  2808d0e9a3 boot: Tighten scope of variables used in loops
  d3f3d57743 boot: Add efivar_get_boolean_u8()
  0551ecce71 boot: Make all efivar util functions take the guid as an argument
  8376ba3b9f boot: Turn all guid constants into C99 compound initializers
  166fc2dad2 boot: Enable C99
  c87d66e261 boot: Move Secure Boot logic to new file
  da7bba9438 udev: fix memleak
  e06139117c nspawn: make rootfs relative to oci bundle path (bsc#1182598)
  8ba587d46c PATCH] Always free deserialized_subscribed on reload (bsc#1180020)

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1140
2021-03-15 11:28:03 +00:00
Franck Bui
fa25221d01 - Make sure the udev socket units are reloaded during udev package updates
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1139
2021-03-11 09:53:07 +00:00
Franck Bui
0e9321f781 - fix-machines-btrfs-subvol.sh is only shipped when machined is built
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1138
2021-03-10 09:10:55 +00:00
Franck Bui
d00621bb30 - systemd requires aaa_base >= 13.2
This dependency is required because 'systemctl
  {is-enabled,enable,disable} <initscript>" ends up calling
  systemd-sysv-install which in its turn calls "chkconfig
  --no-systemctl".
  aaa_base package has a weird versioning but the '--no-systemctl'
  option has been introduced starting from SLE12-SP2-GA, which shipped
  version "13.2+git20140911.61c1681".
  Spotted in bsc#1180083.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1137
2021-02-22 20:22:02 +00:00
Franck Bui
a35985d3c7 - Add 0001-conf-parser-introduce-early-drop-ins.patch
Introduce early configuration drop-in file. This type of drop-ins
  are reserved for vendor own purposes only and should never been used
  by users. It might be removed in the future without any notice.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1136
2021-02-19 13:38:02 +00:00
Franck Bui
423a6e7b0d - Drop use of %systemd_postun in %postun
This macro is supposed to operate on units but it was used without
  passing any parameters. This call was probably used for issuing a
  daemon-reload but the following calls to
  %systemd_postun_with_restart imply that already. So let's simply
  drop it.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1135
2021-02-17 10:31:26 +00:00
Franck Bui
a48e524d7b Accepting request 869761 from home:fbui:systemd:openSUSE-Factory
- systemd-sysv-convert: handle the case when services are migrated
  from SysV scripts to systemd units and are renamed at the same
  time (bsc#1181788)
  The list of such services is hard coded and contains only the
  'ntp->ntpd' translation.

OBS-URL: https://build.opensuse.org/request/show/869761
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1134
2021-02-05 13:05:42 +00:00
Franck Bui
77985e5f6c Accepting request 868903 from home:fbui:systemd:openSUSE-Factory
- Import commit 134cf1c8bc3e361a2641161aa11ac2b5b990480b (merge of v246.10)
  25f220eafb sysusers: flush nscd's caches whenever /etc/{passwd,group} are modified (bsc#1181121)
  4a543f0257 journal: send journald logs to kmsg again
  26df96473f busctl: add a timestamp to the output of the busctl monitor command (bsc#1180225)
  For a complete list of changes, visit:
  520e53b6d8...134cf1c8bc

OBS-URL: https://build.opensuse.org/request/show/868903
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1133
2021-02-03 10:49:28 +00:00
Franck Bui
14968cff9b Accepting request 862853 from home:lnussel:usrmove
- prepare usrmerge (boo#1029961)
  * don't install legacy symlinks to /
  * use %_pamdir to install pam modules
  * leave nss files in /usr/lib*, glibc loads them from there just
    fine independent of usrmerge

OBS-URL: https://build.opensuse.org/request/show/862853
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1132
2021-01-14 15:32:12 +00:00
Franck Bui
7118057a85 Accepting request 856898 from home:fbui:systemd:openSUSE-Factory
- Import commit 520e53b6d85087b05892ee637ae93f1b269e7e52 (merge of v246.9)
  For a complete list of changes, visit:
  2401461e5f...520e53b6d8

- Import commit 2401461e5f0e32922823d954c56106f96344070e
  6131548b0f udev: link_update() should fail if the entry in symlink dir couldn't have been created
  f6cb8c7d79 udev: make algorithm that selects highest priority devlink less susceptible to race conditions (bsc#1084748)
  fc64e47291 basic/stat-util: make mtime check stricter and use entire timestamp
  ae91d45d3d test/sys-script.py: add missing DEVNAME entries to uevents
  09e3473a7a test/udev_test.pl: add "expected good" count
  fc89379b5b test/udev-test.pl: suppress umount error message at startup
  d9e114f10d test/sd-script.py: new helper script for udev testing
  f2672eae66 test/udev-test.pl: generator for large list of block devices
  42b68e43e2 test/udev-test.pl: add repeat count
  eec8ec375a tests/udev-test.pl: add multiple device test
  73b8f3cf93 test/udev-test.pl: count "good" results
  ee04d70bb6 test/udev-test.pl: merge import parent tests into one
  03942c8fbc test/udev-test.pl: merge "space and var with space" tests
  ec95546189 test/udev-test.pl: remove bogus rules from magic subsys test
  f704429217 test/udev-test.pl: Make some tests a little harder
  ce1a877dc0 test/udev-test.pl: last_rule is unsupported
  913c72ff2d test/udev-test.pl: fix wrong test descriptions
  eeb25a1be6 test/udev-test.pl: allow checking multiple symlinks
  00ab4292da test/udev-test.pl: test correctness of symlink targets
  5b71ee2911 test/udev-test.pl: use computed devnode name
  2e04bb9ae8 test/udev-test.pl: allow concurrent additions and removals
  8816dd593c test/udev-test.pl: create rules only once
  214418632d test/udev-test.pl: allow multiple devices per test
  1eb6b23f27 udev-test: do not rely on "mail" group being defined
  4a0a4dcf10 udev: Fix sound.target dependency (bsc#1179363)

OBS-URL: https://build.opensuse.org/request/show/856898
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1131
2020-12-18 15:38:23 +00:00
Franck Bui
1991e9c3f5 Accepting request 856647 from home:fbui:systemd:openSUSE-Factory
- Enable support for zstd compression
  systemd-journald will now use zstd for compressing large fields in
  journal files. systemd-coredump will also use this algorithm to
  compress coredump files.
  Please note that systemd older than v246 won't be able to read new
  journal files as zstd algorithm is not supported by these versions.
  This incompatible change was actually not the only one introduced by
  v246 since the hash tables in journal files have been hardened
  against hash collisions too in an incompatible way with older
  versions.

OBS-URL: https://build.opensuse.org/request/show/856647
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1130
2020-12-17 10:43:58 +00:00
Franck Bui
b1fd757c86 Accepting request 855679 from home:dimstar:Factory
- Explicitly require group(kvm) by udev: the group used to be
  created by system-users-hardware, but has been split/moved to
  qemu/kvm, where it is more logical. The file
  /usr/lib/udev/rules.d/50-udev-default.rules references this
  group, thus we should make sure the group exists. Otherwise there
  are errors in the journal in the form of:
  /usr/lib/udev/rules.d/50-udev-default.rules:86 Unknown group 'kvm', ignoring

- Explicitly require group(kvm) by udev: the group used to be
  created by system-users-hardware, but has been split/moved to
  qemu/kvm, where it is more logical. The file
  /usr/lib/udev/rules.d/50-udev-default.rules references this
  group, thus we should make sure the group exists. Otherwise there
  are errors in the journal in the form of:
  /usr/lib/udev/rules.d/50-udev-default.rules:86 Unknown group 'kvm', ignoring

OBS-URL: https://build.opensuse.org/request/show/855679
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1129
2020-12-14 10:17:48 +00:00
Franck Bui
ab886e7220 Accepting request 854319 from home:fbui:systemd:openSUSE-Factory
- Import commit d5e7958d35dc7758fe2e87e0a8193b93ce1a1b15 (merge of v246.7)
  450792497e sd-event: fix delays assert brain-o (#17790)
  1040a19d08 udevadm: rename option '--log-priority' into '--log-level'
  a7b41e19bd udev: rename kernel option 'log_priority' into 'log_level'
  For a complete list of changes, visit:
  f6104ea5f5...d5e7958d35

- Import commit d5e7958d35dc7758fe2e87e0a8193b93ce1a1b15 (merge of v246.7)
  450792497e sd-event: fix delays assert brain-o (#17790)
  1040a19d08 udevadm: rename option '--log-priority' into '--log-level'
  a7b41e19bd udev: rename kernel option 'log_priority' into 'log_level'
  For a complete list of changes, visit:
  f6104ea5f5...d5e7958d35

OBS-URL: https://build.opensuse.org/request/show/854319
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1128
2020-12-09 17:11:15 +00:00
Franck Bui
051e034c5e Accepting request 852343 from home:fbui:systemd:openSUSE-Factory
- Import commit f6104ea5f554233e34b94ffd92da8332c3bd7d8f
  617aed9236 scope: on unified, make sure to unwatch all PIDs once they've been moved to the cgroup scope

OBS-URL: https://build.opensuse.org/request/show/852343
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1127
2020-12-01 13:22:10 +00:00
Franck Bui
580cf57b29 Accepting request 850486 from home:fbui:systemd:openSUSE-Factory
- Don't post-require systemd-default-settings-branding anymore
  This is actually not needed now that the branding package issues a
  PID1 reloading every times it's being updated.

- Import commit 49caf8e37aba04841e5493ccc25e7edab462d95b
  f8f7286527 units: restore sysfs conditions in sys-fs-fuse-connections.mount and sys-kernel-config.mount
  e9c7158dc7 units: wait until some fs modules are entirely loaded before mounting their corresponding filesystem (bsc#1178631)
  ac7ddc4201 Revert "units: skip modprobe@.service if the unit appears to be already loaded"
  17310a1d19 core: serialize u->pids until the processes have been moved to the scope cgroup (bsc#1174436)
  1416965614 meson: add option to skip installing to $sysconfdir
  f71a1ef5d0 systemctl: give a nice hint about org.freedesktop.LogControl1 when applicable
  20a3f9fd95 systemctl: immediately reject invalid log levels
  9f67d2e57b systemctl: merge log_target(), log_level(), service_log_setting()
  ddf7cf4872 systemctl: add service-log-{level,target} verbs
  026d7d156d systemctl: list unit introspection verbs first, modification second

- systemd-default-settings is needed by %post scriptlet

- Revert the change that dropped %{release} from the package version
  constraints used in Requires:
  The release number is actually relevant since it can be increased
  when some patches, which might touch multiple sub-packages of
  systemd, are added/modified.
  However the %{release} is still no more used in conflicts.

- Don't post-require systemd-default-settings-branding anymore
  This is actually not needed now that the branding package issues a
  PID1 reloading every times it's being updated.

- Import commit 49caf8e37aba04841e5493ccc25e7edab462d95b

OBS-URL: https://build.opensuse.org/request/show/850486
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1126
2020-11-24 14:12:21 +00:00