[Mono-bugs] [Bug 489019] mono throwing exception while closing file descriptor 0

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Apr 22 10:08:53 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=489019

User gnorton at novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=489019#c29


Geoff Norton <gnorton at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |REOPENED
                 CC|                            |gnorton at novell.com
      Info Provider|miguel at novell.com           |




--- Comment #29 from Geoff Norton <gnorton at novell.com>  2009-04-22 08:08:52 MDT ---
>From the daemon manpage:

SYNOPSIS
       #include <unistd.h>

       int daemon(int nochdir, int noclose);

       Unless the argument nochdir is non-zero, daemon() changes  the  current
       working directory to the root ("/").

       Unless  the  argument noclose is non-zero, daemon() will redirect stan-
       dard input, standard output and standard error to /dev/null.

Assuming you used the exact same test case, I presume you dont have permission
to write to /test-file.log

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list