Today I ran into an issue upon booting, where a service (
I guess that to fix it for my machine, at least until the next update of the port, I could just add
The complication with the latter is that you don't need
I've been looking at stuff like
step-ca, of security/step-certificates) failed, saying that it could not connect to mysql. Manually starting it after boot time worked fine. I guessed that it was trying to start up before mysql had, and rcorder seemed to confirm this (listing it earlier than mysql-server).I guess that to fix it for my machine, at least until the next update of the port, I could just add
REQUIRE: mysql to /usr/local/etc/rc.d/step-ca. But I don't know how to fix it permanently for my machine (e.g. is there some other place I can put that require, where it won't get thrown away the next time the port is updated), and I also don't understand how -- or even if -- it should be "really" fixed (i.e. not just for my machine):The complication with the latter is that you don't need
mysql to run step-ca. It's just something that you can configure it to use. I have so configured it, but not everybody would. And to be clear, "you can configure it" here means that there are runtime options you can set via the program's standard configuration -- not anything OS-specific like a FreeBSD ports system build option (security/step-certificates doesn't have any options at all).I've been looking at stuff like
man rcorder, and although I easily could have missed it, I've yet to find anything explaining how to deal with possibilities like this.