- 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
This commit is contained in:
Franck Bui 2023-11-02 09:29:16 +00:00 committed by Git OBS Bridge
parent 3f63653d10
commit c580e8dd34
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 \