[Bug 1886] New: Please move /tmp/ssh-XXXXXXXXXXXX directory to /var/run

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Sat Apr 2 10:50:52 EST 2011


https://bugzilla.mindrot.org/show_bug.cgi?id=1886

           Summary: Please move /tmp/ssh-XXXXXXXXXXXX directory to
                    /var/run
           Product: Portable OpenSSH
           Version: 5.8p1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ssh-agent
        AssignedTo: unassigned-bugs at mindrot.org
        ReportedBy: josh at joshtriplett.org


ssh-agent creates $SSH_AUTH_SOCK within a temporary directory of the
form /tmp/ssh-XXXXXXXXXXXX.  These directories often stick around and
don't get cleaned up.  (Right now I have piles of them just from the
past month.) These directories seem like a perfect fit for /var/run,
rather than /tmp, since they exist primarily to provide a socket. 
Moving them to /var/run should not break anything (since $SSH_AUTH_SOCK
would point to the new location), and should allow these directories to
get automatically cleaned up.  Furthermore, this reduces clutter in
/tmp.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list