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)
Tue, Feb 18, 11:18 AM
Unknown Object (File)
Tue, Feb 18, 4:54 AM
Unknown Object (File)
Mon, Feb 10, 7:11 AM
Unknown Object (File)
Mon, Feb 10, 12:42 AM
Unknown Object (File)
Sat, Feb 8, 8:35 PM
Unknown Object (File)
Sat, Jan 25, 5:27 PM
Unknown Object (File)
Jan 11 2025, 12:08 AM
Unknown Object (File)
Jan 10 2025, 8:08 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.