Package: open-vm-tools-desktop
Version: 2:10.0.7-3227872-5
Severity: normal

In (standard) GNOME session after resizing the VM window at least once,
any later performed system shutdown hangs for 90 seconds:
"A stop job is running for User Manager for UID 117"
"A stop job is running for Session c1 of user Debian-gdm"

# journalctl -b -1
Nov 02 14:26:08 vm-debian9-64 systemd[1134]: Closed D-Bus User Message Bus 
Socket.
Nov 02 14:26:08 vm-debian9-64 systemd[1134]: Reached target Shutdown.
Nov 02 14:26:08 vm-debian9-64 systemd[1]: Stopped Make remote CUPS printers 
available locally.
Nov 02 14:26:08 vm-debian9-64 systemd[1]: Stopping CUPS Scheduler...
Nov 02 14:26:08 vm-debian9-64 systemd[1]: Stopping Avahi mDNS/DNS-SD Stack...
Nov 02 14:26:08 vm-debian9-64 systemd[1134]: Starting Exit the Session...
Nov 02 14:26:08 vm-debian9-64 systemd[1]: Stopped Avahi mDNS/DNS-SD Stack.
Nov 02 14:26:08 vm-debian9-64 systemd[1134]: Received SIGRTMIN+24 from PID 1736 
(kill).
Nov 02 14:26:08 vm-debian9-64 systemd[1]: user@1000.service: Killing process 
1556 (bash) with signal SIGKILL.
Nov 02 14:26:09 vm-debian9-64 /usr/lib/gdm3/gdm-x-session[1144]: (II) 
UnloadModule: "libinput"
Nov 02 14:26:09 vm-debian9-64 /usr/lib/gdm3/gdm-x-session[1144]: (II) 
systemd-logind: releasing fd for 13:67
Nov 02 14:26:09 vm-debian9-64 systemd[1]: Stopped User Manager for UID 1000.
Nov 02 14:26:09 vm-debian9-64 systemd[1]: Stopped Daemontools service 
supervision.
Nov 02 14:26:09 vm-debian9-64 systemd[1]: Stopped CUPS Scheduler.
Nov 02 14:26:10 vm-debian9-64 systemd[1]: Started Unattended Upgrades Shutdown.
Nov 02 14:26:10 vm-debian9-64 /usr/lib/gdm3/gdm-x-session[1144]: (II) 
UnloadModule: "libinput"
Nov 02 14:26:10 vm-debian9-64 /usr/lib/gdm3/gdm-x-session[1144]: (II) 
systemd-logind: releasing fd for 13:69
Nov 02 14:26:10 vm-debian9-64 /usr/lib/gdm3/gdm-x-session[1144]: (WW) 
xf86CloseConsole: KDSETMODE failed: Input/output error
Nov 02 14:26:10 vm-debian9-64 /usr/lib/gdm3/gdm-x-session[1144]: (WW) 
xf86CloseConsole: VT_GETMODE failed: Input/output error
Nov 02 14:26:10 vm-debian9-64 /usr/lib/gdm3/gdm-x-session[1144]: (WW) 
xf86CloseConsole: VT_ACTIVATE failed: Input/output error
Nov 02 14:26:10 vm-debian9-64 /usr/lib/gdm3/gdm-x-session[1144]: (II) Server 
terminated successfully (0). Closing log file.
Nov 02 14:26:10 vm-debian9-64 systemd[1]: Stopped Session 2 of user hm.
Nov 02 14:26:10 vm-debian9-64 systemd[1]: Removed slice User Slice of hm.
Nov 02 14:26:10 vm-debian9-64 systemd-logind[794]: Removed session 2.
Nov 02 14:26:10 vm-debian9-64 systemd[1]: Unmounted /run/user/1000.
Nov 02 14:27:38 vm-debian9-64 systemd[898]: at-spi-dbus-bus.service: State 
'stop-sigterm' timed out. Killing.
Nov 02 14:27:38 vm-debian9-64 systemd[1]: session-c1.scope: Stopping timed out. 
Killing.
Nov 02 14:27:38 vm-debian9-64 systemd[898]: at-spi-dbus-bus.service: Killing 
process 1058 (at-spi-bus-laun) with signal SIGKILL.
Nov 02 14:27:38 vm-debian9-64 systemd[1]: session-c1.scope: Killing process 
1051 (Xwayland) with signal SIGKILL.
Nov 02 14:27:38 vm-debian9-64 systemd[1]: user@117.service: State 
'stop-sigterm' timed out. Killing.
Nov 02 14:27:38 vm-debian9-64 systemd[898]: at-spi-dbus-bus.service: Main 
process exited, code=killed, status=9/KILL
Nov 02 14:27:38 vm-debian9-64 systemd[1]: user@117.service: Killing process 898 
(systemd) with signal SIGKILL.
Nov 02 14:27:38 vm-debian9-64 systemd[1]: Stopped User Manager for UID 117.
Nov 02 14:27:38 vm-debian9-64 systemd[1]: user@117.service: Unit entered failed 
state.
Nov 02 14:27:38 vm-debian9-64 systemd[1]: user@117.service: Failed with result 
'timeout'.
Nov 02 14:27:38 vm-debian9-64 systemd[1]: Stopped Session c1 of user Debian-gdm.
Nov 02 14:27:38 vm-debian9-64 systemd[1]: session-c1.scope: Unit entered failed 
state.
Nov 02 14:27:38 vm-debian9-64 systemd[1]: Removed slice User Slice of 
Debian-gdm.
Nov 02 14:27:38 vm-debian9-64 systemd[1]: Stopping Login Service...
Nov 02 14:27:38 vm-debian9-64 systemd[1]: Stopping Permit User Sessions...
Nov 02 14:27:38 vm-debian9-64 systemd[1]: Stopped Login Service.
Nov 02 14:27:38 vm-debian9-64 systemd[1]: Stopped Permit User Sessions.
Nov 02 14:27:38 vm-debian9-64 systemd[1]: Stopped target User and Group Name 
Lookups.
Nov 02 14:27:38 vm-debian9-64 systemd[1]: Stopped target Remote File Systems.
Nov 02 14:27:38 vm-debian9-64 systemd[1]: Stopped target Network.

