I have a service called xboxdrvd that is triggered (and only activated/deactivated) by a udev rule, however always calling rc-status I got that the service was started on "manual" runlevel:


The hotplugged is not for that type of events? I did read the gentoo docs, but there is not so much thing on there.

  • Please post the output of cat /etc/rc.conf | grep "rc_hotplug="
    – MC68020
    Mar 23, 2022 at 9:23

1 Answer 1


For OpenRC to display a service as being hotplugged, IN_HOTPLUG=1 must be in the environment when the service is being started, like so:

IN_HOTPLUG=1 /etc/init.d/myservice start

Source: I looked at OpenRC’s code to figure this out for a project of mine; this is the relevant line: https://github.com/OpenRC/openrc/blob/301161a7a4bda27c7ebd54c537dfec0cbc926365/src/rc/openrc-run.c#L610

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .