1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-27 01:55:32 +03:00
Backports of patch from systemd git to stable distributions
Go to file
David Herrmann 0204c4bd69 login: re-use VT-sessions if they already exist
Right now, if you start a session via 'su' or 'sudo' from within a
session, we make sure to re-use the existing session instead of creating a
new one. We detect this by reading the session of the requesting PID.

However, with gnome-terminal running as a busname-unit, and as such
running outside the session of the user, this will no longer work.
Therefore, this patch makes sure to return the existing session of a VT if
you start a new one.

This has the side-effect, that you will re-use a session which your PID is
not part of. This works fine, but will break assumptions if the parent
session dies (and as such close your session even though you think you're
part of it). However, this should be perfectly fine. If you run multiple
logins on the same session, you should really know what you're doing. The
current way of silently accepting it but choosing the last registered
session is just weird.
2015-07-01 16:52:35 +02:00
catalog l10n: Add Belarusian translation 2015-06-15 00:13:43 +03:00
docs docs: remove stale .gitignore 2015-06-29 19:45:29 +02:00
factory/etc factory: remove broken pam_limits 2014-07-30 15:21:54 +02:00
hwdb Revert "hwdb: add a touchpad hwdb" 2015-06-26 16:09:48 +10:00
m4 remove gudev and gtk-doc 2015-06-03 00:22:53 +02:00
man udev: remove WAIT_FOR key 2015-06-30 19:57:40 +02:00
network network: fix 'LinkLocal' -> 'LinkLocalAddressing' in network files 2015-02-14 15:31:26 +01:00
po po: run make update-po 2015-06-19 12:47:39 +02:00
rules Merge pull request #387 from kaysievers/wip 2015-06-29 16:02:33 +02:00
shell-completion zsh-completion: _loginctl/_systemd/_systemd-inhibit improvements 2015-06-22 18:07:32 -04:00
src login: re-use VT-sessions if they already exist 2015-07-01 16:52:35 +02:00
sysctl.d sysctl: add some hints how to override settings 2015-02-26 19:07:38 -05:00
system-preset preset: enable machines.target by default 2014-12-29 17:36:57 +01:00
sysusers.d turn kdbus support into a runtime option 2015-06-17 18:01:49 +02:00
test sysv-generator test: Fix random ordering failure 2015-07-01 07:34:23 +02:00
tmpfiles.d tmpfiles: automatically remove old machine snapshots at boot 2015-06-15 19:28:55 +02:00
tools compile-unifont: Python 2 compatibility 2015-01-26 23:56:34 -05:00
units turn kdbus support into a runtime option 2015-06-17 18:01:49 +02:00
xorg push xorg information to the systemd --user instance 2015-01-09 21:39:31 +01:00
.dir-locals.el Keep emacs configuration in one configuration file. 2011-03-08 01:53:46 +01:00
.gitattributes git: indicate that tabs are never OK in the systemd tree 2013-10-30 02:25:38 +01:00
.gitignore udev: Remove accelerometer helper 2015-06-27 21:48:52 +02:00
.mailmap prepare NEWS 2014-02-18 02:51:47 +01:00
.travis.yml remove gudev and gtk-doc 2015-06-03 00:22:53 +02:00
.vimrc vimrc: disable -fdiagnostics-color output 2013-10-20 04:29:39 +02:00
.ycm_extra_conf.py ycm: update flag blacklist 2014-06-04 15:41:10 -04:00
autogen.sh build-sys: Recommend --with-rootprefix=/ for split-usr 2015-06-03 07:34:42 -07:00
CODING_STYLE Stop talking about the "XDG" version of basename() 2015-06-17 11:23:46 +01:00
configure.ac smack: add default smack process label config 2015-06-22 23:44:09 +09:00
DISTRO_PORTING DISTRO_PORTING: add full path for /usr/lib/systemd/systemd and fix grammar 2014-12-02 16:12:37 +01:00
LICENSE.GPL2 relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
LICENSE.LGPL2.1 licence: remove references to old FSF address 2012-12-17 11:41:31 +01:00
Makefile-man.am man: rename systemd-bus-proxyd@.service.xml → systemd-bus-proxyd.service.xml 2015-06-20 14:28:50 +02:00
Makefile.am udev: Remove accelerometer helper 2015-06-27 21:48:52 +02:00
NEWS NEWS: update contributors list and date 2015-06-19 01:12:28 +02:00
README README: mention "git archive" 2015-06-23 13:41:15 +02:00
README.md README.md: add Coverity scan status badge 2015-06-08 13:26:54 +02:00
TODO update TODO 2015-06-19 01:12:54 +02:00

systemd - System and Service Manager

Build Status
Coverity Scan Status

Details

  • General information about systemd can be found in the systemd Wiki
  • Information about build requirements are provided in the README file