When shutting down the system, I got two errors about invalid entries in pam_env.conf. I was unable to locate any log that contains the lines, but it's pretty obvious what's going on when you look at the file. It looks like some diff output overwrote the file itself. It was set like this on two machines, and to my knowledge, I've never edited that file before. File version: # $Date: 2005/02/25 20:31:28 $ # $Author: azarah $ # $Id: pam_env.conf,v 1.3 2005/02/25 20:31:28 azarah Exp $ Here are lines 50 - 60: # Set the REMOTEHOST variable for any hosts that are remote, default # to "localhost" rather than not being set at all <<<<<<< /etc/security/pam_env.conf # Note: Rather set default to "", as DISPLAY=localhost:0.0 do not work # here at least. #REMOTEHOST DEFAULT= OVERRIDE=@{PAM_RHOST} ======= #REMOTEHOST DEFAULT=localhost OVERRIDE=@{PAM_RHOST} >>>>>>> /etc/security/._cfg0000_pam_env.conf # # Set the DISPLAY variable if it seems reasonable I changed the lines to this, which it was before it was upgraded: # Set the REMOTEHOST variable for any hosts that are remote, default # to "localhost" rather than not being set at all # Note: Rather set default to "", as DISPLAY=localhost:0.0 do not work # here at least. #REMOTEHOST DEFAULT= OVERRIDE=@{PAM_RHOST} # # Set the DISPLAY variable if it seems reasonable Reproducible: Always Steps to Reproduce: 1. 2. 3.
What tool do you use to merge config files (etc-update?), and what options did you use? please provice output from emerge info
This is caused by dispatch-conf in stable portage version. Either don't use it or upgrade to ~arch portage. *** This bug has been marked as a duplicate of 69869 ***