mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 02:46:29 +01:00 
			
		
		
		
	 2adaf5c261
			
		
	
	
	2adaf5c261
	
	
	
		
			
			Fix a large amount of minor fixes to maintainer scripts and other done downstream in the official Debian packaging. Changes include:38198d0b9e> Limit check of running mysqld/mariadbd to system users (Closes: #1032047) > > If a random user has their own copy of mysqld/mariadbd running, the > dpkg maintainer script should not care about it.8116354d22> Make error more helpful in case server restart fails (Related: #1033234) > > Bugs such as https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1033234 > and https://bugs.launchpad.net/ubuntu/+source/mariadb-10.6/+bug/2011293 > show that currently dpkg stopping on service stop/start does not have > a very helpful error message.8675e97202> Complement upstream commits with more complete mysql->mariadb conversion > > The upstream commit952af4a1missed some places where 'mysql' or > 'MySQL' can and should be converted to use 'mariadb' or 'MariaDB'.c983613300> Fix indentation in Debian post and pre scripts > > There is several misindentation inside Debian post and pre > installation scripts. False indentation with space as indent space > should be 2 and indentation with tabs. > > Adopt upstream commit7cbb45d1in Debian by conserving customizations > in: > - debian/mariadb-server.postinst > - debian/mariadb-server.postrm > - debian/mariadb-server.preinstd0bcab443f> Ensure spaces are used everywhere instead of tabs for indentation0300a9157c> Complement previous upstream commits to fix Shellcheck issues > > - Unify if/then and while/do on separate lines > - Fix indentation to be consistent > - Use "$()" instead of backticks for subshells > - Exit code cannot be -1, must be 0-255 > - Remove unused variables MYCHECK and MYCHECK_PARAMS > - Rewrite messy command-line database calls to an easier to read form > that does exactly the same > - Use 'command -v' test instead of 'which' > > With this commit, all of debian/* is Shellcheck clean. Also * Update mariadb.conf.d template to tell users where to create logdir if they are not using journald * Remove use of work 'slave' * Add minor workaround for Debian Bug #1022994 if TMPDIR is empty * Make start/stop in maintainer scripts correctly check mariadbd ownership and only start/stop processes owned by root or 'mysql' * Remove obsolete 'NO_UPDATE_BUILD_VERSION=1' as it did not affect the RocksDB build reproducibility as previously assumed * Run 'wrap-and-sort -av'
		
			
				
	
	
		
			52 lines
		
	
	
	
		
			1.4 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			52 lines
		
	
	
	
		
			1.4 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
| usr/bin/innochecksum
 | |
| usr/bin/mariadb-install-db
 | |
| usr/bin/mariadb-upgrade
 | |
| usr/bin/mysql_install_db
 | |
| usr/bin/mysql_upgrade
 | |
| usr/bin/resolveip
 | |
| usr/sbin/mariadbd
 | |
| usr/sbin/mysqld
 | |
| usr/share/man/man1/innochecksum.1
 | |
| usr/share/man/man1/mariadb-install-db.1
 | |
| usr/share/man/man1/mariadb-upgrade.1
 | |
| usr/share/man/man1/mysql_install_db.1
 | |
| usr/share/man/man1/mysql_upgrade.1
 | |
| usr/share/man/man1/resolveip.1
 | |
| usr/share/man/man8/mariadbd.8
 | |
| usr/share/man/man8/mysqld.8
 | |
| usr/share/mysql/bulgarian
 | |
| usr/share/mysql/charsets
 | |
| usr/share/mysql/chinese
 | |
| usr/share/mysql/czech
 | |
| usr/share/mysql/danish
 | |
| usr/share/mysql/dutch
 | |
| usr/share/mysql/english
 | |
| usr/share/mysql/estonian
 | |
| usr/share/mysql/fill_help_tables.sql
 | |
| usr/share/mysql/french
 | |
| usr/share/mysql/georgian
 | |
| usr/share/mysql/german
 | |
| usr/share/mysql/greek
 | |
| usr/share/mysql/hindi
 | |
| usr/share/mysql/hungarian
 | |
| usr/share/mysql/italian
 | |
| usr/share/mysql/japanese
 | |
| usr/share/mysql/korean
 | |
| usr/share/mysql/maria_add_gis_sp_bootstrap.sql
 | |
| usr/share/mysql/mysql_performance_tables.sql
 | |
| usr/share/mysql/mysql_sys_schema.sql
 | |
| usr/share/mysql/mysql_system_tables.sql
 | |
| usr/share/mysql/mysql_system_tables_data.sql
 | |
| usr/share/mysql/mysql_test_data_timezone.sql
 | |
| usr/share/mysql/mysql_test_db.sql
 | |
| usr/share/mysql/norwegian
 | |
| usr/share/mysql/norwegian-ny
 | |
| usr/share/mysql/polish
 | |
| usr/share/mysql/portuguese
 | |
| usr/share/mysql/romanian
 | |
| usr/share/mysql/russian
 | |
| usr/share/mysql/serbian
 | |
| usr/share/mysql/slovak
 | |
| usr/share/mysql/spanish
 | |
| usr/share/mysql/swedish
 | |
| usr/share/mysql/ukrainian
 |