Re: [systemd-devel] UMask attribute in service file

2017-02-01 Thread Oliver Graute
On 31/01/17, Oliver Graute wrote: > Hello list, > > some further background: > > In my system there are different services started by systemd 225 (all > with UMask=027). Sometimes files are created with 666 sometimes with > 640 as I wish. > > ls -la > -rw

[systemd-devel] UMask attribute in service file

2017-01-31 Thread Oliver Graute
Hello list, I'am using the UMask attribute in my service file to define my umask setting to 0027. In this service file I start a little c program which uses fopen() to open a file. the file permissions are rw-rw-rw (0666) instead of rw-r--- (0640) Is this a expected behavior? some further

[systemd-devel] CPUQuota setting is not inherited from systemd slices

2016-09-27 Thread Oliver Graute
Hello, I try to limit my CPUQuota for my dnt5411software.slice. But the services in the slice do not inherit the CPUQuota=20% setting from the dnt5411software.slice file. They still consume more then 20% of the CPU. Some clue whats wrong or missconfigured here? I'am using systemd 225