[pkg-fso-maint] Bug#785592: nodm: please handle shutdown signal received while restarting session

Ryan Tandy ryan at nardis.ca
Mon May 18 05:04:16 UTC 2015


Package: nodm
Version: 0.11-1.3
Severity: wishlist

Dear Maintainer,

When I shut down the computer, nodm does not quit when told to, but just 
restarts my session, leading to a minor but annoying delay until systemd 
times out and forcibly terminates it.

It seems that this is caused by systemd killing my session and stopping 
nodm in parallel. I can easily reproduce the problem by doing:

pkill -u ryan nodm & pkill -u root nodm

I guess this is caused by nodm only listening for the quit signal while 
it's in its main loop, but not while it's busy managing children.

It would be nice if nodm would respect the stop command and abort the 
session restart.

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

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



More information about the pkg-fso-maint mailing list