On Thu, 2014-05-29 at 22:15 +0700, Fajar A. Nugraha wrote:
> On Thu, May 15, 2014 at 10:19 PM, Michael H. Warfield <[email protected]> 
> wrote:
> >
> > On Thu, 2014-05-15 at 22:04 +0700, Fajar A. Nugraha wrote:
> 
> 
> >
> > > lxc-stop doesn't work without "-k". I remember reading about this on
> > > the list some time ago, might be useful to integrate the workaround in
> > > the template.
> > > ####
> > > [root@f20 ~]# Received SIGPWR.
> > > ####
> >
> > I already integrated some thing in there.  Should no longer be a problem
> > though that update may not have made it into a release yet.
> >
> 
> Hi Mike,
> 
> Is that fix in upstream lxc? I checked
> https://github.com/lxc/lxc/blob/master/templates/lxc-fedora.in , line
> 374-375

>    # Make systemd honor SIGPWR
>     chroot ${rootfs_path} ln -s /usr/lib/systemd/system/halt.target
> /etc/systemd/system/

> Following http://www.freedesktop.org/software/systemd/man/systemd.special.html
> , shouldn't the last part be sigpwr.target?

>     chroot ${rootfs_path} ln -s /usr/lib/systemd/system/halt.target
> /etc/systemd/system/sigpwr.target

Yeah, that appears to be correct.  I'll send in a patch.  Another
alternative would be to add a symlink from halt.target to sigpwr.target
to link their behavior together.

> -- 
> Fajar

Thanks!

Regards,
Mike
-- 
Michael H. Warfield (AI4NB) | (770) 978-7061 |  [email protected]
   /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
   NIC whois: MHW9          | An optimist believes we live in the best of all
 PGP Key: 0x674627FF        | possible worlds.  A pessimist is sure of it!

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to