Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 215630 - app-emulation/open-vm-tools-20080319.82724 version bump
Summary: app-emulation/open-vm-tools-20080319.82724 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo VMWare Bug Squashers [disabled]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-31 19:15 UTC by Sebastian T. Hafner
Modified: 2008-07-08 18:06 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
app-emulation/open-vm-tools-0.0.20080319.82724 VERSION BUMB (open-vm-tools-0.0.20080319.82724.ebuild,3.37 KB, text/plain)
2008-03-31 19:25 UTC, Sebastian T. Hafner
Details
app-emulation/open-vm-tools-0.0.20080319.82724 VERSION BUMP (open-vm-tools-0.0.20080319.82724.ebuild,3.49 KB, text/plain)
2008-04-03 14:19 UTC, Sebastian T. Hafner
Details
files/scripts.diff (scripts.diff,4.09 KB, patch)
2008-04-03 14:22 UTC, Sebastian T. Hafner
Details | Diff
renaming scripts.diff to be used by the new ebuild (scripts-82724.diff,4.09 KB, patch)
2008-04-23 05:28 UTC, Sebastian T. Hafner
Details | Diff
scripts patch matching lgpl scripts (scripts-87182.diff,3.90 KB, patch)
2008-04-23 05:28 UTC, Sebastian T. Hafner
Details | Diff
small ebuild changes (open-vm-tools-0.0.20080319.82724.ebuild,3.58 KB, text/plain)
2008-04-23 05:29 UTC, Sebastian T. Hafner
Details
open-vm-tools-0.0.20080414.87182.ebuild VERSION BUMP (open-vm-tools-0.0.20080414.87182.ebuild,3.58 KB, text/plain)
2008-04-23 05:31 UTC, Sebastian T. Hafner
Details
open-vm-tools-0.0.20080515.93241.ebuild (VERSION BUMP) (open-vm-tools-0.0.20080515.93241.ebuild,3.64 KB, text/plain)
2008-05-21 19:01 UTC, Sebastian T. Hafner
Details
Patches resume-vm-default, suspend-vm-default and checkvm to -nopie (patch.diff,5.16 KB, patch)
2008-05-21 19:07 UTC, Sebastian T. Hafner
Details | Diff
This is a patch to stop the driver from printing ioctl operation not supported messages. (vmxnet_strip_debug.patch,742 bytes, patch)
2008-07-08 14:57 UTC, Brian Kroth
Details | Diff
A patch to the latest ebuild to use the vmxnet_strip_debug.patch. (open-vm-tools-0.0.20080515.93241.ebuild.patch,482 bytes, patch)
2008-07-08 14:58 UTC, Brian Kroth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian T. Hafner 2008-03-31 19:15:24 UTC
Hi!

This is an ebuild for the new version of open-vm-tools!
They are needed for vmware-server 1.0.4 to soft suspend the virtual-machine!
For all of us, wo don't want to use this cryptic installer delivered with the server

Reproducible: Couldn't Reproduce




VERSION BUMP!
Comment 1 Sebastian T. Hafner 2008-03-31 19:25:57 UTC
Created attachment 147891 [details]
app-emulation/open-vm-tools-0.0.20080319.82724 VERSION BUMB

app-emulation/open-vm-tools-0.0.20080319.82724 VERSION BUMB
Comment 2 Sebastian T. Hafner 2008-04-03 14:19:50 UTC
Created attachment 148266 [details]
app-emulation/open-vm-tools-0.0.20080319.82724 VERSION BUMP

This is the new ebuild which uses the scripts.diff to the source
more to read with the patch
Comment 3 Sebastian T. Hafner 2008-04-03 14:22:43 UTC
Created attachment 148267 [details, diff]
files/scripts.diff

This patch removes the network down/up parts from the default scripts.

Because they run into errors on gentoo systems and are useless in the actual form, so we should remove this parts.

Adding support for gentoo net scripts could also be done, plz email me if you want me to do something like that.

But in the attached form, this ebuild works for us an different gentoo vms
Comment 4 Mike Auty (RETIRED) gentoo-dev 2008-04-06 21:47:18 UTC
Thanks very much for the ebuild.  I've now bumped the ebuild myself in the overlay.  Please give it a try and let me know if there's any issues with it.  Hopefully it'll hit the tree in a week or two after some testing...  5:)
Comment 5 Steffen Bergner 2008-04-22 09:16:59 UTC
Please bump version, because with gentoo-sources-2.6.25-gentoo-r1 the open-vm-tools-0.0.20080123.74039 won't compile.

newest: 2008.04.14-87182

http://downloads.sourceforge.net/open-vm-tools/open-vm-tools-2008.04.14-87182.tar.gz

