Hey FreeBSD people :)

I have a particular service in one of my (many) jails, which I need to run as root, so it can manage the jailed ZFS datasets properly.

To achieve this, I guess editing the rc script in /usr/local/etc/rc.d/ would be the easiest option, but is it the best one?

As I don't know if the rc script could get overwritten in the future by pkg update, I would probably edit a copy and create a symbolic link to it.

Is this something that you would do as well?

0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.bsd.cafe/users/subnetspider/statuses/115672851497933372 on your instance and quote it. (Note that quoting is not supported in Mastodon.)