On 2011-07-25 13:37, Reinhard Tartler wrote: > To be honest, I'd like to remove the cleanup daemon completely and > integrate the cleanup into the listsessions command. The current > implementation of the cleanup daemon in perl that runs as root and > doesn't work properly anyway makes me feel quite uneasy.
I think there are two things that nedd cleaning up: 1) Clean dead sessions from the DB to free displays. 2) Clean up hold sessions in the home-dir to free memory. The first is probably better done as daemon/cron-job. The daemon needs extended rights, because it needs access to all sessions (this is relevant due to the postgres-implementation), and needs to run on every server. Running as x2gouser should do the trick, though. The second is probably best placed in x2gocreatesession, as the user should have the rights to clean up it's old sessions (root normally may not access foreign homes via NFS). Cheers Morty -- Dipl.-Ing. Moritz 'Morty' Struebe (Wissenschaftlicher Mitarbeiter) Lehrstuhl für Informatik 4 (Verteilte Systeme und Betriebssysteme) Friedrich-Alexander-Universität Erlangen-Nürnberg Martensstr. 1 91058 Erlangen Tel : +49 9131 85-25419 Fax : +49 9131 85-28732 eMail : [email protected] WWW : http://www4.informatik.uni-erlangen.de/~morty
smime.p7s
Description: S/MIME Kryptografische Unterschrift
_______________________________________________ X2go-Dev mailing list [email protected] https://lists.berlios.de/mailman/listinfo/x2go-dev
