Add /tmp entry to usr.manifest

Operating Systems / OSv - Tomasz Grabiec [cloudius-systems.com] - 29 November 2013 10:15 UTC

When this line is absent in usr.manifest:

/tmp/index.rb: ../../mgmt/web/views/index.rb

... tst-rename.so test fails with:

Assertion failed: c_str (<...>/osv/external/misc.bin/usr/ include/boost/filesystem/path_traits.hpp: dispatch: 214)

The reason for failure is missing /tmp. It is supposed to be created in unpack_bootfs() but it is later masked by zfs root pivot. The line in the manifest recreated it, but since mgmt can be a separate module it may not always be there.

This patch fixes that by adding an explicit entry for /tmp to usr.manifest, same as we do for /dev.

d9d3a7c Add /tmp entry to usr.manifest
fs/vfs/main.cc | 14 --------------
usr.manifest.skel | 1 +
2 files changed, 1 insertion(+), 14 deletions(-)

Upstream: github.com


  • Share