>>> On 2/11/2009 at 10:22 PM, Dmitry Torokhov <d...@vmware.com> wrote: >> Thus having vmware-user-suid-wrapper retry for a few seconds might not be >> the worst thing to do >> >> As said, it only happens in case of automatic login being activated. In >> other case the time it takes to log in is long enough to initialize >> completely. (At least I seem to be slow enugh by typing) >> > > I see. Vmware-user reacts to SIGUSR2 by relaunching `vmware-user` executable > and our init scripts do send this signal after [re]loading vmblock driver; > maybe you could do the same. This assumes that vmware-user in the PATH is a > symlink to vmware-user-suid-wrapper: > > [r...@dtor-frh-i386-vm ~]# ls -la `which vmware-user` > lrwxrwxrwx 1 root root 52 2009-02-06 10:39 /usr/bin/vmware-user -> > /usr/lib/vmware-tools/bin32/vmware-user-suid-wrapper
this assumes that we're not packaging the open-vm-tools as outlined on the wiki for packagers. vmware-user resides in /usr/bin, and vmware-user-suid-wrapper also resides in /usr/bin, but with mode 4755 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. If I understand correct, you don't think that having the suid-wrapper taking care on it's own to retry as a good idea, right? ( think this would be more of a solution than working around the issue with signaling and the like). Dominique ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ open-vm-tools-devel mailing list open-vm-tools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open-vm-tools-devel