Page MenuHomePhabricator

swift-drive-audit configuration broken on >= buster
Open, Needs TriagePublic

Description

On buster and later systems, we install upstream swift-drive-audit rather than using our own patched version. Unfortunately, we configure /etc/swift/swift-drive-audit.conf to tell swift-drive-audit where our storage is, whereas upstream ships (and looks for) /etc/swift/drive-audit.conf, meaning currently that swift-drive-audit can't find our storage, so isn't unmounted busted drives.

drive-audit.conf has a bunch more stuff in it now than just storage location, so we probably want to review that too.

Also, systemd caches /etc/fstab, so whenever swift-drive-audit comments-out a filesystem, it also needs to call systemd daemon-reload :-/