role evobackup-client : ss command return an error #169

Closed
opened 2023-05-23 18:10:48 +02:00 by btatu · 2 comments
Member

Hello,

We received email where it say that:

/etc/cron.daily/zzz_evobackup:
Failed to open cgroup2 by ID
Failed to open cgroup2 by ID
Failed to open cgroup2 by ID

The workaround:

     ## Dump network connections with ss
-    ss -taupen > ${LOCAL_BACKUP_DIR}/netstat.out
+    ss -taupen 2>/dev/null > ${LOCAL_BACKUP_DIR}/netstat.out

There are another way to fix this https://gitea.evolix.org/evolix/ansible-roles/src/branch/stable/evobackup-client/templates/zzz_evobackup.default.sh.j2#L161 ?

Hello, We received email where it say that: ~~~ /etc/cron.daily/zzz_evobackup: Failed to open cgroup2 by ID Failed to open cgroup2 by ID Failed to open cgroup2 by ID ~~~ The workaround: ~~~ ## Dump network connections with ss - ss -taupen > ${LOCAL_BACKUP_DIR}/netstat.out + ss -taupen 2>/dev/null > ${LOCAL_BACKUP_DIR}/netstat.out ~~~ There are another way to fix this https://gitea.evolix.org/evolix/ansible-roles/src/branch/stable/evobackup-client/templates/zzz_evobackup.default.sh.j2#L161 ?
Owner

Hello,

It looks like those errors/warnings appear when both -a and -e are given.

Hello, It looks like those errors/warnings appear when both `-a` and `-e` are given.
Owner

This file, is a template which has never been updated since 2020. I've never seen anyone used too.

The issue isn't present in new version of zzz_evobackup as this specific code has been moved in dump-server-sate and that last one don't use -e flag.

This file, is a template which has never been updated since 2020. I've never seen anyone used too. The issue isn't present in new version of `zzz_evobackup` as this specific code has been moved in `dump-server-sate` and that last one don't use `-e` flag.
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: evolix/ansible-roles#169
No description provided.