From 2e56f6dd37022646f1c44c8cc9365f0da249a39a Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 10 Sep 2016 13:43:57 +0000 Subject: Change initial_path to include /usr/sbin and /sbin, because stage 3 --- src/init/s6-linux-init-maker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/init/s6-linux-init-maker.c b/src/init/s6-linux-init-maker.c index 60c5353..58a9ccd 100644 --- a/src/init/s6-linux-init-maker.c +++ b/src/init/s6-linux-init-maker.c @@ -37,7 +37,7 @@ static char const *init_script = "/etc/rc.init" ; static char const *tini_script = "/etc/rc.tini" ; static char const *shutdown_script = "/etc/rc.shutdown" ; static char const *bindir = "/bin" ; -static char const *initial_path = "/usr/bin:/bin" ; +static char const *initial_path = "/usr/bin:/usr/sbin:/bin:/sbin" ; static char const *env_store = 0 ; static char const *early_getty = 0 ; static uid_t uncaught_logs_uid = 0 ; -- cgit v1.2.3