Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

Unknown issue during booting with sshd service

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
madurani
n00b
n00b
Posts: 57
Joined: Wed Mar 08, 2017 8:10 am

Unknown issue during booting with sshd service

  • Quote

Post by madurani » Fri Oct 04, 2019 11:03 am

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: Select all

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 ]

Top
bunder
Bodhisattva
Bodhisattva
Posts: 5956
Joined: Sat Apr 10, 2004 5:13 am

  • Quote

Post by bunder » Fri Oct 04, 2019 11:43 am

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
Top
madurani
n00b
n00b
Posts: 57
Joined: Wed Mar 08, 2017 8:10 am

  • Quote

Post by madurani » Fri Oct 04, 2019 11:54 am

No I use OpenRC.
Top
bunder
Bodhisattva
Bodhisattva
Posts: 5956
Joined: Sat Apr 10, 2004 5:13 am

  • Quote

Post by bunder » Fri Oct 04, 2019 12:02 pm

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
Top
Jaglover
Watchman
Watchman
User avatar
Posts: 8291
Joined: Sun May 29, 2005 1:57 am
Location: Saint Amant, Acadiana

  • Quote

Post by Jaglover » Fri Oct 04, 2019 12:08 pm

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!
Top
madurani
n00b
n00b
Posts: 57
Joined: Wed Mar 08, 2017 8:10 am

  • Quote

Post by madurani » Fri Oct 04, 2019 12:43 pm

Code: Select all

pc-rasto /var/log # cat /etc/portage/make.conf | grep ACCEPT_KEYWORDS
ACCEPT_KEYWORDS="~amd64"
Top
madurani
n00b
n00b
Posts: 57
Joined: Wed Mar 08, 2017 8:10 am

  • Quote

Post by madurani » Fri Oct 04, 2019 1:25 pm

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
Top
Jaglover
Watchman
Watchman
User avatar
Posts: 8291
Joined: Sun May 29, 2005 1:57 am
Location: Saint Amant, Acadiana

  • Quote

Post by Jaglover » Fri Oct 04, 2019 2:07 pm

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!
Top
DigitalCorpus
Apprentice
Apprentice
User avatar
Posts: 283
Joined: Mon Jul 30, 2007 10:43 am
Contact:
Contact DigitalCorpus
Website

  • Quote

Post by DigitalCorpus » Thu Nov 07, 2019 5:02 am

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.
Top
Post Reply

9 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic