[systemd-devel] [PATCH] tmpfilesdir should use rootprefix, otherwise units may fail in --enable-split-usr configurations

2014-08-07 Thread Dimitri John Ledkov
From: Dimitri John Ledkov x...@ubuntu.com tmpfiles.d files do not depend on /usr present, and in --enable-split-usr configuration there may be system units (e.g. shipped in /lib) that rely on tmpfiles.d to be configured e.g. tmpfiles.d/systemd.conf itself. Hence tmpfiles.d should use rootprefix

[systemd-devel] systemd-gpt-auto-generator does not appear to remount rootfs rw

2014-12-23 Thread Dimitri John Ledkov
I'm using systemd 218 (stock upstream, unpatched) dracut 040 (stock upstream, unpatched). I'm trying to build a basic GPT disk image to boot in a VM with gpt-auto-generator discovery of partitions. I create three partitions: ESP, swap and rootfs with the following type ids set: sgdisk

Re: [systemd-devel] systemd-gpt-auto-generator does not appear to remount rootfs rw

2014-12-23 Thread Dimitri John Ledkov
On 23/12/14 16:56, Dimitri John Ledkov wrote: I'm using systemd 218 (stock upstream, unpatched) dracut 040 (stock upstream, unpatched). I'm trying to build a basic GPT disk image to boot in a VM with gpt-auto-generator discovery of partitions. I create three partitions: ESP, swap

[systemd-devel] [PATCH] gpt-auto-generator: honor read-only attribute for native rootfs, post-initrd.

2014-12-29 Thread Dimitri John Ledkov
Signed-off-by: Dimitri John Ledkov dimitri.j.led...@intel.com --- This is not yet really ready for application, as ultimately this is only solution for part of the problem. With this patch, post-initrd -.mount unit will have correct Options=rw if READ_ONLY flag is not set and ro/rw

Re: [systemd-devel] Unwants

2015-01-22 Thread Dimitri John Ledkov
On 22 January 2015 at 14:00, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Thu, Jan 22, 2015 at 01:54:37PM +, Dimitri John Ledkov wrote: Is there a way to remove / override wants that are specified via .wants directory, .d snippet with Wants=, or wants specified in the unit

[systemd-devel] Unwants

2015-01-22 Thread Dimitri John Ledkov
Is there a way to remove / override wants that are specified via .wants directory, .d snippet with Wants=, or wants specified in the unit itself? I thought that creating a symlink to /dev/null from a higher up directory would disable wants dependency but it didn't: e.g.: I was expecting for

Re: [systemd-devel] User sessions, session buses, user buses

2015-02-02 Thread Dimitri John Ledkov
On 30 January 2015 at 08:30, Simon McVittie simon.mcvit...@collabora.co.uk wrote: Remaining issue: environment variables == Sadly, not all the issues have been resolved yet. The biggest is environment variables: on existing systems there is an expectation

Re: [systemd-devel] [PATCH] Ensure that systemd is the init called after using bootchart

2015-02-02 Thread Dimitri John Ledkov
On 2 February 2015 at 15:14, Sebastien Bacher seb...@ubuntu.com wrote: Hey systemd hackers, While trying systemd-bootchart on my Ubuntu vivid system I ran into some issues. My system has upstart as /sbin/init, but I use init=/lib/systemd/systemd and that works fine. Today I tried to change

Re: [systemd-devel] [PATCH] gpt-auto-generator: honor read-only attribute for native rootfs, post-initrd.

2015-02-03 Thread Dimitri John Ledkov
On 3 February 2015 at 15:50, Lennart Poettering lenn...@poettering.net wrote: On Mon, 29.12.14 14:33, Dimitri John Ledkov (dimitri.j.led...@intel.com) wrote: Heya, Sorry for the late review, still busy keeping up with all the unmerged patches and unreplied mails that queued up

[systemd-devel] [PATCH] Add support for transient presets, applied on every boot.

2015-02-05 Thread Dimitri John Ledkov
--- man/systemd-system.conf.xml | 1 + src/core/main.c | 30 +++ src/core/system.conf| 1 + src/core/unit.c | 2 +- src/shared/install.c| 59 ++--- src/shared/install.h| 2 +-

[systemd-devel] [PATCH] preset-transient

2015-02-05 Thread Dimitri John Ledkov
to the messages) Regards, Dimitri. Dimitri John Ledkov (1): Add support for transient presets, applied on every boot. man/systemd-system.conf.xml | 1 + src/core/main.c | 30 +++ src/core/system.conf| 1 + src/core/unit.c | 2 +- src/shared

Re: [systemd-devel] [PATCH] initial sysv-generator test suite

2015-01-20 Thread Dimitri John Ledkov
On 20 January 2015 at 16:49, Martin Pitt martin.p...@ubuntu.com wrote: Zbigniew Jędrzejewski-Szmek [2015-01-20 16:48 +0100]: Maybe we could do this check in configure.ac/Makefile.am (add the test to the list conditinally)? Yes, that's a good idea. We already test for python presence and

Re: [systemd-devel] Unwants

2015-01-22 Thread Dimitri John Ledkov
On 22 January 2015 at 14:46, Michael Biebl mbi...@gmail.com wrote: 2015-01-22 15:08 GMT+01:00 Dimitri John Ledkov dimitri.j.led...@intel.com: At the moment, I'm looking at packaging symlinks in .wants directories under /usr and then allow to uninstall such a package as a means to override

Re: [systemd-devel] [PATCH v2] sysv-generator: Handle .sh suffixes when translating Provides:

