InstantSSH 3.2.0 on Debian Jessie

  • Hello,
    i'd upgraded a server from Wheezy to Jessie.
    After this i'd installed the latest stable panel.
    Now i want to install the last version of InstantSSH (3.2.0).. After i while i got this error

    Code
    1. File "/var/www/imscp/gui/plugins/InstantSSH/bin/makejail", line 1143, in makeChroot() File "/var/www/imscp/gui/plugins/InstantSSH/bin/makejail", line 983, in makeChroot addFileToJail(file) File "/var/www/imscp/gui/plugins/InstantSSH/bin/makejail", line 466, in addFileToJail checkRequirements(fileName) File "/var/www/imscp/gui/plugins/InstantSSH/bin/makejail", line 537, in checkRequirements ft=fileType(file) File "/var/www/imscp/gui/plugins/InstantSSH/bin/makejail", line 533, in fileType return string.strip(string.split(execute("file %s" % file)[0],":")[1]) IndexError: list index out of range


    Before i started the install i did installed the requiered packages. On Jessi i can install "busybox-static" or "busybox". I'd tried to activate InstantSSH with both packages.



    Any ideas how i can fix this problem?



    Thanks you


    I'd activate the DEBUG. Here is the logfile

  • Hello ;


    This is fixed. I'll release a new version in few seconds.


    Fixes included in the coming version:

    Code
    1. Added: Debug output (makejail)
    2. Fixed: Shell commands run via the execute() function are not escaped, which can lead to misinterpretation (makejail)
    3. Improved: Reduced time building of jailed environments by avoiding shell usage (makejail)
    4. Updated: Translation files


    Your problem is fixed by: Fixed: Shell commands run via the execute() function are not escaped, which can lead to misinterpretation (makejail)

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • @TheCry


    New version has been released. See InstantSSH

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Re;


    Full log please.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Re;


    I'll investigate but normally, the /var/log/lastlog file should exist on your system, else, this mean that something is wrong. At least, I've never encoutered such error on my servers.


    Thank for your report anyway.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • @TheCry


    BTW: Default mode is not 0644


    Shell-Script
    1. root@jessie:/# ls /var/log/lastlog -la
    2. -rw-rw-r-- 1 root utmp 292584 juin 11 22:41 /var/log/lastlog

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206