Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate suitability of systemd user sessions #90

Open
jonte opened this issue Mar 8, 2017 · 2 comments
Open

Investigate suitability of systemd user sessions #90

jonte opened this issue Mar 8, 2017 · 2 comments
Assignees

Comments

@jonte
Copy link
Contributor

jonte commented Mar 8, 2017

Should all applications started in a user (as in non-system) context be started in a systemd user session? Does this make sense for Bistro?

See here for more information: https://wiki.archlinux.org/index.php/Systemd/User

Using this concept would make it easier to set up per-user services, such a D-Bus daemons (for session busses), PulseAudio daemons, and would also be a logical place to start AppMan on QtAS systems.

@erikboto
Copy link

erikboto commented Mar 9, 2017

In the GDP QtAS-spin appman and neptune-ui is running in a systemd-user-sessions, but still as root. I'd be happy to look in to this a bit more if I can get the time, but my first impression is that we should start using systemd user sessions.

Just a note if anyone else is looking into this, any user that should run services using the user-session when not being logged in need to be allowed to "linger". See loginctl man-page and search for linger. It's basically a way to tell systemd that the user session should not only be allowed to be active when the user is logged in.

@tobsan
Copy link
Contributor

tobsan commented Oct 23, 2017

From a security point of view this makes so much sense, but I assume that this issue really should be moved to meta-pelux rather than here nowadays, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants