)]}'
{"oslo_metrics/__main__.py":[{"author":{"_account_id":28522,"name":"Hervé Beraud","email":"herveberaud.pro@gmail.com","username":"hberaud"},"change_message_id":"1e27144366a61269102ad89f4fe93ceabc03db7e","unresolved":true,"context_lines":[{"line_number":98,"context_line":"    socket_path \u003d cfg.CONF.oslo_metrics.metrics_socket_file"},{"line_number":99,"context_line":"    m \u003d MetricsListener(socket_path)"},{"line_number":100,"context_line":"    try:"},{"line_number":101,"context_line":"        os.chmod(socket_path, 0o600)"},{"line_number":102,"context_line":"    except OSError:"},{"line_number":103,"context_line":"        LOG.error(\"Changing the mode of the file failed.... continuing\")"},{"line_number":104,"context_line":"    mt \u003d threading.Thread(target\u003dm.serve)"}],"source_content_type":"text/x-python","patch_set":1,"id":"e931de4c_22967cd8","line":101,"range":{"start_line":101,"start_character":8,"end_line":101,"end_character":36},"updated":"2023-05-19 13:14:31.000000000","message":"I wonder if we should ignore this one, any opinion?","commit_id":"5b478403278e69ca9fd822cb117c3e2aa49a6cda"},{"author":{"_account_id":29525,"name":"Artem Vasilyev","email":"artem.v.vasilyev@gmail.com","username":"artem.v.vasilyev"},"change_message_id":"958e64fac15ed4b85306d18fd7fe4ab14bdf0fa6","unresolved":true,"context_lines":[{"line_number":98,"context_line":"    socket_path \u003d cfg.CONF.oslo_metrics.metrics_socket_file"},{"line_number":99,"context_line":"    m \u003d MetricsListener(socket_path)"},{"line_number":100,"context_line":"    try:"},{"line_number":101,"context_line":"        os.chmod(socket_path, 0o600)"},{"line_number":102,"context_line":"    except OSError:"},{"line_number":103,"context_line":"        LOG.error(\"Changing the mode of the file failed.... continuing\")"},{"line_number":104,"context_line":"    mt \u003d threading.Thread(target\u003dm.serve)"}],"source_content_type":"text/x-python","patch_set":1,"id":"0aeff874_851aee92","line":101,"range":{"start_line":101,"start_character":8,"end_line":101,"end_character":36},"in_reply_to":"e931de4c_22967cd8","updated":"2025-01-09 15:11:48.000000000","message":"Changing the permissions to `0o600` restricts access to the socket for other services. Users within the same group should retain write access to the socket, as some setups rely on each service running under its own user.","commit_id":"5b478403278e69ca9fd822cb117c3e2aa49a6cda"}]}
