1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

MU41 breaks /tmp

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by Hostasaurus.Com, Aug 3, 2012.

  1. Hostasaurus.Com

    Hostasaurus.Com Regular Pleskian

    30
    68%
    Joined:
    Oct 8, 2009
    Messages:
    465
    Likes Received:
    8
    Had an occurrence last night of MU41 installing and then /tmp ends up with the following permissions and ownership:

    drwxrwx---. 8 apache psacln 4096 Aug 3 09:37 tmp

    Any ideas how that would have happened? It of course broke everything except apache.
     
  2. Hostasaurus.Com

    Hostasaurus.Com Regular Pleskian

    30
    68%
    Joined:
    Oct 8, 2009
    Messages:
    465
    Likes Received:
    8
    Another day, another broken server; thanks for no response so far.
     
  3. Nikolay.

    Nikolay. Silver Pleskian

    17
    35%
    Joined:
    Jul 1, 2012
    Messages:
    844
    Likes Received:
    2
    I'm not sure what response you are expecting, but it's easy enough to infer that the following script is to blame:

    http://autoinstall.plesk.com/PSA_10.4.4/microupdates/common/mu_session_path.sh

    It has several flaws, one of them being failure to check that session.save_path value is a default one for a given OS (or in other way restrict potential adverse effects of changing permissions).

    Just fix your /tmp permissions. It restricts itself to running only once, so don't worry.
     
  4. Tozz

    Tozz Regular Pleskian

    26
    23%
    Joined:
    Jun 30, 2006
    Messages:
    168
    Likes Received:
    3
    Location:
    Netherlands
    I can confirm this issue. We have seen /tmp permissons changed on all Plesk 10.4 machines after MU #41 was installed. Again a wonderful example of the lack of testing at Parallels.

    Worth noting that we use /tmp as PHP's session.save_path instead of the default value.
     
  5. OlegN

    OlegN Basic Pleskian Staff Member

    23
     
    Joined:
    Nov 18, 2009
    Messages:
    89
    Likes Received:
    1
    Hostasaurus.Com, Tozz I'm sorry, I have missed this aspect. It was my fault.
     
Loading...