Re: [systemd-devel] systemd not in a steady state, although system is fine.

2015-03-31 Thread Andrei Borzenkov
On Tue, Mar 31, 2015 at 7:46 AM, kenneth topp to...@bllue.org wrote: В Mon, 30 Mar 2015 19:35:21 -0400 kenneth topp to...@bllue.org пишет: Hi, My system appears healthy, but for some reason systemd not in a good state. From the commands and their output, I have two concerns. 1) why is

Re: [systemd-devel] Drop systemd-ui

2015-03-31 Thread Jóhann B. Guðmundsson
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 03/30/2015 10:32 PM, Shawn Landden wrote: On Mon, Mar 30, 2015 at 1:35 PM, Jóhann B. Guðmundsson johan...@gmail.com wrote: Heyja Should this not be dropped

Re: [systemd-devel] [PATCH 3/3] ARM: detect-virt: detect QEMU/KVM

2015-03-31 Thread Lennart Poettering
On Mon, 30.03.15 21:15, Andrew Jones (drjo...@redhat.com) wrote: QEMU/KVM guests do not have hypervisor nodes, but they do have fw-cfg nodes (since qemu v2.3.0-rc0). fw-cfg nodes are documented, see kernel doc Documentation/devicetree/bindings/arm/fw-cfg.txt, and therefore we should be able

Re: [systemd-devel] [PATCH 3/3] ARM: detect-virt: detect QEMU/KVM

2015-03-31 Thread Andrew Jones
On Tue, Mar 31, 2015 at 09:18:08AM +0200, Lennart Poettering wrote: On Mon, 30.03.15 21:15, Andrew Jones (drjo...@redhat.com) wrote: QEMU/KVM guests do not have hypervisor nodes, but they do have fw-cfg nodes (since qemu v2.3.0-rc0). fw-cfg nodes are documented, see kernel doc

[systemd-devel] [PATCH v2 2/3] ARM: detect-virt: detect Xen

2015-03-31 Thread Andrew Jones
--- src/shared/virt.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/shared/virt.c b/src/shared/virt.c index aa3501f42916c..712523210d720 100644 --- a/src/shared/virt.c +++ b/src/shared/virt.c @@ -102,7 +102,7 @@ static int detect_vm_cpuid(const char **_id) { }

[systemd-devel] [PATCH v2 1/3] detect-virt: use /proc/device-tree

2015-03-31 Thread Andrew Jones
Kernel doc Documentation/ABI/testing/sysfs-firmware-ofw says that the /proc/device-tree symlink should be used, as opposed to directly accessing /sys/firmware/devicetree/base. The former is ABI, but not the later. --- src/shared/virt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[systemd-devel] [PATCH v2 0/3] [RFT] ARM: detect-virt: detect Xen and QEMU/KVM

2015-03-31 Thread Andrew Jones
This series adds support for detecting if an arm or aarch64 deployment is a Xen or QEMU/KVM guest. I've tested the QEMU/KVM detection on an AArch64 guest. The Xen detection has *not* been tested, thus the RFT. Also note that testing was not done with this exact series, but rather a backport to an

[systemd-devel] [PATCH v2 3/3] ARM: detect-virt: detect QEMU/KVM

2015-03-31 Thread Andrew Jones
QEMU/KVM guests do not have hypervisor nodes, but they do have fw-cfg nodes (since qemu v2.3.0-rc0). fw-cfg nodes are documented, see kernel doc Documentation/devicetree/bindings/arm/fw-cfg.txt, and therefore we should be able to rely on it in this detection. Unfortunately, we currently don't

Re: [systemd-devel] [PATCH] python-systemd: fix is_socket_inet to cope with ports

2015-03-31 Thread Simon Farnsworth
Hello, We've got the Easter long weekend coming up here in the UK, and I intend to spend it away from the computer. Is there anything I need to fix with this patch to make it acceptable to you? On Wednesday 25 March 2015 17:00:09 Simon Farnsworth wrote: Just a couple of trivial oversights. ---

[systemd-devel] [PATCH] change filesystemtype from bind to NULL in mount syscalls

2015-03-31 Thread Iago López Galeiras
Try to keep syscalls as minimal as possible. --- src/core/namespace.c | 2 +- src/nspawn/nspawn.c | 16 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/core/namespace.c b/src/core/namespace.c index f8a2bbc..718da23 100644 --- a/src/core/namespace.c +++

Re: [systemd-devel] Drop systemd-ui

2015-03-31 Thread Michael Laß
Am Montag, den 30.03.2015, 20:35 + schrieb Jóhann B. Guðmundsson: It's not like this is receiving the love it needs, hence I'm pretty sure nobody is using this. Is there a replacement for systemd-gnome-ask-password-agent in any desktop suite? I know at least one person using that peace of

