Hello.
During my testingĀ of systemd pam sessions i discovered that session processes
are not deleted automatically when i specify KillUserProcesses=yes in latest
versions of systemd.
Investigations showed that since in pam_systemd.so we started to dup() fifo
descriptor problem appeared. Dup does not set O_CLOEXEC flag. So after fork/exec
all child processes have that descriptor and when parent which open pam session
dies, child processes continue to run.
Sergei.
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel