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)
Sun, Oct 5, 5:06 AM
Unknown Object (File)
Thu, Sep 18, 3:40 AM
Unknown Object (File)
Aug 17 2025, 3:40 AM
Unknown Object (File)
Aug 16 2025, 10:51 AM
Unknown Object (File)
Aug 5 2025, 12:53 PM
Unknown Object (File)
Aug 5 2025, 4:27 AM
Unknown Object (File)
Aug 4 2025, 11:55 PM
Unknown Object (File)
Aug 1 2025, 11:17 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.