Ich kapituliere. Das Verzeichnis /tmp werde ich weiter manuell leeren. Vielleicht funktioniert das automatische löschen in einer künftigen Version.
Beiträge von Freitag
-
-
Hier die Ausgabe:
Code
Alles anzeigenKarla:~ # journalctl -e -u systemd-tmpfiles-clean Jan 21 11:11:33 Karla systemd[1]: Starting Cleanup of Temporary Directories... Jan 21 11:11:33 Karla systemd-tmpfiles[4500]: [/usr/lib/tmpfiles.d/net-snmp.conf:1] Line references path below legacy directory /var/run/, up> Jan 21 11:11:33 Karla systemd-tmpfiles[4500]: [/usr/lib/tmpfiles.d/samba.conf:1] Line references path below legacy directory /var/run/, updat> Jan 21 11:11:33 Karla systemd-tmpfiles[4500]: [/usr/lib/tmpfiles.d/svnserve.conf:1] Line references path below legacy directory /var/run/, up> Jan 21 11:11:33 Karla systemd-tmpfiles[4500]: [/usr/lib/tmpfiles.d/tmp.conf:12] Duplicate line for path "/tmp", ignoring. Jan 21 11:11:33 Karla systemd-tmpfiles[4500]: [/usr/lib/tmpfiles.d/tmp.conf:13] Duplicate line for path "/var/tmp", ignoring. Jan 21 11:11:33 Karla systemd-tmpfiles[4500]: [/usr/lib/tmpfiles.d/var.conf:21] Duplicate line for path "/var/lib", ignoring. Jan 21 11:11:33 Karla systemd-tmpfiles[4500]: [/usr/lib/tmpfiles.d/var.conf:23] Duplicate line for path "/var/spool", ignoring. Jan 21 11:11:33 Karla systemd-tmpfiles[4500]: [/usr/lib/tmpfiles.d/vpnc.conf:1] Line references path below legacy directory /var/run/, updati> Jan 21 11:11:33 Karla systemd[1]: Started Cleanup of Temporary Directories. -- Reboot -- Jan 21 12:32:55 Karla systemd[1]: Starting Cleanup of Temporary Directories... Jan 21 12:32:55 Karla systemd-tmpfiles[5661]: [/usr/lib/tmpfiles.d/net-snmp.conf:1] Line references path below legacy directory /var/run/, up> Jan 21 12:32:55 Karla systemd-tmpfiles[5661]: [/usr/lib/tmpfiles.d/samba.conf:1] Line references path below legacy directory /var/run/, updat> Jan 21 12:32:55 Karla systemd-tmpfiles[5661]: [/usr/lib/tmpfiles.d/svnserve.conf:1] Line references path below legacy directory /var/run/, up> Jan 21 12:32:55 Karla systemd-tmpfiles[5661]: [/usr/lib/tmpfiles.d/tmp.conf:12] Duplicate line for path "/tmp", ignoring. Jan 21 12:32:55 Karla systemd-tmpfiles[5661]: [/usr/lib/tmpfiles.d/tmp.conf:13] Duplicate line for path "/var/tmp", ignoring. Jan 21 12:32:55 Karla systemd-tmpfiles[5661]: [/usr/lib/tmpfiles.d/var.conf:21] Duplicate line for path "/var/lib", ignoring. Jan 21 12:32:55 Karla systemd-tmpfiles[5661]: [/usr/lib/tmpfiles.d/var.conf:23] Duplicate line for path "/var/spool", ignoring. Jan 21 12:32:55 Karla systemd-tmpfiles[5661]: [/usr/lib/tmpfiles.d/vpnc.conf:1] Line references path below legacy directory /var/run/, updati> Jan 21 12:32:55 Karla systemd[1]: Started Cleanup of Temporary Directories. -- Reboot -- Jan 21 14:26:03 Karla systemd[1]: Starting Cleanup of Temporary Directories... Jan 21 14:26:03 Karla systemd-tmpfiles[4199]: [/usr/lib/tmpfiles.d/net-snmp.conf:1] Line references path below legacy directory /var/run/, up> Jan 21 14:26:03 Karla systemd-tmpfiles[4199]: [/usr/lib/tmpfiles.d/samba.conf:1] Line references path below legacy directory /var/run/, updat> Jan 21 14:26:03 Karla systemd-tmpfiles[4199]: [/usr/lib/tmpfiles.d/svnserve.conf:1] Line references path below legacy directory /var/run/, up> Jan 21 14:26:03 Karla systemd-tmpfiles[4199]: [/usr/lib/tmpfiles.d/tmp.conf:12] Duplicate line for path "/tmp", ignoring. Jan 21 14:26:03 Karla systemd-tmpfiles[4199]: [/usr/lib/tmpfiles.d/tmp.conf:13] Duplicate line for path "/var/tmp", ignoring. Jan 21 14:26:03 Karla systemd-tmpfiles[4199]: [/usr/lib/tmpfiles.d/var.conf:21] Duplicate line for path "/var/lib", ignoring. Jan 21 14:26:03 Karla systemd-tmpfiles[4199]: [/usr/lib/tmpfiles.d/var.conf:23] Duplicate line for path "/var/spool", ignoring. Jan 21 14:26:03 Karla systemd-tmpfiles[4199]: [/usr/lib/tmpfiles.d/vpnc.conf:1] Line references path below legacy directory /var/run/, updati> Jan 21 14:26:03 Karla systemd[1]: Started Cleanup of Temporary Directories. -
Es geht immer noch nicht.
-
-
Danke für die detaillierte Antwort. Allerdings funktioniert es nicht. Ich habe "R /tmp/* 1d" und "R /tmp/* 0d" probiert. Es sind immer noch 2 Tage alte Verzeichnisse und Dateien in /tmp. Vor 2 Tagen hatte ich alles manuell gelöscht.
-
Wie in Beitrag Nr.1 beschrieben geht es mir um das Verzeichnis /tmp.
-
welche Dateisysteme benutzt Du ??
BtrFs und XFs
-
In /etc/tmpfiles.d sind keine Dateien. Wie soll "die" heißen?
-
-
Beim Aktualisieren von software habe ich oft die Meldung, dass das Verzeichnis /tmp keinen Platz mehr bietet. Ein Löschen des Inhalts als superuser bringt Hilfe. Gibt es die Möglichkeit den Inhalt dieses Verzeichnisses automatisch zu löschen, zum Beispiel bei Systemstart? In yast gibt es die Option "/etc/sysconfig-Editor, doch damit komme ich nicht klar.