You are not logged in.

#1 2011-02-27 19:27:50

JMO
Member
From: Argentina
Registered: 2006-04-08
Posts: 98

rc.sysinit screwed after pacman -Syu

Early today I made a pacman -Syu. There where only 2 packages to upgrade, and I went go on (I couldnt find those packages specified in pacman.log. It only says "Full system upgrade". How can a know those?) Couldnt find anything in the forums regarding this as well.

I do remember too, that one of those give and output after upgrading saying that inittab (I think) and rc.conf were installed as inittab.pacnew and rc.conf.pacnew

The thing is that when I booted again this afternoon, the booting process launched handful of errors on different lines of /etc/rc.sysinit, all of them of "command not found". Now the login prompt says "(none) login:", my keyboard layout changed to default, home is not mounted, etc...

How can I debug this?

Thanks in advance!

Offline

#2 2011-02-27 20:22:14

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

Re: rc.sysinit screwed after pacman -Syu

All those files (inittab, rc.conf and rc.sysinit) are from initscripts package that got updated today. Have you looked at / merged the pacnew files?
https://bbs.archlinux.org/viewtopic.php … 82#p829382

Last edited by karol (2011-02-27 20:28:07)

Offline

#3 2011-02-27 20:47:32

JMO
Member
From: Argentina
Registered: 2006-04-08
Posts: 98

Re: rc.sysinit screwed after pacman -Syu

Unfortunately yes. I replaced rc.sysinit and inittab with the pacnew versions. Not so with rc.conf.
Damn... I messed it up again.

Offline

#4 2011-02-27 21:17:33

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

Re: rc.sysinit screwed after pacman -Syu

https://bbs.archlinux.org/viewtopic.php … 60#p897160
You should have those files in your backup. If not, try to recreate them from memory.

Offline

#5 2011-02-28 02:50:35

JMO
Member
From: Argentina
Registered: 2006-04-08
Posts: 98

Re: rc.sysinit screwed after pacman -Syu

I'm going through a complet system reinstall. Unfortunately, I overwrited those files. Hope to have learned something in the pas one to make these one a breeze smile

Thanks for the help!

Offline

#6 2011-03-01 06:47:20

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

Re: rc.sysinit screwed after pacman -Syu

After pacman -Syu today I get the same issue minus any error messages
attempting to launch /etc/rc.sysinit gives you a seg fault.

Im totally lost as to what to do.


EDIT:

Found the problem... Broken bash???
Downgraded my bash and the world started working!!!

any ideas????

EDIT 2:

Its the testing bash

Last edited by insanemal (2011-03-01 07:10:48)

Offline

#7 2011-03-01 07:13:31

Skyalmian
Member
Registered: 2009-06-28
Posts: 121

Re: rc.sysinit screwed after pacman -Syu

^ the same situation as above, and like you figured it to be Bash. (The segmentation fault errors don't show up when "quiet" is in the kernel boot line.) But with the hostname as "none" the filesystem is read-only; how did you downgrade it? Or rather, how does one downgrade a package on a mounted filesystem via the Arch Live CD such as /mnt/root? ... I guess a dirty use of "cp" would be required if not possible with pacman...

Last edited by Skyalmian (2011-03-01 07:23:31)

Offline

#8 2011-03-01 07:29:38

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

Re: rc.sysinit screwed after pacman -Syu

same here :-(

I made dirty copy from old bash from /var/cache/packages/pkg
then once system is up I made pacman -U with old bash

this is critical - system cannot start at all - such mistakes should be on first page - sticky or whatever wink

Last edited by zyghom (2011-03-01 07:47:04)


Zygfryd Homonto

Offline

#9 2011-03-01 10:48:54

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

Re: rc.sysinit screwed after pacman -Syu

Could any of you gentleman clearly state which version of bash are you using? "Its the testing bash" suggests you should be prepared for breakage and you should know how to deal with it. If it's the regular bash from [core] then indeed ti's critical and should be looked into ASAP.

Offline

#10 2011-03-01 10:55:50

borrell
Member
Registered: 2008-12-02
Posts: 31
Website

Re: rc.sysinit screwed after pacman -Syu

4.2.005-1 is the version with issues, booting from a live CD and replacing /bin/bash with an earlier version fixes the problem. I reverted back to 4.1.5-something and it's fixed it

Offline

#11 2011-03-01 10:57:21

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

Re: rc.sysinit screwed after pacman -Syu

4.2.005 was put in the repos 24 hours after the original post here...   so there is probably two separate issues.

Offline

#12 2011-03-01 11:02:55

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,356

Re: rc.sysinit screwed after pacman -Syu

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....


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#13 2011-03-01 11:10:55

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: rc.sysinit screwed after pacman -Syu

Hmm, nevermind, sorry.

Last edited by Ramses de Norre (2011-03-01 11:11:59)

Offline

#14 2011-03-02 10:27:45

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: rc.sysinit screwed after pacman -Syu

I can confirm that downgrading to bash 4.2 fixes the issue.


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

Board footer

Powered by FluxBB