> -----Original Message----- > From: Michal Schmidt [mailto:[email protected]] > Sent: Thursday, November 03, 2011 09:05 > To: Michael D. Berger > Cc: [email protected] > Subject: Re: [systemd-devel] FW: pthread_create() fails SysV > in myDaemon on boot > > On Wed, Nov 2, 2011 at 1:59 PM, Michael D. Berger > >> <[email protected]> wrote: > >>> In F15_64, on starting SysV myDaemon in level 3, with S99myDaemon > >>> > >>> rtn = pthread_create() fails with: > >>> rtn=1=Operation not permitted > > Can you produce a minimal testcase for us to reproduce the problem? > > Does this look related?: > https://bugzilla.redhat.com/show_bug.cgi?id=655321 > > Michal [...]
In the link you provided, I found: in /etc/systemd/system.conf, change #DefaultControllers=cpu into DefaultControllers= That, in fact, got myDaemon to start on boot. However, in starting a TCP listener socket, from "bind(...)" I now get EADDRNOTAVAIL which is explained in "man 2 bind", so I am still not operational. I have no such problem when, as root, I run "/etc/init.d/myDaemon start". This is complex code, and a minimal testcase would take some work. I'll run any test you like. However, if you still really need the testcase, please let me know, and I'll work on it. Thanks, Mike. -- Michael D. Berger [email protected] http://www.rosemike.net/ _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
