The Checkmk Conference #11 is happening – live on May 20-21! Watch now

Werk #7648: Fix fstab appending when file does not end with a newline

Component Site management
Title Fix fstab appending when file does not end with a newline
Date May 11, 2017
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.5.0i1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

When a new site is created an entry for the tmpfs of the site is appended to the /etc/fstab. In case the last entry of the file did not end with a newline character the appending of this tmpfs entry resulted in a broken line.

We now check the previous entry ends with a newline char and ensure it is separated with a newline char correctly.

To the list of all Werks