systemd-xdg-autostart-generator-ed service does not correctly run script that detaches a subprocess
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I have a script that basically does
```
#! /usr/bin/bash
sleep 5
thunderbird &
```
and an appropriate desktop file in .~/.config/
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-
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-
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
affects: | ubuntu → systemd (Ubuntu) |
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Libera.chat.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/2056665/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]