From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030211 Description of problem: It is quite common practice to have /etc/mail/Makefile build site-specific configurations, e.g. antispam access control lists. It's very convenient for the system administrator if a simple "make" can rebuild all these files and restart sendmail. Unfortunately, in recent RedHat versions the sendmail startup script calls "make -s" in /etc/mail, resulting in an infinite loop. I would like to strongly recommend that the startup scripts use a named target instead (I use the name "auto") and leave the default target for use by the system administrator. This is a RedHat concern, because this requires a small change to the standard init scripts, lest every time sendmail is updated because of a security hole the sysadmin has to go in and patch the startup script again. Version-Release number of selected component (if applicable): sendmail-8.12.8-1.80 How reproducible: Always Steps to Reproduce: 1. Install the attached Makefile as /etc/mail/Makefile 2. Type "make" Actual Results: Infinite loop Expected Results: The files should have been constructed and sendmail restarted. Additional info: See also bug 85875.
Created attachment 90569 [details] Sample site-specific Makefile RedHat may want to steal some ideas from this script, in particular the "stop", "start" and "restart" targets are handy.
I have change the startup script to use the target "all" and added start/stop/restart targets greetings, Florian La Roche