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
F107146107: D47716.diff
Fri, Jan 10, 8:08 PM
Unknown Object (File)
Dec 2 2024, 8:49 AM
Unknown Object (File)
Nov 29 2024, 7:45 AM
Unknown Object (File)
Nov 25 2024, 3:23 PM
Unknown Object (File)
Nov 25 2024, 3:23 PM
Unknown Object (File)
Nov 24 2024, 5:06 PM
Unknown Object (File)
Nov 24 2024, 6:38 AM
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.