View previous topic :: View next topic |
Author |
Message |
madurani n00b
Joined: 08 Mar 2017 Posts: 57
|
Posted: Fri Oct 04, 2019 11:03 am Post subject: Unknown issue during booting with sshd service |
|
|
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 |
|
|
bunder Bodhisattva
Joined: 10 Apr 2004 Posts: 5939
|
Posted: Fri Oct 04, 2019 11:43 am Post subject: |
|
|
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 |
|
|
madurani n00b
Joined: 08 Mar 2017 Posts: 57
|
Posted: Fri Oct 04, 2019 11:54 am Post subject: |
|
|
No I use OpenRC. |
|
Back to top |
|
|
bunder Bodhisattva
Joined: 10 Apr 2004 Posts: 5939
|
Posted: Fri Oct 04, 2019 12:02 pm Post subject: |
|
|
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 |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
madurani n00b
Joined: 08 Mar 2017 Posts: 57
|
Posted: Fri Oct 04, 2019 12:43 pm Post subject: |
|
|
Code: | pc-rasto /var/log # cat /etc/portage/make.conf | grep ACCEPT_KEYWORDS
ACCEPT_KEYWORDS="~amd64" |
|
|
Back to top |
|
|
madurani n00b
Joined: 08 Mar 2017 Posts: 57
|
Posted: Fri Oct 04, 2019 1:25 pm Post subject: |
|
|
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 ...
Thanks |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
DigitalCorpus Apprentice
Joined: 30 Jul 2007 Posts: 283
|
Posted: Thu Nov 07, 2019 5:02 am Post subject: |
|
|
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 |
|
|
|