)]}'
{"docker/ceph/ceph-osd/extend_start.sh":[{"author":{"_account_id":2834,"name":"Steven Dake","email":"steven.dake@gmail.com","username":"sdake"},"change_message_id":"0bdf7f8958d9d1ebe98b2e814e1a74eab2eed69c","unresolved":false,"context_lines":[{"line_number":23,"context_line":"        sgdisk --new\u003d2:1M:5G -- \"${JOURNAL_DEV}\""},{"line_number":24,"context_line":"        sgdisk --largest-new\u003d1 -- \"${OSD_DEV}\""},{"line_number":25,"context_line":"        # NOTE(shindle): Reload udev if possible, ignore errors"},{"line_number":26,"context_line":"        /sbin/udevadm trigger || true"},{"line_number":27,"context_line":"    fi"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"    OSD_ID\u003d$(ceph osd create)"}],"source_content_type":"text/x-sh","patch_set":1,"id":"dada55a8_6798a56b","line":26,"range":{"start_line":26,"start_character":14,"end_line":26,"end_character":21},"updated":"2016-07-22 20:19:32.000000000","message":"paul - I have no idea if this is right or wrong - so not voting +2 on this patch as a result.","commit_id":"a04a8249cf1d5292eaa8f0481dc111fa34be8e3a"}],"docker/kolla-toolbox/find_disks.py":[{"author":{"_account_id":2834,"name":"Steven Dake","email":"steven.dake@gmail.com","username":"sdake"},"change_message_id":"0bdf7f8958d9d1ebe98b2e814e1a74eab2eed69c","unresolved":false,"context_lines":[{"line_number":85,"context_line":"        parent \u003d dev.find_parent(\u0027block\u0027).device_node"},{"line_number":86,"context_line":"        # NOTE(Mech422): Need to use -i as -p truncates the partition name"},{"line_number":87,"context_line":"        out \u003d subprocess.Popen(\"sgdisk -i {} {}\".format(part, parent),"},{"line_number":88,"context_line":"                               shell\u003dTrue,"},{"line_number":89,"context_line":"                               stdout\u003dsubprocess.PIPE).communicate()"},{"line_number":90,"context_line":"        match \u003d re.search(r\u0027Partition name: \\\u0027(\\w+)\\\u0027\u0027, out[0])"},{"line_number":91,"context_line":"        if match:"}],"source_content_type":"text/x-python","patch_set":1,"id":"dada55a8_87f4b987","line":88,"updated":"2016-07-22 20:19:32.000000000","message":"shell\u003dTrue is a security problem and in this case I have real concerns about it turning into a OSSA down the road, especially since ceph runs as root, which could lead to a rooted datacenter.  We are in the process of removing all shell\u003dtrue operations, and replacing them with alternatives.\n\nIn this case, i\u0027d use os.environ to read the PATH, then use os.walk to find the sgdisk tool.  I know, kind of hacky, but much more secure.","commit_id":"a04a8249cf1d5292eaa8f0481dc111fa34be8e3a"}]}
