Glenn, Piotr, Copying multiple files at the same time is still a single copy and paste selection transfer. The only difference is that the selection data contains a list of URIs to be copied instead of a single one.
the copy_move_files function creates a list of global zone locations for sources and targets and hands off the operation to gnomevfs. The operation is synchronous so should not return to process any other C&P operations in the meantime. There is a bug logged for this code to be rewritten to use setflabel(3TSOL) which may help. I would have to look at this some more to figure out what is really wrong. Piotr, feel free to log a bug in defect.opensolaris.org. Stephen. On Sat, 2009-05-02 at 19:17, Glenn Faden wrote: > Piotr Jasiukajtis wrote: > > On Sat, May 2, 2009 at 6:29 PM, Glenn Faden <Glenn.Faden at sun.com> wrote: > > > > > >> > >> What kind of paste operation did you do to generate this traceback? > >> > > Nothing special.. I just tried to copy some pdf files from the > > internal to the public zone. > > > > Lets try again.. > > > > I copy these files: > > -rw-r--r-- 1 estibi other 387K Mar 30 2008 > > /zone/internal/root/export/home/estibi/chap2.1process_model_v2.0_notes.pdf > > -rw-r--r-- 1 estibi other 627K Mar 30 2008 > > /zone/internal/root/export/home/estibi/chap2.1process_model_v2.0.pdf > > > > to the /zone/public/root/export/home/estibi/ of course by using > > nautilus and /home/ instead of /export/home/ > > > > I can copy a single file, but not both at the same time. > > I tried to copy these files to public and restricted zones, same issue. > > > > Btw, this system was upgraded from 2008.11 /release. > > > > > Problems with copying both files at the same time implies something > isn't reentrant. Maybe the getmntent() loop needs a lock, or somewhere > else earlier in the traceback. In the original TCDE code, the selection > manager could only handle one operation at a time. But the TJDS > selection manager apparently allows multiple operations to overlap; I'm > not sure that is consistent with the assumptions on which the original > code (ported from TCDE) is based. The TCDE code has a request queue to > prevent such overlapping operations. > > --Glenn
