[systemd-devel] FW: pthread_create() fails SysV in myDaemon on boot

Michael D. Berger m.d.berger at ieee.org
Thu Nov 3 09:41:05 PDT 2011


> -----Original Message-----
> From: Michal Schmidt [mailto:mschmidt at redhat.com] 
> Sent: Thursday, November 03, 2011 09:05
> To: Michael D. Berger
> Cc: systemd-devel at lists.freedesktop.org
> 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
> >> <m_d_berger_1900 at yahoo.com>  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
m.d.berger at ieee.org
http://www.rosemike.net/
 



More information about the systemd-devel mailing list