You are not logged in.
Pages: 1
As I pointed out, the OPs issue is not bash from [testing] given that bash package was not built when his issues started.... so start a new thread about the bash issue if necessary.
Edit: split into a new thread...
Offline
i just remounted / in rw using
mount -n -o remount,rw /
then did a pacman -U
i did do more testing also
it seems the include of /etc/rc.d/functions is what causes the seg fault
i did a bash -x on it and it didnt even start executing
just got 10 or so lines into that after pulling in the rc.conf
hope this helps
also Alan is right these are unrelated i have started a thread in testing
Offline
Allan wrote:4.2.005 was put in the repos 24 hours after the original post here... so there is probably two separate issues.
ML seems to indicate that bash or readline are causing non-bootable systems too, though. Possibly the OP simply didn't reboot immediately?
I've updated bash/readline but haven't rebooted yet....
it's caused by bash 4.2.005-1 i recently downgraded it because the system became unbootable.
after booting i got this error:"bash - cannot find /usr/bin/tty" and the system prompts to the login console
Offline
Same problem for me on x86_64 / testing:
bash pkg version: 4.2.005-1-x86_64
segmentation faults on boot in rc.sysinit
hence / was mounted ro
...and a lot of aftereffects e.g. hostname unset, locale / keyboard layout not set up, "$ mount" not showing correct results...
runlevel 1 (default runlevel for my grub fallback kernel bootline) wasn't working at all
solution:
# remount -o remount,rw /dev/sda1
# pacman -U /var/cache/pacman/pkg/bash-4.2-1-x86_64.pkg.tar.xz
# reboot
now everything seems to work again
Last edited by gimpel (2011-03-01 14:26:46)
god is real unless declared integer
Offline
true - bash from testing caused the problem ;-(
Zygfryd Homonto
Offline
Again... the bash issue is separate to the issue the original poster has...
Offline
So... I had a problem with recent bash update (segmentation fault during sysinit) which I had to solve by booting to live cd (because keyboard wouldn't work after booting to read-only), then mounting root to folder, and doing pacman -U <old_bash_package_from_root_folder_cache> --root <mounted_root_folder>
Maybe this would be nice as a news on main site for people that updated to latest bash this morning...
Offline
So... I had a problem with recent bash update (segmentation fault during sysinit) which I had to solve by booting to live cd (because keyboard wouldn't work after booting to read-only), then mounting root to folder, and doing pacman -U <old_bash_package_from_root_folder_cache> --root <mounted_root_folder>
Maybe this would be nice as a news on main site for people that updated to latest bash this morning...
Are you talking about a package from [testing]? People running [testing] should know damn well how to deal with breakage and should be subscribed to Arch MLs.
Last edited by karol (2011-03-01 20:27:58)
Offline
karabaja4 wrote:So... I had a problem with recent bash update (segmentation fault during sysinit) which I had to solve by booting to live cd (because keyboard wouldn't work after booting to read-only), then mounting root to folder, and doing pacman -U <old_bash_package_from_root_folder_cache> --root <mounted_root_folder>
Maybe this would be nice as a news on main site for people that updated to latest bash this morning...
Are you talking about a package from [testing]? People running [testing] should know damn well how to deal with breakage and should be subscribed to Arch MLs.
Fair enough. But as Allan points out this is the wrong thread for all this. Also, those of us who updated earlier today did so before it got on the ML. That's why it was discussed on the forums.
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
Thread split and moved to testing. Allan mentioned thrice that the bash in testing has nothing to do with the op's problem. Please do not hijack threads. Start your own in the appropriate forum if you see an issue.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Probably does not help but I would like to confirm this bug on x64
Offline
The problem is that bash segfaults on "unset TZ" in /etc/rc.d/functions.
Offline
bash-4.2.004-1 has been in [testing] for a while now... use that.
Offline
Seems to be solved with bash-4.2.006, boots fine and unset TZ works.
Offline
Tried to downgrade but have trouble doing so:
Remounted fs writeable using mount -n -o remount,rw /
Changed into pkg cache and searched earlier bash version
tried to downgrade using the command which you see on the bottom of the screen
What am I doing wrong?
Offline
Try logging in as root rather than a non privileged user.
Then mount.
Then install from the cache.
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
Tried it quickly. The only thing that changes is, that now there stands "killed" below note: pacman......
Offline
I installed a version of bash (I believe it was bash-4.2.005-1-x86_64) yesterday that broke things horribly. Bash was segfaulting, so parsing the rc.conf wasn't even working. I downgraded to bash-4.2-1-x86_64.pkg.tar.xz and all was better. Of course, the version numbers have me confused, but pacman -Qu tells methat bash-4.2-1 needs upgrading, so I guess that means bash-4.2-1 is an older version than 4.2.00501.
I believe I did this after the boot failed, leavin me at a TTY prompt.
# mount -o remount,rw /dev/sda3
# cd /var/cache/pacman/pkg
# pacman -U bash-4.2-1-x86_64.pkg.tar.xz
Last edited by jdarnold (2011-03-02 22:30:30)
Offline
Still have the same problem. Tried 4.2-1 too -> no change. Another thing is, that when I get the message on the screenshot, the laptop hangs up if I run the command again.
Offline
If anything this though me to include usbinput in mkinitcpio HOOKS.
Offline
Finally solved my problem.
Boot from Live-USB
fsck -f /dev/sda1
mkdir /mnt/arch
mount /dev/sda1 /mnt/arch
chroot /mnt/arch
cd /var/cache/pacman/pkg
pacman -U bash.....
Offline
Pages: 1