On Wed, Jun 29, 2011 at 2:01 PM, Jan L. Peterson <[email protected]> wrote: > When I start seeing weird things like this, I often resort to tracing > the program in question to see where it thinks it's getting it's info > from. Try this both as the user and via su and compare the output.
Darn - I usually think to strace too! So, I did the test when i was running nscd - whoops. However, the result persists. The differences I see besides memory addresses are on lines: Displays all groups (http://magicschoolbus.info/strace-everygroup.txt): 1: execve("/usr/bin/id", ["id"], [/* 71 vars */]) = 0 145: fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 166: getgroups(1, [102]) = 1 Displays one group (http://magicschoolbus.info/strace-onegroup.txt): 1: execve("/usr/bin/id", ["id"], [/* 86 vars */]) = 0 145: fstat(1, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 166: getgroups(8, [10, 102, 104, 106, 225, 265, 266, 8895]) = 8 Are these things even looking at the same file? If I'm reading this right, one's a FIFO and the other is a regular file? _______________________________________________ Tech mailing list [email protected] https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech This list provided by the League of Professional System Administrators http://lopsa.org/
