Use new default-user-shell option instead of hard-coding bash in nspawn and user...
authorнаб <nabijaczleweli@nabijaczleweli.xyz>
Thu, 24 Mar 2022 16:15:39 +0000 (17:15 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 28 Mar 2022 12:24:46 +0000 (14:24 +0200)
commit53350c7bbade8c5f357aa3d1029ef9b2208ea675
tree4ace935223a8f92512765e67acf201068fc27f7b
parent505df87ea85d62071f6daefa14c52107a085246b
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
meson.build
meson_options.txt
src/nspawn/nspawn.c
src/shared/user-record.c