Package: mock
Version: 1.1.33-1
Severity: normal

The PAM config installed to /etc/pam.d/mock produces lots of log
messages (errors) because it is intended for a Redhat system.

The attached file when added to the quilt patches fixes the issue.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.10-2-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-- 
Tyler Trafford
--- a/etc/pam/mock
+++ b/etc/pam/mock
@@ -5,9 +5,9 @@
 #auth          sufficient      pam_wheel.so trust use_uid
 # Uncomment the following line to require a user to be in the "wheel" group.
 #auth          required        pam_wheel.so use_uid
-auth           include         system-auth
+auth           include         common-auth
 account                sufficient      pam_succeed_if.so user ingroup mock 
use_uid quiet
-account                include         system-auth
-password       include         system-auth
-session                include         system-auth
+account                include         common-account
+password       include         common-password
+session                include         common-session
 session                optional        pam_xauth.so

Reply via email to