inetd startup script missing from /etc/rc.d in both -current and 11-stable

Ngie Cooper (yaneurabeya) yaneurabeya at gmail.com
Mon Apr 3 18:01:41 UTC 2017


> On Apr 3, 2017, at 07:00, tech-lists <tech-lists at zyxst.net> wrote:
> 
> Hello current@,
> 
> From https://www.freebsd.org/doc/handbook/network-inetd.html I should be
> able to start inetd like this:
> 
> service inetd start
> 
> ...after enabling it in /etc/rc.conf. The inetd options look like this:
> 
> inetd_enable="YES"
> inetd_program="/usr/sbin/inetd"
> inetd_flags="-wW -C 60"
> 
> The problem is that the startup script doesn't exist in /etc/rc.d. I get
> this error:
> 
> # service inetd start
> inetd does not exist in /etc/rc.d or the local startup
> directories (/usr/local/etc/rc.d), or is not executable
> 
> and the lines in rc.conf have no effect (inetd doesn't start).
> 
> I can, however, start it manually, as root, like this:
> 
> # inetd -wW -C 60
> 
> and it runs as expected.
> 
> This problem exists in 11-stable as well as -current. How can I fix this
> please?

Please double check your build options. If MK_INETD=no (WITHOUT_INETD=, typically) is set in src.conf, it won’t install this and other inetd-related items.
Thanks,
-Ngie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20170403/fa6c35eb/attachment.sig>


More information about the freebsd-current mailing list