Hi,
After upgrade from Jessie to Stretch I now see a race condition in
'vgchange -ay'.
I've a shell script that does a 'vgchange -ay' and on success proceeds
to mount the newly active logical volumes. Now, about 1 in 10 times,
the symlinks in /dev/$VGNAME/$LVNAME (and
/dev/mapper/${VGNAME}-${LVNAME}, I've tried both) do not yet exist
after vgchange exits and the mount commands fail. Looking at /dev/
afterwards shows the symlinks do exist, hence a race condition.
The workaround I am trying is to sleep 1 second after vgchange.
(This is lame. Other suggestions would be appreciated. :)
See also Bug#795867.