On Mon, 05.05.14 20:33, dedede gfgfgf trtrtrtrtrtr (s.kabano...@mail.ru) wrote:
> 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. Thanks for the pointer! Fixed in git! Thanks! Lennart -- Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel