Este comportamiento es debido a un error en al menos systemd 237 y 238 .
Del informe de error:
systemd-analyze creates a directory named /tmp/systemd-temporary-XXXX. /tmp is a real, physical directory on my machine
when rm_rf_children is called, for manager cleanup, it has a safety that prevents it from removing physical files unless explicitely told to do so.
Si bien el mensaje de diagnóstico da miedo, afortunadamente se trata de un directorio temporal, no decirte que trató de hacer rm -rf /
.
Вы пробовали помощника ? Я думаю, что это поможет в вашем случае.
# apt install aide [On Debian/Ubuntu]
# yum install aide [On RHEL/CentOS]
# dnf install aide [On Fedora 22+]
# zypper install aide [On openSUSE]
# emerge aide [On Gentoo]
Вы можете попробовать инструменты inotify . Он доступен в большом количестве Linux -, таких как операционные системы.
Он работает, добавляя «наблюдение» в каталог, определяя события для прослушивания. Прекрасную статью на эту тему можно найти по адресу https://www.linuxjournal.com/content/linux-filesystem-events-inotify
.Из справочной страницы:
DESCRIPTION
The inotify API provides a mechanism for monitoring file system events. Inotify can be used to monitor individual files, or to
monitor directories. When a directory is monitored, inotify will return events for the directory itself, and for files inside the
directory.