From: Florent P. <fl...@pe...> - 2014-01-07 08:33:14
|
Le 07/01/2014 09:03, Henrik Andersson a écrit : > On Mon, 06 Jan 2014 17:04:45 +0100 > Florent Peterschmitt <fl...@pe...> wrote: > Hi Florent, > >> What we see here is: >> >> 1. search for 09dcea473ad6f1ca5c33bc89df88aa42560b82b4.cal file >> 2. fail to open it (it doesn't exists) >> 3. write to another file something (a new TSE license?) >> 4. close this new file >> >> If I re-launch rdesktop, then the same file (09...) is asked, not >> found and another _new_ CAL file is created. At this point, I have 2 >> CAL files. >> >> If I mv the latest CAL to the wanted CAL (09...), here is what I have: >> >> [admin@S777TXDTTEST ~]$ cd .local/share/rdesktop/licenses/ >> [admin@S777TXDTTEST licenses]$ ls >> 0f6f3932c9ecff5b253edabc71d017de013a1778.cal >> ebbcc14692930d5d3f71925f6cc657ec02fa02cf.cal >> [admin@S777TXDTTEST licenses]$ mv >> 0f6f3932c9ecff5b253edabc71d017de013a1778.cal >> 09dcea473ad6f1ca5c33bc89df88aa42560b82b4.cal >> [admin@S777TXDTTEST licenses]$ strace -o rdesktop.trace >> /usr/bin/rdesktop -x 0x86 -N -a 16 -P -z -k en-us S777SQ01 -u '' >> Failed to negotiate protocol, retrying with plain RDP. >> [admin@S777TXDTTEST licenses]$ cat rdesktop.trace |grep lice >> open("/home/admin/.local/share/rdesktop/licenses/09dcea473ad6f1ca5c33bc89df88aa42560b82b4.cal", >> O_RDONLY|O_LARGEFILE) = 5 >> [admin@S777TXDTTEST licenses]$ ls >> 09dcea473ad6f1ca5c33bc89df88aa42560b82b4.cal >> ebbcc14692930d5d3f71925f6cc657ec02fa02cf.cal rdesktop.trace >> >> Then it's ok, the 09... CAL is reused (we see a read() and close() of >> this file) and no extra CAL created. >> >> >> >> Then, two questions : >> >> * is this behaviour the expected one? > > No, this is not an expected behavior. > >> * does this behaviour can be responsible about an over consumption of >> TSE licenses? >> > > I'm unsure, i need to investigate the issue first before having a > straight up answer, I will take a look at this issue this week and get > back to you. Thank you very much. Also, is the following problem[0] relevant with the latest version? I see the code hasn't changed. [0] https://bugs.launchpad.net/ubuntu/+source/rdesktop/+bug/303082 > Kind Regards, > > Henrik Andersson (Cendio AB) -- Florent Peterschmitt | Please: fl...@pe... | * Avoid HTML/RTF in E-mail. http://florent.peterschmitt.fr | * Send PDF for documents. | * Trim your quotations. Really. Proudly powered by Open Source | Thank you :) |