Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 777459

Summary: sys-apps/sysvinit: add pf:12345:powerwait:/sbin/halt back to inittab
Product: Gentoo Linux Reporter: Joonas Niilola <juippis>
Component: Current packagesAssignee: William Hubbs <williamh>
Status: CONFIRMED ---    
Severity: normal CC: base-system
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Joonas Niilola gentoo-dev 2021-03-21 07:33:24 UTC
Hey, 

not sure since when, but 

  pf:12345:powerwait:/sbin/halt

was dropped from inittab. This causes, at least all lxc/lxd, containers to freeze on shutdown. I originally thought this was gentoo-only problem, but now it seems like gentoo containers on other distribution hosts are also affected.

So why was pf:12345:powerwait:/sbin/halt dropped from inittab and can it be added back? AFAIK even in host system, no containers involved, this doesn't cause any issues.
Comment 1 Nico Baggus 2021-05-02 15:44:17 UTC
If the guest is systemd based you are still fried as there the inittab doesn't work anymore. (systemd has it's own set of rules .. and issues :-( )