** Package changed: ubuntu => systemd (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/2056665

Title:
  systemd-xdg-autostart-generator-ed service does not correctly run
  script that detaches a subprocess

Status in systemd package in Ubuntu:
  New

Bug description:
  I have a script that basically does

  ```
  #! /usr/bin/bash
  sleep 5
  thunderbird &
  ```

  
  and an appropriate desktop file in .~/.config/autostart to run it.

  Since upgrading from Plasma 5.24 to 5.27 (from the backports PPA),
  this no longer works. The script is run (added logging, eg. with
  systemd-cat, prove it) but Thunderbird does not appear. However, it
  does work if I change it to the following.

  ```
  #! /usr/bin/bash
  sleep 5
  thunderbird
  ```

  So I suspect this is related to how systemd-xdg-autostart-generator
  runs the associated service. I tried various combinations like
  ``kstart5 thunderbird & disown``, to no avail.

  Note this script is an MWE example ; my actual script is more
  convoluted and needs subprocess detachment to work properly.

  Plasma 5.24 did not exhibit this behaviour. I do not know if it was
  using systemd-xdg-autostart-generator to manage autostart.

  Current systemd version is 249.11-0ubuntu3.12, which is too old to
  report upstream about.

  Operating System: Kubuntu 22.04
  KDE Plasma Version: 5.27.10
  KDE Frameworks Version: 5.104.0
  Qt Version: 5.15.3
  Kernel Version: 5.15.0-100-generic (64-bit)
  Graphics Platform: X11

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2056665/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to