Hallo Hilmar,
Am 31.12.24 um 16:10 schrieb Preuße, Hilmar:
Hatte ich probiert, klappt aber nicht:
[root@sun10-2 ~]# systemctl enable var-lib-systemd-coredump.mount The unit files have no installation config (WantedBy, RequiredBy, Also, Alias settings in the [Install] section, and DefaultInstance for template units). This means they are not meant to be enabled using systemctl.
<snip>
Da hatte ich mangels Zeit noch nicht weiter getestet.
Konservativ wäre: [Install] WantedBy=multi-user.target
sofern dir der Zeitpunkt dafür nicht zu spät ist.
Logisch klingt für mich auch: WantedBy=local-fs.target
Das widerspricht sich aber mit dem: [Unit] Before=local-fs.target
ggf. in Kombination mit: [Unit] After=basic.target
Dadurch dürfte sichergestellt sein, daß /var gemountet ist.
Gruß Rico