[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-portland-bugs
Subject:    [Portland-bugs] [Bug 59732] New: Can't unmount sshfs after playing a file with vlc (locked by xdg-sc
From:       bugzilla-daemon () freedesktop ! org
Date:       2013-01-22 19:57:14
Message-ID: bug-59732-6947 () http ! bugs ! freedesktop ! org/
[Download RAW message or body]

--1358884634.7F05f1.28435
Date: Tue, 22 Jan 2013 19:57:14 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"

https://bugs.freedesktop.org/show_bug.cgi?id=59732

          Priority: medium
            Bug ID: 59732
          Assignee: portland-bugs@lists.freedesktop.org
           Summary: Can't unmount sshfs after playing a file with vlc
                    (locked by xdg-screensaver)
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: fry.kun@gmail.com
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: xdg-utils
           Product: Portland

When I use VLC to play back a video file mounted via sshfs, I often run into
the problem of unmounting the path after playback is finished (and VLC is
closed)

VLC is set up to prevent screensaver from showing during playback, but the
script that locks this (/usr/bin/xdg-screensaver) only checks for unlock every
50 seconds (using "sleep 50").
In this setup, some sshfs-mounted files remain open and sshfs refuses to
unmount since the files are in use.

My temporary workaround is to modify xdg-screensaver to set "sleep 5" -- but
this only works because I unmount by hand (5 seconds lag between closing vlc
and running the command is acceptable to me). This may not work well if someone
sets up a script, for example, to sshfs-mount, play a clip, and instantly
unmount when playback is finished.

-- 
You are receiving this mail because:
You are the assignee for the bug.

--1358884634.7F05f1.28435
Date: Tue, 22 Jan 2013 19:57:14 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"

<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Can't unmount sshfs after playing a file with vlc (locked by xdg-screensaver)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=59732">59732</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>portland-bugs&#64;lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Can't unmount sshfs after playing a file with vlc (locked by xdg-screensaver)
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>fry.kun&#64;gmail.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>xdg-utils
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Portland
          </td>
        </tr></table>
      <p>
        <div>
        <pre>When I use VLC to play back a video file mounted via sshfs, I often run into
the problem of unmounting the path after playback is finished (and VLC is
closed)

VLC is set up to prevent screensaver from showing during playback, but the
script that locks this (/usr/bin/xdg-screensaver) only checks for unlock every
50 seconds (using &quot;sleep 50&quot;).
In this setup, some sshfs-mounted files remain open and sshfs refuses to
unmount since the files are in use.

My temporary workaround is to modify xdg-screensaver to set &quot;sleep 5&quot; -- but
this only works because I unmount by hand (5 seconds lag between closing vlc
and running the command is acceptable to me). This may not work well if someone
sets up a script, for example, to sshfs-mount, play a clip, and instantly
unmount when playback is finished.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>

--1358884634.7F05f1.28435--


_______________________________________________
Portland-bugs mailing list
Portland-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/portland-bugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic