Bug #255

transfer managers assume PATH setting

Added by Claude Noshpitz about 11 years ago. Updated almost 11 years ago.

Status:ClosedStart date:06/10/2010
Priority:NormalDue date:
Assignee:Jaime Melis% Done:

0%

Category:Drivers - Auth
Target version:Release 2.0
Resolution:fixed Pull request:
Affected Versions:

Description

The TMs assume that 'mkfs' is on the path -- that's not the case with a default setup of (at least) Centos 5.4. It seems like TMs ought to try to operate under almost any kind of configuration.

I suggest one or both of:

. changing the invocations of 'mkfs' to '/sbin/mkfs', which should work for modern Linuxes (http://www.pathname.com/fhs/2.2/fhs-3.14.html)

. adding the ability to test for environmental dependencies during 'onehost create'.

There may well be other commands beyond 'mkfs' that can fail, btw. That's just one I happened to run into.

Associated revisions

Revision 5707604e
Added by Jaime Melis almost 11 years ago

Common file paths in tm_common.sh (#255)

History

#1 Updated by Ruben S. Montero about 11 years ago

  • Category set to Drivers - Auth
  • Assignee set to Javi Fontan
  • Target version set to Release 1.4.2

I think we can put all the tools in a common file to be sourced by the tm_scripts.

#2 Updated by Ruben S. Montero about 11 years ago

  • Assignee changed from Javi Fontan to Jaime Melis

#3 Updated by Ruben S. Montero about 11 years ago

  • Status changed from New to Assigned

#4 Updated by Ruben S. Montero about 11 years ago

  • Target version changed from Release 1.4.2 to Release 2.0

#5 Updated by Jaime Melis almost 11 years ago

We can also add a feature described by Dan Yocum, regarding the swap partitions:

I propose that this should be solved by creating the swap partition with the label of "SWAP" which then can be used in the VM /etc/fstab to specify the swap partition. For example, this will be the line in the VM fstab:

LABEL=SWAP swap swap defaults 0 0

The scripts that need to be changed are ~oneadmin/lib/*/tm_mkswap.sh and simply add the "-L SWAP" option to the mkswap command.

#6 Updated by Ruben S. Montero almost 11 years ago

  • Status changed from Assigned to Closed
  • Resolution set to fixed

Also available in: Atom PDF