Error: mkfs Image: in mkfs command. when mkfs is not in $PATH
On Debian host, where user $PATH doesn't include /sbin, when a try to register a datablock image, command fail with:
Error: mkfs Image: in mkfs command
I fixed that adding in oneadmin .profile:
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" export PATH
Maybe will be good to try to execute mkfs from standard places (/sbin/mkfs or /sbin/local/mkfs) if /usr/bin/env mkfs fails?
#1 Updated by Ruben S. Montero over 9 years ago
- Status changed from New to Closed
- Resolution set to wontfix
I am closing this as the backend of the ImageRepository has been rewritten to use a driver architecture. You can define your own drivers to support different storage backends. The default fs-based drivers use the tm_common.sh tool definition, that should fix this one.
Thanks for your feedbak!