Installation fails with non-standard mount points (e.g., mount points for /var/tmp, /var/log, /var/log/audit)

When attempting to install Rocky 9.5 minimal (and 8.x minimal before that), the installation failed each time if mount points were created for /var/tmp, /var/log or /var/log/audit in compliance with the CIS Benchmark. The error message was:

Error: Following error occurred while installing the payload. This is a fatal error and installation will be aborted
DNF error: Error in POSTTRANS scriplet in rpm package kernel-core

Searching reveals numerous reports of this error message with RHEL installs, but none apparently caused by configuring the installer to create mount points for subdirectories of /var during original installation.

[Kernel-core error at install] (Kernel-core error at install) suggests the kernel-core error might be related to partition sizes, but the partition sizes I used were the same or larger than those in successfully operating systems.

The only way I found to make a CIS Benchmark-compliant system was to complete the installation without the three mount points, create three new partitions after the installation, mount the new partitions at temporary mount points, transfer the data from the /var/tmp, /var/log and /var/log/audit directories to the new partitions, unmount the partitions from the temporary mount points and then re-mount them at newly-created mount points for /var/tmp, /var/log and /var/log/audit.

I need to install Rocky on a new VM and would be grateful if someone would please provide direction on how to create the mount points using the installer without generating the error, or failing that, point me to a simpler workaround to create the mounts points than the one I used before.