Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 641836 - sys-apps/init-system-helpers with net-misc/openssh - sshd fails to start
Summary: sys-apps/init-system-helpers with net-misc/openssh - sshd fails to start
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Austin English (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-20 19:09 UTC by lperkins
Modified: 2018-04-16 20:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lperkins 2017-12-20 19:09:13 UTC
Using openrc
sshd is not set to start automatically

With sys-apps/init-system-helpers installed the system thinks that sshd is running on every bootup, even if it's not.

The effect seems to bleed over into calls to /etc/init.d/sshd status and rc-service status

As a result sshd cannot be started with the start directive and because there's no pidfile because it's not actually running it can't be stopped with the stop directive.  You can zap it and you can start it with restart, but the bad state returns on the next reboot.

Uninstalling sys-apps/init-system-helpers and rebooting clears the problem.

Other system services seem to be unaffected for some reason.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2017-12-22 16:35:44 UTC
1) Perhaps the DESCRIPTION should be updated to upstream's "helper tools for all init systems" (even though it is now a singular tool, not plural).
2) Version 1.49 is no longer available from Debian. The current version is 1.51.
Comment 2 Larry the Git Cow gentoo-dev 2018-04-16 20:35:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54dea0df66ba2fd29542d6fb59aff5afaf034eb3

commit 54dea0df66ba2fd29542d6fb59aff5afaf034eb3
Author:     Brian Evans <grknight@gentoo.org>
AuthorDate: 2018-04-16 20:33:26 +0000
Commit:     Brian Evans <grknight@gentoo.org>
CommitDate: 2018-04-16 20:33:26 +0000

    sys-apps/init-system-helpers: Revbump to remove OpenRC symlink mgmt
    
    This function is just insane letting a script try to manage started
    instead of letting the init system handle it
    
    Closes: https://bugs.gentoo.org/641836
    Closes: https://bugs.gentoo.org/649014
    Package-Manager: Portage-2.3.28, Repoman-2.3.9

 .../files/revert-openrc-management.patch           | 32 ++++++++++++++++++++++
 .../init-system-helpers-1.49-r1.ebuild             | 29 ++++++++++++++++++++
 2 files changed, 61 insertions(+)