On 08/13/2012 05:07 PM, Jim Mankovich wrote:
> Jan,
> 
> In looking at the man pages for init, init(5) in particular, there is an
> init script option
> "expect fork" which you must use if the job's main process will
> fork.     So, if anyone is
> using an init script to start up ipmievd today your change will require
> them to change
> their init script to use "expect fork".  Otherwise, init won't be
> monitoring the correct
> process and the current init script won't work correctly.

What init is it? From the description it looks like upstart. Does anyone
uses ipmievd as upstart job? I don't have much experience with it. Even
Ubuntu still ships ipmievd init script, i.e. ipmievd is started via init
script /etc/init.d/ipmievd, which won't run under PID=1.

Jan

> 
> -- Jim Mankovich | j...@hp.com | 303-440-4047 (MST) --
> 
> On 8/13/2012 6:44 AM, Jan Safranek wrote:
>> Hi,
>>
>> instead of adding systemd code to ipmitool, I tried to find out what is
>> really wrong with impievd so systemd cannot start it. It's quite
>> difficult to debug systemd and a daemon together, but finally I got results.
>>
>> It turns out that the ipmievd does not fork() at all if it is started
>> under PID=1. That was the last thing I would expect :), that's why it
>> took so much time, I was looking for bugs elsewhere.
>>
>> Attached you can find another patch, now it's very simple and without
>> any copyright notices.
>>
>> Is there any other init system, which starts service with parent PID=1?
>> I.e. does the patch break anything?
>>
>> Jan
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and 
>> threat landscape has changed and how IT managers can respond. Discussions 
>> will include endpoint security, mobile security and the latest in malware 
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>
>>
>> _______________________________________________
>> Ipmitool-devel mailing list
>> Ipmitool-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/ipmitool-devel
> 


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to