View previous topic :: View next topic |
Author |
Message |
tld Veteran
Joined: 09 Dec 2003 Posts: 1845
|
Posted: Sun Jul 24, 2016 2:35 pm Post subject: |
|
|
mv wrote: | It seems that all these problems are related with the necessity to calculate implicitly SVCNAME from the filename. Strictly speaking, such an implicit dependency on the filename indeed is not nice for a unix system but it lies somewhat at the heart of the openrc concept. | The linked file is definitely on the same file system. However I just revisited what breaks with the symlinks in my case and you hit the nail on the head. SVCNAME is picking up the name of the linked file and not the name of the originating link in /etc/init.d. In our case that's not the service name. I'm a little confused as to why that doesn't happen, for example, with net.eth0 -> net.lo just because it's in the same directory.
EDIT: I just noticed that this is expressly listed under BUGS in "man openrc-run":
Code: | Because of the way we load our configuration files and the need to handle more
than one service directory, you can only use sym‐ links in service directories
to other services in the same directory. You cannot symlink to a service in a
different directory even if it is another service directory. |
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|