You are not logged in.

#1 2011-03-01 11:12:53

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,384
Website

bash issues with 4.2.005

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

#2 2011-03-01 12:02:20

insanemal
Member
From: Brisbane/Australia
Registered: 2009-05-05
Posts: 140

Re: bash issues with 4.2.005

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

#3 2011-03-01 13:15:30

broken pipe
Member
Registered: 2010-12-10
Posts: 238

Re: bash issues with 4.2.005

ngoonee wrote:
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

#4 2011-03-01 14:07:23

gimpel
Member
From: Jena, Germany
Registered: 2008-02-08
Posts: 23

Re: bash issues with 4.2.005

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

#5 2011-03-01 14:44:51

zyghom
Member
From: Poland/currently Africa
Registered: 2006-05-11
Posts: 432
Website

Re: bash issues with 4.2.005

true - bash from testing caused the problem ;-(


Zygfryd Homonto

Offline

#6 2011-03-01 14:45:09

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,384
Website

Re: bash issues with 4.2.005

Again...  the bash issue is separate to the issue the original poster has...

Offline

#7 2011-03-01 20:23:09

karabaja4
Member
From: Croatia
Registered: 2008-09-14
Posts: 1,000
Website

Re: bash issues with 4.2.005

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

#8 2011-03-01 20:26:02

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: bash issues with 4.2.005

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.

Last edited by karol (2011-03-01 20:27:58)

Offline

#9 2011-03-01 21:02:34

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: bash issues with 4.2.005

karol wrote:
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

#10 2011-03-01 21:35:02

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: bash issues with 4.2.005

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.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#11 2011-03-02 00:02:45

Sean-Der
Member
Registered: 2007-09-30
Posts: 88

Re: bash issues with 4.2.005

Probably does not help but I would like to confirm this bug on x64

Offline

#12 2011-03-02 06:43:18

nikor
Member
Registered: 2007-09-19
Posts: 7

Re: bash issues with 4.2.005

The problem is that bash segfaults on "unset TZ" in /etc/rc.d/functions.

Offline

#13 2011-03-02 06:52:55

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,384
Website

Re: bash issues with 4.2.005

bash-4.2.004-1 has been in [testing] for a while now...  use that.

Offline

#14 2011-03-02 07:35:44

hbekel
Member
Registered: 2008-10-04
Posts: 311

Re: bash issues with 4.2.005

Seems to be solved with bash-4.2.006, boots fine and unset TZ works.

http://ftp.gnu.org/gnu/bash/bash-4.2-patches/bash42-006

Offline

#15 2011-03-02 21:21:20

Flylow
Member
From: Switzerland
Registered: 2010-08-06
Posts: 24

Re: bash issues with 4.2.005

Tried to downgrade but have trouble doing so:

Screen_Shot

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

#16 2011-03-02 21:30:25

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: bash issues with 4.2.005

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

#17 2011-03-02 21:48:30

Flylow
Member
From: Switzerland
Registered: 2010-08-06
Posts: 24

Re: bash issues with 4.2.005

Tried it quickly. The only thing that changes is, that now there stands "killed" below note: pacman......

Offline

#18 2011-03-02 22:27:55

jdarnold
Member
From: Medford MA USA
Registered: 2009-12-15
Posts: 485
Website

Re: bash issues with 4.2.005

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

#19 2011-03-03 07:43:23

Flylow
Member
From: Switzerland
Registered: 2010-08-06
Posts: 24

Re: bash issues with 4.2.005

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

#20 2011-03-03 17:25:18

Cadynum
Member
Registered: 2010-04-15
Posts: 20

Re: bash issues with 4.2.005

If anything this though me to include usbinput in mkinitcpio HOOKS.

Offline

#21 2011-03-05 09:58:43

Flylow
Member
From: Switzerland
Registered: 2010-08-06
Posts: 24

Re: bash issues with 4.2.005

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

Board footer

Powered by FluxBB