Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 639004 - app-admin/needrestart missing dependency: sys-apps/init-system-helpers
Summary: app-admin/needrestart missing dependency: sys-apps/init-system-helpers
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-27 20:22 UTC by Nick Soveiko
Modified: 2024-06-02 09:06 UTC (History)
2 users (show)

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 Nick Soveiko 2017-11-27 20:22:51 UTC
app-admin/needrestart installs /usr/sbin/needrestart which assumes that /sbin/service is present on the system. however, as per '2017-10-13-openrc-service-binary-removal' news item, this is no longer the case automatically:

"OpenRC 0.33 will remove the "service" binary, which was just a copy of
the "rc-service" binary.

If you only use rc-service this will not affect you. However, if you
still need the "service" command, you should install
sys-apps/init-system-helpers."
Comment 1 Larry the Git Cow gentoo-dev 2017-11-29 03:20:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0967107ad37b03d039364538414602a6fabd23e9

commit 0967107ad37b03d039364538414602a6fabd23e9
Author:     Craig Andrews <candrews@gentoo.org>
AuthorDate: 2017-11-29 03:18:09 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2017-11-29 03:18:09 +0000

    app-admin/needrestart: Depend on sys-apps/init-system-helpers
    
    Closes: https://bugs.gentoo.org/639004
    Package-Manager: Portage-2.3.16, Repoman-2.3.6

 app-admin/needrestart/Manifest                   |  4 +--
 app-admin/needrestart/needrestart-2.11-r1.ebuild | 41 ++++++++++++++++++++++++
 app-admin/needrestart/needrestart-9999.ebuild    |  1 +
 3 files changed, 44 insertions(+), 2 deletions(-)
Comment 2 Craig Andrews gentoo-dev 2017-11-29 03:20:23 UTC
Thank you for reporting this issue!
Comment 3 Nick Soveiko 2017-11-29 04:08:28 UTC
hmm, wouldn't the hard dependency cause problems for <sys-apps/openrc-0.33, of which there are still several versions in the tree?