Bug 148868 - [patch] mail/spampd - set the correct signal for sig_stop
Summary: [patch] mail/spampd - set the correct signal for sig_stop
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-23 15:40 UTC by Daniel Gerzo
Modified: 2010-07-28 17:00 UTC (History)
0 users

See Also:


Attachments
spampd.in.diff (305 bytes, patch)
2010-07-23 15:40 UTC, Daniel Gerzo
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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"