| Summary: | ash: -sh not found, no echo | ||
|---|---|---|---|
| Product: | Busybox | Reporter: | Martijn Scheepers <ms> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | busybox-cvs |
| Priority: | P5 | ||
| Version: | 1.31.x | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: | busybox.config | ||
Can't reproduce - works for me with this config. I can reproduce it when I try to execute It happens when trying to call shell-builtins from/in PS1: Working: PS1="\$(date '+%s: ')$PS1" root@hostname:~# PS1="\$(date '+%s: ')$PS1" 1573146144: root@GARDENA-163008:~# Hanging: PS1="\$(echo 'MyPrefix ')$PS1" root@hostname:~# PS1="\$(echo 'MyPrefix ')$PS1" <hanging> I can reproduce it when I call shell-builtins from/in PS1: Working: PS1="\$(date '+%s: ')$PS1" root@hostname:~# PS1="\$(date '+%s: ')$PS1" 1573146144: root@GARDENA-163008:~# Hanging: PS1="\$(echo 'MyPrefix ')$PS1" root@hostname:~# PS1="\$(echo 'MyPrefix ')$PS1" <hanging> I can reproduce it when I call shell-builtins from/in PS1: Working: PS1="\$(date '+%s: ')$PS1" root@hostname:~# PS1="\$(date '+%s: ')$PS1" 1573146144: root@GARDENA-163008:~# Hanging: PS1="\$(echo 'MyPrefix ')$PS1" root@hostname:~# PS1="\$(echo 'MyPrefix ')$PS1" <hanging> It seems that this issue has been resolved by commit 943e81f5db56eedbadf43459afbc967d100f9da2 [1] which is part of the 1.31.1 release. https://git.busybox.net/busybox/commit/?id=943e81f5db56eedbadf43459afbc967d100f9da2 i can confirm that release 1.31.1 fixed the problem. |
Created attachment 8151 [details] busybox.config On a buildroot arm device, busybox ash fails with version 1.31 after login no PS1 line is visable and no chars are echo'd. typing random chars give -sh <random chars> not found busybox internal commands give output external commands give no output version 1.30.1 and lower working correct