2015-01-21 Thread Dimitri John Ledkov
On 21 January 2015 at 07:27, Martin Pitt martin.p...@ubuntu.com wrote: Martin Pitt [2015-01-20 17:44 +0100]: the recent fix for sysv-generator's Provides: handling [1] caused, or rather uncovered, another bug which now creates symlinks to itself foo.service - foo.service for any

Re: [systemd-devel] [PATCH] initial sysv-generator test suite

2015-01-21 Thread Dimitri John Ledkov
On 21 January 2015 at 14:31, Simon McVittie simon.mcvit...@collabora.co.uk wrote: On 20/01/15 20:33, Martin Pitt wrote: Dimitri John Ledkov [2015-01-20 18:23 +]: With parallel test harness in automake (everyone should have it by now) Yay, thanks for pointing this out! That makes

Re: [systemd-devel] [PATCH] preset-transient

2015-02-12 Thread Dimitri John Ledkov
On 11 February 2015 at 20:49, Lennart Poettering lenn...@poettering.net wrote: On Fri, 06.02.15 18:29, Didier Roche (didro...@ubuntu.com) wrote: Le 05/02/2015 17:11, Dimitri John Ledkov a écrit : Some context for this patch. Hey Dimitri, thanks for working on that. I'm just giving a broader

Re: [systemd-devel] [PATCH] preset-transient

2015-02-12 Thread Dimitri John Ledkov
On 11 February 2015 at 20:51, Lennart Poettering lenn...@poettering.net wrote: On Fri, 06.02.15 20:28, Dimitri John Ledkov (dimitri.j.led...@intel.com) wrote: Hum, we told at the sprint that we wanted to be that available for everyone, and not having any conditions. Distros which still

Re: [systemd-devel] [PATCH] Add support for transient presets, applied on every boot.

