~paelzer/ubuntu/+source/open-vm-tools:fix-1847157-vix-mem-leak-eoan

Last commit made on 2019-10-09
Get this branch:
git clone -b fix-1847157-vix-mem-leak-eoan https://git.launchpad.net/~paelzer/ubuntu/+source/open-vm-tools
Only Christian Ehrhardt  can upload to this branch. If you are Christian Ehrhardt  please log in for upload directions.

Branch merges

Branch information

Name:
fix-1847157-vix-mem-leak-eoan
Repository:
lp:~paelzer/ubuntu/+source/open-vm-tools

Recent commits

650a85a... by Christian Ehrhardt  on 2019-10-09

d/control: update maintainer

Signed-off-by: Christian Ehrhardt <email address hidden>

f39ad44... by Christian Ehrhardt  on 2019-10-09

changelog: Fix memory leaks in vix plugin (LP: #1847157)

Signed-off-by: Christian Ehrhardt <email address hidden>

12d98cc... by Christian Ehrhardt  on 2019-10-09

d/p/lp-1847157*: Fix memory leaks in vix plugin (LP: #1847157)

Signed-off-by: Christian Ehrhardt <email address hidden>

8896d05... by Matthias Klose on 2019-09-05

Import patches-unapplied version 2:10.3.10-3build1 to ubuntu/eoan-proposed

Imported using git-ubuntu import.

Changelog parent: 665645a5e92f26fa443ce3d97ebbbec637a76779

New changelog entries:
  * No-change upload with strops.h and sys/strops.h removed in glibc.

665645a... by Bernd Zeimetz on 2019-09-03

Import patches-unapplied version 2:10.3.10-3 to debian/sid

Imported using git-ubuntu import.

Changelog parent: 536ba1c1845e58607a20b1ddad66fb649be84a6e

New changelog entries:
  [ Bernd Zeimetz ]
  * [19c646a] gcc9 compatibility.
    Upstream commit c68172ef7f2d4f116078e2aba82986a8cab0b16e (Closes: #925794)
  [ Christian Ehrhardt ]
  * [865763e] Fix other ftbfs with GCC-9
    * d/rules: disable address-of-packed-member gcc-9 warnings for pre 11.0 code
    (LP: #1842301)
    * d/rules: use modern syntax for disabling deprecated-declarations
    * d/p/gcc9-Remove-GLib-2.32-deprecated-APIs-from-tools.patch: stop using outdated GLib features
    Upstream commit a7c141fc
    * d/p/gcc9-drop-obsolete-G_INLINE_FUNC.patch: stop using deprecated GLib Macro
    * d/p/gcc9-GStaticRecMutex.patch: stop using deprecated GStaticRecMutex
    Upstream commit 19ca3e36
    * d/p/gcc9-build-error-in-vmblocktest.c.patch: avoid error due to stringop-truncation
    Upstream commit 553d1283
  [ Bernd Zeimetz ]
  * [0ce2ba2] Policy 4.0.1: The extra priority has been deprecated
  * [c8760c6] Bumping Standards-Version to 4.4.0
  * [a6ed8ce] Don't override dh_builddeb.
    debian-rules-should-not-use-custom-compression-settings
  * [bdfd8b5] Remove add_patch script
  * [be4d889] Update copyright years.
  * [9ac710e] Remove autotools-dev dependency.
  * [4296cf4] Fix permissions of udev rules file
  * [ed11c19] A new lintian override

536ba1c... by Bernd Zeimetz on 2019-08-07

Import patches-unapplied version 2:10.3.10-2 to debian/sid

Imported using git-ubuntu import.

Changelog parent: ee802e103d04add6ae3c8bba28593d77c3049b7e

New changelog entries:
  [ Christian Ehrhardt ]
  * [d79cc9d] d/control: fix postinst missing lsmod/modprobe.
    Upgrades on open-vm-desktop can trigger errors like the following:
    /var/lib/dpkg/info/open-vm-tools-desktop.postinst: 5:
    /var/lib/dpkg/info/open-vm-tools-desktop.postinst: lsmod: not found
    /var/lib/dpkg/info/open-vm-tools-desktop.postinst: 6:
    /var/lib/dpkg/info/open-vm-tools-desktop.postinst: modprobe: not found
    The reason is that kmod isn't a dependency of open-vm-tools-desktop and
    could be missing e.g. if you installed it in a system container.
    Once might discuss how useful open-vm-tools-desktop is in that
    environment but a n issue to fix none the less.
    Signed-off-by: Christian Ehrhardt <email address hidden>
  [ Bernd Zeimetz ]
  * [4d3f25f] Fix guest OS reporting for Debian/Buster.
    Without this fix, open-vm-tools report other4xLinux64Guest instead of
    Debian/Buster.
    Reason is the output of lsb_release, which outputs:
    $ lsb_release -sd
    Debian GNU/Linux 10 (buster)
    But the code in open-vm-tools expects '10.'.
    Thanks to Oliver Kurth (Closes: #934005)

ee802e1... by Bernd Zeimetz on 2019-03-29

Import patches-unapplied version 2:10.3.10-1 to debian/sid

Imported using git-ubuntu import.

Changelog parent: 1842b04d1e6e9c93fbf52341910bd5f8dd923a22

New changelog entries:
  * [122e511] Update upstream source from tag 'upstream/10.3.10'
    Update to upstream version '10.3.10'
    with Debian dir fb12c7cfc99a9497795475c29306e78d08cc3712
    - Closes: #925940
    - Bugfix release for the 10.3 series.
      - Correct and/or improve handling of certain quiesced
        snapshot failures (shipped as patch in 2:10.3.5-6).
      - Fix some bad derefs in primary NIC gather code
      - Fix possible security issue with the permissions of the
        intermediate staging directory and path.
        Closes: #925959
      - CONSTANT_EXPRESSION_RESULT in TimeUtil_StringToDate()
        Found by coverity.
      - Deploypkg log files of linux should not be world readable.
        They might contain sensitive data.
      - General code clean-up:
        - Treat local variables "len" consistently as "size_t"
          type in Posix_Getmntent_r()
        - Improve readability of error handling logic in
          ShrinkDoWipeAndShrink() and remove another line of dead code.
        - Setting "errno" to ENOENT when there is no passwd entry
          for the user.
      - Fix NULL pointer dereference and remove three lines of dead code.
    - Other changes/fixes, not related to Debian:
      - Update copyright years
      - Fix CentOS 7.6 detection
      - Include vmware/tools/log.h to define g_info (fix for SLES)
      - Special-case profile loading for StartProgram
        (Win32 only)
      - Changes to common source files not applicable to
        open-vm-tools. (Code used by other vmware tools, unrelated
        to open-vm-tools).
      - Bump up the SYSIMAGE_VERSION for VMware tools 10.3.10

  * [18de70f] Removing backported patches, shipped in 10.3.10.

1842b04... by Bernd Zeimetz on 2019-03-13

Import patches-unapplied version 2:10.3.5-8 to debian/sid

Imported using git-ubuntu import.

Changelog parent: 728914f5b3056c04635f185cd7ac9efe31c0ee67

New changelog entries:
  [ Jean-Baptiste Lallement ]
  * [0f35aee] Add modaliases to open-vm-tools-desktop.
    Added Modaliases to open-vm-tools-desktop to auto-discover and
    auto-install the driver on Ubuntu via ubuntu-drivers. The driver is then
    installed at installation time and available on first boot for an
    improved user experience (LP: #1819207)
  [ Bernd Zeimetz ]
  * [dc4e1ce] Load vmwgfx module before vmtoolsd starts.
    As discussed on github in vmware/open-vm-tools#214
    we need to load the vmwgfx module before starting vmtoolsd
    for desktop users. Otherwise it is not able to retrieve the KMS
    resolutions and resizing the VM desktop fails.
    Thanks to @thomashvmw @rhertzog (Closes: #924518)

728914f... by Bernd Zeimetz on 2019-03-04

Import patches-unapplied version 2:10.3.5-7 to debian/sid

Imported using git-ubuntu import.

Changelog parent: 0eba19e3921ebed9ccb65b5c3fc1e49547cf504d

New changelog entries:
  [ Christian Ehrhardt ]
  * [71b468f] make vgauth service execution more reliable.
    Since d3d47039 "Start vgauth before vmtoolsd" there is a potential race
    of starting vgauth so early that it might have issues. This was
    discussed back in the day in [1] to [2], but confirmed to be ok by
    VMWare.
    We were all somewhat convinced by this, but a bad feeling remained not
    only with me but also with Bernd [4].
    A recent SRU review denial made me rethink all of it and I think we can
    make it safer without thwarting the purpose of the original change.
    Note: Disambiguation of service names used below:
    vgauth - open-vm-tools.vgauth.service
    vmtoolsd - open-vm-tools.service
    fs - systemd-remount-fs.service
    tmp - systemd-tmpfiles-setup.service
    cloud-init - cloud-init-local.service
    Currently we have these dependency requirements:
    - vgauth should be before vmtoolsd
    - cloud init should be before vmtoolsd
    - cloud init has to be really early in general
      - therefore this is using DefaultDependencies=No
    That lead to this graph:
     fs / tmp -> vmtoolsd -> cloud-init
    And d3d47039 added it to be like:
     fs / tmp -> vmtoolsd -> cloud-init
                   ^
     vgauth --|
    But there is no need to have vgauth without any pre-dependencies at all.
    It is only needed to be "before" vmtoolsd, therefore we can make it:
     fs / tmp -> vgauth -> vmtoolsd -> cloud-init
    That will make execution of vgauth much less error-prone (even though I
    have no hard issue to report) while at the same time holding up all
    known required ordering constraints.
    [1]: https://bugs.launchpad.net/ubuntu/+source/open-vm-tools/+bug/1804287/comments/3
    [2]: https://bugs.launchpad.net/ubuntu/+source/open-vm-tools/+bug/1804287/comments/12
    [3]: https://bugs.launchpad.net/ubuntu/+source/open-vm-tools/+bug/1804287/comments/25
    [4]: https://github.com/bzed/pkg-open-vm-tools/pull/15#issuecomment-447237910
    Signed-off-by: Christian Ehrhardt <email address hidden>

0eba19e... by Bernd Zeimetz on 2019-02-11

Import patches-unapplied version 2:10.3.5-6 to debian/sid

Imported using git-ubuntu import.

Changelog parent: d7cb7b259a7885c65b899ec74de6361a22a561a5

New changelog entries:
  * [43ec618] Correct and/or improve handling of certain quiesced
    snapshot failures.
    Thanks to Oliver Kurth (Closes: #921470)