~raharper/curtin/trunk.add-syslog-handler

Viewing all changes in revision 506.

  • Committer: Scott Moser
  • Date: 2017-06-14 01:57:45 UTC
  • mfrom: (494.1.13 trunk.unshare-chroot)
  • Revision ID: smoser@ubuntu.com-20170614015745-w9jk40q9k4a6ez5d
Use unshare to put chroot commands in own pid namespace.

Bug 1645680 showed problems when a process started detached and
was left running. This starts processes in a chroot in their own
pid namespace, so that the process is pid 1. Then, its children
are killed when it exits.

Also, backed out the work around changes made for 1645680.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: