On Thursday, October 25, 2001, at 03:27 PM, Ken Jones wrote:
> On Thu, 2001-10-25 at 14:29, Steve Fulton wrote: >> Hey, >> >> I noticed some time ago that when I added/deleted domains using >> Vqadmin, >> it restarted Qmail by killing the process. However, on our servers, we >> start/stop/restart Qmail using the LWQ scripts. So, what happens is >> that >> Qmail actually gets started twice - once by Vqadmin, then by svc when >> it >> sees that Qmail disappeared. > > vpopmail lib is trying to send a HUP signal to qmail-send. What > happens with the LWQ style is it finds two processes, the > qmail-send and a supervise and gets confused. > >> >> Has anyone else had this problem? Found a solution? Suggestions? > > My suggestion is don't use supervise :) > I would track it down, but I don't have a machine setup > with the LWQ way, and i've got other things to do. > > If you want to let me test on your machine, or find the change > yourself, lemme know. > > Check the place that calls "kill" with the HUP signal. Ken, Didn't you already deal with this? I remember seeing something in the ChangeLog about filtering out "supervise" when figuring out which pid to HUP. Can't vqadmin just do the same thing? -Bill
