The mock pam.d file, added in 07709f793 ("lineinfile is evil",
2018-05-27), was missing a '#' on the '%PAM-1.0' line. This causes parse
errors and prevents consolehelper from properly allowing users in the
mock group to execute mock without the root password.
The following error is logged in /var/log/secure when attempting to run
mock:
Jul 28 14:11:28 arm03-packager01 userhelper[325]: PAM (mock) illegal module type: %PAM-1.0
Jul 28 14:11:28 arm03-packager01 userhelper[325]: PAM (mock) no control flag supplied
Jul 28 14:11:28 arm03-packager01 userhelper[325]: PAM (mock) no module name supplied