(Legacy) Bugs from 10.3.4 not yet fixed:
A. (Added 17 Apr. 2009) After the upgrade, /var/lib/mysql is owned by root, causing problems for phpMyAdmin. /var/lib/mysql must be owned by user 'mysql' for proper functioning of phpMyAdmin. With the current version of mysql, root ownership of /var/lib/mysql is not required for security; users are prevented from adding databases via circumvention of the control panel through the mysql permissions granted to the user (specifically, users do not have "create" permissions). (See this thread for more discussion.) (N.B. Parallels reports that this did not seem to be a problem during testing... I'll mark this as "fixed" when I receive confirmation.)
FIX: Run the following while logged in as root:
Code:
replace "root.mysql" "mysql.mysql" -- /etc/init.d/mysqld_app_init
service mysqld restart
Recommendation to Parallels: Ensure that /var/lib/mysql is owned by user 'mysql.'
B. (Added 20 Apr. 2009) Link and logo on the control panel login page point back to Parallels' website and are not customizable; links/logos should be customizable by the user (e.g. to include user logo and point back to user's website).
WORKAROUND: If desired, turn off display of Parallels' logo and link via:
Code:
echo "table.login-header{display:none;}" >> /usr/lib/ensim/frontend/static/css/login.css
Recommendation to Parallels: Allow admins to replace BOTH link and logo with custom entries.
C. (Added 17 May 2009) SSL directives may be missing from httpd conf file for new sites, so SSL does not work. (Note: this is unconfirmed; some users report success, some do not.) This may be caused by Parallels incorporating a buggy fix for the "CP redirect to hostname instead of IP" bug (see this thread), but that's just a guess.
WORKAROUND: Manually edit /etc/httpd/conf/virtual/siteN to include SSL directives, but this is lost after editing a site.
WORKAROUND 2: Create an editVirtDomain.sh that edits the appropriate /etc/httpd/conf/virtual/siteN to include the SSL directives.
WORKAROUND 3: Create /usr/lib/ensim-python/site-packages/vh3/custom/openssl.py with appropriate commands to add the SSL directives back in.
D. (Added 18 May 2009) A python bug prevents the importing of certain sites on systems with python 2.4, purportedly because of filename collisions between the imported site and the default FST.
FIX: Patch python as follows:
Code:
cd /tmp
wget http://bugs.python.org/file2369/tarfile.patch
cd /usr/lib/python2.4/
patch -p0 < /tmp/tarfile.patch
Recommendation to Parallels: Distribute and apply patch (or patched version of python) with future upgrades on systems that use python 2.4.
E. (Added 12 August 2009) On the "Generate SSL Certificate" page, PPCP disallows commas, hyphens, and other punctuation from the City, State, Company, and Organization fields. This is incorrect - the SSL standard allows certain punctuation characters in these fields. If you need to input characters into these fields that are disallowed by PPCP, the certificate and/or CSR must be generated manually. (See discussion in this thread.)
WORKAROUND: Manually generate the CSR and self-signed SSL certificate... you must do this as root:
Code:
# replace "domain.com" with the appropriate domain for your site.
cd /home/virtual/domain.com/etc/httpd/conf/
# Generate the secret server key - do NOT include a passphrase
openssl genrsa –des3 –out ssl.key/server.key 1024
# Generate the CSR - do NOT include a passphrase
# Note that "Common Name" must be your domain, e.g. domain.com or www.domain.com
openssl req –new –key ssl.key/server.key –out ssl.csr/server.csr
# Generate a self-signed certificate good for 5 years
openssl x509 -req -days 1825 -in ssl.csr/server.csr -signkey ssl.key/server.key -out ssl.crt/server.crt
service httpd restart
Recommendation to Parallels: Fix the control panel to allow all allowable characters; do not restrict characters that are allowed.
F. (Added 12 August 2009) On the "Generate SSL Certificate" page, PPCP incorrectly labels the Company and Organization fields. Per the SSL/CSR standard, the field labeled "Company" corresponds to the [O] (Organization) field; the field labeled "Organization" corresponds to the [OU] (Organizational Unit) field. (See discussion in this thread.)
WORKAROUND: None. Just be aware of what each field means, so you know what information to put where.
Recommendation to Parallels: Rename Company and Organization fields to Organization and Organizational Unit. Alternatively, flesh out the Help files to make this distinction clear.
G. (Added 13 August 2009) Even if there is a catch-all mail alias defined, mail sent to any daemon user listed in /etc/passwd is delivered to /var/spool/mail/<daemonuser> (e.g. mail to mail@domain is delivered to /var/spool/mail/mail, even if the catch-all alias is defined). Since no "real" user exists - these are just daemons - those mail spools go unmaintained and thus can grow to large sizes entirely unnoticed, unless one knows to look for it. (See full discussion in this thread.) For the workarounds below, none will actually bounce the mail; they will simply ensure that the mail is tossed or delivered someplace so the spool files can't grow unmonitored.
WORKAROUND: Create aliases for all daemon users that point to postmaster, site-blackhole, catch-all (if defined), or anywhere else desired.
WORKAROUND 2: In /var/spool/mail for each site, remove offending mailboxes and symlink to /dev/null; for example:
Code:
# As the _domain_ admin:
cd /var/spool/mail
rm mail
ln -s /dev/null mail
Recommendation to Parallels: Modify sendmail configuration to ensure that mail is delivered only to users and aliases defined in the control panel (including catch-all, if defined). Mail to daemon users should be treated like mail to a non-existent user: bounced or delivered to catch-all (if defined).
H. (Added 13 August 2009) Server-wide SSL certificates for HTTPS browsing do not automatically propagate to PPCP's custom apache browser (for interacting with the control panel). Even after installing the SSL certificate via the server admin control panel, the appliance (control panel) does not use that certificate.
WORKAROUND: Manually symlink the valid (purchased) SSL certificates into the appliance's httpd conf directory. If the SSL cert includes an intermediate (chain) cert, the conf file template must also be manually modified:
Code:
# As root, do:
cd /usr/lib/ensim/frontend/httpd/conf
ln -sf /etc/pki/tls/private/localhost.key server.key
ln -sf /etc/pki/tls/certs/localhost.crt server.crt
# If you have an intermediate cert too, then run the following 2 commands:
ln -sf /etc/pki/tls/certs/intermediate.crt server-chain.crt
# Make sure to *INCLUDE* the newline in the following command - it is MANDATORY
replace 'conf/server.key' 'conf/server.key
SSLCertificateChainFile conf/server-chain.crt' -- eplhttpd.conf.template
service epld restart
WORKAROUND 2: Manually edit the appliance httpd conf file to point to the valid (purchased) SSL certificates in their original directory:
Code:
# As root, do:
cd /usr/lib/ensim/frontend/httpd/conf
replace 'conf/server.crt' '/etc/pki/tls/certs/localhost.crt' -- eplhttpd.conf.template
replace 'conf/server.key' '/etc/pki/tls/private/localhost.key' -- eplhttpd.conf.template
# If you have an intermediate cert too, then:
# Make sure to *INCLUDE* the newline in the following command - it is MANDATORY
replace 'private/localhost.key' 'private/localhost.key
SSLCertificateChainFile /etc/pki/tls/certs/intermediate.crt' -- eplhttpd.conf.template
service epld restart
Recommendation to Parallels: Implement workaround #2 permanently, or implement workaround #1 automatically via the control panel. Either way, make it so that an SSL certificate added via the control panel (whether imported or self-generated) also works for the appliance.
I. (Added 13 August 2009) Server-wide SSL certificates for HTTPS browsing do not automatically propagate to the IMAP/POP daemon or to sendmail. Even after installing the SSL certificate via the server admin control panel, IMAP/POP/sendmail will use either no certificate or whatever was there before.
WORKAROUND: Manually copy the web SSL certificates to the PEM files used by IMAP/POP/sendmail; they will need to be concatenated into PEM format:
Code:
# As root, do:
cd /etc/pki/tls/certs
cat ../private/localhost.key localhost.crt > imapd.pem
# If you have an intermediate cert, ALSO do:
cat intermediate.crt >> imapd.pem
chmod 600 imapd.pem
ln -sf imapd.pem ipop3d.pem
ln -sf imapd.pem sendmail.pem
service xinetd restart
service sendmail restart
service saslauthd restart
Recommendation to Parallels: Implement this workaround permanently, so that SSL certificates added via the control panel automatically propagate to IMAP/POP/sendmail.