mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
MDEV-33750: Fix Lintian warnings
- mariadb-server: recursive-privilege-change "chown -R" - use correct URL https://jira.mariadb.org everywhere - dependency-is-not-multi-archified libmariadb-dev-compat depends on libmariadb-dev (multi-arch: no) - dependency-is-not-multi-archified mariadb-plugin-gssapi-client depends on mariadb-client (multi-arch: no)
This commit is contained in:
parent
9e9211215c
commit
b11892c9fb
4 changed files with 3 additions and 5 deletions
2
debian/control
vendored
2
debian/control
vendored
|
@ -86,7 +86,6 @@ Description: MariaDB database development files
|
||||||
|
|
||||||
Package: libmariadb-dev-compat
|
Package: libmariadb-dev-compat
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Multi-Arch: same
|
|
||||||
Section: libdevel
|
Section: libdevel
|
||||||
Depends: libmariadb-dev (= ${binary:Version}),
|
Depends: libmariadb-dev (= ${binary:Version}),
|
||||||
${misc:Depends}
|
${misc:Depends}
|
||||||
|
@ -950,7 +949,6 @@ Description: GSSAPI authentication plugin for MariaDB server
|
||||||
|
|
||||||
Package: mariadb-plugin-gssapi-client
|
Package: mariadb-plugin-gssapi-client
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Multi-Arch: same
|
|
||||||
Depends: libgssapi-krb5-2,
|
Depends: libgssapi-krb5-2,
|
||||||
mariadb-client (= ${binary:Version}),
|
mariadb-client (= ${binary:Version}),
|
||||||
${misc:Depends},
|
${misc:Depends},
|
||||||
|
|
2
debian/mariadb-server.logcheck.ignore.server
vendored
2
debian/mariadb-server.logcheck.ignore.server
vendored
|
@ -18,7 +18,7 @@ mysqld_safe\[[0-9]+\]: able to use the new GRANT command!$
|
||||||
mysqld_safe\[[0-9]+\]: ended$
|
mysqld_safe\[[0-9]+\]: ended$
|
||||||
mysqld_safe\[[0-9]+\]: NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run$
|
mysqld_safe\[[0-9]+\]: NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run$
|
||||||
mysqld_safe\[[0-9]+\]: PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !$
|
mysqld_safe\[[0-9]+\]: PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !$
|
||||||
mysqld_safe\[[0-9]+\]: Please report any problems at https://mariadb.org/jira$
|
mysqld_safe\[[0-9]+\]: Please report any problems at https://jira.mariadb.org$
|
||||||
mysqld_safe\[[0-9]+\]: See the manual for more instructions.$
|
mysqld_safe\[[0-9]+\]: See the manual for more instructions.$
|
||||||
mysqld_safe\[[0-9]+\]: started$
|
mysqld_safe\[[0-9]+\]: started$
|
||||||
mysqld_safe\[[0-9]+\]: The latest information about MariaDB is available at$
|
mysqld_safe\[[0-9]+\]: The latest information about MariaDB is available at$
|
||||||
|
|
|
@ -18,7 +18,7 @@ mysqld_safe\[[0-9]+\]: able to use the new GRANT command!$
|
||||||
mysqld_safe\[[0-9]+\]: ended$
|
mysqld_safe\[[0-9]+\]: ended$
|
||||||
mysqld_safe\[[0-9]+\]: NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run$
|
mysqld_safe\[[0-9]+\]: NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run$
|
||||||
mysqld_safe\[[0-9]+\]: PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !$
|
mysqld_safe\[[0-9]+\]: PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !$
|
||||||
mysqld_safe\[[0-9]+\]: Please report any problems at https://mariadb.org/jira$
|
mysqld_safe\[[0-9]+\]: Please report any problems at https://jira.mariadb.org$
|
||||||
mysqld_safe\[[0-9]+\]: See the manual for more instructions.$
|
mysqld_safe\[[0-9]+\]: See the manual for more instructions.$
|
||||||
mysqld_safe\[[0-9]+\]: started$
|
mysqld_safe\[[0-9]+\]: started$
|
||||||
mysqld_safe\[[0-9]+\]: The latest information about MariaDB is available at$
|
mysqld_safe\[[0-9]+\]: The latest information about MariaDB is available at$
|
||||||
|
|
2
debian/mariadb-server.postinst
vendored
2
debian/mariadb-server.postinst
vendored
|
@ -150,7 +150,7 @@ EOF
|
||||||
# The mysql_statedir must not be writable by the mysql user under any
|
# The mysql_statedir must not be writable by the mysql user under any
|
||||||
# circumstances as it contains scripts that are executed by root.
|
# circumstances as it contains scripts that are executed by root.
|
||||||
set +e
|
set +e
|
||||||
chown -R 0:0 $mysql_statedir
|
find $mysql_statedir ! -uid 0 -print0 -or ! -gid 0 -print0 | xargs -0 -r sudo chown 0:0
|
||||||
find $mysql_datadir ! -uid "$(id -u mysql)" -print0 | xargs -0 -r chown mysql
|
find $mysql_datadir ! -uid "$(id -u mysql)" -print0 | xargs -0 -r chown mysql
|
||||||
chown -R mysql:adm $mysql_logdir
|
chown -R mysql:adm $mysql_logdir
|
||||||
chmod 2750 $mysql_logdir
|
chmod 2750 $mysql_logdir
|
||||||
|
|
Loading…
Reference in a new issue