Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98569 - Garbage in new /etc/security/pam_env.conf file
Summary: Garbage in new /etc/security/pam_env.conf file
Status: RESOLVED DUPLICATE of bug 69869
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-10 08:45 UTC by Joe D
Modified: 2005-07-10 10:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joe D 2005-07-10 08:45:37 UTC
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.
Comment 1 Stian Skjelstad 2005-07-10 09:13:58 UTC
What tool do you use to merge config files (etc-update?), and what options did
you use?

please provice output from emerge info
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-07-10 10:43:17 UTC
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 ***