On 05/23/2011 02:51 PM, 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?

hmm... that doesn't happen to me on an FC15 instance running
systemd.  i.e.

        ssh fc15-box 'tmux attach || tmux new-session'

followed by detaching, followed by a 2nd invocation of the
same command, puts me back in the original session.

/mark


------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to