Forgive me if i have made an incorrect assumption here - I understand rc.conf.local is the preferred way to control deviations for the rc init. subsystem, but nowhere did i see documentation that stated rc.conf itself did not obey the conventions stated at the top of the file.

Fresh OpenBSD 5.0 install.

/etc/rc.conf was modified as follows:

# diff /etc/rc.conf /root/Defaults/rc.conf
49c49
< inetd_flags=NO                # for normal use: ""
---
> inetd_flags=""                # for normal use: ""
62,63c62
< #sendmail_flags="-L sm-mta -C/etc/mail/localhost.cf -bd -q30m"
< sendmail_flags=NO
---
> sendmail_flags="-L sm-mta -C/etc/mail/localhost.cf -bd -q30m"

After rebooting, inetd was still running:

# ps aux |grep inetd
root 21161 0.0 0.1 344 752 ?? Is 4:40PM 0:00.00 /usr/sbin/inetd


Regards,

James Robertson

Reply via email to