pthread_create() fails SysV in myDaemon on boot

Michael D. Berger m.d.berger at ieee.org
Wed Nov 2 23:03:14 UTC 2011


> -----Original Message-----
> From: users-bounces at lists.fedoraproject.org 
> [mailto:users-bounces at lists.fedoraproject.org] On Behalf Of 
> Rick Stevens
> Sent: Wednesday, November 02, 2011 18:03
> To: Community support for Fedora users
> Subject: Re: pthread_create() fails SysV in myDaemon on boot
> 
[...]
> 
> When you start it via the initscripts (/etc/init.d), are you 
> doing as the root user or as an unprivileged user?  I'm 
> suspecting a permissions issue here in that the threads 
> (actually lightweight processes) are being run as different users.
> 
> You might try using "ps uax -L" and looking at the various 
> threads involved to see who's running what.
[...]

Its all done as root.  "ps uax -L" shows six rows for myDaemon,
which is about right for the number of threads.

Mike.
--
Michael D. Berger
m.d.berger at ieee.org
http://www.rosemike.net/
   



More information about the users mailing list