[systemd-devel] [PATCH] [PATCH v2] nspawn: fallback on bind mount when mknod fails

2015-03-31 Thread Alban Crequy
From: Alban Crequy al...@endocode.com Some systems abusively restrict mknod, even when the device node already exists in /dev. This is unfortunate because it prevents systemd-nspawn from creating the basic devices in /dev in the container. This patch implements a workaround: when mknod fails,

Re: [systemd-devel] Drop systemd-ui

2015-03-31 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Mar 31, 2015 at 07:31:31AM +, Jóhann B. Guðmundsson wrote: What I'm proposing is that we dropped that proof of concept since it's not being maintained, there exist better alternatives thus it's intended purpose has been fulfilled already. Agreed that it doesn't make sense to have

Re: [systemd-devel] Drop systemd-ui

2015-03-31 Thread Jóhann B. Guðmundsson
On 03/31/2015 01:47 PM, Zbigniew Jędrzejewski-Szmek wrote: On Tue, Mar 31, 2015 at 07:31:31AM +, Jóhann B. Guðmundsson wrote: What I'm proposing is that we dropped that proof of concept since it's not being maintained, there exist better alternatives thus it's intended purpose has been

Re: [systemd-devel] Drop systemd-ui

2015-03-31 Thread Michael Biebl
2015-03-31 16:20 GMT+02:00 Jóhann B. Guðmundsson johan...@gmail.com: On 03/31/2015 02:09 PM, Michael Biebl wrote: 2015-03-31 15:47 GMT+02:00 Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl: On Tue, Mar 31, 2015 at 07:31:31AM +, Jóhann B. Guðmundsson wrote: What I'm proposing is that we

[systemd-devel] [PATCH] bus-util: be more verbose if bus job failed because of start limit

2015-03-31 Thread Michal Sekletar
Users might have hard time figuring out that they need to call systemctl reset-failed, before they are allowed to start the service again, after service ended up in failed state because start job rate limiting. Let's be nice and print better error message.

Re: [systemd-devel] [PATCH] [PATCH v3] nspawn: fallback on bind mount when mknod fails

2015-03-31 Thread Dave Reisner
On Tue, Mar 31, 2015 at 05:14:48PM +0200, Alban Crequy wrote: From: Alban Crequy al...@endocode.com Some systems abusively restrict mknod, even when the device node already exists in /dev. This is unfortunate because it prevents systemd-nspawn from creating the basic devices in /dev in the

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

2015-03-31 Thread Lukas Nykryn
Older version of systemd does not have d-bus method ListUnitsFiltered, so systemctl -r will fail just with: Failed to list units: Method ListUnitsFiltered with signature as on interface org.freedesktop.systemd1.Manager doesn't exist So lets skip such machines. --- src/systemctl/systemctl.c | 6

Re: [systemd-devel] [PATCH 2/2] macro: allow assert_se() assertions to also be optimized out when NDEBUG is set

2015-03-31 Thread Djalal Harouni
On Mon, Mar 30, 2015 at 07:32:35PM -0700, Shawn Landden wrote: On Mon, Mar 30, 2015 at 5:04 PM, Djalal Harouni tix...@opendz.org wrote: On Fri, Mar 27, 2015 at 09:51:26AM -0700, Shawn Landden wrote: On Fri, Mar 27, 2015 at 8:16 AM, Tom Gundersen t...@jklm.no wrote: [...] * Current

Re: [systemd-devel] [PATCH] [PATCH v2] nspawn: fallback on bind mount when mknod fails

2015-03-31 Thread Lennart Poettering
On Tue, 31.03.15 16:51, Alban Crequy (alban.cre...@gmail.com) wrote: -if (mknod(to, st.st_mode, st.st_rdev) 0) -return log_error_errno(errno, mknod(%s) failed: %m, to); +if (mknod(to, st.st_mode, st.st_rdev) 0)

Re: [systemd-devel] Drop systemd-ui

2015-03-31 Thread Jóhann B. Guðmundsson
On 03/31/2015 02:58 PM, Michael Biebl wrote: When I made the final ConsoleKit release, I added a NEWS entry, saying that this software was discontinued and pointing to the replacements. http://cgit.freedesktop.org/ConsoleKit/commit/?id=af75e100dc4d4fac2e1633aa134e40e390d38918 We could do

Re: [systemd-devel] Drop systemd-ui

2015-03-31 Thread Jóhann B. Guðmundsson
On 03/31/2015 02:27 PM, Michael Biebl wrote: And from the looks of it the Red Hat desktop team maintainers in Gnome seem to be expecting the Gnome users to be using Red Hat's own product cockpit to take care of that. sorry, but that's not a real replacement for systemadm. Don't want to run a

