Remove pam_systemd.so from common-session pam conf

The libpam recipe adds pam_systemd.so into
/etc/pam.d/common-session if it detects systemd is
enabled.

However, systemd only installs pam_systemd.so if the
systemd-logind package is installed, which openBMC
doesn't want. So now when common-session is used by
a pam module, there are errors in the journal saying
it can't find pam_systemd.so.

To fix this, remove the pam_systemd.so line ourselves.

Tested: Verified that the line containing pam_systemd.so
        is no longer in the common-session file, and that
        there are no errors in the journal when logging
        in via REST.

Change-Id: I3b6557bf2650167d8e6cbc7d78a8a101e2a1ec16
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
1 file changed
tree: 41179e0db62b0a61d8ef14203d10fd5b102bf8d1
  1. aspeed-layer/
  2. classes/
  3. conf/
  4. nuvoton-layer/
  5. recipes-connectivity/
  6. recipes-core/
  7. recipes-devtools/
  8. recipes-extended/
  9. recipes-phosphor/
  10. recipes-support/
  11. recipes-textproc/
  12. COPYING.apache-2.0
  13. COPYING.MIT
  14. LICENSE
  15. MAINTAINERS
  16. README.md
  17. recipes.txt
README.md

OpenBMC

meta-phosphor is the OpenBMC layer. This layer should be included for all OpenBMC systems. The OpenBMC layer contains content which is shared between all OpenBMC systems.