Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unknown issue during booting with sshd service
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
madurani
n00b
n00b


Joined: 08 Mar 2017
Posts: 57

PostPosted: Fri Oct 04, 2019 11:03 am    Post subject: Unknown issue during booting with sshd service Reply with quote

Hello Guys,

Could You please advise me about sshd service starting issue? I installed new Gentoo server and I have problem with this mentioned service. When server booting and services start in order, so after a netmount service is start process interrupted and stays wait to infinity. When I press some random keys on keyboard, process begins to continue with sshd service and all finish successfully with a login screen.

When I turn off sshd from openrc, starting finishes successfully without interruption to login screen. That is why I think, that problem is with sshd.

After starting sshd, service works properly. I got no idea why sshd waits for an interaction via keyboards.

Code:

pc-rasto /var/log # tail -10 rc.log
 [ ok ]
 * Mounting network filesystems ...
 [ ok ]

#Starting stops there and after pressing some keys on keyboard, process continues with sshd

 * Starting sshd ...
 [ ok ]
 * Starting local ...
 [ ok ]

Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5939

PostPosted: Fri Oct 04, 2019 11:43 am    Post subject: Reply with quote

if you are using systemd, you might be having a lack of entropy on boot. i think the typical fix is to install haveged.

cheers

edit: but that doesn't look like systemd, weird. :?
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017
Back to top
View user's profile Send private message
madurani
n00b
n00b


Joined: 08 Mar 2017
Posts: 57

PostPosted: Fri Oct 04, 2019 11:54 am    Post subject: Reply with quote

No I use OpenRC.
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5939

PostPosted: Fri Oct 04, 2019 12:02 pm    Post subject: Reply with quote

yeah, i thought so... i also thought it was a systemd only thing... no worries, i'd still give haveged a try though.
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Fri Oct 04, 2019 12:08 pm    Post subject: Reply with quote

Interesting, one of my computers does the same thing. It noticed it about a month ago, but since it is always on I forgot about this issue. Are you running ~arch or stable? Mine is ~amd64.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
madurani
n00b
n00b


Joined: 08 Mar 2017
Posts: 57

PostPosted: Fri Oct 04, 2019 12:43 pm    Post subject: Reply with quote

Code:
pc-rasto /var/log # cat /etc/portage/make.conf | grep ACCEPT_KEYWORDS
ACCEPT_KEYWORDS="~amd64"
Back to top
View user's profile Send private message
madurani
n00b
n00b


Joined: 08 Mar 2017
Posts: 57

PostPosted: Fri Oct 04, 2019 1:25 pm    Post subject: Reply with quote

bunder wrote:
if you are using systemd, you might be having a lack of entropy on boot. i think the typical fix is to install haveged.

cheers

edit: but that doesn't look like systemd, weird. :?


It look, that package "haveged" was good idea, server now start as is expected :D ...

Thanks
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Fri Oct 04, 2019 2:07 pm    Post subject: Reply with quote

madurani,

thank you for letting us know, and thanks to bunder for providing solution. :)
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
DigitalCorpus
Apprentice
Apprentice


Joined: 30 Jul 2007
Posts: 283

PostPosted: Thu Nov 07, 2019 5:02 am    Post subject: Reply with quote

I have the same problem. I’ll install that utility when I get home to see if that’s the problem/solution.

Update: Yep, entropy was the problem here too.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing 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