cloudstack/debian
davidjumani d949302d0f
packaging: Adding Centos8, Ubuntu 20.04, XCPNG8.1 Support (#4068)
* DB : Add support for MySQL 8

- Splits commands to create user and grant access on database, the old
statement is no longer supported by MySQL 8.x
- `NO_AUTO_CREATE_USER` is no longer supported by MySQL 8.x so remove
that from db.properties conn parameters

For mysql-server 8.x setup the following changes were added/tested to
make it work with CloudStack in /etc/mysql/mysql.conf.d/mysqld.cnf and
then restart the mysql-server process:

    server_id = 1
    sql-mode="STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION,ERROR_FOR_DIVISION_BY_ZERO,NO_ZERO_DATE,NO_ZERO_IN_DATE,NO_ENGINE_SUBSTITUTION"
    innodb_rollback_on_timeout=1
    innodb_lock_wait_timeout=600
    max_connections=1000
    log-bin=mysql-bin
    binlog-format = 'ROW'

    default-authentication-plugin=mysql_native_password

Notice the last line above, this is to reset the old password based
authentication used by MySQL 5.x.

Developers can set empty password as follows:

    > sudo mysql -u root
    ALTER USER 'root'@'localhost' IDENTIFIED BY '';

In libvirt repository, there are two related commits

2019-08-23 13:13 Daniel P. Berrangé            ● rpm: don't enable socket activation in upgrade if --listen present
2019-08-22 14:52 Daniel P. Berrangé            ● remote: forbid the --listen arg when systemd socket activation

In libvirt.spec.in

        /bin/systemctl mask libvirtd.socket >/dev/null 2>&1 || :
        /bin/systemctl mask libvirtd-ro.socket >/dev/null 2>&1 || :
        /bin/systemctl mask libvirtd-admin.socket >/dev/null 2>&1 || :
        /bin/systemctl mask libvirtd-tls.socket >/dev/null 2>&1 || :
        /bin/systemctl mask libvirtd-tcp.socket >/dev/null 2>&1 || :

Co-authored-by: Wei Zhou <w.zhou@global.leaseweb.com>
Co-authored-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Co-authored-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2020-08-17 16:28:30 +05:30
..
source Fixes problem with having to change the "-SNAPSHOT" string in debian/rules for releases, deb packaging was broken in master due to this in a merge with release version. Fixes some warnings generated by dpkg-buildpackage regarding upstream tarball an source versioning Reduces source tarball from 669MB to 183MB (it was including .git), now build is faster and takes up less space 2015-05-25 16:45:50 +02:00
changelog Updating pom.xml version numbers for release 4.15.0.0-SNAPSHOT 2020-05-23 10:18:39 +01:00
cloudstack-agent.dirs CLOUDSTACK-9462: Systemd support for Ubuntu 16.04 2016-08-25 14:18:51 +05:30
cloudstack-agent.install deb: Remove Ubuntu 14.04 LTS support and update DEB dependencies (#2828) 2018-09-18 16:01:37 +05:30
cloudstack-agent.postinst systemd: fix services to allow TLS configurations via java.security.ciphers (#3163) 2019-02-04 19:51:30 -02:00
cloudstack-cli.install CLOUDSTACK-1415: Debian & Ubuntu packaging work 2013-02-27 15:44:46 +00:00
cloudstack-common.install VM ingestion (#3606) 2020-02-03 15:43:52 +01:00
cloudstack-common.postinst packaging: Adding Centos8, Ubuntu 20.04, XCPNG8.1 Support (#4068) 2020-08-17 16:28:30 +05:30
cloudstack-docs.install CLOUDSTACK-1415: Debian & Ubuntu packaging work 2013-02-27 15:44:46 +00:00
cloudstack-integration-tests.install packaging: Marvin and integration-tests packages 2016-07-20 16:31:23 +05:30
cloudstack-management.install deb: Remove Ubuntu 14.04 LTS support and update DEB dependencies (#2828) 2018-09-18 16:01:37 +05:30
cloudstack-management.postinst CLOUDSTACK-10137: Only link log4j if not already present (#2316) 2017-11-10 19:59:59 +05:30
cloudstack-management.preinst CLOUDSTACK-10012: Migrate to Embedded Jetty 2017-11-03 23:57:25 +05:30
cloudstack-marvin.install packaging: Marvin and integration-tests packages 2016-07-20 16:31:23 +05:30
cloudstack-marvin.postinst CLOUDSTACK-10012: Migrate to Embedded Jetty 2017-11-03 23:57:25 +05:30
cloudstack-usage.dirs CLOUDSTACK-9462: Systemd support for Ubuntu 16.04 2016-08-25 14:18:51 +05:30
cloudstack-usage.install deb: Remove Ubuntu 14.04 LTS support and update DEB dependencies (#2828) 2018-09-18 16:01:37 +05:30
cloudstack-usage.postinst debian: fix symlink issue post install/upgrade (#3695) 2019-11-23 01:13:47 +05:30
cloudstack-usage.preinst debian: remove old usage jars during upgrade (#2552) 2018-04-09 17:21:06 +05:30
compat packging: Raise compat mode to 9 (#2307) 2017-11-06 18:18:53 +05:30
control packaging: Adding Centos8, Ubuntu 20.04, XCPNG8.1 Support (#4068) 2020-08-17 16:28:30 +05:30
copyright fixing license statement in debian 2012-07-20 14:09:16 -04:00
dirs
rules packaging: Adding Centos8, Ubuntu 20.04, XCPNG8.1 Support (#4068) 2020-08-17 16:28:30 +05:30