[prev in list] [next in list] [prev in thread] [next in thread] 

List:       systemd-devel
Subject:    Re: [systemd-devel] systemctl reboot get terminated by signal 15
From:       Lennart Poettering <lennart () poettering ! net>
Date:       2021-04-30 7:19:54
Message-ID: YIuvmvEkpkGdMamw () gardel-login
[Download RAW message or body]

On Fr, 30.04.21 02:00, Pengpeng Sun (pengpengs@vmware.com) wrote:

> > > Here is where our code calls "/sbin/telinit 6" to reboot Linux.
> > > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fv \
> > > mware%2Fopen-vm-tools%2Fblob%2Fmaster%2Fopen-vm-tools%2FlibDeployPkg%2FlinuxDepl \
> > > oyment.c%23L1466&amp;data=04%7C01%7Cpengpengs%40vmware.com%7C703b24bd11584d4d033 \
> > > d08d90b4a1ad9%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C0%7C637553235200829094%7C \
> > > Unknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVC \
> > > I6Mn0%3D%7C1000&amp;sdata=DWWAKyPLV6dqnbJ37%2FFVqpAYapYvVC57reiYTSflFH4%3D&amp;reserved=0
> > >  This code is executed when systemd vmtoolsd.service starts, attached the
> > > vmtoolsd.service file.
> > > Not seeing this issue before /sbin/telinit becomes a softlink to
> > > systemctl.
> > 
> > vmtoolsd.service is probably asked to shutdown because of the system
> > shutdown, and the forked off /sbin/telinit is part of that service, so
> > it gets terminated too?
> 
> Yes, this could be the reason. The issue is system does NOT always reboot after
> "uncaught signal 15" happens, while sometimes it does reboot during my local
> testing.  Is there a way/command to make sure system get rebooted?

Check the logs?

https://freedesktop.org/wiki/Software/systemd/Debugging/#index2h1

Lennart

--
Lennart Poettering, Berlin
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic