After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 759633 - Shell and child processes are launched in dbus.service scope
Shell and child processes are launched in dbus.service scope
Status: RESOLVED DUPLICATE of bug 759115
Product: gnome-terminal
Classification: Core
Component: general
3.18.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Terminal Maintainers
GNOME Terminal Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-12-18 15:35 UTC by Anatolii Sakhnik
Modified: 2016-03-31 13:48 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Anatolii Sakhnik 2015-12-18 15:35:38 UTC
Problem: whatever is executed in a shell inside gnome terminal, is placed into `dbus.service' scope of systemd.

Test:

$ systemctl status
● pangea
    State: running
     Jobs: 0 queued
   Failed: 0 units
    Since: пт 2015-12-18 11:16:16 EET; 6h ago
   CGroup: /
           ├─init.scope
           │ └─1 /sbin/init
           ├─system.slice
           | └.....
           └─user.slice
             ├─user-1000.slice
             │ ├─user@1000.service
             │ │ ├─dbus.service
             │ │ │ ├─  ...
             │ │ │ ├─19103 zsh
             │ │ │ ├─19182 systemctl status
             │ │ │ └─19183 less
 ...

Symptoms: interactive tasks are now limited with `dbus.service' constraints. If anything too much resource intensive is launched (like build open embedded image), the task ends up in "can't fork: Resource temporarily unavailable").

Workaround:
1. Start tmux session from gnome shell: <alt-f2>tmux new-session -d
2. Start gnome terminal
3. Run tmux attach
Jobs will be run in `session-c2.scope' now.
Comment 1 Anatolii Sakhnik 2015-12-18 15:40:31 UTC
Bug in Arch: https://bugs.archlinux.org/task/46201 (and related).
Comment 2 Anatolii Sakhnik 2015-12-18 16:26:09 UTC
Another bug in Arch: https://bugs.archlinux.org/task/46374
Comment 3 Jan Alexander Steffens (heftig) 2015-12-18 16:26:22 UTC
This is probably https://github.com/systemd/systemd/issues/1955 and not a GNOME bug.
Comment 4 Anatolii Sakhnik 2015-12-18 16:39:25 UTC
Perhaps it'll fix my problem, but still, it isn't fair if user shell is executed within dbus session.
Comment 5 Christian Persch 2016-01-10 15:19:05 UTC
Seems like bug 744736 would fix this, right?
Comment 6 Christian Persch 2016-02-14 10:07:13 UTC

*** This bug has been marked as a duplicate of bug 759115 ***