3 ms·
> I thought (and the manpages always indicated) that the rule was that /etc/rc and /etc/rc.conf were fair game, and that if you wanted to make changes that were
by seryoiupfurds 12y ago
> I thought (and the manpages always indicated) that the rule was that /etc/rc and /etc/rc.conf were fair game, and that if you wanted to make changes that weren't overwritten by a system upgrade, to put them in /etc/rc.local and /etc/rc.conf.local. I'm unclear why this is considered a problem.
For the most part that's true, but /etc/rc.local is run fairly late, so if you have a sufficiently-crazy setup you might have to edit /etc/rc.
For example, before softraid crypto was integrated into the bootloader I modified /etc/rc to prompt for the keyphrase before it tried to mount the disks.
- ghshephard 12y agoUnderstood - but, at least you have been forewarned by the man pages, that any changes you've made to /etc/rc are going to have to be carried forward, because after an upgrade, /etc/rc will be wiped and set to the operating system version. I'm a basic novice when it comes to OpenBSD (But a huge fan), and that, in addition to discovering that you keep all the old versions of every library ever installed when upgrading, where two things that I had been taught - so I presume that the knowledge was universal.
- stsp 12y agoBase libraries are not removed automatically but libraries from packages are (though sometimes they stay in limbo as .libs- package, e.g. if pkg_add is interrupted).