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 5 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 5 months ago
- Status changed from New to Closed
- % Done changed from 90 to 100
commit 8af575c0afc1d79bd23c3e1a78a546c9963e5083 Author: Jerry Jelinek <firstname.lastname@example.org> Date: 2020-12-02T18:13:55.000Z 13340 zoneadmd shouldn't rely on autofs Reviewed by: Toomas Soome <email@example.com> Reviewed by: Igor Kozhukhov <firstname.lastname@example.org> Reviewed by: C Fraire <email@example.com> Reviewed by: Vitaliy Gusev <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>