• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Watch out for 17.8 cronjob bug

HostaHost

Regular Pleskian
Just wanted to let everyone know about a bug I've encountered with our first instance of 17.8 testing, on CentOS 6. If a subscription has its shell set to chrooted, even if you've overridden the shell to use for cron jobs, all your subscriptions' cron jobs will be set to a chrooted shell when you upgrade, likely breaking nearly anything if it hadn't been chrooted previously.

Easy enough to reproduce. Install 17.5, set a subscription's shell to "/bin/bash (chrooted)", add a cron job. You'll end up with this in the user's crontab:

SHELL="/usr/local/psa/bin/chrootsh"

Now execute:

/usr/local/psa/bin/server_pref --update -crontab-secure-shell "/bin/bash"

You'll end up with this in the user's crontab:

SHELL="/bin/bash"

If you upgrade to 17.8, that line will revert to the chrootsh shell, and no variation of the server_pref command will get it to go back. However, if the subscription is set to Forbidden, then the desired effect occurs and the crontab gets /bin/bash back, so this issue only occurs if a subscription is set to chrooted; in that case, the cronjobs will be reset to chrooted and any future modification will reset them to chrooted even if you had hand edited the crontab to remove the chroot shell line.
 
Thank you for the report, but we would be grateful if you could submit your reports in a more suitable place.
This will help our developers to better understand the problem.
 
Back
Top