Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.5, 10.6
-
None
Description
auth_pam_tool should be suid user, 4777.
Since 9d18b624675 this is done by packaging auth_pam_tool already with correct permissions into the rpm.
For example,
$ rpm -qvlp MariaDB-server-10.5.10-1.el8.x86_64.rpm|grep -w auth_pam_tool |
...
|
-rwsr-xr-x 1 root root 12480 May 6 10:29 /usr/lib64/mysql/plugin/auth_pam_tool_dir/auth_pam_tool |
same for Fedoras.
But on CentOS 7 it shows rwxr-xr-x. Supposedly rpmbuild strips the SUID bit before packaging the file.
Attachments
Issue Links
- causes
-
MDEV-26487 cpack rpm failed to build packages with cmake < 3.7.0
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Description |
auth_pam_tool should be suid user, 4777.
Since 9d18b624675 this is done by packaging {{auth_pam_tool}} already with correct permissions into the rpm. For example, {code:bash} $ rpm -qvlp MariaDB-server-10.5.10-1.el8.x86_64.rpm|grep -w auth_pam_tool ... -rwsr-xr-x 1 root root 12480 May 6 10:29 /usr/lib64/mysql/plugin/auth_pam_tool_dir/auth_pam_tool {code} same for Fedoras. But on CentOS 7 it shows {{rwx-r-xr-x}}. Supposedly {{rpmbuild}} strips the SUID bit before packaging the file. |
auth_pam_tool should be suid user, 4777.
Since 9d18b624675 this is done by packaging {{auth_pam_tool}} already with correct permissions into the rpm. For example, {code:bash} $ rpm -qvlp MariaDB-server-10.5.10-1.el8.x86_64.rpm|grep -w auth_pam_tool ... -rwsr-xr-x 1 root root 12480 May 6 10:29 /usr/lib64/mysql/plugin/auth_pam_tool_dir/auth_pam_tool {code} same for Fedoras. But on CentOS 7 it shows {{rwx-r-xr-x}}. Supposedly {{rpmbuild}} strips the SUID bit before packaging the file. |
Description |
auth_pam_tool should be suid user, 4777.
Since 9d18b624675 this is done by packaging {{auth_pam_tool}} already with correct permissions into the rpm. For example, {code:bash} $ rpm -qvlp MariaDB-server-10.5.10-1.el8.x86_64.rpm|grep -w auth_pam_tool ... -rwsr-xr-x 1 root root 12480 May 6 10:29 /usr/lib64/mysql/plugin/auth_pam_tool_dir/auth_pam_tool {code} same for Fedoras. But on CentOS 7 it shows {{rwx-r-xr-x}}. Supposedly {{rpmbuild}} strips the SUID bit before packaging the file. |
auth_pam_tool should be suid user, 4777.
Since 9d18b624675 this is done by packaging {{auth_pam_tool}} already with correct permissions into the rpm. For example, {code:bash} $ rpm -qvlp MariaDB-server-10.5.10-1.el8.x86_64.rpm|grep -w auth_pam_tool ... -rwsr-xr-x 1 root root 12480 May 6 10:29 /usr/lib64/mysql/plugin/auth_pam_tool_dir/auth_pam_tool {code} same for Fedoras. But on CentOS 7 it shows {{rwxr-xr-x}}. Supposedly {{rpmbuild}} strips the SUID bit before packaging the file. |
Priority | Major [ 3 ] | Critical [ 2 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Stalled [ 10000 ] |
Fix Version/s | 10.5.13 [ 26026 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Fix Version/s | 10.6 [ 24028 ] | |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Resolution | Fixed [ 1 ] | |
Status | Closed [ 6 ] | Stalled [ 10000 ] |
Fix Version/s | 10.5 [ 23123 ] | |
Fix Version/s | 10.5.13 [ 26026 ] |
Fix Version/s | 10.6 [ 24028 ] |
Fix Version/s | 10.4 [ 22408 ] |
Assignee | Alexey Bychko [ abychko ] | Sergei Golubchik [ serg ] |
Fix Version/s | 10.4.22 [ 26031 ] | |
Fix Version/s | 10.5.13 [ 26026 ] | |
Fix Version/s | 10.6.5 [ 26034 ] | |
Fix Version/s | 10.4 [ 22408 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Fix Version/s | 10.6 [ 24028 ] | |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Component/s | Platform RedHat [ 11302 ] |
Component/s | Packaging [ 10700 ] |
Link |
This issue causes |
Workflow | MariaDB v3 [ 124324 ] | MariaDB v4 [ 159588 ] |
Zendesk Related Tickets | 191207 |
cmake 2.8.12.2 (Centos-7 native) works OK.
cmake 3.14 and 3.15 removed suid bit during test build.
need to check if versioned conditions like RPM-DEFAULT is root cause or not