Package: open-vm-tools
Version: 2:12.5.0-2
Severity: normal
Tags: patch

Dear Maintainer,

when updating a recently installed server, we noticed that 
open-vm-tools.service refused to start, reporting that the unit tmp.mount is 
masked.

I tracked the error down to the "RequiresMountsFor=/tmp" line in the default 
unit file, which causes a hard requirement on that unit being usable. In our 
setup there is a physical /tmp configured in fstab, which conflicts with 
thedefault tmp.mount unit.

I believe that changing the RequiresMountsFor to WantsMountsFor as in the 
supplied patch should solve the issue. It works in our setup, but I have not 
been able to test for any posible side-effects, such as potentially causing a 
regression on #900566.

Thank you for your time,
Erik


--- /lib/systemd/system/open-vm-tools.service   2025-05-12 15:17:50.000000000 
+0200
+++ /etc/systemd/system/open-vm-tools.service   2025-09-08 10:43:32.558735553 
+0200
@@ -6,7 +6,7 @@
 Before=cloud-init-local.service
 After=vgauth.service
 After=apparmor.service
-RequiresMountsFor=/tmp
+WantsMountsFor=/tmp
 After=systemd-remount-fs.service systemd-tmpfiles-setup.service 
systemd-modules-load.service
 
 [Service]


-- System Information:
Debian Release: 13.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.41+deb13-amd64 (SMP w/1 CPU thread; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages open-vm-tools depends on:
ii  init-system-helpers    1.69~deb13u1
ii  iproute2               6.15.0-1
ii  libc6                  2.41-12
ii  libdrm2                2.4.124-2
ii  libfuse3-4             3.17.2-3
ii  libgcc-s1              14.2.0-19
ii  libglib2.0-0t64        2.84.4-3~deb13u1
ii  libmspack0t64          0.11-1.1+b1
ii  libssl3t64             3.5.1-1
ii  libtirpc3t64           1.3.6+ds-1
ii  libudev1               257.8-1~deb13u1
ii  libxml2                2.12.7+dfsg+really2.9.14-2.1+deb13u1
ii  libxmlsec1t64          1.2.41-1+b1
ii  libxmlsec1t64-openssl  1.2.41-1+b1
ii  lsb-release            12.1-1
ii  pciutils               1:3.13.0-2

Versions of packages open-vm-tools recommends:
ii  ethtool   1:6.14.2-1
ii  fuse3     3.17.2-3
ii  zerofree  1.1.1-1+b1

Versions of packages open-vm-tools suggests:
pn  cloud-init                   <none>
pn  open-vm-tools-containerinfo  <none>
pn  open-vm-tools-desktop        <none>
pn  open-vm-tools-salt-minion    <none>

-- no debconf information

Reply via email to