[Bug build/33774] iconv functions do not follow symlinks

carlos at redhat dot com sourceware-bugzilla@sourceware.org
Fri Jan 9 17:12:12 GMT 2026


https://sourceware.org/bugzilla/show_bug.cgi?id=33774

--- Comment #10 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to john.frankish from comment #9)
> Yes, but as shown by the two strace logs, many more character sets are
> reported when gconv-modules-extra.conf is an actual file.
> 
> Note that the additional character sets are themselves symlinks.

I think I misread your logs.

This is the trace for "gconv_strace_symlink"

openat(AT_FDCWD, "/usr/lib/gconv/gconv-modules.d",
O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
fstat(3, {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
getdents64(3, 0x55f8320781d0 /* 3 entries */, 32768) = 96
getdents64(3, 0x55f8320781d0 /* 0 entries */, 32768) = 0
close(3)                                = 0

And it looks like iconfconfig does nothing else and doesn't read the
configuration at all in that case.

This either indicates a bug in the changes, or you not using the correct build
or the correct patch.

My question about using gdb was to run iconvconfig under gdb to determine if it
is running the expected code.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list