Fw: Need some thoughts on systemd service file

Vishwanatha Subbanna vishwanath at in.ibm.com
Fri Jun 17 03:41:00 AEST 2016



hello Team,

So here is what I am trying to do with :
https://github.com/vishwabmc/openbmc/commit/f28651bb92bc7af6b503c9ca07aa8d76a3f0660c

1/. Point bb to the git repo with commit #
c69c3d30fd7d5fd04ba990788b6d75b19f275fc8 that introduced netman_watch_dns
binary
2/. Create 2 .service files inside
meta-phosphor/common/recipes-phosphor/network/files/ --> network.service
and network-update-dns.service
3/  Make necessary changes to bitbake file so systemd can enable the
services and start at boot.
4/. Build a Palmetto image ( or qemu too ) and copy 'em over to tftpserver
( /tftpboot/cuImage_vishwa_1 and /tftpboot/initrd_vishwa_1 )
5/. reboot palmetto and run netboot to new image.

I expected that the netman.py ( which is part of network.service ) and
netman_watch_dns ( part of network-update-dns.service ) would get auto
started but they did *not* start and I need some thoughts on why this may
be happening.

https://lists.yoctoproject.org/pipermail/yocto/2015-April/024470.html
( Someone else also had same issue )

What is that I am seeing :

1/. I see these 2 files are actually inside /lib/systemd/system/network
Palmetto in as expected --> Good
2/. Services not started
3/. systemctl status network shows that its disabled. Same for update-dns.
4/. I see systemctl status skeleton displays everything is running
4.1/ Removing the Requires= and After= in network.service and booting to
that changed image still does not help.
5/. Manual start using systemctl start network -and/or- systemctl start
network-update-dns does everything okay and starts the expected services.
6/. No error seen in journal

Thanks

-------------------------------------------------------------------------------------

Thanks and Regards,
Vishwanath.
Advisory Software Engineer,
Power Firmware Development,
Systems &Technology Lab,
MG2-6F-255 , Manyata Embassy Business Park,
Bangalore , KA , 560045
Ph: +91-80-46678255
E-mail: vishwanath at in.ibm.com
----------------------------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20160616/80241b57/attachment-0001.html>


More information about the openbmc mailing list