After pod creation /etc/mtab symlink is missing. This leads to a failure of some OPCUA unit tests, which are using a third party library to write a file onto the filesystem. The library first uses a native java call to get the mounted filesystems List<UnixMountEntry> getMountEntries() and then checks whether there is enough space the file to be created. This workaround resolves the issue creating a /etc/mtab symlink, if missing.
After pod creation
/etc/mtab symlink
is missing. This leads to a failure of some OPCUA unit tests, which are using a third party library to write a file onto the filesystem. The library first uses a native java call to get the mounted filesystemsList<UnixMountEntry> getMountEntries()
and then checks whether there is enough space the file to be created. This workaround resolves the issue creating a/etc/mtab
symlink, if missing.