Re: [systemd-devel] [PATCH] units: add SecureBits

2015-02-14 Thread Topi Miettinen
On 02/11/15 16:32, Lennart Poettering wrote: On Wed, 11.02.15 16:24, Topi Miettinen (toiwo...@gmail.com) wrote: On 02/10/15 21:00, Lennart Poettering wrote: On Sat, 07.02.15 10:40, Topi Miettinen (toiwo...@gmail.com) wrote: No setuid programs are expected to be executed, so add

Re: [systemd-devel] [PATCH] shutdown: avoid calling `kexec` binary unnessecarily

2015-02-14 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Feb 13, 2015 at 02:18:07PM -0800, Shawn Landden wrote: Still use helper when Xen Dom0, to avoid duplicating some hairy code. So we don't have any logic to load kexec kernels? --- TODO| 3 --- src/core/shutdown.c | 33 - 2 files

Re: [systemd-devel] [PATCH 1/9] fsckd daemon for inter-fsckd communication

2015-02-14 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Feb 05, 2015 at 06:06:50PM +0100, Didier Roche wrote: Hey, Posting the new set of patches for the fsck/plymouth integration, rebased from all the comments and the systemd event loop system. This version talks the raw plymouth protocol directly, supporting only what is needed

Re: [systemd-devel] [PATCH] bootchart: display each CPU utilization/wait

2015-02-14 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Feb 13, 2015 at 02:59:39PM +0900, WaLyong Cho wrote: --- src/bootchart/bootchart.c| 38 +- src/bootchart/bootchart.conf | 1 + src/bootchart/bootchart.h| 1 + src/bootchart/svg.c | 65 +--- 4 files

Re: [systemd-devel] [PATCH v3] Added support for Uplink Failure Detection using BindCarrier

2015-02-14 Thread Tom Gundersen
On Sat, Feb 14, 2015 at 3:05 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Fri, Feb 13, 2015 at 10:27:07PM +0100, Tom Gundersen wrote: Hi Alin, Thanks for the patch. This is starting to look pretty good now. I still have some questions/requests regarding some implementation

Re: [systemd-devel] [PATCH v3] Added support for Uplink Failure Detection using BindCarrier

2015-02-14 Thread Rauta, Alin
Hi guys, Thanks for your input on this. Much appreciated. I'll try handle your remarks in the next patch. Please find my comments below. Best Regards, Alin -Original Message- From: Tom Gundersen [mailto:t...@jklm.no] Sent: Saturday, February 14, 2015 2:50 PM To: Zbigniew

Re: [systemd-devel] [PATCH v3] Added support for Uplink Failure Detection using BindCarrier

2015-02-14 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Feb 14, 2015 at 03:26:00PM +, Rauta, Alin wrote: Hi guys, Thanks for your input on this. Much appreciated. I'll try handle your remarks in the next patch. Please find my comments below. Best Regards, Alin -Original Message- From: Tom Gundersen

Re: [systemd-devel] user units and system units behavior

2015-02-14 Thread Ivan Shapovalov
On 2015-02-14 at 00:17 -0800, Alison Chaiken wrote: Inside a Fedora 21 Qemu, I made a dead-simple 'gnome-weather.service' and experimented with moving it in between system and user directories in systemd 215. Case 0: With /etc/systemd/system/gnome-weather.service, starts normally with

Re: [systemd-devel] [PATCH] util: Use a shared lookup function for string tables

2015-02-14 Thread David Herrmann
Hi On Fri, Feb 13, 2015 at 9:40 PM, Bruno Bottazzini bruno.bottazz...@intel.com wrote: Macro DEFINE_STRING_TABLE_LOOKUP expands to a new function for each of the almost 120 tables throghout the code. Move the its implementation to a function (guaranteed to never be inlined), and make the

Re: [systemd-devel] [PATCH v3] Added support for Uplink Failure Detection using BindCarrier

