Page MenuHomeFreeBSD

inetd.8: Remove the enumeration of examples
ClosedPublic

Authored by ivy on Sep 25 2025, 8:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 5, 6:33 PM
Unknown Object (File)
Thu, Dec 4, 11:15 PM
Unknown Object (File)
Thu, Dec 4, 11:15 PM
Unknown Object (File)
Thu, Dec 4, 4:07 AM
Unknown Object (File)
Thu, Nov 27, 2:19 PM
Unknown Object (File)
Thu, Nov 20, 1:22 AM
Unknown Object (File)
Thu, Nov 20, 1:21 AM
Unknown Object (File)
Thu, Nov 20, 1:16 AM

Details

Summary

The user can trivially see the list of examples in /etc/inetd.conf
by looking at the file, so there's no need to include an entire
paragraph in the manual enumerating the examples which are provided.

MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ivy requested review of this revision.Sep 25 2025, 8:00 PM
kevans added inline comments.
usr.sbin/inetd/inetd.8
791

FWIW, I think removing these is fair game. It's just one more list to get stale, and it doesn't help me evaluate the implementation at all if I'm just browsing the manpage via the web interface or something like that.

818

I would argue for keeping this list, though.

usr.sbin/inetd/inetd.8
818

Actually, I guess I wouldn't- it's a duplicate of the same list from DESCRIPTION. I wouldn't mind making that list an actual list, though, rather than inline with a bunch of other text.

0mp added a subscriber: 0mp.

Listing those things with Nm makes little sense so removing them is a good idea. I would contemplate adding references to inetd(8) in the manual pages of the programs listed here though. But that's out of scope for this change.

This revision is now accepted and ready to land.Oct 31 2025, 3:55 PM

(not a inetd-sme) I thought they were Nm because these utilities are part of inetd?

(not a inetd-sme) I thought they were Nm because these utilities are part of inetd?

AFAIU, these utilities are just called by inetd and are not internal. I've not checked the code but my understanding is that inetd is able to run any service the user specifies in the config file.

In D52740#1221574, @0mp wrote:

(not a inetd-sme) I thought they were Nm because these utilities are part of inetd?

AFAIU, these utilities are just called by inetd and are not internal. I've not checked the code but my understanding is that inetd is able to run any service the user specifies in the config file.

Correct- these aren't the internal services (except for the last paragraph removed), these are provided elsewhere. inetd(8) can work with anything that has some mode where it either detects or can be specified to interact with stdin/stdout as a socket.

This revision was automatically updated to reflect the committed changes.