Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[amd64]Boot issue
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
raphy
n00b
n00b


Joined: 08 Nov 2006
Posts: 35
Location: France

PostPosted: Sun Apr 20, 2008 10:59 am    Post subject: [amd64]Boot issue Reply with quote

Hello everybody

I have a big problem: not one service can start. I have a long list of "<somethings> not found", like the example below.

Here is a part of what I get when I stop or start the system:
Quote:

/lib64/rc/sh/gendepends.sh: line 94: shell_var: command not found
/lib64/rc/sh/gendepends.sh: line 94: shell_var: command not found
/lib64/rc/sh/gendepends.sh: line 92: shell_var: command not found
/lib64/rc/sh/gendepends.sh: line 94: shell_var: command not found
/lib64/rc/sh/gendepends.sh: line 92: shell_var: command not found
/lib64/rc/sh/gendepends.sh: line 94: shell_var: command not found [ ok ]
/etc/init.d/functions.sh: line 158: eval_ecolors: command not found
/lib64/rc/sh/runscript.sh: line 37: ebegin: command not found
/dev/sda3 is mounted. e2fsck: Cannot continue, aborting.


/dev/sda1 is mounted. e2fsck: Cannot continue, aborting.


/lib64/rc/sh/runscript.sh: line 66: ewend: command not found
/etc/init.d/functions.sh: line 158: eval_ecolors: command not found
/lib64/rc/sh/runscript.sh: line 31: shell_var: command not found
/lib64/rc/sh/runscript.sh: line 31: shell_var: command not found
/lib64/rc/sh/runscript.sh: line 31: shell_var: command not found
/lib64/rc/sh/runscript.sh: line 37: ebegin: command not found
/lib64/rc/sh/runscript.sh: line 38: shell_var: command not found
/lib64/rc/sh/runscript.sh: line 43: shell_var: command not found
/lib64/rc/sh/runscript.sh: line 43: shell_var: command not found
/lib64/rc/sh/runscript.sh: line 43: shell_var: command not found
/lib64/rc/sh/runscript.sh: line 48: eend: command not found
/lib64/rc/sh/runscript.sh: line 50: einfo: command not found
/etc/init.d/functions.sh: line 158: eval_ecolors: command not found
/etc/init.d/functions.sh: line 158: eval_ecolors: command not found
/lib64/rc/sh/runscript.sh: line 15: ebegin: command not found
/lib64/rc/sh/runscript.sh: line 29: eend: command not found
* ERROR: mtab failed to start
/etc/init.d/functions.sh: line 158: eval_ecolors: command not found
/lib64/rc/sh/runscript.sh: line 15: ebegin: command not found
/lib64/rc/sh/runscript.sh: line 29: eend: command not found
* ERROR: mtab failed to start
/etc/init.d/functions.sh: line 158: eval_ecolors: command not found
/lib64/rc/sh/runscript.sh: line 22: ebegin: command not found
/lib64/rc/sh/runscript.sh: line 24: eend: command not found
/etc/init.d/functions.sh: line 158: eval_ecolors: command not found
/lib64/rc/sh/runscript.sh: line 191: ebegin: command not found
/etc/init.d/alsasound: line 47: ebegin: command not found
/etc/init.d/alsasound: line 49: eend: command not found
/etc/init.d/alsasound: line 47: ebegin: command not found
/etc/init.d/alsasound: line 49: eend: command not found
/etc/init.d/alsasound: line 47: ebegin: command not found
/etc/init.d/alsasound: line 49: eend: command not found
/lib64/rc/sh/runscript.sh: line 195: eend: command not found


And it goes on and on for all the services, so no one would start or stop.
That begined to happen after upgrading to openrc/baselayout. Yes I've read all the upgrade instruction, did the etc-update, the dispatch-conf, upgraded the net config. And yes I know there's an openrc support thread, I posted the same message in it 3 days ago, thank you.

I must be missing something but what?

Thank you very much for your help,
Raphael
Back to top
View user's profile Send private message
.maverick
Apprentice
Apprentice


Joined: 29 Jan 2004
Posts: 159
Location: Bonn

PostPosted: Sun Apr 20, 2008 3:04 pm    Post subject: Reply with quote

I had the same symptoms (did not file a bug until now though).

The problem was that the links in /lib/rc/{s,}bin were broken (pointing to /var/tmp/paludis*/sbin/rc instead of /sbin/rc).
The solution is simple, just relink all those files to /sbin/rc as root:
Code:
for i in /lib/rc/{s,}bin/*; do ln -sf /sbin/rc $i; done
Back to top
View user's profile Send private message
raphy
n00b
n00b


Joined: 08 Nov 2006
Posts: 35
Location: France

PostPosted: Mon Apr 21, 2008 10:18 am    Post subject: Reply with quote

OK, so it's a paludis bug. Thank you for your help :)
Back to top
View user's profile Send private message
AndCycle
n00b
n00b


Joined: 05 Jun 2004
Posts: 19

PostPosted: Thu Sep 22, 2016 12:30 pm    Post subject: Reply with quote

.maverick wrote:
I had the same symptoms (did not file a bug until now though).

The problem was that the links in /lib/rc/{s,}bin were broken (pointing to /var/tmp/paludis*/sbin/rc instead of /sbin/rc).
The solution is simple, just relink all those files to /sbin/rc as root:
Code:
for i in /lib/rc/{s,}bin/*; do ln -sf /sbin/rc $i; done


just follow the google result and find this thread, which is really outdated for now (2016),
this softlink trick killed my rc,

my solution is
Code:
emerge -1 openrc


which just tell openrc to replace all related files again, which fixed
Code:
shell_var: command not found
for me
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum