1. 22 Mar, 2022 1 commit
    • Benjamin Berg's avatar
      gdesktopappinfo: Move launched applications into transient scope · 0a0ac9f0
      Benjamin Berg authored
      Try to move the spawned executable into its own systemd scope. To avoid
      possible race conditions and ensure proper accounting, we delay the
      execution of the real command until after the DBus call to systemd has
      finished.
      
      From the two approaches we can take here, this is better in the sense
      that we have a child that the API consumer can watch. API consumers
      should not be doing this, however, gnome-session needs to watch children
      during session startup. Until gnome-session is fixed, we will not be
      able to change this.
      
      The alternative approach is to delegate launching itself to systemd by
      creating a transient .service unit instead. This is cleaner and has e.g.
      the advantage that systemd will take care of log redirection and similar
      issues.
      0a0ac9f0
  2. 21 Mar, 2022 8 commits
  3. 19 Mar, 2022 2 commits
  4. 18 Mar, 2022 8 commits
  5. 17 Mar, 2022 21 commits