summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorнаб <nabijaczleweli@nabijaczleweli.xyz>2022-03-24 17:15:39 +0100
committerLennart Poettering <lennart@poettering.net>2022-03-28 14:24:46 +0200
commit53350c7bbade8c5f357aa3d1029ef9b2208ea675 (patch)
tree4ace935223a8f92512765e67acf201068fc27f7b /meson_options.txt
parent505df87ea85d62071f6daefa14c52107a085246b (diff)
downloadsystemd-53350c7bbade8c5f357aa3d1029ef9b2208ea675.tar.gz
Use new default-user-shell option instead of hard-coding bash in nspawn and user-record
Defaults to /bin/bash, no changes in the default configuration The fallback shell for non-root users is as-specified, and the interactive shell for nspawn sessions is started as exec(default-user-shell, "-" + basename(default-user-shell), ...) before falling through to bash and sh
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 27cfa9b697..430b03d2b2 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -220,6 +220,8 @@ option('time-epoch', type : 'integer', value : '-1',
description : 'time epoch for time clients')
option('clock-valid-range-usec-max', type : 'integer', value : '473364000000000', # 15 years
description : 'maximum value in microseconds for the difference between RTC and epoch, exceeding which is considered an RTC error')
+option('default-user-shell', type : 'string', value : '/bin/bash',
+ description : 'default interactive shell')
option('system-alloc-uid-min', type : 'integer', value : '-1',
description : 'minimum system UID used when allocating')