SHA256
1
0
forked from pool/systemd
Commit Graph

2058 Commits

Author SHA256 Message Date
Ana Guerrero
b62713e78b Accepting request 1140379 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1140379
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=412
2024-01-22 19:30:41 +00:00
Franck Bui
47702788c7 Accepting request 1140337 from home:gcomes.obs
- remove pam-config call from post scriptlet of systemd-32bit
  * the full package already does that

OBS-URL: https://build.opensuse.org/request/show/1140337
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1484
2024-01-22 07:44:07 +00:00
Ana Guerrero
f26756ace3 Accepting request 1138298 from Base:System
- Add 5001-Revert-udev-update-devlink-with-the-newer-device-nod.patch
      5002-Revert-udev-revert-workarounds-for-issues-caused-by-.patch
  It seems that systemd upstream has a dubious way to fix broken code these
  days... let's revert these hacks until a final decision is taken to solve
  https://github.com/systemd/systemd/issues/28141. See also
  https://github.com/systemd/systemd/pull/30075.

- Import commit 67a5ac1043417d900bf417a884372ae14a96ef69 (merge of v254.8)
  For a complete list of changes, visit:
  071ac409a0...67a5ac1043

- udev(-mini)?: ensure %_modulesloaddir exists and is owned
  properly. Allows other packages to install modules without worry
  of the parent directory. We do not ensure /etc/modules-load.d
  exists in the -mini flavor, as that directory is not meant to be
  used by packages.

  071ac409a0 rules: set up tty permissions and group for /dev/hvc* nodes (bsc#1218137)

OBS-URL: https://build.opensuse.org/request/show/1138298
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=411
2024-01-14 18:01:13 +00:00
Franck Bui
b8562e4177 - Add 5001-Revert-udev-update-devlink-with-the-newer-device-nod.patch
5002-Revert-udev-revert-workarounds-for-issues-caused-by-.patch
  It seems that systemd upstream has a dubious way to fix broken code these
  days... let's revert these hacks until a final decision is taken to solve
  https://github.com/systemd/systemd/issues/28141. See also
  https://github.com/systemd/systemd/pull/30075.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1483
2024-01-12 10:19:47 +00:00
Franck Bui
31bc789b24 - Import commit 67a5ac1043417d900bf417a884372ae14a96ef69 (merge of v254.8)
For a complete list of changes, visit:
  071ac409a0...67a5ac1043

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1482
2024-01-12 09:56:05 +00:00
Franck Bui
c2a4199985 Accepting request 1134609 from home:dimstar:Factory
- udev(-mini)?: ensure %_modulesloaddir exists and is owned
  properly. Allows other packages to install modules without worry
  of the parent directory. We do not ensure /etc/modules-load.d
  exists in the -mini flavor, as that directory is not meant to be
  used by packages.

OBS-URL: https://build.opensuse.org/request/show/1134609
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1481
2023-12-22 10:27:31 +00:00
Ana Guerrero
b69793bfb0 Accepting request 1134212 from Base:System
- udev: only require kmod in the full flavor. udev-mini is only
  used inside OBS in a strictly defined setup and udev will never
  have to load device drivers there.

- Import commit 071ac409a0564863657d8f8a5a35e6a4f914695f
  071ac409a0 rules: set up tty permissions and group for /dev/hvc* nodes
  f693b3ed8a vconsole-setup: remember the correct error value when open_terminal() fails
  963d838bad vconsole-setup: handle the case where the vc is in KD_GRAPHICS mode more gracefully (bsc#1215282)
  6f53f71d2d vconsole-setup: simplify error handling

OBS-URL: https://build.opensuse.org/request/show/1134212
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=410
2023-12-21 22:37:23 +00:00
Franck Bui
a52c2fed3d document bsc#1218137 in the changelogs
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1480
2023-12-21 10:22:01 +00:00
Franck Bui
8da357a7ed disable kmod support for the mini flavor, this complements the previous change
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1479
2023-12-21 08:24:37 +00:00
Franck Bui
7beaf185f7 Accepting request 1134210 from home:dimstar:Factory
- udev: only require kmod in the full flavor. udev-mini is only
  used inside OBS in a strictly defined setup and udev will never
  have to load device drivers there.

This should allow us to remove system-module-tools from almost all buildroots.

OBS-URL: https://build.opensuse.org/request/show/1134210
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1478
2023-12-20 12:58:01 +00:00
Franck Bui
c1dc7ece68 - Import commit 071ac409a0564863657d8f8a5a35e6a4f914695f
071ac409a0 rules: set up tty permissions and group for /dev/hvc* nodes
  f693b3ed8a vconsole-setup: remember the correct error value when open_terminal() fails
  963d838bad vconsole-setup: handle the case where the vc is in KD_GRAPHICS mode more gracefully (bsc#1215282)
  6f53f71d2d vconsole-setup: simplify error handling

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1477
2023-12-20 12:50:37 +00:00
Dominique Leuenberger
e923ad2f02 Accepting request 1132619 from Base:System
- Explicitely provide 'group(systemd-journal)' from the main package (bsc#1217852)

- Import commit ce08cd5f66e1a661c2b9ed764ad7036decd76503
  ce08cd5f66 man/standard-conf: directory paths should end with '/'
  8324cbfde7 config files: update their header to reflect that they can be installed in /usr
  bc36846ad2 Reflect the fact that main config files can be installed in /usr
  e304a11f33 config files: more recommendations of `systemd-analyze cat-config`
  c45cecf279 meson: add build option for install path of main config files
  cc61b052c6 vconsole-setup: use a consistent log level when setfont fails with EX_OSERR (bsc#1212970)
  4fe3653dab tmpfiles: ignore EINVAL with --graceful (bsc#1216628)

OBS-URL: https://build.opensuse.org/request/show/1132619
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=409
2023-12-12 18:31:38 +00:00
Franck Bui
a0d495d7cb - Explicitely provide 'group(systemd-journal)' from the main package (bsc#1217852)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1476
2023-12-12 08:43:35 +00:00
Franck Bui
1a52d97f5c - Import commit ce08cd5f66e1a661c2b9ed764ad7036decd76503
ce08cd5f66 man/standard-conf: directory paths should end with '/'
  8324cbfde7 config files: update their header to reflect that they can be installed in /usr
  bc36846ad2 Reflect the fact that main config files can be installed in /usr
  e304a11f33 config files: more recommendations of `systemd-analyze cat-config`
  c45cecf279 meson: add build option for install path of main config files
  cc61b052c6 vconsole-setup: use a consistent log level when setfont fails with EX_OSERR (bsc#1212970)
  4fe3653dab tmpfiles: ignore EINVAL with --graceful (bsc#1216628)

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1475
2023-12-12 07:46:24 +00:00
Dominique Leuenberger
50bd5b4c78 Accepting request 1130178 from Base:System
- udev: Tighten permissions for DRM render nodes (bsc#1217118). Note that this
  implicitly enables `uaccess`, so any logged-in user still gets access
  regardless of group membership. Some use cases, e.g. remote access via ssh,
  might require you to add the desired user to the `render` group.
  See:
  https://lists.opensuse.org/archives/list/factory@lists.opensuse.org/thread/3S3HAWVODHC2FQI4E76IFGCSRVRJ63KG/

OBS-URL: https://build.opensuse.org/request/show/1130178
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=408
2023-12-02 16:12:31 +00:00
Franck Bui
308fc247b0 Append a link of the announcement of the previous change on the factory mailing list
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1474
2023-12-01 08:07:48 +00:00
Franck Bui
084616540d Accepting request 1128161 from home:wfrisch:branches:Base:System
- udev: Tighten permissions for DRM render nodes (bsc#1217118). Note that this
  implicitly enables `uaccess`, so any logged-in user still gets access
  regardless of group membership. Some use cases, e.g. remote access via ssh,
  might require you to add the desired user to the `render` group.

OBS-URL: https://build.opensuse.org/request/show/1128161
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1473
2023-12-01 08:01:25 +00:00
Ana Guerrero
928ba09608 Accepting request 1122219 from Base:System
- Disable utmp support
  The announcement can be found at:
  https://lists.opensuse.org/archives/list/factory@lists.opensuse.org/thread/MYIWGQEE54VJDBYXMQCEY7XKEAIUFLAU/
  The user visible consequence of it is that /run/utmp file is no more created.
  systemd itself doesn't depend on utmp anymore since "shared/wall: use logind
  if build without utmp support" has been backported.

OBS-URL: https://build.opensuse.org/request/show/1122219
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=407
2023-11-02 19:20:13 +00:00
Franck Bui
c580e8dd34 - Disable utmp support
The announcement can be found at:
  https://lists.opensuse.org/archives/list/factory@lists.opensuse.org/thread/MYIWGQEE54VJDBYXMQCEY7XKEAIUFLAU/
  The user visible consequence of it is that /run/utmp file is no more created.
  systemd itself doesn't depend on utmp anymore since "shared/wall: use logind
  if build without utmp support" has been backported.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1472
2023-11-02 09:29:16 +00:00
Ana Guerrero
4d7d223955 Accepting request 1121115 from Base:System
- Fix typo in /etc/systemd/user.confd.d (bsc#1216676)

OBS-URL: https://build.opensuse.org/request/show/1121115
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=406
2023-10-31 19:25:16 +00:00
Franck Bui
3f63653d10 - Fix typo in /etc/systemd/user.confd.d (bsc#1216676)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1471
2023-10-30 09:18:31 +00:00
Ana Guerrero
65102fb24f Accepting request 1120043 from Base:System
- Import commit b53f364c264cd598d4210b64285a55d362b47b89
  b53f364c26 test: install af_packet kernel module on openSUSE
  86b7521a3c shared/wall: use logind if build without utmp support
  65aac5858f errno-util: allow ERRNO_IS_* to accept types wider than int
  8f93b89db4 basic/errno-util: add wrappers which only accept negative errno
  1b815b3e76 Introduce RET_GATHER and use it in src/shared/

- Drop 0001-conf-parser-introduce-early-drop-ins.patch
  The usage of drop-ins is now the official way for configuring systemd and its
  various daemons on Factory/ALP.
  See: https://lists.opensuse.org/archives/list/factory@lists.opensuse.org/thread/KWRBTAVQ6MGHVAHKDZZ6GIRX4RMHKHQ6/

- Ship the main configuration files in /usr/lib/
  Besides the fact that shipping files in /etc is not recommended anymore, this
  change will hopefully encourage users to customize the defaults via the mean
  of drop-ins hence removing the risk of conflicts with downstream
  customization.
  In contrary, shipping empty directories *.conf.d/ in /etc is not a concern and
  should suggest users to create drop-ins (bsc#1207056).

- systemd.spec: add files.portable and files.journal-remote

- Don't include entries listed in kbd-model-map.xkb-generated (provided by kbd
  package) in kbd-model-map anymore. Yast, the only user of these entries,
  directly parses kbd-model-map.xkb-generated now (bsc#1211104).

- tmpfiles-suse.conf: drop entries for /run/lock and /var/log/wtmp
  /run/lock is now defined by filesystem package and wtmp has been replaced by
  wtmpdb on TW.

OBS-URL: https://build.opensuse.org/request/show/1120043
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=405
2023-10-26 15:12:14 +00:00
Franck Bui
672b7ea23f Drop min_kernel_version rpm variable. It's outdated and not used anyways.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1470
2023-10-25 07:50:55 +00:00
Franck Bui
0bd2d81872 - Import commit b53f364c264cd598d4210b64285a55d362b47b89
b53f364c26 test: install af_packet kernel module on openSUSE
  86b7521a3c shared/wall: use logind if build without utmp support
  65aac5858f errno-util: allow ERRNO_IS_* to accept types wider than int
  8f93b89db4 basic/errno-util: add wrappers which only accept negative errno
  1b815b3e76 Introduce RET_GATHER and use it in src/shared/

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1469
2023-10-24 14:29:00 +00:00
Franck Bui
3a5939378d Revert "systemd.spec: disable transfiletriggers" (rev 1462)
transfiletriggers is actually only broken with 'rpm --root'. This shouldn't
affect you since --root applies only to installations. In this case the services
needn't to be restarted and the tmpfiles stuff can wait until the firstboot.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1468
2023-10-24 14:08:54 +00:00
Franck Bui
f755f2c0ce Document bsc#1191502 in .changelog
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1467
2023-10-20 12:40:40 +00:00
Franck Bui
529c292ceb Document some old bsc/PED numbers in the changelog
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1466
2023-10-20 09:38:40 +00:00
Franck Bui
9862047040 - Drop 0001-conf-parser-introduce-early-drop-ins.patch
The usage of drop-ins is now the official way for configuring systemd and its
  various daemons on Factory/ALP.
  See: https://lists.opensuse.org/archives/list/factory@lists.opensuse.org/thread/KWRBTAVQ6MGHVAHKDZZ6GIRX4RMHKHQ6/

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1465
2023-10-20 08:11:45 +00:00
Franck Bui
cf83dc34c6 - Ship the main configuration files in /usr/lib/
Besides the fact that shipping files in /etc is not recommended anymore, this
  change will hopefully encourage users to customize the defaults via the mean
  of drop-ins hence removing the risk of conflicts with downstream
  customization.
  In contrary, shipping empty directories *.conf.d/ in /etc is not a concern and
  should suggest users to create drop-ins (bsc#1207056).

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1464
2023-10-19 14:27:22 +00:00
Franck Bui
b6e4bbd6d8 - systemd.spec: add files.portable and files.journal-remote
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1463
2023-10-19 12:14:32 +00:00
Franck Bui
aafec26f96 - systemd.spec: disable transfiletriggers
Unforunately bsc#1041742 has been re-opened so it's again not safe to rely on
  transfiletriggers until rpm-4.19 is released.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1462
2023-10-18 08:34:32 +00:00
Franck Bui
98ac13b656 - Don't include entries listed in kbd-model-map.xkb-generated (provided by kbd
package) in kbd-model-map anymore. Yast, the only user of these entries,
  directly parses kbd-model-map.xkb-generated now (bsc#1211104).

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1461
2023-10-13 11:28:05 +00:00
Franck Bui
b4278439c5 - tmpfiles-suse.conf: drop entries for /run/lock and /var/log/wtmp
/run/lock is now defined by filesystem package and wtmp has been replaced by
  wtmpdb on TW.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1460
2023-10-13 09:36:13 +00:00
Ana Guerrero
1ed16c0ddc Accepting request 1115877 from Base:System
- rpmlintrc: allow systemd-network and systemd-container sub-packages to ship
  shared libs. These are actually NSS plugins and are not really subject to
  shlib policy.

- Drop 5000-core-manager-run-generators-directly-when-we-are-in-.patch
  Since dracut-059+suse.447.g9d1fc722, this workaround is not needed anymore.

  This includes the following bug fixes:
    - upstream commit 3022916b4d2483452c3ddbbac9ee7c4372b1cb46 (bsc#1215241)

OBS-URL: https://build.opensuse.org/request/show/1115877
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=404
2023-10-06 19:12:39 +00:00
Franck Bui
cd6da999b0 - rpmlintrc: allow systemd-network and systemd-container sub-packages to ship
shared libs. These are actually NSS plugins and are not really subject to
  shlib policy.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1459
2023-10-05 15:07:08 +00:00
Franck Bui
a9a04c61d4 Revert "Rename libudev-mini1 into libudev1-mini for consistency with libsystemd0-mini"
The name "libudev-mini1" is hardcoded in multiple OBS project configs.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1458
2023-10-05 09:08:59 +00:00
Franck Bui
4b4dee5b9a fix rpmlint error due to the previous rename of libudev mini package
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1457
2023-10-05 06:41:50 +00:00
Franck Bui
f6b76a3a2a systemd-rpmlintrc: don't consider NSS plugins as shared libs
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1456
2023-10-04 14:25:23 +00:00
Franck Bui
5cac7fa735 Rename libudev-mini1 into libudev1-mini for consistency with libsystemd0-mini
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1455
2023-10-04 10:36:20 +00:00
Franck Bui
a7fb681d2b - Drop 5000-core-manager-run-generators-directly-when-we-are-in-.patch
Since dracut-059+suse.447.g9d1fc722, this workaround is not needed anymore.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1454
2023-10-04 09:03:05 +00:00
Ana Guerrero
c63ce78fdc Accepting request 1113906 from Base:System
- Import commit 9674bb256205e6c643feadbcccfd1ee8feeee684 (merge of v254.5)
  For a complete list of changes, visit:
  6ed5b11298...9674bb2562

- Make sure to call %sysusers_create only when transfiletrigger is disabled.

- systemd.spec: switch to %ldconfig_scriptlets

- systemd.spec: add `%tmpfiles_create systemd-resolve`
  It's only needed by SLE distros since systemd packages rely on
  transtriggerfiles in Factory.

- Import commit 6ed5b11298005e07509832881a0c5ff1a80bf225 (merge of v254.4)
  For a complete list of changes, visit:
  b6b4e5a8a8...6ed5b11298

OBS-URL: https://build.opensuse.org/request/show/1113906
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=403
2023-10-02 18:04:02 +00:00
Franck Bui
eea67bab14 document bsc#1215241 in systemd.changes
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1453
2023-09-29 06:37:16 +00:00
Franck Bui
f64fb68f19 replace -Dukify=no with -Dukify=false
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1452
2023-09-27 15:05:09 +00:00
Franck Bui
df4bf73ed0 ukify is disabled when -Dbootloader=no
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1451
2023-09-27 14:56:42 +00:00
Franck Bui
478cb79ec5 - Import commit 9674bb256205e6c643feadbcccfd1ee8feeee684 (merge of v254.5)
For a complete list of changes, visit:
  6ed5b11298...9674bb2562

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1450
2023-09-27 13:16:32 +00:00
Franck Bui
f3560138df - Make sure to call %sysusers_create only when transfiletrigger is disabled.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1449
2023-09-27 10:15:58 +00:00
Franck Bui
885d7925a8 - systemd.spec: switch to %ldconfig_scriptlets
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1448
2023-09-27 10:02:08 +00:00
Franck Bui
425b7c38bb - systemd.spec: add %tmpfiles_create systemd-resolve
It's only needed by SLE distros since systemd packages rely on
  transtriggerfiles in Factory.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1447
2023-09-27 09:24:14 +00:00
Ana Guerrero
67ae16b6d6 Accepting request 1113047 from Base:System
- systemd.spec: during package updates, restart localed, timedated and hostnamed
  if they're running.

- systemd.spec: when enabling units prefer enabling service units over socket
  ones for socket activable services. The services shipped by systemd
  automatically redirect the enablement request to the socket unit.

OBS-URL: https://build.opensuse.org/request/show/1113047
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=402
2023-09-26 20:00:41 +00:00
Franck Bui
f6340004a3 - Import commit 6ed5b11298005e07509832881a0c5ff1a80bf225 (merge of v254.4)
For a complete list of changes, visit:
  b6b4e5a8a8...6ed5b11298

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1446
2023-09-25 08:30:24 +00:00