Bug 27875 - invoked on boot, SIGHUP is delivered and rplayd exits
Summary: invoked on boot, SIGHUP is delivered and rplayd exits
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: 2001-06-04 15:00 UTC by SANETO Takanori
Modified: 2003-01-30 17:31 UTC (History)
0 users

See Also:


Attachments
file.diff (327 bytes, patch)
2001-06-04 15:00 UTC, SANETO Takanori
no flags Details | Diff

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