Package: xpra Version: 2.4.3+dfsg1-1 (The same code is in upstream svn trunk.)
Consider this: $ python Python 2.7.16 (default, Oct 10 2019, 22:02:15) [GCC 8.3.0] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from xpra.os_util import is_systemd_pid1 >>> is_systemd_pid1() False >>> $ cat /proc/1/cmdline /sbin/init$ ls -l /sbin/init lrwxrwxrwx 1 root root 20 Apr 27 2020 /sbin/init -> /lib/systemd/systemd* The test is confused by the symlink and returns a false negative. I had been wondering why systemd-run wasn't being used even if I explicitly asked for it. Fix with caution, as doing so may expose latent bugs.