• 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!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.

Forwarded to devs SELinux Interferes with Plesk FTP Backup

J.Wick

Regular Pleskian
Username:

TITLE

SELinux Interferes with Plesk FTP Backup

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Plesk Obsidian Version 18.0.46 Update #1
Rocky Linux 8.6

PROBLEM DESCRIPTION

Migrated Plesk from Centos 7.9 over to a new server with Rocky Linux 8.6 and could not connect to our remote FTPS backup server successfully.

STEPS TO REPRODUCE

Entered known working settings for FTPS (Non-PASV) on custom port 2121/TCP into Plesk Backup Remote Storage and clicked 'Apply.'

ACTUAL RESULT

Plesk partially connected to the FTP and timed out, producing an error, with a CURL troubleshooting command that worked when tried at the CLI.

EXPECTED RESULT

Should quickly connect and report successful connection.

ANY ADDITIONAL INFORMATION

Turning on firewall drop packet logging, I saw the outbound connection was creating many FINAL_REJECT log entries.

SELinux was discovered after a day of troubleshooting it was blocking the outbound connection. After disabling SELinux and rebooting, the connection was successful.

SELinux is important technology; I'd like to re-enable it, but administrators need a way to know about situations like this and have fast ways to correct them. Plesk should be more intelligent in handling SELinux alerts and have a method to recognize non-standard ports in the Backup Manager FTP settings and adjust SELinux accordingly as part of its FTP connection test.

A Tools & Settings -> Security -> SELinux Security panel would be a great feature addition.

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
The issue was not reproduced in the test environment.

On test RockyLinux with Plesk SELinux is enabled in enforcing mode:

[root@deonte-gxzhy7 ~]# sestatus
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: enforcing

On the second server with CentOS 7 vsftpd server was installed and FTP default port was changed to 2121

FTPS was successfully configured in Plesk. More technical details is required to find out the cause with SELinux in your case. I would suggest creating a ticket to Plesk Technical Support to investigate the issue further.

A Tools & Settings -> Security -> SELinux Security panel would be a great feature addition.

The GUI implementation is a feature request:
SeLinux management in Plesk GUI
 
Back
Top