| |
@@ -181,6 +181,7 @@
|
| |
Source15: mysql-scripts-common.sh
|
| |
Source16: mysql-check-upgrade.sh
|
| |
Source18: mysql@.service.in
|
| |
+ Source19: pam-extention-mysql.service
|
| |
Source50: rh-skipped-tests-base.list
|
| |
Source51: rh-skipped-tests-arm.list
|
| |
Source52: rh-skipped-tests-s390.list
|
| |
@@ -995,6 +996,11 @@
|
| |
install -D -p -m 644 %{_vpath_builddir}/scripts/mysql.service %{buildroot}%{_unitdir}/%{daemon_name}.service
|
| |
install -D -p -m 644 %{_vpath_builddir}/scripts/mysql@.service %{buildroot}%{_unitdir}/%{daemon_name}@.service
|
| |
|
| |
+ %if %{with pam}
|
| |
+ install -D -p -m 0644 %{SOURCE19} %{buildroot}%{_unitdir}/%{daemon_name}.service.d/pam.conf
|
| |
+ install -D -p -m 0644 %{SOURCE19} %{buildroot}%{_unitdir}/%{daemon_name}@.service.d/pam.conf
|
| |
+ %endif
|
| |
+
|
| |
# helper scripts for service starting
|
| |
install -p -m 755 %{_vpath_builddir}/scripts/mysql-prepare-db-dir %{buildroot}%{_libexecdir}/mysql-prepare-db-dir
|
| |
install -p -m 755 %{_vpath_builddir}/scripts/mysql-check-socket %{buildroot}%{_libexecdir}/mysql-check-socket
|
| |
@@ -1593,6 +1599,8 @@
|
| |
%attr(4750,root,mysql) %{_libdir}/%{pkg_name}/plugin/auth_pam_tool_dir/auth_pam_tool
|
| |
%{_libdir}/security/pam_user_map.so
|
| |
%{_sysconfdir}/security/user_map.conf
|
| |
+ %{_unitdir}/%{daemon_name}.service.d/pam.conf
|
| |
+ %{_unitdir}/%{daemon_name}@.service.d/pam.conf
|
| |
%endif
|
| |
|
| |
%if %{with sphinx}
|
| |
I will need some more explanation as, why we need this capability.
For me, the PAM v2 is working just fine on Fedora, so I don't see the reason to add something to it.
Can you please explain to me why we need this?