The program /usr/lib/linuxconf/lib/sendmail-check and samba-check
has been written. They should be used in system init script to make
them reliable. Currently, if you do some changes in sendmail configuration
or samba, Linuxconf can't tell reliably if those services have to be restarted
or not (wasting time of the admin).
I have written to FAQ entry to explain how they should be installed.