Re: [systemd-devel] [PATCH] util: Fix signedness error in lines(), match implementations

2015-01-04 Thread Lennart Poettering
On Thu, 01.01.15 15:05, Colin Walters (walt...@verbum.org) wrote: > From a74befe02b8a8141a2ffc5613372ef8082a2c6d2 Mon Sep 17 00:00:00 2001 > From: Colin Walters > Date: Thu, 1 Jan 2015 14:57:08 -0500 > Subject: [PATCH] util: Fix signedness error in lines(), match implementations > > Regression i

Re: [systemd-devel] systemctl ; tmpfiles 'D'

2015-01-04 Thread Lennart Poettering
On Mon, 05.01.15 00:33, Elias Probst (m...@eliasprobst.eu) wrote: > I already filed bugs for both a few days ago: > > systemctl hangs on start/stop/restart since ebd011d9: > https://bugs.freedesktop.org/show_bug.cgi?id=87950 Fixed in git. (the other one isn't fixed yet.) Lennart -- Lennart

Re: [systemd-devel] systemctl ; tmpfiles 'D'

2015-01-04 Thread Elias Probst
I already filed bugs for both a few days ago: systemctl hangs on start/stop/restart since ebd011d9: https://bugs.freedesktop.org/show_bug.cgi?id=87950 "systemd-tmpfiles --create" fails with "chmod(/var/run/samba) failed: No such file or directory" after d7b8eec7 https://bugs.freedesktop.org/s

[systemd-devel] rsync output is not captured in the journal

2015-01-04 Thread Igor Bukanov
Hello, I have a strange case when there is no output in the journal from rsync when the command is run from a service. This is on Fedora 21 with systemd 217. Consider the following trivial test unit: # cat /etc/systemd/system/test.service [Service] ExecStart=/usr/bin/rsync -vv /etc/hostname /tmp

[systemd-devel] [PATCH v4] Do not clear parent mount flags when setting up namespaces

2015-01-04 Thread Topi Miettinen
When setting up a namespace, mount flags like noexec, nosuid and nodev are cleared, so the mounts always have exec, suid and dev flags enabled. Copy source directory mount flags to target mount when remounting the bind mounts. --- src/shared/util.c | 23 +-- 1 file changed, 21

Re: [systemd-devel] [PATCH v3] Do not clear parent mount flags when setting up namespaces

2015-01-04 Thread Topi Miettinen
On 01/04/15 12:00, Djalal Harouni wrote: > Hi Topi, > > On Sun, Jan 04, 2015 at 11:26:12AM +, Topi Miettinen wrote: >> On 01/03/15 12:58, Topi Miettinen wrote: >>> When setting up a namespace, flags like noexec, nosuid and nodev are >>> cleared, so the mounts always have exec, suid, dev flags

Re: [systemd-devel] [PATCH v3] Do not clear parent mount flags when setting up namespaces

2015-01-04 Thread Djalal Harouni
Hi Topi, On Sun, Jan 04, 2015 at 11:26:12AM +, Topi Miettinen wrote: > On 01/03/15 12:58, Topi Miettinen wrote: > > When setting up a namespace, flags like noexec, nosuid and nodev are > > cleared, so the mounts always have exec, suid, dev flags enabled. > > > > Copy parent directory mount fl

Re: [systemd-devel] [PATCH v3] Do not clear parent mount flags when setting up namespaces

2015-01-04 Thread Topi Miettinen
On 01/03/15 12:58, Topi Miettinen wrote: > When setting up a namespace, flags like noexec, nosuid and nodev are > cleared, so the mounts always have exec, suid, dev flags enabled. > > Copy parent directory mount flags when setting up a namespace and > don't accidentally clear mount flags later. S