Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mariadb for openSUSE:Factory checked in at 2021-11-20 02:38:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mariadb (Old) and /work/SRC/openSUSE:Factory/.mariadb.new.1895 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mariadb" Sat Nov 20 02:38:15 2021 rev:118 rq:931963 version:10.6.5 Changes: -------- --- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes 2021-11-12 15:59:55.650583333 +0100 +++ /work/SRC/openSUSE:Factory/.mariadb.new.1895/mariadb.changes 2021-11-20 02:38:45.880854500 +0100 @@ -1,0 +2,22 @@ +Tue Nov 16 13:28:35 UTC 2021 - Danilo Spinella <danilo.spine...@suse.com> + +- Fix rpmlint errors +- Run spec-cleaner + +------------------------------------------------------------------- +Mon Nov 15 16:59:26 UTC 2021 - Danilo Spinella <danilo.spine...@suse.com> + +- Enable LZ4 compression for INNODB and ROCKSDB, fixes bsc#1186031 + +------------------------------------------------------------------- +Mon Nov 15 11:02:55 UTC 2021 - Danilo Spinella <danilo.spine...@suse.com> + +- Revert systemd hardening + * Remove harden_mariadb.service.patch + +------------------------------------------------------------------- +Fri Nov 12 21:44:03 UTC 2021 - Callum Farmer <gm...@opensuse.org> + +- Add CONFIG parameter to %sysusers_generate_pre + +------------------------------------------------------------------- Old: ---- harden_mariadb.service.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mariadb.spec ++++++ --- /var/tmp/diff_new_pack.dnBGYA/_old 2021-11-20 02:38:46.960850936 +0100 +++ /var/tmp/diff_new_pack.dnBGYA/_new 2021-11-20 02:38:46.964850923 +0100 @@ -78,7 +78,6 @@ Patch4: mariadb-10.2.4-fortify-and-O.patch Patch6: mariadb-10.4.12-harden_setuid.patch Patch7: mariadb-10.4.12-fix-install-db.patch -Patch8: harden_mariadb.service.patch Patch9: func_math_tests_MDEV-26645.diff Patch10: fix-pamdir.patch # needed for bison SQL parser and wsrep API @@ -97,6 +96,7 @@ # commands history feature BuildRequires: libedit-devel BuildRequires: libevent-devel +BuildRequires: liblz4-devel BuildRequires: libtool BuildRequires: libxml2-devel # CLI graphic and wsrep API @@ -113,7 +113,6 @@ # Some tests and myrocks_hotbackup script need python3 BuildRequires: python3 BuildRequires: sqlite -BuildRequires: sysuser-shadow BuildRequires: sysuser-tools BuildRequires: tcpd-devel # Tests requires time and ps and some perl modules @@ -365,7 +364,6 @@ %patch4 %patch6 -p1 %patch7 -p1 -%patch8 -p1 %if 0%{?suse_version} > 1500 %ifarch s390x ppc64 ppc64le %patch9 @@ -396,8 +394,8 @@ rm -f mysql-test/t/file_contents.test mysql-test/r/file_contents.result # Specify perl path on shebangs -for i in `grep -Rl '^#!@PERL@$' .`; do - sed -i 's|@PERL@|%{_bindir}/perl|' $i +for i in `grep -Rl '^#!%{_bindir}/env perl$' .`; do + sed -i 's|%{_bindir}/env perl|%{_bindir}/perl|' $i done # Add our list of tests that fail (correctly or temporarily) to the list of such @@ -474,7 +472,7 @@ %make_build nm --numeric-sort sql/mysqld > sql/mysqld.sym cd .. -%sysusers_generate_pre %{SOURCE12} mysql +%sysusers_generate_pre %{SOURCE12} mysql mysql-user.conf %install # Helper function to generate filelist for binaries and their manpages @@ -770,10 +768,10 @@ # client does not require server and needs the user too %pre client -f mysql.pre %pre -%service_add_pre mariadb.service +%service_add_pre mariadb.service mariadb.socket mariadb-extra.socket mariadb.target %post -%service_add_post mariadb.service +%service_add_post mariadb.service mariadb@.service mariadb.socket mariadb-extra.socket mariadb.target %tmpfiles_create %{_tmpfilesdir}/mariadb.conf %set_permissions %{_libdir}/mysql/plugin/auth_pam_tool_dir/auth_pam_tool @@ -846,10 +844,10 @@ %verify_permissions %{_libdir}/mysql/plugin/auth_pam_tool_dir/auth_pam_tool %preun -%service_del_preun mariadb.service +%service_del_preun mariadb.service mariadb.socket mariadb-extra.socket mariadb.target %postun -%service_del_postun mariadb.service +%service_del_postun mariadb.service mariadb.socket mariadb-extra.socket mariadb.target %post -n libmariadbd%{soname} -p /sbin/ldconfig %postun -n libmariadbd%{soname} -p /sbin/ldconfig ++++++ mariadb.service.in ++++++ --- /var/tmp/diff_new_pack.dnBGYA/_old 2021-11-20 02:38:47.100850474 +0100 +++ /var/tmp/diff_new_pack.dnBGYA/_new 2021-11-20 02:38:47.100850474 +0100 @@ -63,17 +63,6 @@ # Prevent accessing /home, /root and /run/user ProtectHome=true -# added automatically, for details please see -# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort -PrivateDevices=true -ProtectHostname=true -ProtectClock=true -ProtectKernelTunables=true -ProtectKernelModules=true -ProtectKernelLogs=true -ProtectControlGroups=true -RestrictRealtime=true -# end of automatic additions # Execute pre and post scripts as root, otherwise it does it as User= PermissionsStartOnly=true