console freezes as root when executing update script
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: bash
System is an intrepid with all updates, Amilo XI 2428
In Bash I do execute the following script as root:
root@shoshin:
/root/bin/emerge
root@shoshin:
echo "Update startet..."
aptitude update && aptitude safe-upgrade
root@shoshin:
-rwxr--r-- 1 root root 66 2008-10-18 20:36 /root/bin/emerge
If I switch from graphical interface to a text console, log in as root and run emerge I do not see the "Update startet..." but the console freezes and I need to kill it via htop.
If I check the hanging console with htop no aptitude is started, but a hanging:
sbin/init
-- /bin/login
Workaround is to define an alias in .bashrc
alias emerge="aptitude update && aptitude safe-upgrade"
instead of a script.
This is as slow as before but doesn't kill the console.