Am 27.01.2011 14:30, schrieb Thomas Bächler: > Am 27.01.2011 11:35, schrieb Jan Spakula: >>> This is weird. I think lvm2 is supposed to wait for udev to finish >>> creating all links before returning. Inserting a 'sleep 1' or >>> '/sbin/udevadm settle' in rc.sysinit after the vgchange call should fix >>> this, but it shouldn't be necessary. >> >> Inserting 'sleep 1' after 'activate_vgs' (new initscripts) does indeed save >> the day. I don't know how to figure out why in my case lvm2 doesn't wait for >> udev... Any suggestions for further testing welcome. > > I thought so. (I guess this issue stays the same in the new initscripts.) > > I suppose this must be a bug in the device-mapper - the udev integration > is supposed to wait for symlink creation before returning. Jakob, Jan, answer me this: 1) Do you have udisks installed? 2) Does the problem persist if you uninstall udisks (-Rd please, for the sake of testing)? 3) Does the problem persist if you have udisks installed and comment line 57 in /lib/udev/rules.d/80-udisks.rules: #KERNEL=="dm-*", IMPORT{program}="udisks-dm-export %M %m"
Attachment:
signature.asc
Description: OpenPGP digital signature