#145 Can't migrate if remote shm seg open - reop_export_path erro

v1.9.2
closed-fixed
nobody
IPC (12)
5
2008-10-21
2007-08-02
John Hughes
No

If a process attaches to a remote shm segment then tries to migrate then we get "reop_export_path: Can't export unlinked file /SYSV7a6d2001 (deleted)" and the migration fails.

Discussion

  • John Hughes

    John Hughes - 2007-08-02

    Logged In: YES
    user_id=166336
    Originator: YES

    (bug split off from 1764324)

     
  • John Hughes

    John Hughes - 2007-08-02

    Logged In: YES
    user_id=166336
    Originator: YES

    reop_export_path is testing for deleted file before shared memory seg. Code in reop_import_path looks for shared memory (in fact any file called /SYSVxxxxxxxx) first. Maybe fix by reordering code in reop_export_path.

     
  • Roger Tsang

    Roger Tsang - 2007-08-03

    Logged In: YES
    user_id=1246761
    Originator: NO

    Attached patch for kernel tests path for shared memory before trying to export as a file.
    File Added: cluster_ssi_vproc_reopen.c.patch

     
  • Roger Tsang

    Roger Tsang - 2007-08-03
    • milestone: --> v1.9.2
     
  • John Hughes

    John Hughes - 2007-08-03

    Logged In: YES
    user_id=166336
    Originator: YES

    Whoops, poor coordination - just checked in a fix that does more or less what Rogers patch below does. Works for me.

     
  • John Hughes

    John Hughes - 2007-08-03
    • status: open --> closed
     
  • John Hughes

    John Hughes - 2008-10-21
    • status: closed --> closed-fixed
     

Log in to post a comment.