[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: processing /etc/sysctl.d


On Wed, May 03, 2023 at 07:50:30PM -0400, Lee wrote:
> I'm at a loss for how to figure out why my settings aren't taking effect.
> $ head /etc/sysctl.d/local.conf


> # accept router advertisements
> net/ipv6/conf/enp1s0/accept_ra = 1

Is it possible that enp1s0 didn't yet exist at the time that
systemd-sysctl.service ran? To check, you could instead set the key

    net/ipv6/conf/default/accept_ra = 1

then any new interfaces should get accept_ra=1 as they are created.

Though when I look at my net/ipv6/conf/default/accept_ra it is
already set to 1, so another possibility is that you have something
that is setting net/ipv6/conf/enp1s0/accept_ra back to 0 after
systemd-sysctl.service already set it to 1. NetworkManager is known
to do this:


So, what are you using to manage enp1s0?


https://bitfolk.com/ -- No-nonsense VPS hosting

Reply to: