Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to see errormessage from OpenRC? [Solved]
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
Spanik
l33t
l33t


Joined: 12 Dec 2003
Posts: 939
Location: Belgium

PostPosted: Wed Jun 26, 2013 7:50 pm    Post subject: how to see errormessage from OpenRC? [Solved] Reply with quote

When booting I see that at the last part of OpenRC, just before the login prompt there are 3 lines starting with *. But there is a clear screen just after those lines and then the login prompt comes. And they go by too fast to read anything of them. Now those lines are not in any log I can find in /var/log. In /run/openrc/failed there is also nothing.

The pc seems to work but I would like to read those lines... Can anybody tell me where those lines are in a log or how to prevent the clear screen before the login promt?
_________________
Expert in non-working solutions


Last edited by Spanik on Sat Jun 29, 2013 2:36 pm; edited 1 time in total
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Wed Jun 26, 2013 10:15 pm    Post subject: Reply with quote

Modify the first tty line in /etc/inittab to include the --noclear option like so
Code:
c1:12345:respawn:/sbin/agetty --noclear 38400 tty1 linux
This used to be the default behavior. It will prevent the tty from clearing after boot up.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
Spanik
l33t
l33t


Joined: 12 Dec 2003
Posts: 939
Location: Belgium

PostPosted: Thu Jun 27, 2013 5:48 pm    Post subject: Reply with quote

Succes, but not completely...

I added the --noclear and now I can read the three lines: start-stop-deamon: failed to start '/usr/bin/wpa_supplicant' is the first and that is no surprise as I'm fighting to get wireless running on this laptop.

But the bigger issue is that now I cannot login anymore! It stops after * Starting local [ok]. Then it says INIT: Id "c1" respawning too fast: disabled for 5 minutes.

I'm digging out the minimal install cd. If anyone has a better idea in the meantime.

EDIT: lost my complete KDE configuration after this. No idea why that should any influence.
_________________
Expert in non-working solutions


Last edited by Spanik on Sat Jun 29, 2013 2:36 pm; edited 1 time in total
Back to top
View user's profile Send private message
Goverp
Veteran
Veteran


Joined: 07 Mar 2007
Posts: 1966

PostPosted: Fri Jun 28, 2013 8:14 am    Post subject: Re: how to see errormessage from OpenRC? Reply with quote

Spanik wrote:
...
Can anybody tell me where those lines are in a log or how to prevent the clear screen before the login promt?

In case you've not already done so, change
Code:
rc_logger="YES"
in /etc/rc.conf, and you should get some logging (not much) in /var/log/rc.log
_________________
Greybeard
Back to top
View user's profile Send private message
Spanik
l33t
l33t


Joined: 12 Dec 2003
Posts: 939
Location: Belgium

PostPosted: Sat Jun 29, 2013 2:35 pm    Post subject: Reply with quote

Thanks, got a nice rc.log this time without any side-effects. Even better I don't have any red items anymore.

Going to open another thread for wireless because I'm not getting anywhere with that.
_________________
Expert in non-working solutions
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