Skip to content

Commit 811d88b

Browse files
authored
Merge pull request #28 from stackhpc/prod2312-cgroup-manager
Fix podman systemd user session warnings
2 parents fa0900f + d857983 commit 811d88b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

ansible/roles/filebeat/templates/filebeat.service.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ After=network-online.target
1212
[Service]
1313
Environment=PODMAN_SYSTEMD_UNIT=%n
1414
Restart=always
15-
ExecStart=/usr/bin/podman run \
15+
ExecStart=/usr/bin/podman --cgroup-manager=cgroupfs run \
1616
--network=host \
1717
--sdnotify=conmon \
1818
--cgroups=no-conmon \

ansible/roles/mysql/templates/mysql.service.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ EnvironmentFile=/etc/sysconfig/mysqld
1414
# The above EnvironmentFile must define MYSQL_INITIAL_ROOT_PASSWORD
1515
ExecStartPre=+install -d -o {{ mysql_podman_user }} -g {{ mysql_podman_user }} -Z container_file_t {{ mysql_datadir }}
1616
ExecStartPre=+chown -R {{ mysql_podman_user }}:{{ mysql_podman_user }} {{ mysql_datadir }}
17-
ExecStart=/usr/bin/podman run \
17+
ExecStart=/usr/bin/podman --cgroup-manager=cgroupfs run \
1818
--network=host \
1919
--sdnotify=conmon \
2020
--cgroups=no-conmon \

ansible/roles/opensearch/templates/opensearch.service.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Environment=PODMAN_SYSTEMD_UNIT=%n
1111
Restart=always
1212
# paths below based on https://opensearch.org/docs/latest/opensearch/configuration/ and https://opensearch.org/docs/latest/security-plugin/configuration/yaml
1313
# see also https://opensearch.org/docs/2.0/opensearch/install/important-settings/
14-
ExecStart=/usr/bin/podman run \
14+
ExecStart=/usr/bin/podman --cgroup-manager=cgroupfs run \
1515
--network=host \
1616
--sdnotify=conmon \
1717
--cgroups=no-conmon \

0 commit comments

Comments
 (0)