[systemd-devel] [PATCH] main: Set umask before creating any files

2013-09-26 Thread Mike Gilbert
This avoids a problem when we inherit a non-zero umask from the initramfs. This would cause /run/systemd to be created with the wrong mode. --- src/core/main.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/core/main.c b/src/core/main.c index 72bd542..f532dca

Re: [systemd-devel] [PATCH] main: Set umask before creating any files

2013-09-26 Thread Lennart Poettering
On Thu, 26.09.13 10:50, Mike Gilbert (flop...@gentoo.org) wrote: This avoids a problem when we inherit a non-zero umask from the initramfs. This would cause /run/systemd to be created with the wrong mode. Merged this, but ordered things so that umask() is only invoked at one place. ---