-- Further observation:
A resize of the display in gnome-control-center causes only the observed
behaviour if open-vm-tools-desktop is actually installed.
Therefore, I assume the behaviour is more related to package 
open-vm-tools-desktop than gdm3.

The hang behaviour can be prevented if the Xwayland :1024 process is killed
'by hand' before a system shutdown:
Debian-gdm  1054  0.5  4.0 262956 41328 tty1     Sl+  16:09   0:00 
/usr/bin/Xwayland :1024 -rootless -noreset -listen 4 -listen 5 -displayfd 6

Observed behaviour is similiar to
https://bbs.archlinux.org/viewtopic.php?id=218029

-- Additional information:
gdm3        3.22.1-1
systemd     231-9

# systemctl status session-c1.scope
● session-c1.scope - Session c1 of user Debian-gdm
   Loaded: loaded (/run/systemd/transient/session-c1.scope; transient; vendor 
preset: enabled)
Transient: yes
   Active: active (running) since Mi 2016-11-02 14:28:16 CET; 1h 13min ago
   CGroup: /user.slice/user-117.slice/session-c1.scope
           ├─ 879 gdm-session-worker [pam/gdm-launch-environment]
           ├─ 912 /usr/lib/gdm3/gdm-wayland-session gnome-session --autostart 
/usr/share/gdm/greeter/autostart
           ├─1026 /usr/lib/gnome-session/gnome-session-binary --autostart 
/usr/share/gdm/greeter/autostart
           ├─1034 /usr/bin/gnome-shell
           ├─1054 /usr/bin/Xwayland :1024 -rootless -noreset -listen 4 -listen 
5 -displayfd 6
           ├─1074 /usr/bin/pulseaudio --start - -log-target=syslog
           ├─1094 /usr/lib/gnome-settings-daemon/gnome-settings-daemon
           └─1117 xbrlapi -q

# loginctl show-session c1
Id=c1
User=117
Name=Debian-gdm
Timestamp=Mi 2016-11-02 16:46:02 CET
TimestampMonotonic=28926765
VTNr=1
Seat=seat0
TTY=/dev/tty1
Remote=no
Service=gdm-launch-environment
Scope=session-c1.scope
Leader=881
Audit=0
Type=wayland
Class=greeter
Active=no
State=online
IdleHint=no
IdleSinceHint=0
IdleSinceHintMonotonic=0
LockedHint=no


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages open-vm-tools-desktop depends on:
ii  init-system-helpers  1.45
ii  libatk1.0-0          2.22.0-1
ii  libatkmm-1.6-1v5     2.24.2-2
ii  libc6                2.24-5
ii  libcairo2            1.14.6-1+b1
ii  libcairomm-1.0-1v5   1.12.0-1+b1
ii  libfontconfig1       2.11.0-6.7
ii  libfreetype6         2.6.3-3+b1
ii  libgcc1              1:6.2.0-10
ii  libgdk-pixbuf2.0-0   2.36.0-1
ii  libglib2.0-0         2.50.1-1
ii  libglibmm-2.4-1v5    2.50.0-1
ii  libgtk2.0-0          2.24.31-1
ii  libgtkmm-2.4-1v5     1:2.24.5-1
ii  libice6              2:1.0.9-1+b1
ii  libpango-1.0-0       1.40.3-2
ii  libpangocairo-1.0-0  1.40.3-2
ii  libpangoft2-1.0-0    1.40.3-2
ii  libpangomm-1.4-1v5   2.40.1-3
ii  libsigc++-2.0-0v5    2.10.0-1
ii  libsm6               2:1.2.2-1+b1
ii  libstdc++6           6.2.0-10
ii  libx11-6             2:1.6.3-1
ii  libxext6             2:1.3.3-1
ii  libxi6               2:1.7.6-1
ii  libxinerama1         2:1.1.3-1+b1
ii  libxrandr2           2:1.5.0-1
ii  libxrender1          1:0.9.9-2
ii  libxtst6             2:1.2.2-1+b1
ii  open-vm-tools        2:10.0.7-3227872-5

Versions of packages open-vm-tools-desktop recommends:
ii  fuse                        2.9.7-1
ii  open-vm-tools-dkms          2:10.0.7-3227872-5
ii  xauth                       1:1.0.9-1
pn  xserver-xorg-input-vmmouse  <none>
ii  xserver-xorg-video-vmware   1:13.1.0-2+b1

Versions of packages open-vm-tools-desktop suggests:
ii  xdg-utils  1.1.1-1

-- no debconf information

Reply via email to