Update From 6.6 To 6.7 > Automount Logs Error Message
Hello,
after an update from 6.6 to 6.7 the following error message is logged to
/var/log/messages when I login (per ssh):
Aug 11 16:31:21 a1234 automount[1598]: set_tsd_user_vars: failed to get passwd info from getpwuid_r
Checked all log-files of my systems running 6.6 with same configuration — never got such a message (We use NFS/autofs for home-directories, NIS and tcsh (login shell)).
Everything seems to work — but before I update all machines to 6.7 I want to know whats going on.
Any comments?
Best regards, Ralf
Recommended
Recent Posts
Recent Comments
- igor on LibGLU.so.1
- Hussein on NBDE, Clevis And Tang For Non-root Disk
- João M. S. Silva on CentOS 7.6 1810 Vs. VirtualBox : Bug With Keyboard Layout Selection
- Jim Plumb on Spamassassin Vs. SELinux Trouble
- woodiskingser on Off Topic – Need Help Registering To The Smplayer Forum
Archives
- April 2024
- March 2024
- February 2024
- January 2024
- December 2023
- November 2023
- September 2023
- August 2023
- July 2023
- June 2023
- May 2023
- April 2023
- March 2023
- February 2023
- January 2023
- December 2022
- November 2022
- October 2022
- September 2022
- August 2022
- July 2022
- June 2022
- May 2022
- April 2022
- March 2022
- February 2022
- January 2022
- December 2021
- November 2021
- October 2021
- September 2021
- August 2021
- July 2021
- June 2021
- May 2021
- April 2021
- March 2021
- February 2021
- January 2021
- December 2020
- November 2020
- October 2020
- September 2020
- August 2020
- July 2020
- June 2020
- May 2020
- April 2020
- March 2020
- February 2020
- January 2020
- December 2019
- November 2019
- October 2019
- September 2019
- August 2019
- July 2019
- June 2019
- May 2019
- April 2019
- March 2019
- February 2019
- January 2019
- December 2018
- November 2018
- October 2018
- September 2018
- August 2018
- July 2018
- June 2018
- May 2018
- April 2018
- March 2018
- February 2018
- January 2018
- December 2017
- November 2017
- October 2017
- September 2017
- August 2017
- July 2017
- June 2017
- May 2017
- April 2017
- March 2017
- February 2017
- January 2017
- December 2016
- November 2016
- October 2016
- September 2016
- August 2016
- July 2016
- June 2016
- May 2016
- April 2016
- March 2016
- February 2016
- January 2016
- December 2015
- November 2015
- October 2015
- September 2015
- August 2015
- July 2015
- June 2015
- May 2015
- April 2015
- March 2015
- February 2015
- January 2015
- December 2014
- November 2014
- October 2014
- September 2014
- August 2014
- July 2014
- June 2014
- May 2014
- April 2014
- February 2014
- January 2014
- April 2013
- December 2012
5 thoughts on - Update From 6.6 To 6.7 > Automount Logs Error Message
I am seeing the same issue.
Any ideas anyone?
—
Matt Phelps System Administrator, Computation Facility Harvard – Smithsonian Center for Astrophysics mphelps@cfa.harvard.edu, http://www.cfa.harvard.edu
From https://access.redhat.com/solutions/1573693 (subscription required):
“Issue
After an update to RHEL6.7 the following error shows up in logfile
/var/log/messages:
automount[60432]: set_tsd_user_vars: failed to get passwd info from getpwuid_r
Environment
Red Hat Enterprise Linux 6.7
Resolution
The issue is currently under investigation by Red Hat Engineering. In case you encounter the problem in your environment, please open a ticket with Red Hat Global Support.”
—
Matt Phelps System Administrator, Computation Facility Harvard – Smithsonian Center for Astrophysics mphelps@cfa.harvard.edu, http://www.cfa.harvard.edu
Phelps, Matthew writes:
Matthew and Ralf, we were also seeing this. We do variable substitution for some of our mounts (mount server:/export/$OSNAME-$OSREL-$CPU/ on the local machine). In our case, server:/export/$OSNAME-$OSREL-$CPU didn’t exist. Once we created it and the mount succeeded, the set_tsd_user_vars errors went away. (At least they have for the past 30 minutes, when we had been seeing them usually every minute or two and no more than every 10 minutes.)
YMMV.
Michael Sanderson
Manager, Computing Facilities
UBC Computer Science
Hello,
Did some more tests:
Compiled autofs with logging of UID/GID in autofs-function “set_tsd_user_vars”. Just before the error is logged, autofs tries to get password info for e.g. UID
409651584 and GID 4294936577 (witch don’t exist). Then error message is logged.
A fully updated 6.7 system running latest 6.6 kernel
(2.6.32-504.30.3.el6.x86_64) won’t print the error message. I checked the changelog of kernel 2.6.32-573.3.1.el6.x86_64 and found some autofs patches since version 504.30.3.
But I can’t test an further because the kernel-srpm didn’t include single patches anymore.
Maybe someone with deeper kernel knowledge has an idea?
Best regards, Ralf
It looks like the latest kernel release fixes this issue:
CentOS pushed the kernel update last night (CEBA-2015:1827 CentOS 6 kernel BugFix Update). I’ve tested it on a machine that logged the error every time we ran a certain cron job, and so far the errors are no longer appearing.
From the RedHat advisory at https://rhn.redhat.com/errata/RHBA-2015-1827.html :
* When logging in as a user and trying to mount a share using the “cd”
command, the UID and GID autofs additional variables previously took incorrect values, taking root UID and GID instead of user’s UID and GID. The bug in the assignment of uid and gid mount requests has been fixed, and UID and GID now get the correct values with autofs configuration on Red Hat Enterprise Linux 6.7.
(BZ#1258581)
-Matt