Ninjatrappeur's systemd working tree
Go to file
Lennart Poettering ae3dde8012 machinectl: fix race when opening new shells with "machinectl shell"
Previously, we'd allocate the TTY, spawn a service on it, but
immediately start processing the TTY and forwarding it to whatever the
commnd was started on. This is however problematic, as the TTY might get
actually opened only much later by the service. We'll hence first get
EIOs on the master as the other side is still closed, and hence
considered it hung up and terminated the session.

With this change we add a flag to the pty forwarding logic:
PTY_FORWARD_IGNORE_INITIAL_VHANGUP. If set, we'll ignore all hangups
(i.e. EIOs) on the master PTY until the first byte is successfully read.
From that point on we consider a hangup/EIO a regular connection termination. This
way, we handle the race: when we get EIO initially we'll ignore it,
until the connection is properly set up, at which time we start
honouring it.
2015-10-07 20:10:48 +02:00
catalog po, catalog: added Serbian translation. 2015-10-03 22:07:29 +02:00
coccinelle Add Coccinelle patch for strempty() usage 2015-09-30 12:24:16 +02:00
docs docs: add .gitignore 2015-07-06 17:47:38 +02:00
factory/etc factory: remove broken pam_limits 2014-07-30 15:21:54 +02:00
hwdb keymap: Add Thinkpad Yoga 12 (2015) 2015-10-04 14:31:00 +02:00
m4 build-sys: Check behavior of -Werror=shadow before deciding to use it 2015-09-22 09:54:33 -07:00
man Merge pull request #1484 from poettering/ask-pass-kernel-keyring 2015-10-07 15:32:42 +02:00
network networkd: emit DNS/NTP/Timezone info via DHCP server by default 2015-08-27 16:47:26 +02:00
po po, catalog: added Serbian translation. 2015-10-03 22:07:29 +02:00
rules rfkill: rework and make it listen on /dev/rfkill 2015-10-01 16:21:09 +02:00
shell-completion Merge pull request #1419 from keszybz/shell-completion 2015-09-30 22:32:09 +02:00
src machinectl: fix race when opening new shells with "machinectl shell" 2015-10-07 20:10:48 +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 s390: add personality support 2015-09-24 13:03:18 +02:00
tmpfiles.d smack: label /etc/mtab as "_" when '--with-smack-run-label' is enabled. 2015-09-10 21:52:39 +09:00
tools terminal: drop unfinished code 2015-07-27 20:15:34 +02:00
units Merge pull request #1468 from poettering/fdnames 2015-10-06 12:06:56 +02:00
xorg login: support user-bus on dbus1 2015-08-31 18:12:37 +02: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 test: siphash24 - add regression test 2015-10-05 17:33:58 +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
CODING_STYLE update CODING_STYLE 2015-10-06 15:52:03 +02:00
DISTRO_PORTING build-sys: warn if people don't change the default NTP servers when building systemd 2015-07-11 14:24:29 -03: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 core: add support for naming file descriptors passed using socket activation 2015-10-06 11:52:48 +02:00
Makefile.am build-sys: bump library version 2015-10-07 17:06:22 +02:00
NEWS update NEWS 2015-10-07 16:00:38 +02:00
README mount: use libmount to monitor mountinfo & utab 2015-09-14 09:12:31 +02:00
README.md README.md: add Coverity scan status badge 2015-06-08 13:26:54 +02:00
TODO update TODO 2015-09-30 12:23:33 +02:00
autogen.sh terminal: drop unfinished code 2015-07-27 20:15:34 +02:00
configure.ac configure.ac: bump version number 2015-10-07 16:39:59 +02:00

README.md

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