From d62607d4209194030351d0ed4318ffac535648edc265eda4b6c837363e4e1d32 Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Thu, 2 Nov 2023 09:29:16 +0000 Subject: [PATCH] - 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 --- systemd.changes | 13 +++++++++++++ systemd.spec | 3 +-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/systemd.changes b/systemd.changes index af22b84..09e1b43 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Thu Nov 2 08:56:57 UTC 2023 - Franck Bui + +- 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 diff --git a/systemd.spec b/systemd.spec index 424a613..f6cd92d 100644 --- a/systemd.spec +++ b/systemd.spec @@ -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 \