[asterisk-bugs] [Asterisk 0010766]: Don't change dir to '/' on fork, dump the core right.
noreply at bugs.digium.com
noreply at bugs.digium.com
Thu Sep 20 15:57:58 CDT 2007
The following issue has been ASSIGNED.
======================================================================
http://bugs.digium.com/view.php?id=10766
======================================================================
Reported By: xrg
Assigned To: russell
======================================================================
Project: Asterisk
Issue ID: 10766
Category: Core-General
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
Asterisk Version: 1.4.11
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 09-20-2007 04:05 CDT
Last Modified: 09-20-2007 15:57 CDT
======================================================================
Summary: Don't change dir to '/' on fork, dump the core
right.
Description:
When asterisk forks processes, it chdirs to '/'. That means sometimes that
the core cannot be dumped, as the asterisk process is no more uid=root.
======================================================================
----------------------------------------------------------------------
svnbot - 09-20-07 15:57
----------------------------------------------------------------------
Repository: asterisk
Revision: 83348
------------------------------------------------------------------------
r83348 | russell | 2007-09-20 15:57:57 -0500 (Thu, 20 Sep 2007) | 4 lines
When daemonizing, don't change working directory to "/". It makes it not
be
able to do a core dump when not running as uid=root.
(closes issue http://bugs.digium.com/view.php?id=10766, xrg)
------------------------------------------------------------------------
Issue History
Date Modified Username Field Change
======================================================================
09-20-07 15:57 svnbot Checkin
09-20-07 15:57 svnbot Note Added: 0070855
09-20-07 15:57 svnbot Status new => assigned
09-20-07 15:57 svnbot Assigned To => russell
======================================================================
More information about the asterisk-bugs
mailing list