Package: mdadm
Version: 1.9.0-1
Severity: normal

An excerpt from mdrun:

  BASE=$DEVDIR/md
  export BASE
  #devfs
  test -d $BASE && BASE=$BASE/

[...]

  if [ "$AUTOCREATE" ] ; then
     BASE=$DEVDIR/md
     export BASE

There's no need for this second assignment to $BASE; $DEVDIR has not
changed between the first chunk I quoted and the second. Furthermore,
since the 'test -d $BASE && BASE=$BASE/' line is missing from the second
chunk, this means that if you're relying on both devfs device naming and
autocreation (e.g. udev with devfs rules, as in the Ubuntu installer),
then mdrun doesn't create the right set of devices.

I suggest simply removing the second assignment to $BASE.

Thanks,

-- 
Colin Watson                                       [EMAIL PROTECTED]


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

Reply via email to