Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
williamh pushing usr merge
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6  
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
tld
Veteran
Veteran


Joined: 09 Dec 2003
Posts: 1845

PostPosted: Sun Jul 24, 2016 2:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6
Page 6 of 6

 
Jump to:  
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