Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/systemd: reenable utmp support
@ 2023-01-17 20:56 Casey Reeves
  2023-01-17 23:47 ` Norbert Lange
  2023-01-18 19:49 ` [Buildroot] [PATCH v2] " Casey Reeves
  0 siblings, 2 replies; 4+ messages in thread
From: Casey Reeves @ 2023-01-17 20:56 UTC (permalink / raw)
  To: buildroot; +Cc: Norbert Lange, Sen Hastings, Yann E. MORIN

    This patch re-enables utmp support. This was originally disabled as it
    showed information about other users on the system, but this information
    can be found in other ways by a snoopy user (ps, journalctl, loginctl,
    top)...

    More importantly, this behaviour causes tools like uptime and
    who to falsely state 0 users are logged in. Revert it to fix those
    applications, as it can be very confusing and is not improving security.

    See commit 32f53bdfb482d0d78308e548c654898089b5c183.

Signed-off-by: Casey Reeves <casey@xogium.me>
---
 package/systemd/systemd.mk | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
index b96873b73f..92b80dcf6e 100644
--- a/package/systemd/systemd.mk
+++ b/package/systemd/systemd.mk
@@ -87,8 +87,7 @@ SYSTEMD_CONF_OPTS += \
 	-Dtelinit-path= \
 	-Dtests=false \
 	-Dtmpfiles=true \
-	-Dumount-path=/usr/bin/umount \
-	-Dutmp=false
+	-Dumount-path=/usr/bin/umount
 
 SYSTEMD_CFLAGS = $(TARGET_CFLAGS)
 ifeq ($(BR2_OPTIMIZE_FAST),y)
-- 
2.39.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-01-21 18:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-17 20:56 [Buildroot] [PATCH] package/systemd: reenable utmp support Casey Reeves
2023-01-17 23:47 ` Norbert Lange
2023-01-18 19:49 ` [Buildroot] [PATCH v2] " Casey Reeves
2023-01-21 18:07   ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox