tripleo-ansible/tripleo_ansible/roles/tripleo_container_manage/tasks
Michele Baldessari b789153881 Fix systemd warnings around executable and world-inaccessible bits
Right now we get the following warnings in the journal:
Apr 02 10:47:48 controller-1.localdomain systemd[1]: Configuration file /usr/lib/systemd/system/tripleo-container-shutdown.service is marked executable. Please remove executable permission bits. Proceeding anyway.
Apr 02 10:47:48 controller-1.localdomain systemd[1]: Configuration file /usr/lib/systemd/system/tripleo-container-shutdown.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.
Apr 02 10:47:48 controller-1.localdomain systemd[1]: Configuration file /usr/lib/systemd/system/netns-placeholder.service is marked executable. Please remove executable permission bits. Proceeding anyway.
Apr 02 10:47:48 controller-1.localdomain systemd[1]: Configuration file /usr/lib/systemd/system/netns-placeholder.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.

Let's make the two services 0644 so that these warnings go away.
While we're at it we make 0644 also the preset files as ours are
the only ones with a non 0644 permission:
[root@ctrl-1-0 system-preset]# ls -l /usr/lib/systemd/system-preset/
total 28
-rw-r--r--. 1 root root  264 Oct 29 20:09 85-display-manager.preset
-rw-r--r--. 1 root root 3982 Oct 29 20:09 90-default.preset
-rw-r--r--. 1 root root  951 Jun 22  2018 90-systemd.preset
-rwx------. 1 root root   33 Mar 30 07:50 91-netns-placeholder.preset
-rwx------. 1 root root   42 Mar 30 07:50 91-tripleo-container-shutdown.preset
-rw-r--r--. 1 root root   10 Oct 29 20:09 99-default-disable.preset
-rw-r--r--. 1 root root   30 Jan 11 10:17 fwupd-refresh.preset

Change-Id: Ib0de0a516504d542a0f01ee40129e139a5709c33
2021-04-02 18:47:05 +02:00
..
podman Merge "Set timeout to default if not configured" 2020-08-31 21:30:40 +00:00
create.yml tripleo_container_manage: continue to reduce tasks 2020-07-22 02:18:52 +00:00
delete_orphan.yml Expose tripleo_container_manage_clean_orphans var 2020-08-31 07:58:46 +05:30
main.yml Use ansible_facts instead 2021-02-22 08:24:46 -07:00
puppet_config.yml Allow to update container startup config with new config hashes 2020-02-17 13:16:34 +00:00
shutdown.yml Fix systemd warnings around executable and world-inaccessible bits 2021-04-02 18:47:05 +02:00