This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nscd/23178] sudo will fail when it is run in concurrent with commands that changes /etc/passwd
- From: "adhemerval.zanella at linaro dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 15 May 2018 13:32:15 +0000
- Subject: [Bug nscd/23178] sudo will fail when it is run in concurrent with commands that changes /etc/passwd
- Auto-submitted: auto-generated
- References: <bug-23178-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=23178
Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |adhemerval.zanella at linaro dot o
| |rg
--- Comment #1 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
The explanation sounds reasonable and it seems potentially not only
connection.c and pwdcache.c, but also nscd/aicache.c, nscd/grpcache.c,
nscd/hstcache.c, and nscd/initgrcache.c can potentially hit this sendfile
issue. The most straightforward fix seems to just use 'writeall' since
sendfile is just an optimization.
--
You are receiving this mail because:
You are on the CC list for the bug.