Confirmed
strace output
bash: 17932 execve("/bin/bash", ["/bin/bash"], [/* 36 vars */]) = 0 .... 17932 clone(child_stack=0, ... ) = 17956 .... 17956 execve("/bin/default.sh", ["default.sh"], ...) = -1 ENOEXEC 17956 open("/bin/default.sh", O_RDONLY|O_LARGEFILE) = 3 17956 read(3, "\n# First line should be blank, s"..., 80) = 77 17956 close(3) = 0 ... Hmm, is the running shell also the default shell?
Dash 17844 execve("/bin/dash", ["/bin/dash"], [/* 36 vars */]) = 0 ... 17853 execve("/bin/default.sh", ["default.sh"], ...) = -1 ENOEXEC 17853 execve("/bin/sh", ["/bin/sh", "default.sh"], [/* 36 vars */]) = 0
should be 17853 execve("/bin/sh", ["/bin/sh", "/bin/default.sh"], [/* 36 vars */]) = 0
Confirmed
strace output
bash: stack=0, ... ) = 17956 "/bin/default. sh", ["default.sh"], ...) = -1 ENOEXEC bin/default. sh", O_RDONLY| O_LARGEFILE) = 3
17932 execve("/bin/bash", ["/bin/bash"], [/* 36 vars */]) = 0
....
17932 clone(child_
....
17956 execve(
17956 open("/
17956 read(3, "\n# First line should be blank, s"..., 80) = 77
17956 close(3) = 0
...
Hmm, is the running shell also the default shell?
Dash "/bin/default. sh", ["default.sh"], ...) = -1 ENOEXEC
17844 execve("/bin/dash", ["/bin/dash"], [/* 36 vars */]) = 0
...
17853 execve(
17853 execve("/bin/sh", ["/bin/sh", "default.sh"], [/* 36 vars */]) = 0
should be
17853 execve("/bin/sh", ["/bin/sh", "/bin/default.sh"], [/* 36 vars */]) = 0