)]}'
{"elements/certs-ramfs/init-scripts/systemd/certs-ramfs.service":[{"author":{"_account_id":6469,"name":"Carlos Gonçalves","display_name":"Carlos Goncalves","email":"cgoncalves@redhat.com","username":"cgoncalves"},"change_message_id":"bace41c2b3f26dccc6ec7cb7edfb7e9e6cf93a4e","unresolved":false,"context_lines":[{"line_number":5,"context_line":"[Service]"},{"line_number":6,"context_line":"Type\u003doneshot"},{"line_number":7,"context_line":"ExecStart\u003d/usr/local/bin/certfs-ramfs"},{"line_number":8,"context_line":"ExecStop\u003d/bin/sh -c \u0027certs_path\u003d$$(awk \"/base_cert_dir / {printf \\\\$$3}\" /etc/octavia/amphora-agent.conf); umount \"$${certs_path}\"; cryptsetup luksClose /dev/mapper/certfs-ramfs;\u0027"},{"line_number":9,"context_line":"RemainAfterExit\u003dyes"},{"line_number":10,"context_line":"TimeoutSec\u003d0"},{"line_number":11,"context_line":""}],"source_content_type":"application/octet-stream","patch_set":3,"id":"9fb8cfa7_3ccec5b4","line":8,"range":{"start_line":8,"start_character":115,"end_line":8,"end_character":117},"updated":"2019-07-02 20:09:36.000000000","message":"ditto","commit_id":"415779a0c9ca59be960ef0e002b397528296b7fd"},{"author":{"_account_id":6469,"name":"Carlos Gonçalves","display_name":"Carlos Goncalves","email":"cgoncalves@redhat.com","username":"cgoncalves"},"change_message_id":"bace41c2b3f26dccc6ec7cb7edfb7e9e6cf93a4e","unresolved":false,"context_lines":[{"line_number":5,"context_line":"[Service]"},{"line_number":6,"context_line":"Type\u003doneshot"},{"line_number":7,"context_line":"ExecStart\u003d/usr/local/bin/certfs-ramfs"},{"line_number":8,"context_line":"ExecStop\u003d/bin/sh -c \u0027certs_path\u003d$$(awk \"/base_cert_dir / {printf \\\\$$3}\" /etc/octavia/amphora-agent.conf); umount \"$${certs_path}\"; cryptsetup luksClose /dev/mapper/certfs-ramfs;\u0027"},{"line_number":9,"context_line":"RemainAfterExit\u003dyes"},{"line_number":10,"context_line":"TimeoutSec\u003d0"},{"line_number":11,"context_line":""}],"source_content_type":"application/octet-stream","patch_set":3,"id":"9fb8cfa7_7cd43d48","line":8,"range":{"start_line":8,"start_character":67,"end_line":8,"end_character":69},"updated":"2019-07-02 20:09:36.000000000","message":"ditto","commit_id":"415779a0c9ca59be960ef0e002b397528296b7fd"},{"author":{"_account_id":6469,"name":"Carlos Gonçalves","display_name":"Carlos Goncalves","email":"cgoncalves@redhat.com","username":"cgoncalves"},"change_message_id":"bace41c2b3f26dccc6ec7cb7edfb7e9e6cf93a4e","unresolved":false,"context_lines":[{"line_number":5,"context_line":"[Service]"},{"line_number":6,"context_line":"Type\u003doneshot"},{"line_number":7,"context_line":"ExecStart\u003d/usr/local/bin/certfs-ramfs"},{"line_number":8,"context_line":"ExecStop\u003d/bin/sh -c \u0027certs_path\u003d$$(awk \"/base_cert_dir / {printf \\\\$$3}\" /etc/octavia/amphora-agent.conf); umount \"$${certs_path}\"; cryptsetup luksClose /dev/mapper/certfs-ramfs;\u0027"},{"line_number":9,"context_line":"RemainAfterExit\u003dyes"},{"line_number":10,"context_line":"TimeoutSec\u003d0"},{"line_number":11,"context_line":""}],"source_content_type":"application/octet-stream","patch_set":3,"id":"9fb8cfa7_bce07528","line":8,"range":{"start_line":8,"start_character":32,"end_line":8,"end_character":34},"updated":"2019-07-02 20:09:36.000000000","message":"double $","commit_id":"415779a0c9ca59be960ef0e002b397528296b7fd"}],"elements/certs-ramfs/static/usr/local/bin/certfs-ramfs":[{"author":{"_account_id":29244,"name":"Gregory Thiemonge","email":"gthiemon@redhat.com","username":"gthiemonge"},"change_message_id":"73269c5a819942c648bc2a3cc304a01793fef630","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#!/bin/bash"},{"line_number":2,"context_line":""},{"line_number":3,"context_line":"modprobe brd"},{"line_number":4,"context_line":"passphrase\u003d$$(head /dev/urandom | tr -dc \"a-zA-Z0-9\" | fold -w 32 | head -n 1)"},{"line_number":5,"context_line":"certs_path\u003d$$(awk \"/base_cert_dir / {printf \\\\$$3}\" /etc/octavia/amphora-agent.conf)"},{"line_number":6,"context_line":"mkdir -p \"$${certs_path}\""},{"line_number":7,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"9fb8cfa7_3aa6f6c2","line":4,"range":{"start_line":4,"start_character":11,"end_line":4,"end_character":13},"updated":"2019-06-28 17:57:44.000000000","message":"not sure about the $$. Is it a bad copy/paste from the systemd script?","commit_id":"1d2e896a9bf652407b4667bded9b490a733acad0"},{"author":{"_account_id":11628,"name":"Michael Johnson","email":"johnsomor@gmail.com","username":"johnsom"},"change_message_id":"795c802a100e0321c647c8ea5594f98c22ff1116","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#!/bin/bash"},{"line_number":2,"context_line":""},{"line_number":3,"context_line":"modprobe brd"},{"line_number":4,"context_line":"passphrase\u003d$$(head /dev/urandom | tr -dc \"a-zA-Z0-9\" | fold -w 32 | head -n 1)"},{"line_number":5,"context_line":"certs_path\u003d$$(awk \"/base_cert_dir / {printf \\\\$$3}\" /etc/octavia/amphora-agent.conf)"},{"line_number":6,"context_line":"mkdir -p \"$${certs_path}\""},{"line_number":7,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"9fb8cfa7_2e7b188c","line":4,"range":{"start_line":4,"start_character":11,"end_line":4,"end_character":13},"in_reply_to":"9fb8cfa7_3aa6f6c2","updated":"2019-06-28 21:55:20.000000000","message":"I have no idea how that happened, but yes, wrong.","commit_id":"1d2e896a9bf652407b4667bded9b490a733acad0"}]}
