|
The last_run_summary.yaml is not readable by users.
Based on old tickets: https://projects.puppetlabs.com/issues/15471, https://github.com/puppetlabs/puppet/commit/0f13cf5 Here is stated that the file read last_run_summary.yaml should be world readable. And currently the file is world readable.
Evidence: root@x:~# ls -la /var/lib/puppet/state/last_run_summary.yaml
rw-r
r
- 1 root root 736 Nov 19 03:44 /var/lib/puppet/state/last_run_summary.yaml root@x:~#
https://tickets.puppetlabs.com/browse/PUP-3163, https://tickets.puppetlabs.com/browse/PUP-3156 Here is stated that the directory /var/lib/puppet/state/ and /var/lib/puppet/reports, need to be at least world readable. And currently that directory are world readable.
Evidence: root@x:~# ls -la /var/lib/puppet/ total 60 drwxr-x--- 15 puppet puppet 4096 May 3 2016 . drwxr-xr-x 47 root root 4096 May 3 2016 .. drwxr-x--- 3 root root 4096 Nov 30 2014 client_data drwxr-x--- 3 root root 4096 Nov 25 2014 client_yaml drwxr-x--- 6 root root 4096 Jul 12 00:54 clientbucket drwxr-xr-x 4 root root 4096 Jan 27 2016 concat drwxr-xr-x 2 root root 4096 Nov 21 2014 facts drwxr-xr-x 2 root root 4096 Jun 6 13:18 facts.d drwxr-xr-x 8 root root 4096 Nov 19 02:17 lib drwxr-xr-x 2 root root 4096 Nov 25 2014 log drwxr-x--- 2 puppet puppet 4096 May 3 2016 preview drwxr-xr-x 2 puppet puppet 4096 Nov 28 2014 reports drwxrwxrwt 2 root root 4096 Nov 25 2014 run drwxrwx--x 7 puppet puppet 4096 Nov 28 2014 ssl drwxr-xr-t 3 puppet puppet 4096 Nov 19 03:43 state root@x:~#
But as you can see above, the whole /var/lib/puppet is not world accessible nor readable.
Based on that condition, /var/lib/puppet/state/last_run_report.yaml is not world readable.
|