Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 904989

Summary: sys-apps/openrc: Runit compatibility expects /usr/bin/runsvdir, sys-process/runit: provides /bin/runsvdir
Product: Gentoo Linux Reporter: gentoo
Component: Current packagesAssignee: OpenRC Team <openrc>
Status: UNCONFIRMED ---    
Severity: normal CC: exogenesis
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description gentoo 2023-04-25 00:50:10 UTC
See /etc/init.d/runsvdir

Unsure what direction the fix for this should be in
Comment 1 Ryan G 2023-09-02 02:14:04 UTC
I was able to reproduce this.

The following fails to start:

```
emerge runit
rc-service start runsvdir
```

To inspect the line:

```
grep runsvdir /etc/init.d/runsvdir
```

On Void Linux `/bin/runsvdir` is a symlink to `/usr/bin/runsvdir`, this fixed it on my Gentoo:

```
ln -s (/bin/runsv*) /usr/bin
```

I also had to change the `USER` line to my username, the shell expansion didn't work.