Bug #579
Error: mkfs Image: in mkfs command. when mkfs is not in $PATH
Status: | Closed | Start date: | 04/15/2011 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | - | |||
Target version: | - | |||
Resolution: | wontfix | Pull request: | ||
Affected Versions: |
Description
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?
Associated revisions
History
#1 Updated by Ruben S. Montero about 10 years ago
- Status changed from New to Closed
- Resolution set to wontfix
Hi,
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!