From: Dominique L. <Dom...@TM...> - 2009-02-12 09:42:33
|
>>> On 2/12/2009 at 9:16 AM, "Dominique Leuenberger" <Dom...@TM...> wrote: > I'm not entirely sure how symlinking the two together will help, considering > that vmware-user-suid-wrapper is starting vmware-user. Having them > symlinked sounds like weird look. But for some reasons apparently it seems > to work out for you. > I think I'll replace the startup of vmware-user-suid-wrapper with a script that > is trying test if the start succeeded, and if not try to restart it > for a few times, with a sleep of 1 second or the like. A possible solution I just implemented here: A script that tests for the existence of /proc/fs/vmblock/dev, if not there sleeps for a short time (increasing) and then retries again. This seems to help me out for all the cases and it seemed (so far) always to sleep long enough. The script is attached, so if you see something completely weird / wrong, please let me know. Always willing to improve it further. This script is now used in the /etc/xdg/autostart/vmware-user desktop instead of vmware-user-suid-wrapper directly. So having one more abstraction layer in between, taking care of everything working out the way it should. Dominique |