From 6e0007d32054d0074d93bfa71cfb1f593ebddbf7 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sun, 14 Feb 2021 21:56:52 +0000 Subject: bugfix: utmps default should be none --- doc/s6-linux-init-maker.html | 3 ++- src/init/s6-linux-init-maker.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/s6-linux-init-maker.html b/doc/s6-linux-init-maker.html index b1b0649..f8ef940 100644 --- a/doc/s6-linux-init-maker.html +++ b/doc/s6-linux-init-maker.html @@ -321,7 +321,8 @@ available when the s6-linux-init package has been built with the --enable-utmps configure option, that enables support for the utmps package. The option defines the user that the utmpd and wtmpd services -will run as. Default is utmp.
+will run as, and activates these services. Default is no +utmpd or wtmpd services.
  • -C : create a set of scripts that is suitable for running in a container. This modifies some behaviours: diff --git a/src/init/s6-linux-init-maker.c b/src/init/s6-linux-init-maker.c index 7c315a6..6d86ff9 100644 --- a/src/init/s6-linux-init-maker.c +++ b/src/init/s6-linux-init-maker.c @@ -59,7 +59,7 @@ static int inns = 0 ; static int nologger = 0 ; #ifdef S6_LINUX_INIT_UTMPD_PATH -static char const *utmp_user = "utmp" ; +static char const *utmp_user = "" ; #endif typedef int writetobuf_func_t (buffer *, char const *) ; -- cgit v1.2.3