2015-02-14 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Feb 13, 2015 at 10:27:07PM +0100, Tom Gundersen wrote: Hi Alin, Thanks for the patch. This is starting to look pretty good now. I still have some questions/requests regarding some implementation details (below), but hopefully we can get this merged after the next release (trying

Re: [systemd-devel] [PATCH 8/9] Add man page and references to it.

2015-02-14 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Feb 05, 2015 at 06:11:24PM +0100, Didier Roche wrote: From 2533acf15135d9db18fbd79e63de9a702e3859cc Mon Sep 17 00:00:00 2001 From: Didier Roche didro...@ubuntu.com Date: Mon, 26 Jan 2015 17:34:59 +0100 Subject: [PATCH 8/9] Add man page and references to it. Add man page

Re: [systemd-devel] avahi disconnects from bus with kdbus

2015-02-14 Thread David Herrmann
Hi Daniel! On Fri, Feb 13, 2015 at 1:16 PM, David Herrmann dh.herrm...@gmail.com wrote: Hi On Thu, Feb 12, 2015 at 11:32 PM, Daniel Buch boogiewasth...@gmail.com wrote: Hi again, I found another problem, again with avahi-daemon but in combination with Telepathy haze. feb 13 08:26:39

Re: [systemd-devel] user units and system units behavior

2015-02-14 Thread Alison Chaiken
Thanks very much, Ivan, for the detailed explanation. I asked: Question: What does the error message 'Process org.freedesktop.systemd1 exited with status 1' mean? Ivan: this is a sign of that the systemd user instance (`systemd --user`) isn't running. More specifically, the systemd user

Re: [systemd-devel] [PATCH] shutdown: avoid calling `kexec` binary unnessecarily

2015-02-14 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Feb 14, 2015 at 10:00:54AM -0800, Shawn Landden wrote: On Sat, Feb 14, 2015 at 5:54 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Fri, Feb 13, 2015 at 02:18:07PM -0800, Shawn Landden wrote: Still use helper when Xen Dom0, to avoid duplicating some hairy code. So

Re: [systemd-devel] Fail to reset-failed as user

2015-02-14 Thread Olivier Brunel
On 02/11/15 21:13, Lennart Poettering wrote: On Thu, 05.02.15 19:20, Olivier Brunel (j...@jjacky.com) wrote: On 02/03/15 22:17, Lennart Poettering wrote: On Fri, 12.12.14 16:06, Olivier Brunel (j...@jjacky.com) wrote: Sorry for resurrecting this old thread this late. Is this still an

Re: [systemd-devel] [PATCH 3/9] Connect to plymouth and support cancellation of in, progress fsck

2015-02-14 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Feb 05, 2015 at 06:09:24PM +0100, Didier Roche wrote: From ec3b3d2cd4b0097f9fafa6c3f0f400e06292e21c Mon Sep 17 00:00:00 2001 From: Didier Roche didro...@ubuntu.com Date: Thu, 5 Feb 2015 17:08:18 +0100 Subject: [PATCH 3/9] Connect to plymouth and support cancellation of in progress

Re: [systemd-devel] user units and system units behavior

2015-02-14 Thread Mantas Mikulėnas
On Sat, Feb 14, 2015 at 7:36 PM, Alison Chaiken ali...@she-devel.com wrote: Thanks very much, Ivan, for the detailed explanation. I asked: Question: What does the error message 'Process org.freedesktop.systemd1 exited with status 1' mean? Ivan: this is a sign of that the systemd user

Re: [systemd-devel] Do not realize and migrate cgroups multiple times / test suite patch

2015-02-14 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Feb 03, 2015 at 10:49:01PM +0100, Lennart Poettering wrote: On Sat, 13.12.14 17:15, Martin Pitt (martin.p...@ubuntu.com) wrote: Hello Lennart, Lennart Poettering [2014-12-09 2:37 +0100]: hashmap_put() will actually compare the string, not the pointer to it. Our hashmap

Re: [systemd-devel] user units and system units behavior

2015-02-14 Thread Alison Chaiken
Mantas offers: I think the idea was that the user instance would be started automatically when the user first logged in. (Which it is, at least on Arch: logind starts user@1000.service for me as soon as pam_systemd tells it that I've logged in. Some distros break it, either intentionally or

Re: [systemd-devel] user units and system units behavior

2015-02-14 Thread Mantas Mikulėnas
On Sat, Feb 14, 2015 at 9:37 PM, Alison Chaiken ali...@she-devel.com wrote: Mantas: It's not broken on stock systemd. As long as your `systemd --user` instance is running, systemctl can contact it directly over the $XDG_RUNTIME_DIR/systemd/private socket, so there's no hard dependency on

[systemd-devel] Complex supervision structures/delegating watchdog?

2015-02-14 Thread Holger Freyther
Hi, for one application we will spawn one or more pppd daemons. Once a link is up I would like to monitor them. The closest thing that I can do right now is systemctl start mon@$PPP_IFACE from within a /etc/ppp/ip-up.d/mon file. In case I consider the link broken or I want to bring it down, I

Re: [systemd-devel] user units and system units behavior

2015-02-14 Thread Mantas Mikulėnas
On Sat, Feb 14, 2015 at 10:20 PM, Alison Chaiken ali...@she-devel.com wrote: Ivan writes: So, I suppose, your `systemd --user` just fails to start somewhy, and you are getting that cryptic error message because systemctl can't find systemd on either of the buses. Ah, after restarting the

Re: [systemd-devel] user units and system units behavior

2015-02-14 Thread Alison Chaiken
Ivan writes: So, I suppose, your `systemd --user` just fails to start somewhy, and you are getting that cryptic error message because systemctl can't find systemd on either of the buses. Ah, after restarting the Qemu, I see in the journal: Feb 13 22:09:06 fedora21.exerciseforthereader.org

Re: [systemd-devel] Complex supervision structures/delegating watchdog?

2015-02-14 Thread Mantas Mikulėnas
On Sat, Feb 14, 2015 at 10:31 PM, Holger Freyther hol...@freyther.de wrote: Hi, for one application we will spawn one or more pppd daemons. Once a link is up I would like to monitor them. The closest thing that I can do right now is systemctl start mon@$PPP_IFACE from within a

[systemd-devel] user units and system units behavior

2015-02-14 Thread Alison Chaiken
Inside a Fedora 21 Qemu, I made a dead-simple 'gnome-weather.service' and experimented with moving it in between system and user directories in systemd 215. Case 0: With /etc/systemd/system/gnome-weather.service, starts normally with 'systemctl start gnome-weather' Case 1: With