Re: [systemd-devel] Drop systemd-ui

2015-03-31 Thread Michael Biebl
2015-03-31 15:47 GMT+02:00 Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl: On Tue, Mar 31, 2015 at 07:31:31AM +, Jóhann B. Guðmundsson wrote: What I'm proposing is that we dropped that proof of concept since it's not being maintained, there exist better alternatives thus it's intended

Re: [systemd-devel] Drop systemd-ui

2015-03-31 Thread Michael Biebl
When I made the final ConsoleKit release, I added a NEWS entry, saying that this software was discontinued and pointing to the replacements. http://cgit.freedesktop.org/ConsoleKit/commit/?id=af75e100dc4d4fac2e1633aa134e40e390d38918 We could do something similar for systemd-ui. That said, I think

Re: [systemd-devel] [PATCH] [PATCH v3] nspawn: fallback on bind mount when mknod fails

2015-03-31 Thread Lennart Poettering
On Tue, 31.03.15 17:14, Alban Crequy (alban.cre...@gmail.com) wrote: From: Alban Crequy al...@endocode.com Some systems abusively restrict mknod, even when the device node already exists in /dev. This is unfortunate because it prevents systemd-nspawn from creating the basic devices in /dev

Re: [systemd-devel] Drop systemd-ui

2015-03-31 Thread Jóhann B. Guðmundsson
On 03/31/2015 02:30 PM, Michael Laß wrote: Am Montag, den 30.03.2015, 20:35 + schrieb Jóhann B. Guðmundsson: It's not like this is receiving the love it needs, hence I'm pretty sure nobody is using this. Is there a replacement for systemd-gnome-ask-password-agent in any desktop suite? I

Re: [systemd-devel] [PATCH] python-systemd: fix is_socket_inet to cope with ports

2015-03-31 Thread Simon Farnsworth
On Tuesday 31 March 2015 13:53:38 Zbigniew Jędrzejewski-Szmek wrote: On Tue, Mar 31, 2015 at 09:46:40AM +0100, Simon Farnsworth wrote: Hello, We've got the Easter long weekend coming up here in the UK, and I intend to spend it away from the computer. Is there anything I need to fix with

Re: [systemd-devel] [PATCH] [PATCH v3] nspawn: fallback on bind mount when mknod fails

2015-03-31 Thread Alban Crequy
On Tue, Mar 31, 2015 at 5:35 PM, Dave Reisner d...@falconindy.com wrote: On Tue, Mar 31, 2015 at 05:14:48PM +0200, Alban Crequy wrote: From: Alban Crequy al...@endocode.com Some systems abusively restrict mknod, even when the device node already exists in /dev. This is unfortunate because it

Re: [systemd-devel] [PATCH] python-systemd: fix is_socket_inet to cope with ports

2015-03-31 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Mar 31, 2015 at 09:46:40AM +0100, Simon Farnsworth wrote: Hello, We've got the Easter long weekend coming up here in the UK, and I intend to spend it away from the computer. Is there anything I need to fix with this patch to make it acceptable to you? No, the patch is fine afaik. If

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] Drop systemd-ui

2015-03-31 Thread Jóhann B. Guðmundsson
On 03/31/2015 02:09 PM, Michael Biebl wrote: 2015-03-31 15:47 GMT+02:00 Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl: On Tue, Mar 31, 2015 at 07:31:31AM +, Jóhann B. Guðmundsson wrote: What I'm proposing is that we dropped that proof of concept since it's not being maintained, there

Re: [systemd-devel] [PATCH] mount: don't run quotaon only for network filesystems

2015-03-31 Thread Lennart Poettering
On Mon, 30.03.15 14:42, Lukas Nykryn (lnyk...@redhat.com) wrote: If you havei for example ext4 on iscsi devices it is possible to setup qoutas there. Unfortunatelly because such fstab entry contains _netdev, systemd will not add dependency to quotaon.service. I think this really needs a

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

2015-03-31 Thread Lennart Poettering
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 with: I think I'd really prefer if we'd simply fall back to ListUnits() in this case, and do the filtering client side only. In

Re: [systemd-devel] Drop systemd-ui

2015-03-31 Thread Lennart Poettering
On Mon, 30.03.15 19:30, Shawn Landden (shawnland...@gmail.com) wrote: What do you feel is missing from systemctl show? It is only suppose to show fields that have been changed by humans (even the developer) not systemd defaults. Hmm? It supresses empty fields by default, unless you

Re: [systemd-devel] [PATCH 2/2] macro: allow assert_se() assertions to also be optimized out when NDEBUG is set

