mkinitrd unification across distributions
 help / color / mirror / Atom feed
* build initramfs: .hmac symlink not preserved
@ 2011-08-30 22:18 John Reiser
       [not found] ` <4E5D61B1.2040602-Po6cBsTGB2ZWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: John Reiser @ 2011-08-30 22:18 UTC (permalink / raw)
  To: initramfs-u79uwXL29TY76Z2rM5mHXA

Building an initramfs does not preserve symlinks for .hmac files.

For instance on Fedora 16 the symlink
   /lib64/.libcrypto.so.10.hmac -> .libcrypto.so.1.0.0d.hmac
becomes a separate regular file:
-----
$ lsinitrd test.img | grep hmac
-rw-r--r--   1 root     root           65 Jul 26 04:10 usr/lib64/.libssl.so.1.0.0d.hmac
-rw-r--r--   1 root     root           65 Jul 26 04:10 usr/lib64/.libssl.so.10.hmac
-rw-r--r--   1 root     root           65 Jul 26 04:10 lib64/.libcrypto.so.10.hmac
-rw-r--r--   1 root     root           65 Aug 14 22:09 lib64/.libgcrypt.so.11.hmac
-rw-r--r--   1 root     root           65 Jul 26 04:10 lib64/.libcrypto.so.1.0.0d.hmac
$ ls -l /lib64/.*.hmac
-rw-r--r--. 1 root root 65 Jul 26 04:10 /lib64/.libcrypto.so.1.0.0d.hmac
lrwxrwxrwx. 1 root root 25 Aug 25 10:31 /lib64/.libcrypto.so.10.hmac -> .libcrypto.so.1.0.0d.hmac
-rw-r--r--. 1 root root 65 Aug 14 22:09 /lib64/.libgcrypt.so.11.hmac
$
-----

-- 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-31 13:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-30 22:18 build initramfs: .hmac symlink not preserved John Reiser
     [not found] ` <4E5D61B1.2040602-Po6cBsTGB2ZWk0Htik3J/w@public.gmane.org>
2011-08-31 13:21   ` Harald Hoyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox