)]}'
{"security-guide/source/block-storage/checklist.rst":[{"author":{"_account_id":21797,"name":"Jeremy Liu","display_name":"Jeremy Liu","username":"liujiong"},"change_message_id":"93e57409bbf1a2bfee09b0cca7a25b874c7e93d5","unresolved":false,"context_lines":[{"line_number":11,"context_line":"for smooth functioning of the component. If an unprivileged user, either"},{"line_number":12,"context_line":"intentionally or accidentally, modifies or deletes any of the parameters or"},{"line_number":13,"context_line":"the file itself then it would cause severe availability issues resulting in a"},{"line_number":14,"context_line":"denial of service to the other end users. Therefore, user ownership of such"},{"line_number":15,"context_line":"critical configuration files must be set to either ``root`` or ``cinder``"},{"line_number":16,"context_line":"for both user and group ownership."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Run the following commands:"},{"line_number":19,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"1f485f77_82e4e1ad","line":16,"range":{"start_line":14,"start_character":42,"end_line":16,"end_character":33},"updated":"2017-11-13 09:43:51.000000000","message":"Although, this restricts the access permission, it can also prevent the service account to access these files. For example, openstack-cinder-api.service is configured with cinder user, if above files are set with only root permission, cinder service(user) won\u0027t be able to read its configurations. Please correct me if I\u0027m wrong.\n\nSee cinder package info: https://github.com/rdo-packages/cinder-distgit/blob/rpm-master/openstack-cinder-api.service#L7","commit_id":"57d8cc401283746ce1c6e1935938626b4845f038"},{"author":{"_account_id":17893,"name":"Luke Hinds","email":"lhinds@redhat.com","username":"lhinds"},"change_message_id":"ae2286ea44fd09f1f6650e647a95a585c2869457","unresolved":false,"context_lines":[{"line_number":11,"context_line":"for smooth functioning of the component. If an unprivileged user, either"},{"line_number":12,"context_line":"intentionally or accidentally, modifies or deletes any of the parameters or"},{"line_number":13,"context_line":"the file itself then it would cause severe availability issues resulting in a"},{"line_number":14,"context_line":"denial of service to the other end users. Therefore, user ownership of such"},{"line_number":15,"context_line":"critical configuration files must be set to either ``root`` or ``cinder``"},{"line_number":16,"context_line":"for both user and group ownership."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Run the following commands:"},{"line_number":19,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"1f485f77_911784a4","line":16,"range":{"start_line":14,"start_character":42,"end_line":16,"end_character":33},"in_reply_to":"1f485f77_82e4e1ad","updated":"2017-11-13 15:57:11.000000000","message":"Pleased you posted this as its a key part of a needed discussion. Perhaps this is better:\n\n\"Therefore, user ownership of such critical configuration files must be set to either ``root`` or ``cinder`` for both user and group ownership, depending on the user who starts and owns the running service / process.\"","commit_id":"57d8cc401283746ce1c6e1935938626b4845f038"},{"author":{"_account_id":21797,"name":"Jeremy Liu","display_name":"Jeremy Liu","username":"liujiong"},"change_message_id":"dd210ad9d149ab898f1ec7794c726825aeb50819","unresolved":false,"context_lines":[{"line_number":11,"context_line":"for smooth functioning of the component. If an unprivileged user, either"},{"line_number":12,"context_line":"intentionally or accidentally, modifies or deletes any of the parameters or"},{"line_number":13,"context_line":"the file itself then it would cause severe availability issues resulting in a"},{"line_number":14,"context_line":"denial of service to the other end users. Therefore, user ownership of such"},{"line_number":15,"context_line":"critical configuration files must be set to either ``root`` or ``cinder``"},{"line_number":16,"context_line":"for both user and group ownership."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Run the following commands:"},{"line_number":19,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"1f485f77_e036d6e7","line":16,"range":{"start_line":14,"start_character":42,"end_line":16,"end_character":33},"in_reply_to":"1f485f77_911784a4","updated":"2017-11-14 02:25:06.000000000","message":"This sounds reasonable, thanks!","commit_id":"57d8cc401283746ce1c6e1935938626b4845f038"},{"author":{"_account_id":7264,"name":"Summer Long","email":"slong@redhat.com","username":"slong"},"change_message_id":"861000ddee4f4e5c8da000f9210ee68472108b38","unresolved":false,"context_lines":[{"line_number":22,"context_line":"    $ find /etc/cinder/ -type f -exec stat -L -c \u0027%n : %U : %G\u0027 {} +"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"**Pass:** If user and group ownership of all files situated in"},{"line_number":25,"context_line":"`/etc/cinder` are owned by `root` or `cinder`."},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"**Fail:** If the above commands return a different user or group"},{"line_number":28,"context_line":"ownership to `root` or `cinder` for all files in `/etc/cinder`."}],"source_content_type":"text/x-rst","patch_set":3,"id":"1f485f77_e8dda214","line":25,"updated":"2017-11-16 21:45:16.000000000","message":"Perhaps: If the above commands return a user or group ownership of \u0027root\u0027 or \u0027cinder\u0027, for all files in \u0027/etc/cinder\u0027.\n\n(And apply to other component checklists in this commit.)","commit_id":"57d8cc401283746ce1c6e1935938626b4845f038"},{"author":{"_account_id":7264,"name":"Summer Long","email":"slong@redhat.com","username":"slong"},"change_message_id":"861000ddee4f4e5c8da000f9210ee68472108b38","unresolved":false,"context_lines":[{"line_number":25,"context_line":"`/etc/cinder` are owned by `root` or `cinder`."},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"**Fail:** If the above commands return a different user or group"},{"line_number":28,"context_line":"ownership to `root` or `cinder` for all files in `/etc/cinder`."},{"line_number":29,"context_line":""},{"line_number":30,"context_line":".. _check_block_02:"},{"line_number":31,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"1f485f77_68953240","line":28,"updated":"2017-11-16 21:45:16.000000000","message":"Perhaps: If the above commands return a user or group ownership different from \u0027root\u0027 or \u0027cinder\u0027, for all files in \u0027/etc/cinder\u0027.\n\n(And apply to other component checklists in this commit.)","commit_id":"57d8cc401283746ce1c6e1935938626b4845f038"}],"security-guide/source/checklist.rst":[{"author":{"_account_id":21797,"name":"Jeremy Liu","display_name":"Jeremy Liu","username":"liujiong"},"change_message_id":"dd210ad9d149ab898f1ec7794c726825aeb50819","unresolved":false,"context_lines":[{"line_number":9,"context_line":"* :doc:`Block Storage service checklist \u003cblock-storage/checklist\u003e`"},{"line_number":10,"context_line":"* :doc:`Shared File Systems service checklist \u003cshared-file-systems/checklist\u003e`"},{"line_number":11,"context_line":"* :doc:`Networking service checklist \u003cnetworking/checklist\u003e`"},{"line_number":12,"context_line":"* :doc:`Secrets Management checklist \u003csecrets-management/checklist\u003e`"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1f485f77_a0457e45","line":12,"range":{"start_line":12,"start_character":0,"end_line":12,"end_character":68},"updated":"2017-11-14 02:25:06.000000000","message":"Nice adding the two missing parts!","commit_id":"57d8cc401283746ce1c6e1935938626b4845f038"}]}
