Page 1 of 1
Why is sysctl.d folder missing?
Posted: Wed Mar 09, 2022 5:26 pm
by nevets
Hi, this is a whole disc install on 3rd March iso...
Does anyone know why the latest install is missing the sysctl.d folder in /etc ?
Steve
Re: Why is sysctl.d folder missing?
Posted: Wed Mar 09, 2022 9:28 pm
by RodMyers
is that a linux thing?
I don't see it my ghostBSD install.
Re: Why is sysctl.d folder missing?
Posted: Thu Mar 10, 2022 1:00 am
by nevets
Hi Rod.
It was there back in the old Trident days... useful to keep the native instal clean and just drop your own .conf overlays. Just gone missing recently for some reason.
I used it to set this content:
## To have smartd start at boot
## smartmontools
smartd_enable="YES"
## Disable opening syslogd network socket (disables remote logging)
syslogd_flags="-ss"
There's also /etc/rc.conf.d/ missing too for holding additional .conf files there.
The startup init files no longer point to the conf file folders [sysctl.d and rc.conf.d] so they've been modified.
In moving from openrc to rc did someone then think these directories were part of openrc - I didn't think so but could be mistaken. Do you have a FreeBSD stable on hand to check?
Personally I prefer keeping the rc.conf and sysctl.conf files pristine from the initial instal, and using the subfolders to finesse my system.
Steve
Re: Why is sysctl.d folder missing?
Posted: Thu Mar 10, 2022 8:22 am
by RodMyers
FreeBSD & GhostBSD use /etc/rc.conf for many of those things
To be honest, I don't remember too many things regarding setup in both incarnations of PT