Hi I'm not convinced tmux should need PAM support to do something perfectly normal.
How does systemd deal with other programs that want to daemonize? Surely it doesn't kill eg httpd if you start it from a terminal. On Mon, May 23, 2011 at 08:51:17PM +0200, Christian Hesse wrote: > Hello everybody, > > I've installed systemd on my system. Systemd manages processes in cgroups, so > it is able to terminate a process hierarchy if the daemon or session exits. > > Now this breaks tmux: A user logs in, starts a tmux session, and detaches it. > When the user logs out the tmux session is killed as it belongs to the same > cgroup. > > I think the best way to fix the problem is pam support. There's a pam > module pam_systemd which registers user sessions in the systemd control group > hierarchy. > This could also enable things like pam_limits for tmux. > > Or is there any problem with this? Any comments? > -- > Schoene Gruesse > Chris > > ------------------------------------------------------------------------------ > What Every C/C++ and Fortran developer Should Know! > Read this article and learn how Intel has extended the reach of its > next-generation tools to help Windows* and Linux* C/C++ and Fortran > developers boost performance applications - including clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > tmux-users mailing list > tmux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tmux-users ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users