Skip to content

Commit 5c23081

Browse files
vmagrofacebook-github-bot
authored andcommitted
stop killing antlir builds
Summary: The actual chef run inside `antlir2` is run inside of a separate pid namespace, so should be exempt from the killing spree (https://github.com/facebook/chef-utils/blob/0a79708f837ed87a7c37e4419838ad6a2ee2b473/chefctl/src/chefctl.rb#L519), but the top-level process has the substring `"chefctl"`, causing the outer container process to be `SIGTERM`ed. Differential Revision: D70514430 fbshipit-source-id: a0ebd9d828000a624a71e2e9cdea5d1383d4c3a2
1 parent 0a79708 commit 5c23081

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

chefctl/src/chefctl.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,8 @@ def chefctl_procs
560560
# Don't kill any ssh processes, but we might kill their children
561561
# separately. It'll get cleaned up if the child gets killed anyway.
562562
/ssh/,
563+
# Don't kill antlir image builds
564+
/antlir/,
563565
# Facebook-ism, ignore
564566
/sush/,
565567
],

0 commit comments

Comments
 (0)