SHA256
1
0
forked from pool/systemd
Commit Graph

1057 Commits

Author SHA256 Message Date
Franck Bui
7d0bdd9a7a - Upgrade to v251.2 (commit 949d6bb7201dd48167ee9716ed6278764d1f4c0f)
See https://github.com/openSUSE/systemd/blob/SUSE/v251/NEWS for
  details. 
  - Rebased 0001-conf-parser-introduce-early-drop-ins.patch
  - systemd-testsuite now requires python3-pexpect due to TEST-69-SHUTDOWN
    relying on this module.
  - sysusers.d/systemd-network.conf has been moved to systemd-network
    sub-package since the tmpfiles configuration snippets for networkd has also
    been moved to this sub-package.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1285
2022-06-07 18:24:43 +00:00
Franck Bui
1e53113208 - Import commit 4dbc543953eabd4c578da67ce6e2970d6f96c406 (merge of v250.6)
For a complete list of changes, visit:
  0d950479e5...4dbc543953

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1284
2022-05-31 13:29:05 +00:00
Franck Bui
9206cade8b Accepting request 976995 from home:jengelh:branches:Base:System
- Update rpmlintrc for shlib-policy-name-error/multibuild case.

OBS-URL: https://build.opensuse.org/request/show/976995
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1283
2022-05-23 08:16:22 +00:00
Franck Bui
9af5a12a0f - Import commit 0d950479e58dd3af007eb3780d600a5446aac519 (merge of v250.5)
For a complete list of changes, visit:
  736db5a59f...0d950479e5

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1281
2022-05-06 14:54:56 +00:00
Franck Bui
321b6756a8 - Call pam_loginuid when creating user@.service (bsc#1198507)
It's a backport of upstream commit 1000522a60ceade446773c67031b47a566d4a70d.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1280
2022-04-29 15:36:28 +00:00
Franck Bui
3a71e5f4e3 Accepting request 971002 from home:lnussel:branches:Base:System
- spec: sign the systemd-boot efi binary (boo#1198586)

OBS-URL: https://build.opensuse.org/request/show/971002
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1279
2022-04-20 08:23:46 +00:00
Franck Bui
6d7a87b727 - Drop 0011-core-disable-session-keyring-per-system-sevice-entir.patch
Since bsc#1081947 has been addressed, we can attempt to re-enable private
  session kernel keyring for each system service hence each service gets a
  session keyring that is specific to the service.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1278
2022-04-19 11:26:19 +00:00
Franck Bui
35f5ab4e2b - Import commit 736db5a59f1ab1317ef64ec6e7dc394250178146
98bc28d824 tmpfiles: constify item_compatible() parameters
  3faf1a2648 test: adapt install_pam() for openSUSE
  b7ca34fa28 test: add test checking tmpfiles conf file precedence
  2713693d93 test tmpfiles: add a test for 'w+'
  ce2cbefe38 tmpfiles.d: only 'w+' can have multiple lines for the same path (bsc#1198090)
  769f5a0cbe Support -D_FORTIFY_SOURCE=3 by using __builtin_dynamic_object_size.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1277
2022-04-19 09:09:31 +00:00
Franck Bui
65352a537b Accepting request 968042 from home:Andreas_Schwab:Factory
- libseccomp is needed everywhere

OBS-URL: https://build.opensuse.org/request/show/968042
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1276
2022-04-11 07:55:36 +00:00
Franck Bui
770c459ef3 - Move coredumpctl completion files into systemd-coredump sub-package.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1275
2022-04-07 19:33:15 +00:00
Franck Bui
e20e054528 - Import commit e43a1b018899266b764ab81afb9c30fb417675c6
1c229f8fc1 cryptsetup: fall back to traditional unlocking if any TPM2 operation fails
  8881f21539 cryptsetup: fix typo
  5882148902 journald: make use of CLAMP() in cache_space_refresh()
  6ee0601f73 journald: make sure journal_file_open() doesn't leave a corrupted file around after failing (bsc#1198114)
  fe928f3d49 fs-util: make sure openat_report_new() initializes return param also on shortcut
  3881af1806 fs-util: fix typos in comments
  96060b73ba journal-file: port journal_file_open() to openat_report_new()
  611d9955bb fs-util: add openat_report_new() wrapper around openat()
  f16edb41d4 network: ignore all errors in loading .network files (bsc#1197968)
  5422730a7b meson: build kernel-install man page when necessary
  45c627cfc2 build: include status of TPM2 in the feature string show by --version
- Drop 0001-meson-build-kernel-install-man-page-when-necessary.patch
  It's been merged in the SUSE git repo.
  This includes the following bug fixes:
    - upstream commit 34357545590d4791d1acbbeb07ae8f7636e187cb (bsc#1198093)

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1274
2022-04-06 10:14:30 +00:00
Franck Bui
23f39dbffd - spec: define %bootstrap with %bcond_with so it can be used with %when. Also
re-order the meson options a bit.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1273
2022-04-04 11:51:23 +00:00
Franck Bui
2f014da78d - spec: make sure /lib exists when installing conf files in /lib/modprobe.d
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1272
2022-04-04 08:50:14 +00:00
Franck Bui
2daca11463 - Temporarily disable 'libcryptsetup plugins until dracut 056 is merged in
Factory

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1271
2022-03-31 12:04:43 +00:00
Franck Bui
96e06c7aaf - Add 0001-meson-build-kernel-install-man-page-when-necessary.patch
Submitted to upstream: https://github.com/systemd/systemd/pull/22918

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1270
2022-03-31 11:23:51 +00:00
Franck Bui
3c809e7c63 - Move systemd-boot and all components managing (secure) UEFI boot into udev
sub-package: they may deserve a dedicated sub-package in the future but for
  now move them to udev so they aren't installed in systemd based containers.
- Move a bunch of components operating on (mainly block) devices into udev as
  without udev they're most likely useless.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1268
2022-03-29 09:34:07 +00:00
Franck Bui
47ed0ef426 - spec: enable 'efi' support regardless of whether sd_boot is enabled or not
We should support EFI systems even if systemd-boot is not enabled.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1267
2022-03-28 19:03:59 +00:00
Franck Bui
9c792eff33 - spec: cope with %{_modprobedir} being /lib/modprobe.d on SLE
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1266
2022-03-23 15:18:40 +00:00
Franck Bui
ecbd67ef23 - Add 1000-Revert-getty-Pass-tty-to-use-by-agetty-via-stdin.patch
A temporary workaround until bsc#1197178 is resolved.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1265
2022-03-17 10:43:43 +00:00
Franck Bui
29d6899984 x- Import commit 8ef8dfd5401ba18caec59e54a05af9f2e0d7ac65 (merge of v250.4)
For a complete list of changes, visit:
  ca89b1d1fd...8ef8dfd540

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1264
2022-03-16 21:35:12 +00:00
Franck Bui
f3f6bb3f47 - Import commit ca89b1d1fd1ae86cc1e763d2d01ec2806f3a4d3a
37b683c832 journal: preserve acls when rotating user journals with NOCOW attribute set
  d043fabebc journal: when copying journal file to undo NOCOW flag, go via fd
  78c2766689 journal-file: explicitly handle file systems that do not support hole punching
  7ecfb4b098 journal-file: fix error handling of pread() in journald_file_punch_holes()
  c4946a412c journal-file: don't use pread() when determining where to append, use mmap as before
  d3fbd20628 journal: various fixes to journal_file_read_object()
  5897a8e8d4 shared: Handle filesystems that don't support hole punching in COPY_HOLES
  27746408e2 journal: Truncate file instead of punching hole in final object
  59b6130030 shared: Ensure COPY_HOLES copies trailing holes
  ac9ccba73f journal: stat journal file after truncating
  0257283444 journal: Copy holes when archiving BTRFS journal files
  26c2a9952d shared: Copy holes in sparse files in copy_bytes_full()
  6c7191dece copy: fix wrong argument passed to S_ISREG() in copy_file_fd_full()
  af0a43024d udev: 60-persistent-storage-tape.rules: handle duplicate device ID (bsc#1195529)

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1263
2022-03-16 20:46:20 +00:00
Franck Bui
fdc392bf33 Accepting request 962139 from home:gmbr3:Active
- Update Supplements to new format in baselibs.conf
- Fix libsystemd-shared exclusion in baselibs.conf
- Exclude new cryptsetup libraries in baselibs.conf

OBS-URL: https://build.opensuse.org/request/show/962139
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1262
2022-03-16 12:30:56 +00:00
Franck Bui
a38ff3ffe3 - systemd.spec: minor simplification by assuming that %{bootstrap} is always
defined.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1261
2022-03-08 19:07:58 +00:00
Franck Bui
309d52f8ce - Make sure to create 'systemd-coredump' system user when systemd-coredump is
installed (follow-up for the split of the sysusers config files).

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1260
2022-03-08 17:51:21 +00:00
Franck Bui
1ee13b1176 - Upgrade to v250.3 (commit dbd8bd2b9fd827ca89ed18034b60703c95798e01)
See https://github.com/openSUSE/systemd/blob/SUSE/v250/NEWS for
  details. 
  * Rebased 0001-conf-parser-introduce-early-drop-ins.patch
            0001-restore-var-run-and-var-lock-bind-mount-if-they-aren.patch
- Dropped 0007-networkd-make-network.service-an-alias-of-systemd-ne.patch
  The alias makes little sense as soon as multiple network managers are used in
  parallel.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1259
2022-03-08 17:37:10 +00:00
Franck Bui
8472c3e397 - Fix the default target when it's been incorrectly set to one of the runlevel
targets (bsc#1196567)
  The script 'upgrade-from-pre-210.sh' used to initialize the default target
  during migration from sysvinit to systemd. However it created symlinks to
  runlevel targets, which are deprecated and might be missing when
  systemd-sysvcompat package is not installed. If such symlinks are found the
  script now renames them to point to 'true' systemd target units.
- When migrating from sysvinit to systemd (it probably won't happen anymore),
  let's use the default systemd target, which is the graphical.target one. In
  most cases it will do the right thing anyway.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1258
2022-03-08 07:49:08 +00:00
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
Franck Bui
f2bb42f254 - 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
8f5cab1733 - 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
cc44b2b8ac - 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
c6b3f079ef - 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
26f3c3c277 - 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
7291c41508 - 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
aec6635e71 - 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
de562facf2 - 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
096fa89f5a - 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
bedb878178 - 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
0035691dc8 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
1afd1ff353 - 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
51ce22ca7d - 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
588927516a - 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
e2348dd9f0 - 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
0cfa634a7d - 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
4fedee133f - 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
e9eb481b70 - 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
5bb9e8c5a8 - 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
d3ae6b510a - 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
865899907d - 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
0bf88b4af1 - 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
289877b139 - 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
407466dd86 - 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
b26c7f4e18 - 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
d7d502c3a5 - 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
40db07fd11 - 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
e819284afb - 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
fd6833b5af - 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
ad5d851703 - 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
c745c33e88 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
1dd0355aaf - 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
3f258fec5a - 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
23ff6f659c - 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
6b2d1dc92b - 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
ae537b29c3 - 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
d8f523db13 - 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
809be49d24 - 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
3f77d1f341 - 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
8307499d08 - 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
3b93ba91c7 - 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
e3ac2db7a1 - 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
9dc8113ab8 - 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
57ff2224b1 - 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
122037788d - 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
1064355e7b 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
b424141d84 - 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
8d20711aa0 - 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
39cd2b22e1 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
307b30a33d - 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
d1a386f15e - 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
19b66c67b1 - 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
10efece41c 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
08496b7dbd 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
5b382ceab3 - 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
2e74d0198b - 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
b7c785ac2b - 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
d86f2d4ef1 - 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
ee09f027c3 - 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
ce2bc80d45 - 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
deedec8c99 - 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
b5477698ee 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
a8954aede8 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
b18a5e0fdb 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
90bc59e9b0 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
22368f92d6 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
f56c851473 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
8104c4033b 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
7ca250f61a 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
da3eeb4bf2 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
Franck Bui
2d11a6b026 Accepting request 846415 from home:fbui:systemd:openSUSE-Factory
- Import commit fdce77ce2067f9dd90d816bad28b51efed0b6dc1
  05fff5bd02 generator: use kmsg in system-level generators, journal otherwise
  ecc07954de log: normalize log target condition check
  d32ceea42b log: update comment
  2ebad02b60 basic/virt: Detect PowerVM hypervisor (bsc#1176800)

- Simplify systemd-sysv-convert
  - the previous code incorrectly assumed that the sysv init scripts
    were uninstalled before %post get executed. It therefore save the
    enablement state in %pre and restore it in %post. Now all is done
    in %post (making --save option useless) and there's no more need
    to remember the enablement state.
  - "--save" option is a NOP but is still kept for backward
    compatibility.
  - the previous simplifcation made /var/lib/systemd/migrated no more
    used.
  - we do not search for units in /lib/systemd anymore, this shouldn't
    be needed anymore these days especially since this path was only
    used when systemd was introduced in openSUSE and it was never used
    in SLE (checked SLE12-GA).
  - the option --show has been dropped. It's never been used even
    internally.
  - the DB is populated only once even if the script was enabled at
    multiple runlevels. The runlevel info was never used. A dummy
    value is still added to keep the same format just in case.

- No more need to clean the journal-upload stuff with --without=journal_remote
  Since -Dremote build option has been introduced with meson, this
  workaround is no more needed.

OBS-URL: https://build.opensuse.org/request/show/846415
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1124
2020-11-06 09:15:20 +00:00
Franck Bui
bfd5f42ae9 Accepting request 841476 from home:fbui:systemd:openSUSE-Factory
- Do not include %{release} in a few places where we explicitly mention package versions
  It's usually not a good idea especially when used with conflicts.

- Rely on systemd-default-settings for overriding system default settings
  The new branding packages now ships the drop-ins to customize
  systemd either for an openSUSE or a SLE ditro.

OBS-URL: https://build.opensuse.org/request/show/841476
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1123
2020-10-13 09:57:35 +00:00
Franck Bui
97431037f6 Accepting request 840408 from home:fbui:systemd:openSUSE-Factory
Document in the changelog all SUSE bug fixes imported when systemd was upgraded

OBS-URL: https://build.opensuse.org/request/show/840408
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1122
2020-10-09 10:19:03 +00:00
Franck Bui
0aef3358be Accepting request 838925 from home:fbui:systemd:openSUSE-Factory
- Import commit d7b5ac76dc95ddf30e707d26998e36303e9f52a7 (merge of v246.6)
  For a complete list of changes, visit:
  1cab0d4458...d7b5ac76dc

- Ship {/usr/lib,/etc}/systemd/network directories in the main package
  These directories can be used by both udevd and networkd.

OBS-URL: https://build.opensuse.org/request/show/838925
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1121
2020-10-01 07:57:06 +00:00
Franck Bui
17276831ba Accepting request 835240 from home:fbui:systemd:openSUSE-Factory
- Remove dangling symlink
  /usr/lib/systemd/system/sockets.target.wants/systemd-journald-audit.socket
  Otherwise the build system complains.

OBS-URL: https://build.opensuse.org/request/show/835240
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1120
2020-09-17 15:21:53 +00:00
Franck Bui
c45521a8b8 Accepting request 835208 from home:fbui:systemd:openSUSE-Factory
- Import commit 1cab0d44584687ace92d1df30eadf264231e3b65 (include v246.5)
  304ec2c7ab fstab-generator: add 'nofail' when  NFS 'bg' option is used (bsc#1176513)
  6ae277fb37 test: adapt TEST-21-SYSUSERS for SUSE
  acd8bfd2cc test: adapt TEST-13-NSPAWN-SMOKE for SUSE
  [...]
  For a complete list of changes, visit:
  a4e393eecb...1cab0d4458

OBS-URL: https://build.opensuse.org/request/show/835208
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1119
2020-09-17 13:38:44 +00:00
Franck Bui
dbf44fd4bf Accepting request 834931 from home:fbui:systemd:openSUSE-Factory
- Drop 0001-udev-temporarly-restore-the-creation-a-few-symlinks-.patch
  linuxrc has already been fixed.

OBS-URL: https://build.opensuse.org/request/show/834931
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1118
2020-09-16 14:11:19 +00:00
Franck Bui
6bbab723c3 Accepting request 834923 from home:fbui:systemd:openSUSE-Factory
- Add 0001-udev-temporarly-restore-the-creation-a-few-symlinks-.patch
  A temporary patch until the installer environment is updated to
  create some of the symlinks that udevd used to create during its
  startup but now udevd relies on the init system to do so.

OBS-URL: https://build.opensuse.org/request/show/834923
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1117
2020-09-16 13:58:10 +00:00
Franck Bui
9f480b6a46 Accepting request 833500 from home:fbui:systemd:openSUSE-Factory
- Rework how we prevent journald from both enabling auditd and

OBS-URL: https://build.opensuse.org/request/show/833500
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1116
2020-09-10 14:46:13 +00:00
Franck Bui
b7b0ea0222 Accepting request 833414 from home:fbui:systemd:openSUSE-Factory
- Enable audit support (bsc#1175883)

OBS-URL: https://build.opensuse.org/request/show/833414
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1115
2020-09-10 09:24:34 +00:00
Franck Bui
04d4546136 Accepting request 832018 from home:fbui:systemd:openSUSE-Factory
Document patch additions in changelog

OBS-URL: https://build.opensuse.org/request/show/832018
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1114
2020-09-04 07:03:08 +00:00
Franck Bui
d011d97abb Accepting request 832016 from home:fbui:systemd:openSUSE-Factory
- Upgrade to v246.4 (commit f1344d5b7f31e98aedb01e606f41d74d3caaf446)
  See https://github.com/openSUSE/systemd/blob/SUSE/v246/NEWS for
  details. 
  Now that the number of SUSE specific patches has been shrinked and
  is pretty low (12 at the time of this writing), they are no more
  tracked by the git repo and are now handled at the package
  level. Hence It is easier to maintain and identify them. This
  effectively means that SUSE/v246 will contain upstream commits only.

OBS-URL: https://build.opensuse.org/request/show/832016
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1113
2020-09-04 06:47:46 +00:00
Franck Bui
da62121789 Accepting request 830008 from home:favogt:tmpfix
- Adjust %pre and %post for the restoration of upstream tmp.mount (boo#1175779)

- Adjust %pre and %post for the restoration of upstream tmp.mount (boo#1175779)

Now with more whitespace and readlink -f.

OBS-URL: https://build.opensuse.org/request/show/830008
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1110
2020-08-28 10:41:59 +00:00
Franck Bui
3a247bf181 Accepting request 829723 from home:fbui:systemd:openSUSE-Factory
- Import commit a4e393eecb9dbe140a6c7d57419c291d786155cf
  d8e3bd4e22 Revert "core: don't send SIGKILL to user@.service immediatly during shutdown"

- Drop requirement on 'sysvinit-tools'
  It was used to workaround bug #886599 by explicitly calling
  vhangup(8) from getty@.service so when this service was stopped a
  virtually hangup on the specified terminal when were stopped to give
  the shell a few seconds to save its history.
  But this workaround was dropped since it had no effect (SLE12-GM was
  released with it but was still suffering from the bug) and was
  replaced by commit e9db43d5910717a108, which was released from v226
  and backported to SLE12/SLE12-SP1.

OBS-URL: https://build.opensuse.org/request/show/829723
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1109
2020-08-26 10:15:04 +00:00
Franck Bui
4cab10b16c Accepting request 828162 from home:fbui:systemd:openSUSE-Factory
- Import commit 6d6d92930acad63f9b9029c305a672c32c550d2d (include merge of v245.7)
  797ad47d3e vconsole-setup: downgrade log message when setting font fails on dummy console (bsc#1172195 bsc#1173539)
  [...]
  For a complete list of changes, visit:
  b12cd8b89b...6d6d92930a
- Drop 0001-Revert-job-Don-t-mark-as-redundant-if-deps-are-relev.patch
  Upstream finally reverted it and it's part of both v245.7 and master.

OBS-URL: https://build.opensuse.org/request/show/828162
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1108
2020-08-20 12:11:43 +00:00
Thomas Blume
2eb82a0e87 Accepting request 823166 from home:RBrownSUSE:branches:Base:System
Mount /tmp as tmpfs by default - as agreed on opensuse-factory https://lists.opensuse.org/opensuse-factory/2020-07/msg00253.html

OBS-URL: https://build.opensuse.org/request/show/823166
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1107
2020-07-29 16:10:17 +00:00
Franck Bui
006b3d0150 Accepting request 816786 from home:fbui:systemd:openSUSE-Factory
- migrate-sysconfig-i18n.sh: fix marker handling  (bsc#1173229)
  The marker is used to make sure the script is run only once. Instead
  of storing it in /usr, use /var which is more appropriate for such
  file.
  Also make it owned by systemd package.

OBS-URL: https://build.opensuse.org/request/show/816786
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1106
2020-06-24 06:50:07 +00:00
Franck Bui
a0237e6d77 Accepting request 816596 from home:fbui:systemd:openSUSE-Factory
- Fix inconsistent file modes for some ghost files (bsc#1173227)
  Ghost files are assumed by rpm to have mode 000 by default which is
  not consistent with file permissions set at runtime.
  Also /var/lib/systemd/random-seed was tracked wrongly as a
  directory.
  Also don't track (ghost) /etc/systemd/system/runlevel*.target
  aliases since we're not supposed to track units or aliases user
  might define/override.

OBS-URL: https://build.opensuse.org/request/show/816596
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1105
2020-06-23 14:19:06 +00:00
Franck Bui
298b94d60c Accepting request 815928 from home:fbui:systemd:openSUSE-Factory
- Include in the package version the stable minor (if any).
  Also update the version shown by various command such as 'systemctl
  --version' to show the stable number.

OBS-URL: https://build.opensuse.org/request/show/815928
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1104
2020-06-19 11:23:11 +00:00
Franck Bui
bcaf132ae9 Accepting request 815609 from home:fbui:systemd:openSUSE-Factory
- Don't restart udevd sockets during package update
  Otherwise we might miss kernel events as the daemon need to be
  stopped as well.

- Import commit b12cd8b89b4bccfcf972b47153a2b01cd7775932 (include merge of v245.6)
  For a complete list of changes, visit:
  a6d31d1a02...b12cd8b89b

OBS-URL: https://build.opensuse.org/request/show/815609
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1103
2020-06-17 20:38:48 +00:00
Franck Bui
cf0b23a0c2 Accepting request 814110 from home:mgerstner:branches:Base:System
- no longer explicitly package setgid directory /var/log/journal (bsc#1172550).
  The bit will be set during %post by way of the systemd-tmpfiles invocation.
  This avoids a conflict with the permissions package and an rpmlint error
  popping up.

OBS-URL: https://build.opensuse.org/request/show/814110
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1102
2020-06-15 09:45:22 +00:00
Franck Bui
397c17e983 Accepting request 813288 from home:fbui:systemd:openSUSE-Factory
- Fix build when resolved is disabled
  While at it sort the build conditionals.

OBS-URL: https://build.opensuse.org/request/show/813288
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1101
2020-06-11 08:53:53 +00:00
Franck Bui
9b9ab0e37f Accepting request 809896 from home:fbui:systemd:openSUSE-Factory
- Import commit a6d31d1a02c2718a064bbbc40d003668acf72769
  bb6e2f7906 pid1: update manager settings on reload too (bsc#1163109)
  e9e8907b06 watchdog: reduce watchdog pings in timeout interval
  385a8f9846 udev: rename the persistent link for ATA devices (bsc#1164538)
  66018a12ae tmpfiles: remove unnecessary assert (bsc#1171145)

- Disable bump of /proc/sys/fs/nr-open
  Hopefully a _temporary_ workaround until bsc#1165351 is fixed
  otherwise user instances crashes the system is using NIS (and the
  nscd cache is empty).

OBS-URL: https://build.opensuse.org/request/show/809896
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1100
2020-05-28 10:13:14 +00:00
Franck Bui
3ab3f4e826 Accepting request 798571 from home:fbui:systemd:openSUSE-Factory
Mention 2 dropped patches in .changes

OBS-URL: https://build.opensuse.org/request/show/798571
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1098
2020-04-28 08:16:13 +00:00
Franck Bui
96b3e78070 Accepting request 798553 from home:fbui:systemd:openSUSE-Factory
- Drop legacy /sbin/{udevd,udevadm) symlinks hopefully for good
  Since boo#1160890 has been fixed since a couple of months now.

- Drop content of /usr/share/factory/ (bsc#1170146)
  systemd ships several files in /usr/share/factory/etc that are
  copied to /etc in case those files are missing there. Unfortunately
  the content does not match the openSUSE defaults.

- Drop most of the tmpfiles that deal with generic paths (bsc#1078466)
  They are problematic because some of them conflict with SUSE
  defaults. Therefore it seems better to let the revelant packages
  owning these paths to provide their own definitions instead.

OBS-URL: https://build.opensuse.org/request/show/798553
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1097
2020-04-28 07:44:28 +00:00
Franck Bui
d0e92b5fd6 Accepting request 796823 from home:fbui:systemd:openSUSE-Factory
Add a pointer to get the full list of changes in systemd.changes

OBS-URL: https://build.opensuse.org/request/show/796823
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1096
2020-04-27 13:06:10 +00:00
Franck Bui
4e8cc8b3f7 Accepting request 796795 from home:fbui:systemd:openSUSE-Factory
- Drop %tmpfiles_create portables.conf from %post of networkd sub-package
  It was probably mistakenly added because systemd-portable served as
  template for systemd-network.

OBS-URL: https://build.opensuse.org/request/show/796795
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1095
2020-04-24 07:45:46 +00:00
Franck Bui
22a8c30675 Accepting request 796731 from home:fbui:systemd:openSUSE-Factory
- Import commit 08cd65ac385c884ed6e4bd71128a0796f56ecd17 (include merge of v245.5)
  1ceedf8535 meson: fix build of udev 'path_id_compat' builtin with meson 0.54
  e61569d4a9 pid1: by default make user units inherit their umask from the user manager (bsc#1162698)
  64fdacd5f1 user-util: rework how we validate user names (bsc#1170272)
  [...]

- Drop 0001-meson-fix-build-of-udev-path_id_compat-builtin-with-.patch
  It's been merged in 'openSUSE-Factory' branch otherwise this branch
  won't build anymore since meson has been upgraded to version 0.54 in
  Factory.

OBS-URL: https://build.opensuse.org/request/show/796731
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1094
2020-04-24 06:13:25 +00:00
Franck Bui
0c3fbe50ef Accepting request 794368 from home:fbui:systemd:openSUSE-Factory
- Switch back to the hybrid hierarchy
  Unfortunately Kubernetes and runc are not yet ready for
  cgroupsv2. Let's reconsider the unified hierarchy in a couple of
  months.

OBS-URL: https://build.opensuse.org/request/show/794368
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1093
2020-04-15 19:27:08 +00:00
Franck Bui
18bb537f11 Accepting request 791772 from home:fbui:systemd:openSUSE-Factory
- Import commit c5aa158173ced05201182d1cc18632a25cf43b94 (merge v245.4)

- Add 0001-meson-fix-build-of-udev-path_id_compat-builtin-with-.patch

OBS-URL: https://build.opensuse.org/request/show/791772
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1092
2020-04-06 12:58:22 +00:00
Franck Bui
c516593d35 Accepting request 787500 from home:fbui:systemd:openSUSE-Factory
- Import commit 31f82b39c811b4f731c80c2c2e7c56a0ca924a5b (merge v245.2)
  d1d3f2aa15 docs: Add syntax for templated units to systemd.preset man page
  3c69813c69 man: add a tiny bit of markup
  bf595e788c home: fix segfault when parsing arguments in PAM module
  e110f4dacb test: wait a bit after starting the test service
  e8df08cfdb fix journalctl regression (#15099)
  eb3a38cc23 NEWS: add late note about job trimming issue
  405f0fcfdd systemctl: hide the 'glyph' column when --no-legend is requested
  1c7de81f89 format-table: allow hiding a specific column
  b7f2308bda core: transition to FINAL_SIGTERM state after ExecStopPost=
  2867dfbf70 journalctl: show duplicate entries if they are from the same file (#14898)
  [...]

  Added 0001-Revert-job-Don-t-mark-as-redundant-if-deps-are-relev.patch:
  upstream commit 097537f07a2fab3cb73aef7bc59f2a66aa93f533 has been
  reverted for now on as it introduced a behavior change which has
  impacted plymouth at least.

OBS-URL: https://build.opensuse.org/request/show/787500
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1091
2020-03-23 14:12:04 +00:00
Franck Bui
ba135ace4a Accepting request 786228 from home:fbui:systemd:openSUSE-Factory
- Upgrade to v245 (commit 74e2e834b4282c9bbdc12014f6ccf8d86e542b8d)

- add systemd-network-generator.service file together with systemd-network-generator binary

OBS-URL: https://build.opensuse.org/request/show/786228
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1090
2020-03-19 08:40:40 +00:00
Franck Bui
f7851cfc2b Accepting request 784649 from home:eroca:branches:Base:System
- add systemd-network-generator.service file together with systemd-network-generator binary

OBS-URL: https://build.opensuse.org/request/show/784649
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1089
2020-03-13 16:01:49 +00:00
Franck Bui
b398d77dd0 Accepting request 777986 from home:lnussel:branches:Base:System
- move html documentation to sparate package to save space
- move networkd and resolved binaries into correct subpackage

- move html documentation to sparate package to save space
- move networkd and resolved binaries into correct subpackage

OBS-URL: https://build.opensuse.org/request/show/777986
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1087
2020-02-21 17:09:02 +00:00
Franck Bui
6f0dfd501c Accepting request 770659 from home:fbui:systemd:openSUSE-Factory
- Import commit f8adabc2b1f3e3ad150e7a3bfa88341eda5a8a57 (merge v244.2)
  77c04ce5c2 hwdb: update to v245-rc1
  b4eb884824 Fix typo in function name
  e2d4cb9843 polkit: when authorizing via PK let's re-resolve callback/userdata instead of caching it
  83bfc0d8dd sd-bus: introduce API for re-enqueuing incoming messages
  5926f9f172 polkit: use structured initialization
  0697d0d972 polkit: on async pk requests, re-validate action/details
  2589995acd polkit: reuse some common bus message appending code
  5b2442d5c3 bus-polkit: rename return error parameter to ret_error
  0a19ff7004 shared: split out polkit stuff from bus-util.c → bus-polkit.c
  1325dfb577 test: adapt to the new capsh format
  3538fafb47 meson: update efi path detection to gnu-efi-3.0.11
  3034855a5b presets: "disable" all passive targets by default
  c2e3046819 shared/sysctl-util: normalize repeated slashes or dots to a single value
  6f4364046f dhcp6: do not use T1 and T2 longer than one provided by the lease
  0ed6cda28d network: fix implicit type conversion warning by GCC-10
  f6a5c02d26 bootspec: parse random-seed-mode line in loader.conf
  ddc5dca8a7 sd-boot: fix typo
  2bbbe9ae41 test: Synchronize journal before reading from it
  072485d661 sd-bus: fix introspection bug in signal parameter names
  80af3cf5e3 efi: fix build.
  [...]

- Use suse.pool.ntp.org server pool on SLE (jsc#SLE-7683)

- Drop scripts-udev-convert-lib-udev-path.sh
  Nobody should need it these days.

OBS-URL: https://build.opensuse.org/request/show/770659
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1085
2020-02-06 16:58:34 +00:00
Franck Bui
d253e2d814 Accepting request 764320 from home:fbui:systemd:openSUSE-Factory
- Temporarily restore /sbin/{udevd,udevadm) obsolete symlinks
  They're restored until YaST stop using them (see boo#1160890)

- Import commit 8254b8d9646f3e0f5f8057d1ffb5d6c20f079aaa (merge v244.1)
  639dc9f4bf network: set ipv6 mtu after link-up or device mtu change
  cbced49daa man: fix typo in net-naming-scheme man page
  7dd04c99b0 network: tc: drop unused element
  bf4b7d07ba man: fix typos (#14304)
  1ba2e7a730 ipv4ll: do not reset conflict counter on restart
  49806bb310 macro: avoid subtraction overflow in ALIGN_POWER2()
  c4c1600689 test-network: add a test case for SendOption=
  6f15b45949 network: fix segfault in parsing SendOption=
  2e531b830d seccomp: real syscall numbers are >= 0
  f7616ed52b network: fix copy and paste mistake
  e8b53300c4 network: do not drop foreign config if interface is in initialized state
  00f05813bf seccomp: mmap test results depend on kernel/libseccomp/glibc
  4de1909e61 seccomp: use per arch shmat_syscall
  d83010521d seccomp: ensure rules are loaded in seccomp_memory_deny_write_execute
  2c6568221a seccomp: fix multiplexed system calls
  bcf0aa02bf Fix typo (duplicate "or")
  96d7083c54 network: if /sys is rw, then udev should be around
  e874419902 nspawn: do not fail if udev is not running
  29c9144655 Create parent directories when creating systemd-private subdirs
  9cbb8b5254 network: do not return error but return UINT64_MAX if speed meter is disabled
  c08429ae33 core: swap priority can be negative
  f25c0be335 networkctl: fix to show BSSID
  65fd2fce59 systemctl: enhance message about kexec missing kernel
  bdd0af5f81 Fixup typo in NEWS

OBS-URL: https://build.opensuse.org/request/show/764320
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1084
2020-01-14 14:40:36 +00:00
Franck Bui
89502c3e90 Accepting request 756002 from home:fbui:systemd:openSUSE-Factory
- Manually set system-uid-max and system-gid-max to 499
  It used to be detected automatically by meson but it's been broken
  by the migration of login.defs from /etc to /usr/etc.

OBS-URL: https://build.opensuse.org/request/show/756002
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1083
2019-12-12 08:32:39 +00:00
Franck Bui
d74da009d3 Accepting request 755902 from home:fbui:systemd:openSUSE-Factory
- Import commit d8f6a204858bff68b8e0e7be86b418c36087ab2e
  6c5e492a65 cryptsetup: umount encrypted devices before detaching it during shutdown

- Upgrade to v244 (commit 090da85161ceb1ba0b4c208963c7156a8fdf10c6)
  See https://github.com/openSUSE/systemd/blob/SUSE/v243/NEWS for
  details. 
  Legacy and obsolete symlinks have been finally dropped.
  Dropped 0001-logind-keep-backward-compatibility-with-UserTasksMax.patch.
  Users were notified about the deprecation of UserTasksMax option and
  how to move to the new mechanism. The dropin replacement for
  UserTasksMax is therefore no more generated but its use still
  produces a warning.
  Added 0001-SUSE-policy-do-not-clean-tmp-by-default.patch and
  0001-Fix-run-lock-group-to-follow-openSUSE-policy.patch.
  These patches were extracted from the git repo because it's not
  clear where the SUSE tmpfiles specificities should be located.

OBS-URL: https://build.opensuse.org/request/show/755902
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1082
2019-12-11 17:25:24 +00:00
Franck Bui
ce7fc68a4f Accepting request 753452 from home:fbui:systemd:openSUSE-Factory
- Import commit dbb1d4734daffa62e0eddecfa4f784c84a9d8e76
  1439d72a72 udevd: don't use monitor after manager_exit()
  99288dd778 Revert "udevd: fix crash when workers time out after exit is signal caught"
  152577d6d0 udevd: fix crash when workers time out after exit is signal caught
  f854991504 udevd: wait for workers to finish when exiting (bsc#1106383)
  Changes from the v243-stable (84 commits):
  e51d9bf9e5 man: add entry about SpeedMeter=
  aa1fc791c7 udev: silence warning about PROGRAM+= or IMPORT+= rules
  b9a619bb67 udevadm: ignore EROFS and return earlier
  1ec5b9f80c basic: add vmware hypervisor detection from device-tree
  7fa7080248 umount: be happy if /proc/swaps doesn't exist
  [...]
  47d0e23d26 udev: fix memleak caused by wrong cleanup function
  a6fb0542c5 parse_hwdb: fix compatibility with pyparsing 2.4.*
  cb1d892f17 parse_hwdb: process files in order

OBS-URL: https://build.opensuse.org/request/show/753452
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1081
2019-12-04 06:58:59 +00:00
Franck Bui
ef73e361b7 Accepting request 748020 from home:fbui:systemd:openSUSE-Factory
- Import commit 0b715187a87907e18edf98eab9d0a50fced4a424
  9dbdbc2f10 logind: fix (again) the race that might happen when logind restores VT (bsc#1101591 bsc#1140081)
  c848bec110 libblkid: open device in nonblock mode. (bsc#1084671)
  b70ad6c927 resolved: check for IP in certificate when using DoT with GnuTLS (bsc#1155539 CVE-2018-21029)
  bbedf3d557 resolved: require at least version 3.6.0 of GnuTLS for DNS-over-TLS
  eb732c2e29 resolved: fix connection failures with TLS 1.3 and GnuTLS
  4e45084ac5 shared/install: failing with -ELOOP can be due to the use of an alias in install_error()
  2e297f0d87 shared/install: fix error codes returned by install_context_apply()
  dd29d70d32 man: alias names can't be used with enable command

- Allow YaST to select Iranian (Persian, Farsi) keyboard layout
  (bsc#1092920)

OBS-URL: https://build.opensuse.org/request/show/748020
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1080
2019-11-13 07:53:05 +00:00
Franck Bui
1591e422db Accepting request 745733 from home:lnussel:branches:home:mvidner:branches:Base:System
- Allow YaST to select Iranian (Persian, Farsi) keyboard layout
  (bsc#1092920)

OBS-URL: https://build.opensuse.org/request/show/745733
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1079
2019-11-06 09:18:08 +00:00
Franck Bui
021c8ad589 Accepting request 745454 from home:fbui:systemd:openSUSE-Factory
- Fix %{_libexecdir} misuses of /usr/lib

OBS-URL: https://build.opensuse.org/request/show/745454
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1078
2019-11-05 11:23:54 +00:00
Franck Bui
023b1b5d3e Accepting request 744383 from home:fbui:systemd:openSUSE-Factory
- Drop 0001-compat-rules-escape-when-used-for-shell-expansion.patch
  It's part of the previous import.

- Import commit b7467b7b553d6d0d6f92758d966b69f1a88b6b42
  441f44f371 fileio: introduce read_full_virtual_file() for reading virtual files in sysfs, procfs (bsc#1133495)
  8a1bb5c66b swap: do not make swap units wanted by its device unit anymore

- Import commit 5df9000899ef7d45ddbcacd0fdf73afa07a40f6b
  f0ed7237e4 udev/cdrom_id: Do not open CD-rom in exclusive mode. (bsc#1154256)
  b37054aa5a compat-rules: escape '$' when used for shell expansion
  Changes from the v243-stable:
  ef677436aa test: Pass personality test even when i686 userland runs on x86_64 kernel
  3f6398c450 docs: fix inadvertent change in uid range
  25bb377a73 cgroup: fix typo in BPF firewall support warning message
  6d97aca0d5 fix build with compilers with default stack-protector enabled
  fbad077cec nspawn: surrender controlling terminal to PID2 when using the PID1 stub
  0553c3c668 pid1: fix DefaultTasksMax initialization
  f406a691a7 src/core/automount: use DirectoryMode when calling mkdir -p
  20438f96c3 udevadm trigger: do not propagate EACCES and ENODEV
  6480630bc3 hwdb: Correct WWWW Pattern In Documentation Comment
  9d8e889810 nspawn: consistenly fail if parsing the environment fails
  40e169b304 nspawn: default to unified hierarchy if --as-pid2 is used
  b5df1037a0 cgroup: Mark memory protections as explicitly set in transient units
  f14e3e02cc cgroup: Respect DefaultMemoryMin when setting memory.min
  ea248e53bf cgroup: Check ancestor memory min for unified memory config
  de1d25a506 cgroup: docs: memory.high doc fixups
  2ab45f38d8 cgroup: docs: Mention unbounded protection for memory.{low,min}
  19a43dc38a Consider smb3 as remote filesystem
  5c0224c7bf Handle d_type == DT_UNKNOWN correctly
  8282bc61df util-lib: Don't propagate EACCES from find_binary PATH lookup to caller

OBS-URL: https://build.opensuse.org/request/show/744383
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1077
2019-10-31 08:07:45 +00:00
Franck Bui
d9e423e96f Accepting request 741949 from home:StefanBruens:branches:openSUSE:Factory
- Remove intltool BuildRequires, not needed since v237
- Use python3-base BuildRequires instead of full python3

OBS-URL: https://build.opensuse.org/request/show/741949
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1076
2019-10-23 12:35:28 +00:00
Franck Bui
8c26be2519 Accepting request 741485 from home:fbui:systemd:openSUSE-Factory
- Add 0001-compat-rules-escape-when-used-for-shell-expansion.patch (bsc#1153648)
  Added to the quaratine area to avoid uploading a new tar ball just
  for that single change. It will be dropped during the next import.

OBS-URL: https://build.opensuse.org/request/show/741485
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1075
2019-10-21 11:34:05 +00:00
Franck Bui
17ef8bf2c2 Accepting request 741449 from home:lnussel:branches:Base:System
- don't package locales in -mini package

OBS-URL: https://build.opensuse.org/request/show/741449
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1074
2019-10-21 10:20:46 +00:00
Franck Bui
488e9c4e05 Accepting request 731871 from home:lnussel:branches:Base:System
- split off networkd and resolved into separate network subpackage
- use separate lang package for translations

OBS-URL: https://build.opensuse.org/request/show/731871
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1073
2019-10-08 12:40:27 +00:00
Franck Bui
200cbc2098 Accepting request 735599 from home:fbui:systemd:openSUSE-Factory
- Import commit 428b937f917ae177f2315e8469800941885e441a
  0026b58744 pid1: fix DefaultTasksMax initialization

- Import commit ed81f69153488279957268e247a5c81b678da491 (changes from v243-stable)
  fab6f010ac dhcp6: use unaligned_read_be32()
  f2d9af4322 dhcp6: add missing option length check
  ccf797511e ndisc: make first solicit delayed randomly
  f2275b6e12 dhcp6: read OPTION_INFORMATION_REFRESH_TIME option
  6dfbe58ee7 l10n: update Czech Translation
  d4cd0e9d32 sd-radv: if lifetime < SD_RADV_DEFAULT_MAX_TIMEOUT_USEC, adjust timeout (#13491)
  dbefe59259 polkit: fix typo
  a321507476 sd-netlink: fix invalid assertion
  45dca7fe86 network: do not enter failed state if device's sysfs entry does not exist yet
  dd83d58796 network: add missing link->network checks
  b294305888 path: stop watching path specs once we triggered the target unit
  2cd636c437 hwdb: add Medion Akoya E2292 (#13498)
  d133bdd1fa po: update Brazilian Portuguese translation
  530e09b594 po: update Polish translation
  0c5c3e34c1 polkit: change "revert settings" to "reset settings"
  73e0f372d8 man: fix description of ARPIntervalSec= units
  5412cc54a1 hwdb: axis override for Dell 9360 touchpad
  9d4e658529 test: drop the missed || exit 1 expression
  7ed7ea82f6 udevadm: use usec_add()
  477bf86c91 udevadm: missing initialization of descriptor
  19ac31c989 networkd: unbreak routing_policy_rule_compare_func()
  a20a2157a8 core: coldplug possible nop_job
  eb55241742 tty-ask-pwd-agent: fix message forwarded to wall(1)
  1a3c53c06c core: Fix setting StatusUnitFormat from config files
  91db81e4dd network DHCP4: Dont mislead the logs.
  6af590838b Update m4 for selective utmp support.	modified:   tmpfiles.d/systemd.conf.m4

OBS-URL: https://build.opensuse.org/request/show/735599
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1072
2019-10-07 07:26:22 +00:00
Franck Bui
347c3f9892 Accepting request 732677 from home:fbui:systemd:openSUSE-Factory
- Some files related to the portable stuff were missing some %exclude

OBS-URL: https://build.opensuse.org/request/show/732677
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1071
2019-09-23 12:13:38 +00:00
Franck Bui
cdc959e14f Accepting request 731744 from home:fbui:systemd:openSUSE-Factory
- Import commit 9e41d7ec3572d8d5ea1e00f683e9fbf8108e85b4
  fb1b9d54f9 tty-ask-pwd-agent: fix message forwarded to wall(1)
  dd14da3bb6 core: restore initialization of u->source_mtime
  d62f30f647 resolved: create /etc/resolv.conf symlink at runtime

- Slighly rework (mostly reorganization) the portable stuff

OBS-URL: https://build.opensuse.org/request/show/731744
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1070
2019-09-18 13:55:56 +00:00
Franck Bui
3a39ad7e66 Accepting request 731698 from home:lnussel:branches:Base:System
- enable systemd-portabled

OBS-URL: https://build.opensuse.org/request/show/731698
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1069
2019-09-18 11:08:45 +00:00
Franck Bui
769af78b45 Accepting request 728691 from home:fbui:systemd:openSUSE-Factory
- Track 0001-resolved-create-etc-resolv.conf-symlink-at-runtime.patch
  in the git repo
  This patch has been in the quarantine area long enough, so let's
  move it in the git repo.

OBS-URL: https://build.opensuse.org/request/show/728691
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1068
2019-09-06 06:57:45 +00:00
Franck Bui
80c9a42efc Accepting request 728046 from home:fbui:systemd:openSUSE-Factory
- Upgrade to v243 (commit e0b24c4356aa0c1c56ff274ff72228f33482a5be)
  See https://github.com/openSUSE/systemd/blob/SUSE/v243/NEWS for
  details. 
  Drop 0001-Revert-insserv.conf-generator.patch as it's been dropped
  from branch SUSE/v243 while we were rebasing.
  Drop 0001-rc-local-generator-deprecate-halt.local-support.patch as
  this functionality had been deprecated during the previous release
  and now have been dropped by upstream.

- systemd-container creates and owns /etc/systemd/nspawn now

OBS-URL: https://build.opensuse.org/request/show/728046
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1066
2019-09-03 15:38:17 +00:00
Franck Bui
3c0f3d60ca Accepting request 718031 from home:fbui:systemd:openSUSE-Factory
- Import commit 0f9271c1336c5c9055e75389732a44745d796851 (changes from v242-stable)
  07f0549ffe network: do not send ipv6 token to kernel
  9d34e79ae8 systemd-mount: don't check for non-normalized WHAT for network FS
  5af677680c core: set fs.file-max sysctl to LONG_MAX rather than ULONG_MAX (bsc#1142099)
  29dda7597a random-util: eat up bad RDRAND values seen on AMD CPUs
  eb6c17c178 util-lib: fix a typo in rdrand
  829c20dc8e random-util: rename "err" to "success"
  5442366fbf man: rework the description of Aliases and .wants/.requires directories
  ae71c6f634 docs: typo in arg name replace-irreversible -> replace-irreversibly
  09774a5fcb meson: make nologin path build time configurable
  69ffeeb0b1 man: add note about systemctl stop return value
  4cf14b5513 shared/conf-parser: say "key name" not "lvalue", add dot
  4481ca7f86 shared/conf-parser: emit a nicer warning for something like "======"
  46f3db894b shared/conf-parser: be nice and ignore lines without "="
  7d928995f7 nspawn: fix memleak in argument parsing
  7727e6c0ae resolve: fix memleak
  7f32a81976 journal: properly read unaligned le64 integers
  fa419099e5 activate: move array allocation to heap
  815a9fef2a systemctl: print non-elapsing timers as "n/a" not "(null)"
  a4fc3c88f1 factory: include pam_keyinit.so in PAM factory configuration
  a453d63315 factory: add comment to PAM file, explaining that the defaults are not useful
  d9a5a70a59 factory: tighten PAM configuration
  5e2d3bf80b test: make sure colors don't confuse our test
  5fe3be1334 wait-online: change log level
  c49b6959d5 systemctl: emit warning when we get an invalid process entry from pid1 and continue
  3c9f43eb03 systemctl: do not suggest passing --all if the user passed --state=
  5964d1474e man: offline-updates: make dependence on system-update.target explicit
  a04dd26e03 alloc-util: drop _alloc_ decorator from memdup_suffix0()
  7c46a694ca man: add example for setting multiple properties at once
  1d72789271 man: CPUShares= is so 2015

OBS-URL: https://build.opensuse.org/request/show/718031
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1065
2019-07-24 05:01:53 +00:00