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
This commit is contained in:
Ana Guerrero 2023-11-02 19:20:13 +00:00 committed by Git OBS Bridge
commit 928ba09608
2 changed files with 14 additions and 2 deletions

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Thu Nov 2 08:56:57 UTC 2023 - Franck Bui <fbui@suse.com>
- 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.
-------------------------------------------------------------------
Mon Oct 30 09:11:16 UTC 2023 - Franck Bui <fbui@suse.com>

View File

@ -56,7 +56,6 @@
%bcond_without sysvcompat
%bcond_without experimental
%bcond_without testsuite
%bcond_without utmp
%endif
# The following features are kept to ease migrations toward SLE. Their default
@ -722,7 +721,7 @@ export CFLAGS="%{optflags} -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2"
-Dclock-valid-range-usec-max=946728000000000 \
-Dadm-group=false \
-Dwheel-group=false \
-Dutmp=%{when utmp} \
-Dutmp=false \
-Ddefault-hierarchy=unified \
-Ddefault-kill-user-processes=false \
-Dpamconfdir=no \