2015-03-31 Thread Shawn Landden
On Tue, Mar 31, 2015 at 8:38 AM, Djalal Harouni tix...@opendz.org wrote: On Mon, Mar 30, 2015 at 07:32:35PM -0700, Shawn Landden wrote: On Mon, Mar 30, 2015 at 5:04 PM, Djalal Harouni tix...@opendz.org wrote: On Fri, Mar 27, 2015 at 09:51:26AM -0700, Shawn Landden wrote: On Fri, Mar 27, 2015

Re: [systemd-devel] [PATCH] bus-util: be more verbose if bus job failed because of start limit

2015-03-31 Thread Lennart Poettering
On Tue, 31.03.15 17:10, Michal Sekletar (msekl...@redhat.com) wrote: Users might have hard time figuring out that they need to call systemctl reset-failed, before they are allowed to start the service again, after service ended up in failed state because start job rate limiting. Let's be

Re: [systemd-devel] [PATCH] [PATCH v3] nspawn: fallback on bind mount when mknod fails

2015-03-31 Thread Dave Reisner
On Tue, Mar 31, 2015 at 07:14:26PM +0200, Lennart Poettering wrote: On Tue, 31.03.15 11:35, Dave Reisner (d...@falconindy.com) wrote: +/* Some systems abusively restrict mknod but + * allow bind mounts. */ +

Re: [systemd-devel] Drop systemd-ui

2015-03-31 Thread Lennart Poettering
On Mon, 30.03.15 15:32, Shawn Landden (shawnland...@gmail.com) wrote: On Mon, Mar 30, 2015 at 1:35 PM, Jóhann B. Guðmundsson johan...@gmail.com wrote: Heyja Should this not be dropped and *DE write,integrate/implement an graphical frontend to systemd for themselves? It's not like

Re: [systemd-devel] Drop systemd-ui

2015-03-31 Thread Shawn Landden
On Tue, Mar 31, 2015 at 7:19 AM, Dimitri John Ledkov dimitri.j.led...@intel.com wrote: 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

Re: [systemd-devel] [PATCH] [PATCH v3] nspawn: fallback on bind mount when mknod fails

2015-03-31 Thread Lennart Poettering
On Tue, 31.03.15 11:35, Dave Reisner (d...@falconindy.com) wrote: +/* Some systems abusively restrict mknod but + * allow bind mounts. */ +r = touch(to); +if

Re: [systemd-devel] Drop systemd-ui

2015-03-31 Thread Lennart Poettering
On Mon, 30.03.15 20:35, Jóhann B. Guðmundsson (johan...@gmail.com) wrote: Heyja Should this not be dropped and *DE write,integrate/implement an graphical frontend to systemd for themselves? It's not like this is receiving the love it needs, hence I'm pretty sure nobody is using this.

Re: [systemd-devel] Drop systemd-ui

2015-03-31 Thread Shawn Landden
On Tue, Mar 31, 2015 at 10:35 AM, Lennart Poettering lenn...@poettering.net wrote: On Mon, 30.03.15 19:30, Shawn Landden (shawnland...@gmail.com) wrote: What do you feel is missing from systemctl show? It is only suppose to show fields that have been changed by humans (even the developer)

Re: [systemd-devel] Drop systemd-ui

2015-03-31 Thread Shawn Landden
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 03/30/2015 10:32 PM, Shawn Landden wrote: On Mon, Mar 30, 2015 at 1:35

Re: [systemd-devel] [PATCH] change filesystemtype from bind to NULL in mount syscalls

2015-03-31 Thread Lennart Poettering
On Tue, 31.03.15 11:50, Iago López Galeiras (i...@endocode.com) wrote: Try to keep syscalls as minimal as possible. Thanks! Applied! --- src/core/namespace.c | 2 +- src/nspawn/nspawn.c | 16 2 files changed, 9 insertions(+), 9 deletions(-) diff --git

Re: [systemd-devel] [PATCH v2 0/3] [RFT] ARM: detect-virt: detect Xen and QEMU/KVM

2015-03-31 Thread Lennart Poettering
On Tue, 31.03.15 11:08, Andrew Jones (drjo...@redhat.com) wrote: Thanks! Applied all three! This series adds support for detecting if an arm or aarch64 deployment is a Xen or QEMU/KVM guest. I've tested the QEMU/KVM detection on an AArch64 guest. The Xen detection has *not* been tested, thus

Re: [systemd-devel] [PATCH 2/2] macro: allow assert_se() assertions to also be optimized out when NDEBUG is set

2015-03-31 Thread Djalal Harouni
Hi Shawn, On Tue, Mar 31, 2015 at 04:59:29PM -0700, Shawn Landden wrote: On Tue, Mar 31, 2015 at 2:40 PM, Djalal Harouni tix...@opendz.org wrote: On Tue, Mar 31, 2015 at 11:10:34AM -0700, Shawn Landden wrote: [...] The point is that assert() and assert_se() should only be used for