On Tue, Dec 22, 2020 at 10:45 am, Vít Ondruch <vondruch@xxxxxxxxxx>
wrote:
And I wonder what will be the behavior for applications, which I
start from my terminal? The most typical example for me is running
GVim from gnome-terminal.
Each gnome-terminal tab runs in its own cgroup:
│ │ │ ├─app-org.gnome.Terminal.slice
│ │ │ │
├─vte-spawn-1d1d5519-71d2-4035-929a-8a9ae5bc3822.scope
│ │ │ │ │ ├─7848 bash
│ │ │ │ │ └─7889 less /etc/hosts
│ │ │ │
├─vte-spawn-03fe4cc9-0400-4723-ac9b-e929b850ca02.scope
│ │ │ │ │ ├─7892 bash
│ │ │ │ │ ├─7927 systemd-cgls
│ │ │ │ │ └─7928 less
│ │ │ │ └─gnome-terminal-server.service
│ │ │ │ └─7843 /usr/libexec/gnome-terminal-server
Firefox does this too. WebKit doesn't, but it won't be hard to fix. Not
sure about Chrome. Point is, apps have all the tools they need to use
cgroups to ensure out-of-control subprocesses don't cause the main
process to be killed, and our important default apps (Firefox and
gnome-terminal) actually do this.
Michael
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx