MDEV-32142 mariadb-install-db shows warning on missing directory /auth_pam_tool_dir
Without pam compiled there will be no auth_pam_tool_dir, so check this before attempting something that will error. Reviewer: Sergei Golubchik / Daniel Black
This commit is contained in:
parent
8f2f8f3173
commit
19eac149b1
@ -492,7 +492,7 @@ done
|
||||
|
||||
if test -n "$user"
|
||||
then
|
||||
if test -z "$srcdir" -a "$in_rpm" -eq 0
|
||||
if test -z "$srcdir" -a "$in_rpm" -eq 0 -a -d "$pamtooldir/auth_pam_tool_dir"
|
||||
then
|
||||
chown 0 "$pamtooldir/auth_pam_tool_dir/auth_pam_tool" && \
|
||||
chmod 04755 "$pamtooldir/auth_pam_tool_dir/auth_pam_tool"
|
||||
|
Loading…
x
Reference in New Issue
Block a user