On Thursday 12 February 2009 01:42:11 Dominique Leuenberger wrote:
> >>> On 2/12/2009 at  9:16 AM, "Dominique Leuenberger"
>
> <dominique.leuenber...@tmf-group.com> 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.
>

What I don't like about this solution is that it adds yet another piece that 
needs to know where vmblock is mounted and when we move to FUSE-based 
implementation the mount point is going to change.

Also, you still need to find a way to get vmware-user release/reacquire 
vmblock when you update open-vm-tools package unless you want to force user to 
restart their desktop. I wonder if we need to adjust the packaging guidelines 
with regard to vmware-user/vmware-user-suid-wrapper...

-- 
Dmitry

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
open-vm-tools-devel mailing list
open-vm-tools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open-vm-tools-devel

Reply via email to