![]() |
Re: [Announce] Enhanced BusyBox package
I have again lost my history. Now there is no garbage in files but I couldn't trigger any command pressing CTRL+R.
I have checked that file .ash_history is empty. There is also a file .ash_history.1918.new that is empty and a ash_history.3055.new with only 100 very old commands. |
Re: [Announce] Enhanced BusyBox package
Quote:
When you close ash, it'll append all of its new history to .ash_history, completely re-load .ash_history (other instances of ash might have written to it, and re-loading trims it to MAX_HISTORY), write the trimmed history out to .ash_history.$PID.new, and rename .ash_history.$PID.new to .ash_history. The used code for this is pretty solid (look for save_history() in libbb/lineedit.c), and I don't see any direct cause as to why you lost your history :(. The only clue we have is that rename() somehow failed, since you still got .ash_history.XXXX.new files. It's rather odd though that you experienced this twice - the only other report is from Mentalist Traceur, but he mentioned that the device was unstable. You could add something like the following to your ~/.profile file. This will backup your old history to /home/user/hist_bak/ when you close ash. It won't solve the issue you're experiencing, but at least you won't lose all of your history. I'm sorry I can't be of more help. Code:
trap 'NAME=`date +%Y%m%d_%H%M%S`_bak && \ |
Re: [Announce] Enhanced BusyBox package
Since this thread got bumped anyway, let me take this opportunity to call for testers :). Busybox-power 1.19.3power4 has been in extras-testing for a pretty long while now, and we most certainly can't leave out those extras users from shiny new versions, can we?
Also, for those that have noticed, busybox-powers' git repo has BusyBox 1.19.4 in it since a while now. It isn't pushed to the repositories because there is no code change between 1.19.4 and 1.19.3 + hotfixes, of which busybox-power 1.19.3power5 consists. Just a FYI ;). |
Re: [Announce] Enhanced BusyBox package
Hi,
Got a problem with creating user and group, at least, the postinstall script from the icecast2 deb had! Can't install this app and busybox power report a prob in user and group creation, any ideas? |
Re: [Announce] Enhanced BusyBox package
Quote:
The line that causes this error in the postinst script is: Code:
adduser --system --disabled-password --disabled-login \The solution is rather simple though. Execute: Code:
apt-get install adduser |
Re: [Announce] Enhanced BusyBox package
Quote:
|
Re: [Announce] Enhanced BusyBox package
Quote:
just for the reports: I also faced this a few times. But afair always after a hard shutdown (real sw_res). I found total senseless entries in history or even lines of my e-mails (which really scared me the first time ;))... But just loosing the history sometimes is just a inconvenience, no more. And the positice effects of busybox enhanced is SO much more! Thanks again for that package and support. |
Re: [Announce] Enhanced BusyBox package
Quote:
Thank you very much IDont, I haven't thought about it myself... Thanks also for the hard work about busybox-power, it's a huge enhancement for the N900. Have a nice day. |
Re: [Announce] Enhanced BusyBox package
Happened again, this time after using preenv from the command line. Could it be related?
|
Re: [Announce] Enhanced BusyBox package
Quote:
Update: I'm still not able to (re)produce any kind of issue with the history handling. This issue is driving me nuts! I must have looked over the code a hundred times by now. What completely puzzles me, are the reports about the completely unrelated text in .ash_history; I can't seem to relate that to BusyBox in any way :(. |
| All times are GMT. The time now is 02:04. |
vBulletin® Version 3.8.8