[systemd-devel] How to depend a user session service on a system service?

2016-03-09 Thread Kai Krakow
Hello! I have some user session services running (executing Rails background workers, e.g. sidekiq etc.). On one busy/bigger server, when booting the machine, these user sessions fail to start up due to timeouts. Actually, it feels wrong to just bump up the timeouts. I'd rather make them depend o

[systemd-devel] What are all the reasons systemd could fall to rescue mode

2016-03-09 Thread Chris Morin
Hi, I'm seeing systemd fall to a rescue shell upon reload and am trying to understand why it's happening. I have a very custom boot graph in case that matters. From reading the systemd documentation and reading the code, as far as I can tell, the following reasons are the only way rescue.servic

Re: [systemd-devel] [PATCH] man: fix 'slave'/'private' confusion

2016-03-09 Thread systemd github import bot
Patchset imported to github. To create a pull request, one of the main developers has to initiate one via: -- Generated by https://github.com/haraldh/mail2git ___

[systemd-devel] [PATCH] man: fix 'slave'/'private' confusion

2016-03-09 Thread Yuriy M. Kaminskiy
>From 18acaf88d7b0707f178184603550e57795f96248 Mon Sep 17 00:00:00 2001 From: "Yuriy M. Kaminskiy" Date: Wed, 9 Mar 2016 19:55:58 +0300 Subject: [PATCH] man: fix 'slave'/'private' confusion 'slave' does not break unmount propagation from host to container, so it won't keep device busy when it is

[systemd-devel] PrivateDevices=yes and /dev/ptmx

2016-03-09 Thread Yuriy M. Kaminskiy
When systemd makes mount namespace for PrivateDevices=yes, it bind-mount outer /dev/pts [1], and makes symlink pts/ptmx -> $tmpdir/dev/ptmx (src/core/namespace.c [mount_dev]). However outer /dev/pts is mounted *without* option ptmxmode (src/core/mount-setup.c), so in outer namespace /dev/pts/p