SoftwareAG / cumulocity-clients-java

This repository contains Cumulocity client libraries for Java. This is a read-only mirror
8 stars 6 forks source link

[DM-2870] After pod creation /etc/mtab symlink is missing, graft 1017 #439

Closed bggov closed 9 months ago

bggov commented 9 months ago

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.