Summary: | sys-apps/openrc - services containing two dots are ignored by rc-status | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | mike <mishanq> |
Component: | OpenRC | Assignee: | OpenRC Team <openrc> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=350910 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
mike
2012-07-03 08:37:24 UTC
The *other* property all those service names have in commmon is that they are symlinks to a full path target. Try setting symlinks relative to the target's directory, and see if that works. Bug is present not only with symlinks. Special, to verify this was made "exeperiment" to /etc/init.d/x.y.z You can reproduce it. (In reply to comment #2) > Bug is present not only with symlinks. > Special, to verify this was made "exeperiment" to /etc/init.d/x.y.z > You can reproduce it. I'm using current openrc head (basically openrc-0.10.4), and I did the following. First, I have a service I call x that just prints a message when it starts and stops. # cd /etc/init.d # ln -s x x.y # ln -s x x.y.z # rc-update add x default # rc-update add x.y default # rc-update add x.y.z default All services could be seen by rc-status and they stopped and started successfully. So if I understand your description correctly, this is already fixed. Can you try with openrc-0.10.4? Thanks, William Thank you, William. After updating to the latest version (0.10.4) everything works correctly. Services start fine from runlevels/default. |