The sed command was wrongly replacing every folder whose name ends in 'log/' with 'log.hdd/', so i.e. '/var/log/ulog/*.log' became '/var/log.hdd/ulog.hdd/*.log'. Subsequent logrotate exections would fail due to non existent folders. In addition, some logrotate config files may have more than one path per line, so a 'g' option in the sed replacement regex is required to replace all '/log/' entries at once. |
||
|---|---|---|
| .. | ||
| etc | ||
| lib | ||
| usr | ||
| var/lib/polkit-1/localauthority/50-local.d | ||