John Andersen wrote:
On Mon, May 5, 2008 at 2:55 PM, Sloan
wrote: John Andersen wrote: On Mon, May 5, 2008 at 2:33 PM, Sloan
wrote: Close, but no cigar. HUP means "hangup" as when a session is ended (revealing AT&T roots)
Joe
Perhaps historically, but not with regard to daemons in linux.
In that context, specifically in this case with regard to the logging daemon, it is as Sam and I mentioned, a signal to the daemon to re-initialize.
Trust me, HUP is still "hangup" -
Joe
Sigh.... We were trying to be helpful. You are trying to be pedantic.
But since you insist, please explain to the OP why the logger daemon sees a hangup signal and keeps right on running.
Because most deamons are written to CATCH the signal SIGHUP. for more info: man 2 signal There is nothing inherent about a deamon using SIGHUP to re-read a config file... it's only there *IF* somone writes a signal handler for SIGHUP.
Try to make it perfectly clear, but DO by all means stick strictly to the definitions originally developed for Unix in the Pleistocene.
Signal still works the same way in Linux. What Sloan and I are TRYING to to is give the man the correct model... not a model which applies ONLY to deamons, but is completely WRONG for all other processes. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org