)]}'
{"lib/common-functions":[{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"cd65fe3f65e05a3e632f7e5fe309dcdcedf825af","unresolved":false,"context_lines":[{"line_number":136,"context_line":""},{"line_number":137,"context_line":"function kill_chroot_processes () {"},{"line_number":138,"context_line":"    # Is there another way to find out chroot processes"},{"line_number":139,"context_line":"    # without relying on the lsof dependency?"},{"line_number":140,"context_line":"    lsof\u003d$(which lsof 2\u003e /dev/null) || :"},{"line_number":141,"context_line":"    if [ -z \"${1}\" ]; then"},{"line_number":142,"context_line":"        echo \"ERROR: no chroot directory specified\""}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"9a629dbe_6c88b5c7","line":139,"updated":"2016-11-14 09:29:28.000000000","message":"I think a better way would be to walk all the pids and check their /proc/pid/root until none of them were in the chroot.\n\ni\u0027d also like to see it explicitly logged that we\u0027re killing each process.","commit_id":"777d65de5a112b37ccf854bffe8ca0fd77891e86"}]}
