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

**URL:** <https://forums.rockylinux.org/t/installation-fails-with-non-standard-mount-points-e-g-mount-points-for-var-tmp-var-log-var-log-audit/18890>\
**Category:** Rocky Linux Help & Support\
**Tags:** rocky-linux-8, rocky-linux-9\
**Created:** [June 21, 2025, 12:49am UTC](https://forums.rockylinux.org/t/installation-fails-with-non-standard-mount-points-e-g-mount-points-for-var-tmp-var-log-var-log-audit/18890 "2025-06-21T00:49:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![roc](https://avatars.discourse-cdn.com/v4/letter/r/858c86/32.png) [@roc](https://forums.rockylinux.org/u/roc)\
**Post date:** [June 21, 2025, 12:49am UTC](https://forums.rockylinux.org/t/installation-fails-with-non-standard-mount-points-e-g-mount-points-for-var-tmp-var-log-var-log-audit/18890/1 "2025-06-21T00:49:20Z")

</div>

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](https://forums.rockylinux.org/t/kernel-core-error-at-install/3683)] ([Kernel-core error at install](https://forums.rockylinux.org/t/kernel-core-error-at-install/3683)) 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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/1X/91b7219eec10e30013422e4df76c1d898711a5d5.svg) [@system](https://forums.rockylinux.org/u/system)\
**Post date:** [August 20, 2025, 12:50am UTC](https://forums.rockylinux.org/t/installation-fails-with-non-standard-mount-points-e-g-mount-points-for-var-tmp-var-log-var-log-audit/18890/2 "2025-08-20T00:50:09Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
