Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
I
ISPConfig 3
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 485
    • Issues 485
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 23
    • Merge Requests 23
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • ISPConfig
  • ISPConfig 3
  • Issues
  • #5904

Closed
Open
Opened Nov 09, 2020 by Dominik@renkyContributor

Jailkit cron update doesn't work for non-php-fpm-chrooted jails

Jailkit maintenance only works if php_fpm_chroot is set to true for the web_domain. This is bad from my point of view, since jailkit primarily doesn't have anything to do with php - there are also jails for ssh-users that even doesn't use PHP... I even think it's a bug, since the release notes say

– Update existing Jails automatically via cronjob

and there is no info that this only support php_fpm_chrooted jails...

My suggestion is to remove the if-statement for php_fpm_chroot == 'y' in 600-jailkit_maintenance.inc.php

is there any reason why not? All the other data are used by every chrooted jail (last_jailkit_hash, last_jailkit_update are filled although php_fpm_chroot is set to 'n').

Assignee
Assign to
3.2.1
Milestone
3.2.1
Assign milestone
Time tracking
None
Due date
None
Reference: ispconfig/ispconfig3#5904