2015-02-12 Thread Dimitri John Ledkov
On 11 February 2015 at 20:43, Lennart Poettering lenn...@poettering.net wrote: On Thu, 05.02.15 16:11, Dimitri John Ledkov (dimitri.j.led...@intel.com) wrote: -static int get_config_path(UnitFileScope scope, bool runtime, const char *root_dir, char **ret) { +static int get_config_path

Re: [systemd-devel] [PATCH] preset-transient

2015-02-12 Thread Dimitri John Ledkov
On 11 February 2015 at 20:40, Lennart Poettering lenn...@poettering.net wrote: On Thu, 05.02.15 16:11, Dimitri John Ledkov (dimitri.j.led...@intel.com) wrote: Some context for this patch. I would like to support a new preset model, which has the following properties: - distribution

[systemd-devel] Running system with neither dbus, or kdbus?

2015-02-13 Thread Dimitri John Ledkov
I have a minimal system and I don't have for example policykit or graphical things. I don't have kdbus yet. However at the moment it seems that e.g. networkd logind components require dbus system bus. Is it feasible to modify networkd/logind to operate without system dbus? E.g. similar how

Re: [systemd-devel] sysv-generator: doesn't handle /etc/insserv/overrides or /etc/chkconfig.d

2015-02-16 Thread Dimitri John Ledkov
On 16 February 2015 at 14:35, Christian Seiler christ...@iwakd.de wrote: Am 2015-02-16 13:59, schrieb Lennart Poettering: You couldn't override init scripts that way - if you wanted to do that, you'd have to replace them completely. But if you just want to alter (or even specify for the first

Re: [systemd-devel] Unwants

2015-01-27 Thread Dimitri John Ledkov
On 27 January 2015 at 12:42, Lennart Poettering lenn...@poettering.net wrote: On Thu, 22.01.15 15:16, Dimitri John Ledkov (dimitri.j.led...@intel.com) wrote: On 22 January 2015 at 14:46, Michael Biebl mbi...@gmail.com wrote: 2015-01-22 15:08 GMT+01:00 Dimitri John Ledkov dimitri.j.led

Re: [systemd-devel] Unwants

2015-01-27 Thread Dimitri John Ledkov
On 27 January 2015 at 12:38, Lennart Poettering lenn...@poettering.net wrote: On Thu, 22.01.15 14:08, Dimitri John Ledkov (dimitri.j.led...@intel.com) wrote: In any case, /etc overrides /run, so your example can never work. Oh, ok. But any combination of the two. E.g. for /etc to unwant

Re: [systemd-devel] Unwants

2015-01-28 Thread Dimitri John Ledkov
On 27 January 2015 at 21:35, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Tue, Jan 27, 2015 at 10:30:48PM +0100, Lennart Poettering wrote: On Tue, 27.01.15 15:45, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: Yes, I think attempting any kind of dependency removal *from

Re: [systemd-devel] [PATCH 06/12] Support cancellation of fsck in progress

2015-01-28 Thread Dimitri John Ledkov
On 28 January 2015 at 15:31, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Wed, Jan 28, 2015 at 03:21:27PM +, Dimitri John Ledkov wrote: On 28 January 2015 at 14:53, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Wed, Jan 28, 2015 at 02:22:54PM +0100, Didier Roche

Re: [systemd-devel] [PATCH 06/12] Support cancellation of fsck in progress

2015-01-28 Thread Dimitri John Ledkov
On 28 January 2015 at 14:53, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Wed, Jan 28, 2015 at 02:22:54PM +0100, Didier Roche wrote: From 104cf82ba28941e907f277a713f834ceb3d909f0 Mon Sep 17 00:00:00 2001 From: Didier Roche didro...@ubuntu.com Date: Mon, 26 Jan 2015 16:40:52

Re: [systemd-devel] Unwants

2015-01-27 Thread Dimitri John Ledkov
On 27 January 2015 at 15:18, Christian Seiler christ...@iwakd.de wrote: Am 27.01.2015 um 15:45 schrieb Zbigniew Jędrzejewski-Szmek: On Tue, Jan 27, 2015 at 01:36:41PM +0100, Lennart Poettering wrote: Dependencies are always additive and coalescing currently. We don't track which configuration

Re: [systemd-devel] Unwants

2015-01-27 Thread Dimitri John Ledkov
On 27 January 2015 at 16:47, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Tue, Jan 27, 2015 at 03:50:49PM +, Dimitri John Ledkov wrote: On 27 January 2015 at 15:18, Christian Seiler christ...@iwakd.de wrote: Am 27.01.2015 um 15:45 schrieb Zbigniew Jędrzejewski-Szmek: On Tue

Re: [systemd-devel] initializing _cleanup_* variables [was: [PATCH 01/12] fsckd daemon for inter-fsckd communication]

2015-01-28 Thread Dimitri John Ledkov
On 28 January 2015 at 15:47, Martin Pitt martin.p...@ubuntu.com wrote: Hey Zbyszek, Zbigniew Jędrzejewski-Szmek [2015-01-28 15:37 +0100]: +static int handle_requests(int socket_fd) { +Clients *first = NULL; +usec_t last_activity = 0; +int numdevices = 0, clear =

Re: [systemd-devel] initializing _cleanup_* variables [was: [PATCH 01/12] fsckd daemon for inter-fsckd communication]

2015-01-28 Thread Dimitri John Ledkov
On 28 January 2015 at 16:51, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Wed, Jan 28, 2015 at 04:06:30PM +, Dimitri John Ledkov wrote: On 28 January 2015 at 15:47, Martin Pitt martin.p...@ubuntu.com wrote: Hey Zbyszek, Zbigniew Jędrzejewski-Szmek [2015-01-28 15:37 +0100

[systemd-devel] [PATCH] Break JobNew signal dbus signature by adding JobType.

2015-01-11 Thread Dimitri John Ledkov
At the moment JobNew and JobRemoved signals are not useful for tracking streams of events. JobType is missing from both of them, and thus one can only track that something is happening and to which units (And whether something is about to happen, finished, failed, got aborted etc.). To get the

Re: [systemd-devel] [PATCH] Break JobNew signal dbus signature by adding JobType.

2015-01-12 Thread Dimitri John Ledkov
On 11 January 2015 at 18:08, Dimitri John Ledkov dimitri.j.led...@intel.com wrote: At the moment JobNew and JobRemoved signals are not useful for tracking streams of events. JobType is missing from both of them, and thus one can only track that something is happening and to which units

Re: [systemd-devel] Questions regarding dbus started via systemd --user

2015-01-08 Thread Dimitri John Ledkov
On 8 January 2015 at 17:24, Simon McVittie simon.mcvit...@collabora.co.uk wrote: On 08/01/15 16:03, Dimitri John Ledkov wrote: There is upstart --user spawned per session, and everything is under it. The sessions' logind cgroups are parent of all processes within a session, and there are sub

[systemd-devel] [PATCH] hwdb: ship ids-update.pl sdio.ids in the release tarballs.

2015-03-16 Thread Dimitri John Ledkov
This makes it easier to apply stable branch patches on top of the release tarball. --- Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 856accb..0ed35ac 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3877,7 +3877,9 @@

Re: [systemd-devel] [PATCH 1/2] systemctl: Add reboot to firmware support

2015-03-17 Thread Dimitri John Ledkov
On 17 March 2015 at 12:12, Jan Janssen medhe...@web.de wrote: Dimitri John Ledkov dimitri.j.ledkov at intel.com writes: Both gummyboot and grub-efi have a menu option to reboot into firmware, is that not enough? Why do we need to have it from userspace / the booted system? There can

Re: [systemd-devel] [PATCH] hwdb: ship ids-update.pl sdio.ids in the release tarballs.

2015-03-17 Thread Dimitri John Ledkov
On 17 March 2015 at 11:44, David Herrmann dh.herrm...@gmail.com wrote: Hi On Tue, Mar 17, 2015 at 12:27 PM, Dimitri John Ledkov dimitri.j.led...@intel.com wrote: On 16 March 2015 at 23:15, Marcel Holtmann mar...@holtmann.org wrote: Hi Dimitri, This makes it easier to apply stable branch

Re: [systemd-devel] [PATCH] hwdb: ship ids-update.pl sdio.ids in the release tarballs.

2015-03-17 Thread Dimitri John Ledkov
On 16 March 2015 at 23:15, Marcel Holtmann mar...@holtmann.org wrote: Hi Dimitri, This makes it easier to apply stable branch patches on top of the release tarball. --- Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index

Re: [systemd-devel] Boot ordering

2015-03-19 Thread Dimitri John Ledkov
On 19 March 2015 at 10:00, Christoph Pleger christoph.ple...@cs.tu-dortmund.de wrote: Hello, I am experimenting a little with systemd and trying to define a new intermediate runlevel, a runlevel between basic.target and multi-user.target. This means that I want the services which are

Re: [systemd-devel] Boot ordering

2015-03-19 Thread Dimitri John Ledkov
On 19 March 2015 at 12:09, Christoph Pleger christoph.ple...@cs.tu-dortmund.de wrote: Hello, So, if the original unit file multi-user.target contains After=basic.target rescue.service rescue.target this after does not really mean anything and jobs wanted or required by multi-user.target

Re: [systemd-devel] [PATCH] resolved: Do not add .busname dependencies, when compiling without kdbus.

2015-03-19 Thread Dimitri John Ledkov
On 19 March 2015 at 16:29, Michael Biebl mbi...@gmail.com wrote: 2015-03-19 17:07 GMT+01:00 David Herrmann dh.herrm...@gmail.com: On Thu, Mar 19, 2015 at 4:59 PM, Michael Biebl mbi...@gmail.com wrote: So, +1 for Dimitri's patch. Looks correct to me. Unless someone objects, I'm planning on

Re: [systemd-devel] [PATCH] resolved: Do not add .busname dependencies, when compiling without kdbus.

2015-03-19 Thread Dimitri John Ledkov
On 19 March 2015 at 13:31, David Herrmann dh.herrm...@gmail.com wrote: Hi On Tue, Mar 17, 2015 at 4:37 PM, Dimitri John Ledkov dimitri.j.led...@intel.com wrote: --- Makefile.am | 2 +- units/systemd-resolved.service.in| 29 - units

Re: [systemd-devel] [PATCH] build: generate pkg-config files during configure

2015-03-13 Thread Dimitri John Ledkov
On 12 March 2015 at 23:13, Jeff Waugh j...@bethesignal.org wrote: On Fri, Mar 13, 2015 at 10:07 AM, Michael Biebl mbi...@gmail.com wrote: Those are the as-installed versions (they're not manipulated again during make). And how does that improve cross-compilation? It allows you to

Re: [systemd-devel] [PATCH v2] Add reboot to EFI support

2015-03-30 Thread Dimitri John Ledkov
I like this. +1 On 26 March 2015 at 15:09, Jan Janssen medhe...@web.de wrote: --- man/systemctl.xml | 6 +++- src/libsystemd/sd-bus/bus-common-errors.h | 1 + src/login/logind-dbus.c | 49 +++--

Re: [systemd-devel] [PATCH] systemctl: list-units -r should not fail with older systemd in container

2015-04-01 Thread Dimitri John Ledkov
On 1 April 2015 at 13:44, Lukáš Nykrýn lnyk...@redhat.com wrote: Lennart Poettering píše v Út 31. 03. 2015 v 19:28 +0200: On Tue, 31.03.15 16:10, Lukas Nykryn (lnyk...@redhat.com) wrote: Older version of systemd does not have d-bus method ListUnitsFiltered, so systemctl -r will fail just

Re: [systemd-devel] Drop systemd-ui

2015-03-31 Thread Dimitri John Ledkov
On 31 March 2015 at 15:08, Shawn Landden shawnland...@gmail.com wrote: On Tue, Mar 31, 2015 at 12:31 AM, Jóhann B. Guðmundsson johan...@gmail.com wrote: On 03/31/2015 02:30 AM, Shawn Landden wrote: On Mon, Mar 30, 2015 at 4:02 PM, Jóhann B. Guðmundsson johan...@gmail.com wrote: On

Re: [systemd-devel] [PATCH] po: update Russian translation

2015-03-02 Thread Dimitri John Ledkov
On 2 March 2015 at 13:04, Sergey Ptashnick 0comff...@inbox.ru wrote: On 02.03.2015 02:26, Ivan Shapovalov wrote: Hmm... Here (and in similar cases below) the comma should not be used, because для is just a preposition and hence для управления does not introduce neither a subordinate clause;

Re: [systemd-devel] [PATCH] tmpfiles: Fix handling of duplicate lines [was: Regression in 219: tmpfiles.d order not respected any more]

2015-03-05 Thread Dimitri John Ledkov
On 5 March 2015 at 15:14, Martin Pitt martin.p...@ubuntu.com wrote: Zbigniew Jędrzejewski-Szmek [2015-03-05 15:47 +0100]: Looks good, please push! Done, thanks for reviewing! Is this going into v219-stable as well? -- Regards, Dimitri. Intel Corporation (UK) Ltd. - Co. Reg. #1134945 -

[systemd-devel] [PATCH v2] Add support for transient presets, applied on every boot.

2015-02-20 Thread Dimitri John Ledkov
--- src/core/main.c | 27 +++ src/core/unit.c | 2 +- src/shared/install.c | 25 - src/shared/install.h | 2 +- 4 files changed, 49 insertions(+), 7 deletions(-) diff --git a/src/core/main.c b/src/core/main.c index 08f46f5..2656779

Re: [systemd-devel] service.d/.conf files and multi-valued options

2015-01-23 Thread Dimitri John Ledkov
On 23 January 2015 at 11:21, Matthias Urlichs matth...@urlichs.de wrote: Hi, Igor Bukanov: It is not clear from the systemd.unit manual page what happens when foo.service.d/bar.conf sets an option like Service/ExecStartPre that can be specified multiple times. From experimenting I see that

Re: [systemd-devel] Unwants

2015-01-23 Thread Dimitri John Ledkov
On 22 January 2015 at 16:32, Andrei Borzenkov arvidj...@gmail.com wrote: В Thu, 22 Jan 2015 15:46:26 +0100 Michael Biebl mbi...@gmail.com пишет: 2015-01-22 15:08 GMT+01:00 Dimitri John Ledkov dimitri.j.led...@intel.com: At the moment, I'm looking at packaging symlinks in .wants directories

Re: [systemd-devel] [RFC 0/6] A network proxy management daemon, systemd-proxy-discoveryd

2015-04-13 Thread Dimitri John Ledkov
On 11 April 2015 at 13:41, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Fri, Apr 10, 2015 at 03:17:37PM +0300, Tomasz Bursztyka wrote: Hi, As it has been discussed in the systemd hackfest during the Linux Conference Europe, one daemon could centralize the management of all network

Re: [systemd-devel] Another attempt: Making dependencies properly overridable

2015-04-23 Thread Dimitri John Ledkov
On 23 April 2015 at 14:58, Christian Seiler christ...@iwakd.de wrote: On 04/23/2015 08:36 PM, Lennart Poettering wrote: I mean, so far the deps we set are combined from: unit file (1) + dropins(2) + .wants/ +

Re: [systemd-devel] [PATCH] cryptsetup-generator: support rd.luks.key=keyfile:keyfile_device

2015-04-23 Thread Dimitri John Ledkov
On 23 April 2015 at 13:08, Lennart Poettering lenn...@poettering.net wrote: On Thu, 23.04.15 19:33, Andrei Borzenkov (arvidj...@gmail.com) wrote: What does this actually do? Is the specified key file read from the specified device? It reads keyfile from filesystem on device

Re: [systemd-devel] [PATCH] cryptsetup-generator: support rd.luks.key=keyfile:keyfile_device

2015-04-24 Thread Dimitri John Ledkov
On 24 April 2015 at 10:06, Lennart Poettering lenn...@poettering.net wrote: On Thu, 23.04.15 21:04, Dimitri John Ledkov (dimitri.j.led...@intel.com) wrote: On 23 April 2015 at 13:08, Lennart Poettering lenn...@poettering.net wrote: On Thu, 23.04.15 19:33, Andrei Borzenkov (arvidj

Re: [systemd-devel] Problem with intermediate target

2015-04-20 Thread Dimitri John Ledkov
On 18 April 2015 at 09:39, Christoph Pleger christoph.ple...@cs.tu-dortmund.de wrote: Hello, Why does systemd start this service before /var is mounted, though the service should be executed after remote-fs.target, and remote-fs.target comes after local-fs.target? Because remote-fs.target

Re: [systemd-devel] systemd and process migration

2015-04-20 Thread Dimitri John Ledkov
Heya, On 20 April 2015 at 06:59, Adrian Reber adr...@lisas.de wrote: Using CRIU I have been migrating processes from one system to another for the last few months (even years). I am now interested in migrating processes under systemd's control. Before starting to look how to make it work I

Re: [systemd-devel] systemd-nspawn and IPv6

2015-04-27 Thread Dimitri John Ledkov
On 27 April 2015 at 15:01, Lennart Poettering lenn...@poettering.net wrote: On Sun, 26.04.15 16:50, Kai Krakow (hurikha...@gmail.com) wrote: Hello! I've successfully created a Gentoo container on top of a Gentoo host. I can start the container with machinectl. I can also login using SSH. So

Re: [systemd-devel] systemd-nspawn and IPv6

2015-04-27 Thread Dimitri John Ledkov
On 27 April 2015 at 15:56, Lennart Poettering lenn...@poettering.net wrote: On Mon, 27.04.15 15:44, Dimitri John Ledkov (dimitri.j.led...@intel.com) wrote: Well, networkd on the host automatically sets up IPv4 masquerading for each container. We simply don't do anything equivalent for IPv6

Re: [systemd-devel] [PATCH] fstab-generator: add x-systemd.{after, requires-mounts-for}=

2015-05-13 Thread Dimitri John Ledkov
On 13 May 2015 at 10:15, Karel Zak k...@redhat.com wrote: On Wed, May 13, 2015 at 06:35:58AM +0300, Andrei Borzenkov wrote: В Tue, 12 May 2015 20:37:15 +0200 Karel Zak k...@redhat.com пишет: On Tue, May 12, 2015 at 07:29:33PM +0300, Andrei Borzenkov wrote: В Tue, 12 May 2015 18:04:50

[systemd-devel] [PATCH] Default to /usr/bin/u?mount, configurable, rather than hard-coded /bin/u?mount.

2015-05-11 Thread Dimitri John Ledkov
--- Makefile.am | 2 ++ configure.ac| 3 +++ src/core/mount.c| 6 +++--- src/remount-fs/remount-fs.c | 10 +- 4 files changed, 13 insertions(+), 8 deletions(-) diff --git a/Makefile.am b/Makefile.am index e4d00a8..0ff11cc 100644 ---

Re: [systemd-devel] [PATCH] fstab-generator: add x-systemd.{after, requires-mounts-for}=

2015-05-13 Thread Dimitri John Ledkov
On 13 May 2015 at 13:33, Lennart Poettering lenn...@poettering.net wrote: On Tue, 12.05.15 19:29, Andrei Borzenkov (arvidj...@gmail.com) wrote: All examples can be configured using drop-ins. Do we really need yet another syntax now? Well, even though units are all-powerful, I still believe

Re: [systemd-devel] dev-root.device is not active, results in an umount spree

2015-05-13 Thread Dimitri John Ledkov
Heya, On 13 May 2015 at 12:53, Martin Pitt martin.p...@ubuntu.com wrote: Hey Dimitri, Dimitri John Ledkov [2015-05-13 12:48 +0100]: Yet, dev-root.device is dead: # systemctl status dev-root.device ● dev-root.device Loaded: loaded Active: inactive (dead) This is very bad

[systemd-devel] dev-root.device is not active, results in an umount spree

2015-05-13 Thread Dimitri John Ledkov
I am booting without initramfs, using a plan9 filesystem as rootfs in a kvm. Thus my /proc/cmdline has: root=/dev/root rootflags=rw,trans=virtio,version=9p2000.L rootfstype=9p # mount /dev/root on / type 9p (rw,relatime,sync,dirsync,rw,trans=virtio,version=9p2000.L) Yet, dev-root.device is

Re: [systemd-devel] dev-root.device is not active, results in an umount spree

2015-05-13 Thread Dimitri John Ledkov
On 13 May 2015 at 13:43, Lennart Poettering lenn...@poettering.net wrote: On Wed, 13.05.15 12:48, Dimitri John Ledkov (dimitri.j.led...@intel.com) wrote: I am booting without initramfs, using a plan9 filesystem as rootfs in a kvm. Thus my /proc/cmdline has: root=/dev/root rootflags=rw

Re: [systemd-devel] [PATCH] Default to /usr/bin/u?mount, configurable, rather than hard-coded /bin/u?mount.

2015-05-13 Thread Dimitri John Ledkov
On 13 May 2015 at 14:00, Lennart Poettering lenn...@poettering.net wrote: On Mon, 11.05.15 16:58, Dimitri John Ledkov (dimitri.j.led...@intel.com) wrote: Hmm, all the other AM_PATH_PROG variables do not carry a _BIN suffix, should these two? I don't think so. (In general, I am not too big

[systemd-devel] [PATCH v2] Default to /usr/bin/u?mount, configurable, rather than hard-coded /bin/u?mount.

2015-05-13 Thread Dimitri John Ledkov
--- Makefile.am | 2 ++ configure.ac| 3 +++ src/core/execute.h | 2 +- src/core/mount.c| 12 ++-- src/core/mount.h| 4 ++-- src/remount-fs/remount-fs.c | 10 +- 6 files changed, 19 insertions(+), 14 deletions(-)

Re: [systemd-devel] preset activation on first boot takes too long

2015-05-15 Thread Dimitri John Ledkov
On 14 May 2015 at 18:00, Lennart Poettering lenn...@poettering.net wrote: On Thu, 14.05.15 17:13, Dimitri John Ledkov (dimitri.j.led...@intel.com) wrote: Heya, I'm looking at bootcharts and it seems like first boot preset activation takes too much time... So at the moment, we iterate all

[systemd-devel] preset activation on first boot takes too long

2015-05-14 Thread Dimitri John Ledkov
Heya, I'm looking at bootcharts and it seems like first boot preset activation takes too much time... So at the moment, we iterate all units, then iterate through presets until we find a match and act upon it. However, most distros have disable * as their last setting, or don't use presets at

Re: [systemd-devel] [PATCH v2] systemctl: introduce --now for enable, disable and mask

2015-05-15 Thread Dimitri John Ledkov
On 15 May 2015 at 10:47, Lennart Poettering lenn...@poettering.net wrote: On Fri, 15.05.15 10:22, Tomasz Torcz (to...@pipebreaker.pl) wrote: On Fri, May 15, 2015 at 09:54:10AM +0200, jsyna...@redhat.com wrote: From: Jan Synacek jsyna...@redhat.com Shouldn't systemctl preset be enhanced

[systemd-devel] [PATCH] core: Execute first boot presets in an enable-only preset-mode.

2015-05-15 Thread Dimitri John Ledkov
This means any existing enabled units well be preserved and no pre-created symlinks will be removed. This is done on first boot, when the assumption is that /etc is not populated at all (no machine-id setup). For minimal containers that gives a significant first boot speed up, approximately ~20ms

Re: [systemd-devel] [PATCH] .gitignore: add GNU GLOBAL files

2015-05-15 Thread Dimitri John Ledkov
Heya, On 15 May 2015 at 16:12, Łukasz Stelmach l.stelm...@samsung.com wrote: --- .gitignore | 4 1 file changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index f550950..d2f1a1f 100644 --- a/.gitignore +++ b/.gitignore @@ -22,6 +22,10 @@ /*.tar.xz /Makefile /TAGS

Re: [systemd-devel] [PATCH] .gitignore: add GNU GLOBAL files

2015-05-15 Thread Dimitri John Ledkov
On 15 May 2015 at 17:19, Łukasz Stelmach l.stelm...@samsung.com wrote: It was 2015-05-15 pią 18:03, when Lennart Poettering wrote: On Fri, 15.05.15 17:39, Łukasz Stelmach (l.stelm...@samsung.com) wrote: It was 2015-05-15 pią 17:25, when Lennart Poettering wrote: On Fri, 15.05.15 17:12,

Re: [systemd-devel] 60-persistent-storage.rules: add NVMe disks and partitions (again)

2015-05-14 Thread Dimitri John Ledkov
Hello, On 14 May 2015 at 08:10, Per Bergqvist p...@bst.lu wrote: Hej, There was a request for addition of NVMe disks Feb 10 2014 by Harald Hoyer which was sort of rejected by Kay Sievers by referring to “we should find out what to do for nvme before adding new users of scsi_id”. More

Re: [systemd-devel] Question about relationship between systemd v219 and kernel version.

2015-04-07 Thread Dimitri John Ledkov
On 6 April 2015 at 01:12, Lennart Poettering lenn...@poettering.net wrote: On Mon, 06.04.15 06:17, 임창근 (ck21...@samsung.com) wrote: Hello EveryOne. I wonder that If I use kernel v3.4 with systemd v219, systemd-run function is work or not. Because My target have kernel v3.4 and systemd

Re: [systemd-devel] recent udev dependency change delays plymouth and udev

2015-04-07 Thread Dimitri John Ledkov
On 2 April 2015 at 00:39, Martin Pitt martin.p...@ubuntu.com wrote: Hello all, The recent commit http://cgit.freedesktop.org/systemd/systemd/commit/?id=d99ce933 (which also made it into v219-stable at http://cgit.freedesktop.org/systemd/systemd-stable/commit/?h=v219-stableid=b238b0eaf71)

Re: [systemd-devel] fsckd needs to go

2015-04-07 Thread Dimitri John Ledkov
On 3 April 2015 at 05:58, Lennart Poettering lenn...@poettering.net wrote: Heya, so we discussed the whole fsckd situation a bit more here in Berlin, and we came to the conclusion that fsckd really should not exist the way it does in systemd. To start with, the code is really wrong, it

Re: [systemd-devel] FR: different gcrypt options for joornald and importd

2015-06-08 Thread Dimitri John Ledkov
On 8 June 2015 at 16:12, Lennart Poettering lenn...@poettering.net wrote: On Mon, 08.06.15 16:12, Alexey Shabalin (a.shaba...@gmail.com) wrote: Hi! I want build journald without gcrypt support. But --disable-gcrypt disabled build importd. Can you add diiferent options for journald and

Re: [systemd-devel] nss-myhostname: why don't loopback interfaces appear?

2015-06-10 Thread Dimitri John Ledkov
On 3 June 2015 at 06:40, Daurnimator q...@daurnimator.com wrote: I was playing around with nss, and found that my loopback interface ip doesn't appear from nss-myhostname. Rather, my other ones do. Furthermore, unless I request IPv4, link-local IPv6 addresses are returned. Is this expected?

[systemd-devel] networkd bridge masquerading

2015-06-18 Thread Dimitri John Ledkov
I'm trying to setup networking for containers/vms similar to e.g. docker0 bridge, or lxcbr0. But purely with networkd. That is a bridge that is NATed to provide internet access, and then attaching tap/veth devices to the bridge. I did this at first: br0.netdev: [NetDev] Name=br0 Kind=bridge

Re: [systemd-devel] no tar balls at release time

2015-06-23 Thread Dimitri John Ledkov
On 23 June 2015 at 00:21, Kay Sievers k...@vrfy.org wrote: We currently considering to stop creating release tar balls. For build systems which still require them, they can be created locally from the upstream git repository with: git archive --format=tar --prefix=systemd-$(VERSION)/

Re: [systemd-devel] [PATCH v2] Add support for transient presets, applied on every boot.

2015-06-15 Thread Dimitri John Ledkov
On 22 April 2015 at 19:30, Lennart Poettering lenn...@poettering.net wrote: On Sat, 21.02.15 02:38, Dimitri John Ledkov (dimitri.j.led...@intel.com) wrote: Sorry for the late review! Hello, blast from the past =) Can you please add a commit description to this, explaining the precise

Re: [systemd-devel] [PATCH 2/2] man: use configured path for mount and umount binaries in manpages

2015-05-27 Thread Dimitri John Ledkov
On 27 May 2015 at 10:38, Filipe Brandenburger filbran...@google.com wrote: Export the MOUNT_PATH and UMOUNT_PATH variables as XML entities and use them in the systemctl.1 manpage instead of hardcoding the path in /usr/bin. Tested: - Ran ./configure ac_cv_path_MOUNT_PATH=/bin/mount (same for

Re: [systemd-devel] 220 tarball erroneously ships keyboard-keys-from-name.gperf

2015-05-27 Thread Dimitri John Ledkov
On 27 May 2015 at 10:52, Martin Pitt martin.p...@ubuntu.com wrote: Lennart Poettering [2015-05-27 11:42 +0200]: Well, but let's not forget that a major part of the issues popping up actually were committed weeks ago. Actually, no. As I said, on May 11 most everything was working just fine,

Re: [systemd-devel] systemctl as non-root

2015-05-29 Thread Dimitri John Ledkov
On 29 May 2015 at 01:21, aaron_wri...@selinc.com wrote: Brandon Philips bran...@ifup.co wrote on 05/28/2015 05:10:33 PM: Access to the system dbus is controlled by dbus policies. You will need to write a policy for giving this user access to the systemd1 object. I compiled systemd without

Re: [systemd-devel] [PATCH v2] cgroup-util: fix is_valid check to pass for unified cgroup hierchy.

2015-05-28 Thread Dimitri John Ledkov
On 28 May 2015 at 18:08, Lennart Poettering lenn...@poettering.net wrote: On Thu, 28.05.15 16:42, Dimitri John Ledkov (dimitri.j.led...@intel.com) wrote: It appears in /proc/self/cgroup as `0::/' What precisely does this fix? I mean, we need to do some major rework of things before

Re: [systemd-devel] [PATCH v2] cgroup-util: fix is_valid check to pass for unified cgroup hierchy.

2015-05-29 Thread Dimitri John Ledkov
On 29 May 2015 at 11:25, Lennart Poettering lenn...@poettering.net wrote: On Fri, 29.05.15 00:24, Dimitri John Ledkov (dimitri.j.led...@intel.com) wrote: On 28 May 2015 at 18:08, Lennart Poettering lenn...@poettering.net wrote: On Thu, 28.05.15 16:42, Dimitri John Ledkov (dimitri.j.led

Re: [systemd-devel] [PATCH v2] cgroup-util: fix is_valid check to pass for unified cgroup hierchy.

2015-05-29 Thread Dimitri John Ledkov
On 29 May 2015 at 14:41, Lennart Poettering lenn...@poettering.net wrote: On Fri, 29.05.15 12:42, Dimitri John Ledkov (dimitri.j.led...@intel.com) wrote: On 29 May 2015 at 11:25, Lennart Poettering lenn...@poettering.net wrote: On Fri, 29.05.15 00:24, Dimitri John Ledkov (dimitri.j.led

Re: [systemd-devel] [PATCH] cryptsetup: craft a unique ID with the source device

2015-05-29 Thread Dimitri John Ledkov
On 29 May 2015 at 11:17, har...@redhat.com wrote: From: Harald Hoyer har...@redhat.com If cryptsetup is called with a source device as argv[3], then craft the ID for the password agent with a unique device path. I'm not sure why this is needed... if the device path is not good enough, there

[systemd-devel] [PATCH] shared: Drop 'name=' prefix from SYSTEMD_CGROUP_CONTROLLER define.

2015-06-01 Thread Dimitri John Ledkov
In cgtop,mount-setup,nspawn the name= prefix is hard-coded in the mount options, and the define is not used. Everywhere else, we explicitly white-list allow 'name=' prefix to be used with all controllers, and strip it out to 'normalise' the controller name. That work is mostly inflicted on us due

Re: [systemd-devel] [PATCH v2] cgroup-util: fix is_valid check to pass for unified cgroup hierchy.

2015-06-01 Thread Dimitri John Ledkov
On 1 June 2015 at 09:03, Umut Tezduyar Lindskog u...@tezduyar.com wrote: On Fri, May 29, 2015 at 12:25 PM, Lennart Poettering lenn...@poettering.net wrote: On Fri, 29.05.15 00:24, Dimitri John Ledkov (dimitri.j.led...@intel.com) wrote: On 28 May 2015 at 18:08, Lennart Poettering lenn

Re: [systemd-devel] [PATCH 2/2] systemctl: Don't skip native units when enabling/disabling SysV init.d scripts

2015-05-28 Thread Dimitri John Ledkov
On 28 May 2015 at 12:31, Lennart Poettering lenn...@poettering.net wrote: On Wed, 27.05.15 15:13, Martin Pitt (martin.p...@ubuntu.com) wrote: Hello, if you have both a systemd unit and a SysV init script with the same name, systemctl {en,dis}able currently diverts to chkconfig and friends

[systemd-devel] [PATCH] cgroup-util: fix is_valid check to pass for unified cgroup hierchy.

2015-05-28 Thread Dimitri John Ledkov
It appears in /proc/self/cgroup as `0::/' --- src/shared/cgroup-util.c| 4 src/test/test-cgroup-util.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/shared/cgroup-util.c b/src/shared/cgroup-util.c index c0b0ca4..eda7523 100644 --- a/src/shared/cgroup-util.c

[systemd-devel] [PATCH v2] cgroup-util: fix is_valid check to pass for unified cgroup hierchy.

2015-05-28 Thread Dimitri John Ledkov
It appears in /proc/self/cgroup as `0::/' --- v2 change: Test for unified cgroup should pass irrespective of whether allow_named is set. src/shared/cgroup-util.c| 4 src/test/test-cgroup-util.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git

Re: [systemd-devel] [ANNOUNCE] Git development moved to github

2015-06-02 Thread Dimitri John Ledkov
On 1 June 2015 at 19:12, David Herrmann dh.herrm...@gmail.com wrote: Hi As of today we've disabled git-push to fd.o. The official development git repository is now at github [1]. The old repository will still be back-synced, but we had to disable push-access to avoid getting out-of-sync with

Re: [systemd-devel] [ANNOUNCE] Git development moved to github

2015-06-02 Thread Dimitri John Ledkov
On 2 June 2015 at 12:34, Jóhann B. Guðmundsson johan...@gmail.com wrote: On 06/02/2015 11:06 AM, David Herrmann wrote: Regarding the final github address: David Strauss kindly offered the 'systemd' user to us. Hence, we hope to move the repository to github.com/systemd/systemd this week.

Re: [systemd-devel] [ANNOUNCE] Git development moved to github

2015-06-02 Thread Dimitri John Ledkov
On 2 June 2015 at 15:34, Martin Pitt martin.p...@ubuntu.com wrote: David Herrmann [2015-06-02 13:06 +0200]: Our preferred way to send future patches is the github way. This means sending pull-requests to the github repo. Furthermore, all feature patches should go through pull-requests and

Re: [systemd-devel] [ANNOUNCE] Git development moved to github

2015-06-02 Thread Dimitri John Ledkov
On 2 June 2015 at 15:56, Daniel P. Berrange berra...@redhat.com wrote: On Tue, Jun 02, 2015 at 04:34:03PM +0200, Martin Pitt wrote: David Herrmann [2015-06-02 13:06 +0200]: Our preferred way to send future patches is the github way. This means sending pull-requests to the github repo.

Re: [systemd-devel] [ANNOUNCE] Git development moved to github

2015-06-02 Thread Dimitri John Ledkov
On 2 June 2015 at 15:49, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Tue, Jun 02, 2015 at 04:34:03PM +0200, Martin Pitt wrote: David Herrmann [2015-06-02 13:06 +0200]: Our preferred way to send future patches is the github way. This means sending pull-requests to the github repo.

[systemd-devel] [PATCH v2 5/5] core/cgroup: Add cgroup.populated inotify watches, when available.

2015-05-29 Thread Dimitri John Ledkov
--- src/core/cgroup.c| 81 ++-- src/core/manager.c | 7 - src/core/manager.h | 3 ++ src/core/service.c | 2 +- src/shared/cgroup-util.c | 28 + src/shared/cgroup-util.h | 6 ++-- src/test/test-cgroup.c

[systemd-devel] [PATCH v2 4/5] unified-cgroup: fix cg_pid_get_path() and cg_get_path().

2015-05-29 Thread Dimitri John Ledkov
--- src/shared/cgroup-util.c| 8 src/test/test-cgroup-util.c | 18 ++ 2 files changed, 26 insertions(+) diff --git a/src/shared/cgroup-util.c b/src/shared/cgroup-util.c index 2bca32a..eae9f5d 100644 --- a/src/shared/cgroup-util.c +++ b/src/shared/cgroup-util.c @@

  1   2   >