News for hackers. Stuff that matters.
Re:rc.d belongs in libexec, not etc by jmmv on Tuesday August 25, 2020 @06:36AM (#24269885)
/libexec is already on the root partition, at least on NetBSD, and that's why I wrote the paths that way in the article.

And that's why I also mentioned en passing that sourcing local files from a potential /usr/pkg/libexec/rc.d/ directory would be problematic.

In fact, even today, making rc.d files automatically work from installed packages is a problem precisely because of this: those files currently end up in /usr/pkg/etc/rc.d/, and /etc/rc cannot use them by default because /usr/pkg/ might be in a different partition. There have been endless and repeated discussions about this issue on the NetBSD mailing lists.

Re:rc.d belongs in libexec, not etc by DNied on Tuesday August 25, 2020 @02:34PM (#24274485)
Hence my usage of the word "keep". You can't move /libexec elsewhere.