[решено]service: команда не найдена

calculate ~ # service bluetooth restart
-su: service: команда не найдена

Поиск выдает проблему с путями, но дело явно не в этом.

calculate ~ # which service
which: no service in (/usr/lib/llvm/8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/games/bin)

calculate ~ # ls /sbin | grep service
rc-service

О как. И теперь поиск дает вот это:

Title: OpenRC “service” binary removal
Author: William Hubbs williamh@gentoo.org
Display-If-Installed: <=sys-apps/openrc-0.33
Content-Type: text/plain
Posted: 2017-10-13
Revision: 1
News-Item-Format: 1.0

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.

Т.е. можно использовать 2 варианта решения:

  1. emerge sys-apps/init-system-helpers
  2. cp /sbin/rc-service /sbin/service
    Оба работают. Что кроме линка ставится с пакетом sys-apps/init-system-helpers не разбирался.