Package: lvm-common
Version: 1.5.17
Severity: normal

The user can set the default owner/mode of a LV by editing
/etc/default/lvm-common and adding a line such as the following (example
from default debian file):

MODE_dbgrp_oracle01="oracle:disk 664"

If an LV has a "-" in it's name (i.e. oracle-01), then the line becomes:

MODE_dbgrp_oracle-01="oracle:disk 664"

/bin/sh (in this case, bash 2.05b.0(1)-release) does not seem to like
the "-", and gives the following error:

bash: MODE_dbgrp_oracle-01=oracle:disk 664: command not found

Hence /etc/init.d/lvm crashes out as it uses "set -e", and sources this
file near the top. LVM is then not properly configured.

-- 
Matthew Newton <[EMAIL PROTECTED]>

UNIX and e-mail Systems Administrator, Network Support Section,
Computer Centre, University of Leicester,
Leicester LE1 7RH, United Kingdom


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to