Bugzilla – Bug 231237
Sendmail queue runner does not start
Last modified: 2007-01-08 11:00:41 UTC
The Sendmail queue runner does not start in 10.2 and therefore messages in /var/spool/clientmqueue ever gt processed - this bug is somewhere in the start script as I have now copied the start script from my old 9.2 box which seems to start up everything correctly.
I have now compared the two startup scripts and it looks like the fix fot this bug would be to change line 61 to: startproc -f -p $msppid -i $srvpid /usr/sbin/sendmail $SENDMAIL_CLIENT_ARGS At least that works for me :)
Can confirm same problem (and the solution works for me as well) And while we are at it, there is also a problem with reload. Demonstration: 27284 ? Ss 0:00 sendmail: accepting connections 27295 ? Ss 0:00 sendmail: Queue control 27296 ? S 0:00 sendmail: running queue: /var/spool/clientmqueue /etc/init.d/sendmail reload results in the the sendmail: accepting connections to die. However, if I issue only the following command from the command line, # killproc -v -p /var/run/sendmail.pid -i /var/spool/clientmqueue/sm-client.pid -HUP /usr/sbin/sendmail SIGHUP sendmail(27295) SIGHUP sendmail(27284) then the queue control dies. This leads me to believe that killproc is not doing its job in relation to -i Is it possible that it gets confused by the fact that the sendmail pid files, unlike more pid files, also have a second line with the initiating arguments? (sorry no more time for experiments)
So maybe this bug is really a sysvinit bug and the behaviour of startproc and killproc has changed? - I have just checked on SuSE 10.1 where the -f flag is not present in the start script but everything starts up fine on 10.1
Please install the fixed sysvinit package which should fix the startproc utility. *** This bug has been marked as a duplicate of bug 228115 ***