[systemd-devel] Enable port forwarding via upnp

2015-02-24 Thread Kai Krakow
Hello! Is it possible to somehow create a service which enables port forwardings on my router using upnp? Currently, I guess it is not possible (except maybe using ExecPost or ExecPre and the upnpc program). But when my client IP changes via DHCP, it should be reapplied. Also, it needs to be ma

Re: [systemd-devel] [PATCH] systemd: add getrandom syscall numbers for MIPS

2015-02-24 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Feb 23, 2015 at 04:01:31PM +0200, Aaro Koskinen wrote: > Add getrandom syscall numbers for MIPS. Based on Linux 3.17 kernel > (commit 42944521af97a3b25516f15f3149aec3779656dc, "MIPS: Wire up new > syscalls getrandom and memfd_create"). > > Signed-off-by: Aaro Koskinen No need for SOB. Ap

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

2015-02-24 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Feb 19, 2015 at 05:03:51PM +0100, Daniele Medri wrote: > --- > po/it.po | 158 > +++ > 1 file changed, 109 insertions(+), 49 deletions(-) Thanks, applied. Zbyszek ___ systemd-devel mai

Re: [systemd-devel] [PATCH] bootchart: svg: fix checking of list end

2015-02-24 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Feb 24, 2015 at 06:32:31PM +0200, Aaro Koskinen wrote: > If we have less samples than expected, systemd-bootchart will crash. > > Signed-off-by: Aaro Koskinen No need for SOB. > --- > src/bootchart/svg.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/bootc

Re: [systemd-devel] [RFC] core, login: wording

2015-02-24 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Feb 20, 2015 at 11:01:18AM +0100, Daniele Medri wrote: > --- > src/core/org.freedesktop.systemd1.policy.in.in | 6 +++--- > src/login/org.freedesktop.login1.policy.in | 8 > 2 files changed, 7 insertions(+), 7 deletions(-) > > diff --git a/src/core/org.freedesktop.systemd1.po

[systemd-devel] Improve log notice when unprivileged users run journalctl executable

2015-02-24 Thread Gautier Pelloux-Prayer
Hi, Currently, when user runs journalctl without extra privileges, output will be: No journal files were found. This patch modifies this sentence to give some hints to the user: No journal files were found. Users in the 'systemd-journal' group may access more messages. It should help n

[systemd-devel] machinectl create container via dbus

