[systemd-devel] FW: pthread_create() fails SysV in myDaemon on boot
Michael D. Berger
m.d.berger at ieee.org
Wed Nov 2 18:07:32 PDT 2011
It was suggested that I send below problem to you.
I tried to join the list but it didn't work.
Mike.
--
Michael D. Berger
m.d.berger at ieee.org
http://www.rosemike.net/
> -----Original Message-----
> From: users-bounces at lists.fedoraproject.org
> [mailto:users-bounces at lists.fedoraproject.org] On Behalf Of
> T.C. Hollingsworth
> Sent: Wednesday, November 02, 2011 20:03
> To: Community support for Fedora users
> Subject: Re: 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
> >
> > man pthread_create says this means:
> > No permission to set the scheduling policy
> > and parameters specified in attr.
> >
> > This happens for:
> > policy = SCHED_FIFO
> > policy = SCHED_RR
> >
> > This code works if, after boot, I start it with:
> > /etc/init.d/myDaemon start
> >
> > and starts on boot in my old CentOS 5 box.
>
> You should ask the systemd devs about this:
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
> systemd-devel at lists.freedesktop.org
>
> If it works normally but not from systemd, it's probably a
> bug in the latter, or else something very strange is going on.
>
> -T.C.
> --
> users mailing list
> users at lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>
More information about the systemd-devel
mailing list