What breakage does this actually fix?
What breakage does this actually fix?
Posted Jun 8, 2016 6:36 UTC (Wed) by oldnpastit (subscriber, #95303)In reply to: What breakage does this actually fix? by iamsrp
Parent article: Distributors ponder a systemd change
> The commit that made the change:
> https://github.com/systemd/systemd/commit/97e5530cf20
> referenced two bugreports:
>
> https://bugs.freedesktop.org/show_bug.cgi?id=94508
> https://github.com/systemd/systemd/issues/2900
And if you go look at those bugreports, the first of them is complaining that latest dbus leaves processes lying around.
And if you go investigate why dbus is now leaving processes around, it's because gnome leaves special magical gnome per-user processes running after the user's session has terminated. And that in turn is relying on some new systemd features to create a user session which persists (or something, I don't really understand systemd).
      Posted Jun 8, 2016 18:56 UTC (Wed)
                               by drag (guest, #31333)
                              [Link] 
       
Remember how it was common in Gnome 2-land to have a session manager process?  So you could go into there and say 'I want FOO started when I log in'?. People would use it for all sorts of fun things. Starting up browsers, launching their terminals, blocking daemons they didn't want launched. 
Then along came XDG and the various *.desktop things to make app menus cross-platform.  So you could put *.desktop files in ~/.config/autostart/ and have them autostart when you logged into X (provided you used a desktop environment that was compliant). 
Systemd wants to do that same sort of thing for your user, but have it be system-wide.  That is one of the reasons they want Kdbus.. so you wouldn't have to run all the dbus-launch stuff for each login. You could have a dbus for a user account and have it 'just work'.  Thus you have 'user sessions'.  
So a lot of the commands you use for managing the init system for your system can be used to manage your user session for your user by using the '--user' option.   
So for example I have a ~/.config/systemd/user/synergys.service on my desktop.  When I start up my laptop I have a corresponding synergyc service that launches and they try to talk over a ssh session.  I can automate the management of all of this through systemd and '--user'.  
systemctl enable --user synergys 
systemctl start --user synergys 
systemctl status --user synergys 
journalctl --user -f 
etc etc. These things work as expected, but just for your user account.  
     
      Posted Jun 9, 2016 16:06 UTC (Thu)
                               by cortana (subscriber, #24596)
                              [Link] 
       
     
    What breakage does this actually fix?
      
What breakage does this actually fix?
      
 
           