Bug 148868

Summary: [patch] mail/spampd - set the correct signal for sig_stop
Product: Ports & Packages Reporter: Daniel Gerzo <danger>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
spampd.in.diff none

Description Daniel Gerzo freebsd_committer freebsd_triage 2010-07-23 15:40:05 UTC
in /etc/rc.subr, we have _run_rc_killcmd() function, which does this:
_cmd="kill -$1 $rc_pid".

When we set sig_stop to -KILL, the kill command receives wrong signal
(i.e. "--KILL") so it silently sends a wrong signal.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-07-23 15:41:43 UTC
Responsible Changed
From-To: freebsd-ports-bugs->danger

Submitter has GNATS access (via the GNATS Auto Assign Tool)
Comment 2 Daniel Gerzo freebsd_committer freebsd_triage 2010-07-23 15:43:17 UTC
Responsible Changed
From-To: danger->freebsd-ports-bugs

back to the pool as I am not ports committer
Comment 3 Tilman Keskinoz freebsd_committer freebsd_triage 2010-07-28 16:58:47 UTC
State Changed
From-To: open->closed

committed, thanks
Comment 4 dfilter service freebsd_committer freebsd_triage 2010-07-28 16:58:54 UTC
arved       2010-07-28 15:58:40 UTC

  FreeBSD ports repository

  Modified files:
    mail/spampd          Makefile 
    mail/spampd/files    spampd.in 
  Log:
  Fix sig_stop in rc.d script
  Bump PORTREVISION
  
  PR:             148868
  Submitted by:   danger
  
  Revision  Changes    Path
  1.12      +1 -1      ports/mail/spampd/Makefile
  1.6       +1 -1      ports/mail/spampd/files/spampd.in
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"