Page MenuHomeFreeBSD

rc.conf: Update commented examples for lo0 to use CIDR
ClosedPublic

Authored by jhb on Nov 23 2024, 5:10 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jul 4, 5:16 PM
Unknown Object (File)
May 30 2026, 5:15 PM
Unknown Object (File)
May 29 2026, 3:40 AM
Unknown Object (File)
May 26 2026, 7:35 AM
Unknown Object (File)
May 26 2026, 7:35 AM
Unknown Object (File)
May 19 2026, 7:00 AM
Unknown Object (File)
May 14 2026, 3:04 PM
Unknown Object (File)
May 7 2026, 3:06 PM
Subscribers

Details

Summary

In particular, a bare IP address no longer works.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 60744
Build 57628: arc lint + arc unit

Event Timeline

jhb requested review of this revision.Nov 23 2024, 5:10 PM
This revision is now accepted and ready to land.Nov 23 2024, 5:22 PM
bz added a subscriber: emaste.
bz added inline comments.
libexec/rc/rc.conf
266

Technically this should be sysctl -n net.inet.ip.loopback_prefixlen; adding @emaste for this given he looked into enabling some of the experimental draft bits lately.

268

We could also change those to /64 and be done but that's for another reason.

emaste added inline comments.
libexec/rc/rc.conf
266

Maybe add # See the net.inet.ip.loopback_prefixlen sysctl? Or we just leave this alone until/unless we change the default and update this commented setting at the same time.