Bug 27875

Summary: invoked on boot, SIGHUP is delivered and rplayd exits
Product: Ports & Packages Reporter: SANETO Takanori <sanewo>
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
file.diff none

Description SANETO Takanori 2001-06-04 15:00:09 UTC
rplayd-3.3.2 installed from ports.
When booting up the system, rplayd is invoked from rc.d and after a while,
it exits.
Using ktrace, it seems getting SIGHUP. (and it is normal for rplayd to exit when it gets SIGHUP)

Fix: With the following patch, using daemon(3) instead of just fork()ing
seems solving this problem.
I don't know which combination of the arguments to daemon(3) will be
appropreate for rplayd.
How-To-Repeat: 
Just like as described above.
Comment 1 Norikatsu Shigemura freebsd_committer freebsd_triage 2003-01-30 17:31:16 UTC
State Changed
From-To: open->closed

Committed, thanks! and sorry too late.