Guido U. Draheim

Results 150 comments of Guido U. Draheim

@mvorisek - as you can see in the output, the setgid/setgroups are actually performed but if some "+" is there then it should not. That's the culprit. The "+" gets...

Is it something that goes into execve_from() to modify the child processes? def execve_from(self, conf, cmd, env): """ this code is commonly run in a child process // returns exit-code"""...

I think that Python does export the nice-API but I am not expert either. The problem here is that I don't have a use case for it and I don't...

I do not have a use for that in my current projects, so may be I'll implement that next year. I do take patches however. ;)

Actually, the whole template and generator features of systemd is a bad approach in the world of containers. If multiple instances of a service are needed then multiple containers should...

I have added test_318 to docker-systemctl-images and well, the setup for postgres ubuntu has a few differences. https://github.com/gdraheim/docker-systemctl-images/blob/develop/ubuntu18-postgres.dockerfile

Well, I am usually preparing container images to get them prepared for the actual installer script that will work on them. So the "mkdir" is an expected fixup - there...

WORKAROUND: def must_have_failed(waitpid, cmd): if cmd and cmd[0] == "/bin/kill": pid = None for arg in cmd[1:]: if not arg.startswith("-"): pid = arg if pid is None: # unknown $MAINPID...

TESTPROGRAM: from __future__ import print_function import os def check(): pid = os.fork() if not pid: cmd = ["/bin/kill","-3"] os.execv(cmd[0], cmd) run_pid, run_stat = os.waitpid(pid, 0) exitcode = os.WEXITSTATUS(run_stat) sigcode =...

According to https://wiki.ubuntu.com/Releases the Ubuntu LTS 16.04 will be maintained up to April 2021, so this problem could come up for quite a while more.