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

2015-01-03 Thread Topi Miettinen
On 01/02/15 21:49, Colin Walters wrote: > On Thu, Jan 1, 2015, at 03:36 PM, Topi Miettinen wrote: >> Copy parent directory mount flags when setting up a namespace and >> don't accidentally clear mount flags later. > > I think unless they're obvious, git commits should at least have a brief > rati

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

2015-01-03 Thread Topi Miettinen
On 01/02/15 23:53, Djalal Harouni wrote: > Hi, > > On Thu, Jan 01, 2015 at 10:36:39PM +0200, Topi Miettinen wrote: >> Copy parent directory mount flags when setting up a namespace and >> don't accidentally clear mount flags later. > As noted by Colin in the other email, there should be a git log m

[systemd-devel] Relative links in tmpfiles.d/etc.conf

2015-01-03 Thread Umut Tezduyar Lindskog
Hi, Our /etc is a sym link and due to that all the links created by tmpfiles.d/etc.conf are wrong. Is there a reason why the links are relative? I would like to send a patch to either: a) Convert the relative links to absolute ones. b) Follow the sym link before creating the relative one. Umut _

Re: [systemd-devel] systemd networking : problems with bridges

2015-01-03 Thread Andrei Borzenkov
В Sat, 3 Jan 2015 01:24:48 -0500 Charles Devereaux пишет: > Hello > > I'm trying to configure systemd networking for a bridge, using v217-stable > from anongit.freedesktop.org/systemd/systemd-stable > > I mostly have 3 problems: > > 1- 3 - I do not understand how to properly use systemd-networ

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

2015-01-03 Thread Topi Miettinen
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. --- src/core/namespace.c | 12 ++-- src/shar

[systemd-devel] systemctl ; tmpfiles 'D'

2015-01-03 Thread Mantas Mikulėnas
From the series of "Living with systemd-git"… ~ After commit d7b8eec7dc7fe30 (tmpfiles: add new line type 'v'…), `systemd-tmpfiles` no longer creates directories from 'D' entries ("Create or empty a directory"), though it still tries to chmod them: umask(022) = 0 stat("/run/samba", 0x7fff7bbf