2015-02-24 Thread Vasiliy Tolstov
Hello =). I'm try to think about creating containers with systemd-nspawn and machinectl from dbus. Does it possibe? I need dbus because i have unprivileged app, that needs to create container and run it. I'm try libvirt, but it does not have ability to download image (only possible to use already

Re: [systemd-devel] [PATCH] vconsole: set font on tty16..tty63 as well

2015-02-24 Thread Jan Engelhardt
On Tuesday 2015-02-24 21:34, Jan Engelhardt wrote: >+/* get active tty - ignore v_state bitmask */ > r = ioctl(fd, VT_GETSTATE, &vcs); > if (r < 0) > return; > >-for (i = 1; i <= 15; i++) { >+for (i = 1; i < 64; ++i) { > char

[systemd-devel] [Q] About supporting nested systemd daemon

2015-02-24 Thread Cyrill Gorcunov
Hi all! I would really appreciate if someone enlighten me if there is some simple solution for the problem we met in OpenVZ: modern containers are mostly systemd based so that once it is started up the systemd daemon mounts own instance of the systemd cgroup (if previously has not been pre-mounted

[systemd-devel] [PATCH] vconsole: set font on tty16..tty63 as well

2015-02-24 Thread Jan Engelhardt
The setup program would not set the font on tty16 and upwards. There is a maximum of 63 VCs possible in Linux. (That number is hardcoded.) The reason for systemd not having supported tty16+ is because it used the VT_GETSTATE ioctl, which can only tell about the state of the first 16 ttys. However,

Re: [systemd-devel] [PATCH 2/2] vconsole: set font on tty16..tty63 as well

2015-02-24 Thread Jan Engelhardt
On Tuesday 2015-02-24 19:53, Jan Engelhardt wrote: >On Tuesday 2015-02-24 19:47, Lennart Poettering wrote: > >>On Tue, 24.02.15 17:49, Jan Engelhardt (jeng...@inai.de) wrote: >> >>> The setup program would not set the font on tty16 upwards. >>> There is a maximum of 63 VCs possible in Linux. (That

Re: [systemd-devel] [PATCH] core: do not spawn jobs or touch other units during coldplugging

2015-02-24 Thread Ivan Shapovalov
On 2015-02-24 at 22:57 +0300, Ivan Shapovalov wrote: > Because the order of coldplugging is not defined, we can reference a > not-yet-coldplugged unit and read its state while it has not yet been > set to a meaningful value. > > This way, already active units may get started again. > > Fixes http

Re: [systemd-devel] [PATCH] configure: turn off -Wlogical-not-parentheses

2015-02-24 Thread Shawn Landden
On Tue, Feb 24, 2015 at 9:33 AM, David Herrmann wrote: > Hi > > On Mon, Feb 16, 2015 at 11:02 PM, Shawn Landden > wrote: > > Introduced in gcc-5 > > > > These errors are really annoying. I can get behind clarification of > nested ifs, > > but this is overkill. > > --- > > configure.ac | 1 + > >

[systemd-devel] [PATCH] core: do not spawn jobs or touch other units during coldplugging

2015-02-24 Thread Ivan Shapovalov
Because the order of coldplugging is not defined, we can reference a not-yet-coldplugged unit and read its state while it has not yet been set to a meaningful value. This way, already active units may get started again. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=88401 --- I'm unsure whet

Re: [systemd-devel] [PATCH 2/2] vconsole: set font on tty16..tty63 as well

2015-02-24 Thread Jan Engelhardt
On Tuesday 2015-02-24 19:47, Lennart Poettering wrote: >On Tue, 24.02.15 17:49, Jan Engelhardt (jeng...@inai.de) wrote: > >> The setup program would not set the font on tty16 upwards. >> There is a maximum of 63 VCs possible in Linux. (That number is >> hardcoded.) > >We deliberately do not suppor

Re: [systemd-devel] [PATCH 2/2] vconsole: set font on tty16..tty63 as well

2015-02-24 Thread Lennart Poettering
On Tue, 24.02.15 17:49, Jan Engelhardt (jeng...@inai.de) wrote: > The setup program would not set the font on tty16 upwards. > There is a maximum of 63 VCs possible in Linux. (That number is > hardcoded.) We deliberately do not support such high VTs in systemds. If you want such high VTs, then pl

[systemd-devel] [PATCH] vconsole: rerun setup on console takeovers as well

2015-02-24 Thread Jan Engelhardt
When a system, which has an FB driver and fbcon loaded and active, then the font state gets lost on console takeovers, as for example issued by i915. Since fbcon remains loaded and active, the existing event handling (add/vtcon*) is not sufficient. --- This goes on top of the other patchset I sent

[systemd-devel] unaligned write in dhcp_identifier_set_iaid

2015-02-24 Thread Michael Olbrich
Hi, there is an unaligned write in dhcp_identifier_set_iaid() and I'm not quite sure what the correct fix is: int dhcp_identifier_set_iaid(int ifindex, uint8_t *mac, size_t mac_len, uint32_t *_id) { [...] *_id = (id & 0x) ^ (id >> 32); [...] } And this is called with: r = dhcp_i

Re: [systemd-devel] [PATCH] configure: turn off -Wlogical-not-parentheses

2015-02-24 Thread David Herrmann
Hi On Mon, Feb 16, 2015 at 11:02 PM, Shawn Landden wrote: > Introduced in gcc-5 > > These errors are really annoying. I can get behind clarification of nested > ifs, > but this is overkill. > --- > configure.ac | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/configure.ac b/configure.ac

Re: [systemd-devel] [systemd-commits] configure.ac

2015-02-24 Thread David Herrmann
Hey On Tue, Feb 24, 2015 at 4:20 PM, David Herrmann wrote: > Hi > > On Tue, Feb 24, 2015 at 4:15 PM, Zbigniew Jędrzejewski-Szmek > wrote: >> On Tue, Feb 24, 2015 at 04:08:17PM +0100, David Herrmann wrote: >>> Hi >>> >>> On Tue, Feb 24, 2015 at 4:07 PM, Zbigniew Jędrzejewski-Szmek >>> wrote: >>>

[systemd-devel] [PATCH 2/2] vconsole: set font on tty16..tty63 as well

2015-02-24 Thread Jan Engelhardt
The setup program would not set the font on tty16 upwards. There is a maximum of 63 VCs possible in Linux. (That number is hardcoded.) --- src/vconsole/vconsole-setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vconsole/vconsole-setup.c b/src/vconsole/vconsole-setup.c

Re: [systemd-devel] [systemd-commits] configure.ac

2015-02-24 Thread David Herrmann
Hi On Tue, Feb 24, 2015 at 4:15 PM, Zbigniew Jędrzejewski-Szmek wrote: > On Tue, Feb 24, 2015 at 04:08:17PM +0100, David Herrmann wrote: >> Hi >> >> On Tue, Feb 24, 2015 at 4:07 PM, Zbigniew Jędrzejewski-Szmek >> wrote: >> > On Tue, Feb 24, 2015 at 07:02:49AM -0800, David Herrmann wrote: >> >>

Re: [systemd-devel] [systemd-commits] configure.ac

2015-02-24 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Feb 24, 2015 at 04:08:17PM +0100, David Herrmann wrote: > Hi > > On Tue, Feb 24, 2015 at 4:07 PM, Zbigniew Jędrzejewski-Szmek > wrote: > > On Tue, Feb 24, 2015 at 07:02:49AM -0800, David Herrmann wrote: > >> configure.ac |1 + > >> 1 file changed, 1 insertion(+) > >> > >> New commits

Re: [systemd-devel] [systemd-commits] configure.ac

2015-02-24 Thread David Herrmann
Hi On Tue, Feb 24, 2015 at 4:07 PM, Zbigniew Jędrzejewski-Szmek wrote: > On Tue, Feb 24, 2015 at 07:02:49AM -0800, David Herrmann wrote: >> configure.ac |1 + >> 1 file changed, 1 insertion(+) >> >> New commits: >> commit 0a98d66159e474915afd6597d3aa444a698fdd2d >> Author: David Herrmann >>

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

2015-02-24 Thread Jan Synacek
Andrei Borzenkov writes: > В Fri, 20 Feb 2015 10:56:41 +0100 > Jan Synacek пишет: > >> First version of the patch that allows rd.luks.key to be specified almost >> the same way as dracut can >> read it. >> > > This sounds like working around dracut bug. Dracut already has code to > deal with i