zoneadmd shouldn't rely on autofs
During zone filesystem unmounting, it is possible for zoneadmd to call into autofs_cleanup
which directly makes a syscall into the the kernel's autofs module. If a distro chooses not
to deliver autofs, then this will fail and short-circuit zoneadmd's filesystem cleanup. We could
improve zoneadmd to handling a missing autofs module more gracefully.
Updated by Jerry Jelinek 11 months ago
To test this, I ran it on our Racktop platform and triggered the error path during zone shutdown to reproduce the aborted cleanup. After the fix, I retested and the loop now reports the problematic unmount correctly. The zone also continues to shutdown normally when there is no problematic unmount to trigger the error path.
Updated by Electric Monk 11 months ago
- Status changed from New to Closed
- % Done changed from 90 to 100
commit 8af575c0afc1d79bd23c3e1a78a546c9963e5083 Author: Jerry Jelinek <email@example.com> Date: 2020-12-02T18:13:55.000Z 13340 zoneadmd shouldn't rely on autofs Reviewed by: Toomas Soome <firstname.lastname@example.org> Reviewed by: Igor Kozhukhov <email@example.com> Reviewed by: C Fraire <firstname.lastname@example.org> Reviewed by: Vitaliy Gusev <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>