Bug 148867

Summary: [patch] net-p2p/dcd - set the correct signal for sig_stop
Product: Ports & Packages Reporter: Daniel Gerzo <danger>
Component: Individual Port(s)Assignee: Andrej Zverev <az>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
dcd.sh.in.diff none

Description Daniel Gerzo freebsd_committer freebsd_triage 2010-07-23 15:40:03 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:39 UTC
Responsible Changed
From-To: freebsd-ports-bugs->az

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Daniel Gerzo freebsd_committer freebsd_triage 2010-07-27 20:34:42 UTC
State Changed
From-To: open->closed

- commited upon az's request
Comment 3 dfilter service freebsd_committer freebsd_triage 2010-07-27 20:34:43 UTC
danger      2010-07-27 19:34:34 UTC

  FreeBSD ports repository (doc committer)

  Modified files:
    net-p2p/dcd          Makefile 
    net-p2p/dcd/files    dcd.sh.in 
  Log:
  - fix the handling of sig_stop signal in the rc.d script
  
  PR:             148867
  Submitted by:   danger
  Approved by:    az (maintainer) via private email
  
  Revision  Changes    Path
  1.13      +1 -0      ports/net-p2p/dcd/Makefile
  1.5       +1 -1      ports/net-p2p/dcd/files/dcd.sh.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"