Thanks a lot!
Comment 6 Sebastian T. Hafner 2008-04-23 05:28:06 UTC
Created attachment 150671 [details, diff]
renaming scripts.diff to be used by the new ebuild
Comment 7 Sebastian T. Hafner 2008-04-23 05:28:56 UTC
Created attachment 150672 [details, diff]
scripts patch matching lgpl scripts
Comment 8 Sebastian T. Hafner 2008-04-23 05:29:49 UTC
Created attachment 150673 [details]
small ebuild changes
Comment 9 Sebastian T. Hafner 2008-04-23 05:31:24 UTC
Created attachment 150675 [details]
open-vm-tools-0.0.20080414.87182.ebuild VERSION BUMP

Sorry, at the moment, I cant test it with the 2.6.25-gentoo-r1 sources, perhaps you can report what happens :)
Comment 10 Steffen Bergner 2008-04-23 07:41:47 UTC
It works! Thanks!

Now I have to wait for the vmware-modules fix to be happy.

http://bugs.gentoo.org/show_bug.cgi?id=218250
Comment 11 Mike Auty (RETIRED) gentoo-dev 2008-04-23 15:34:58 UTC
This ebuild has been bumped in the overlay.  Please test it out (there was already a dependency bug spotted) and let me know if there's any problems.

Sebastian, I'm afraid I haven't had time to look through your ebuilds or compare them to the one currently in the overlay.  It would help me greatly if you could let me know what changes needed making to the ebuild, and what your patches to the default scripts achieve?  Thanks...  5:)
Comment 12 Sebastian T. Hafner 2008-05-21 19:01:22 UTC
Created attachment 153865 [details]
open-vm-tools-0.0.20080515.93241.ebuild (VERSION BUMP)

New version, new ebuild
Comment 13 Sebastian T. Hafner 2008-05-21 19:07:09 UTC
Created attachment 153867 [details, diff]
Patches resume-vm-default, suspend-vm-default and checkvm to -nopie

Again removing not working crap in

 * resume-vm-default
 * suspend-vm-default

This is to enable soft suspending and resuming the vm.
The default scripts dont work with gentoo, and are useless, 
but they causes to not beeing able to soft suspend the vm.

And there is a small add in the Makefile.in for checkvm:
Added -nopie to CFLAGS to make this compile on a hardened-profile.


---

for Mike:
Sorry, but I wasn't able to reponse for some time :)
This time, I have descriped better what the patch does, the layman builds have the same problem with the scripts
Comment 14 Mike Auty (RETIRED) gentoo-dev 2008-05-24 22:48:12 UTC
Hiya Sebastian,

Thanks for your patches and ebuild.  I've modified the patch slightly to actually shut down all the nics and then restore any that were previously active in Gentoo fashion.

I haven't applied the nopie patch because I don't want to force it on all non-hardened users, particularly when there's a hardenednopie compiler configuration specifically for this kind of issue.  I have update the hardened warning though, to hopefully allow people to figure out what to do without refering to the old bug.  If you have any further comments on that issue, please add them to bug 200376.

Please give the latest ebuild a test and hopefully it'll hit the tree in the next couple of weeks...  5:)
Comment 15 Alin Năstac (RETIRED) gentoo-dev 2008-07-05 10:12:05 UTC
(In reply to comment #14)
> I've modified the patch slightly to
> actually shut down all the nics and then restore any that were previously
> active in Gentoo fashion.

Mike, the current version of open-vm-tools (app-emulation/open-vm-tools-0.0.20080414.87182) install /etc/vmware-tools/*-default scripts that are not suited for our distribution. Am I missing something?
Comment 16 Mike Auty (RETIRED) gentoo-dev 2008-07-05 10:15:15 UTC
Hiya Alin,

Yeah, the script modifications are currently only in the ebuilds in the vmware overlay, so these changes haven't hit the tree yet.  Thanks for the prod, I'll try and get them in the tree sometime tomorrow (I've got other commitments today).  Sorry for the delay...
Comment 17 Brian Kroth 2008-07-08 14:57:16 UTC
Created attachment 159882 [details, diff]
This is a patch to stop the driver from printing ioctl operation not supported messages.

This is a patch to stop the driver from printing ioctl operation not supported messages.
Comment 18 Brian Kroth 2008-07-08 14:58:13 UTC
Created attachment 159883 [details, diff]
A patch to the latest ebuild to use the vmxnet_strip_debug.patch.

A patch to the latest ebuild to use the vmxnet_strip_debug.patch.
Comment 19 Mike Auty (RETIRED) gentoo-dev 2008-07-08 18:06:12 UTC
Sorry Brian, I can't see the point of commenting out a warning message just to get rid of the warning message?  That patch isn't actually fixing anything, at best it's masking it, so I won't be including that in the main ebuild.

As for everybody else, 0.0.20080515.93241 is now in the tree, and since this was a version bump bug for an even older version, I'm going to mark it as fixed.  Please open new bugs for any issues you experience with the latest version.