--login does not work in 2.4.2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Sakura |
Fix Released
|
High
|
David Gómez | ||
sakura (Debian) |
Fix Released
|
Unknown
|
|||
sakura (Ubuntu) |
Fix Released
|
Medium
|
Andrew Starr-Bochicchio |
Bug Description
Hi,
I've recently upgraded from 2.3.8 to 2.4.2 (with an update to Oneiric ;-)), and sakura stopped working when called with the "--login" parameter.
A little bit of stracing reveals something that looks like the problem: The shell is not execve()ed correctly any more. In 2.3.8, by comparison,
the shell is spawned with the correct binary and the correct argv[0] parameter for login shells (that is, a dash is prepended to the argv[0] parameter).
This looks like this in an strace:
---
execve("/bin/zsh", ["-/bin/zsh"] ...
---
2.4.2 now tries to spawn my zsh like this:
---
execve("-/bin/zsh", ["-/bin/zsh"] ...
---
which fails because "-/bin/zsh" is no valid binary, of course. Interestingly, sakura then just hangs instead of quitting, so there may be other problems.
But as far as I can see, this behavior is a bug and should be fixed.
Cheers,
Toby.
Changed in sakura: | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → David Gómez (dabisu) |
Changed in sakura: | |
status: | Confirmed → Fix Committed |
Changed in sakura (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in sakura (Debian): | |
status: | Unknown → Confirmed |
Changed in sakura (Debian): | |
status: | Confirmed → Fix Released |
Changed in sakura: | |
status: | Fix Committed → Fix Released |
Is there any news on this issue? There is a bugfix upstream, so surely this shouldn't be too hard to ship?!?