<HTML><BODY>Hello.<br>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.<br>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<br>all child processes have that descriptor and when parent which open pam session dies, child processes continue to run.<br><br>Sergei.</BODY></HTML>