[PATCH] ldconfig: Do not remove stale symbolic links with -X [BZ #19610]

Florian Weimer fweimer@redhat.com
Fri Feb 19 16:50:00 GMT 2016


On 02/12/2016 07:34 PM, Carlos O'Donell wrote:

> At the design level:
> - Comment for opt_link needs to change. Expand the comment on
>   line 103 in elf/ldconfig.c to describe in more detail that
>   symlinks are not created, and that neither are they removed
>   if they exist and are stale.

Done.

> - Use mktemp to create a temporary directory that exists instead
>   of using /opt which might be problematic.

Thanks.  I'm using the existing directory tree instead.  I've added
comments to the test explaining the relative vs absolute difference.

New version attached.

Florian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ldconfig-Do-not-remove-stale-symbolic-links-with-X-B.patch
Type: text/x-patch
Size: 4480 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20160219/f9e69c38/attachment.bin>


More information about the Libc-alpha mailing list