Comment 1 for bug 82490

Revision history for this message
didier (did447-deactivatedaccount) wrote :

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