Results 1 to 5 of 5

Thread: Access denied for file /tmp/source_engine_2808995433.lock

  1. #1

    Access denied for file /tmp/source_engine_2808995433.lock

    Hello!

    Temporary file "/tmp/source_engine_2808995433.lock" is not deleted after turning off the game. For systems with one user account is not problem.
    But for environments with more than one user accounts is only one a system user can launch game without restarting the system.

    My case:

    1) the system user 'andrey' starts the game, it becomes owner of the lock-file:
    Code:
    $ ls -l /tmp/source_engine_2808995433.lock
    -rw-rw-r-- 1 andrey andrey 0 июля 26 11:32 /tmp/source_engine_2808995433.lock
    2) after that the game was turned off but the lock-file is still exists and is owned by 'andrey'.

    3) user 'andrey' is logged out

    4) another user - 'faa' is logged in, it starts the game and get warning message: "Only one instance of the game can be running at one time",
    and message in linux terminal:

    Code:
    open(/tmp/source_engine_2808995433.lock) failed
    Game removed: AppID 570 "Dota 2", ProcID 18640
    I have workaround for this issue:

    I use cron record for both users 'faa' and 'andrey':
    Code:
    */5 * * * * rm /tmp/source_engine_2808995433.lock
    Now the scheduler will try to remove lock-file every 5 minutes.
    Attached Images Attached Images

  2. #2
    Basic Member
    Join Date
    Jul 2013
    Posts
    109
    I believe there would be better chances of this getting noticed and fixed if you filled that in the github tracker

  3. #3
    You are right. I am created an issue at github. Link to issue : https://github.com/ValveSoftware/Dota-2/issues/632

  4. #4
    Basic Member
    Join Date
    Jul 2013
    Posts
    109
    following it. This shouldn't be hard to fix, hopefully it will make it into the next patch.

  5. #5
    Valve Developer
    Join Date
    Jul 2013
    Posts
    13
    This will be fixed in the next update.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •