From: John Reiser <jreiser-Po6cBsTGB2ZWk0Htik3J/w@public.gmane.org>
To: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: build initramfs: .hmac symlink not preserved
Date: Tue, 30 Aug 2011 15:18:25 -0700 [thread overview]
Message-ID: <4E5D61B1.2040602@bitwagon.com> (raw)
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
$
-----
--
next reply other threads:[~2011-08-30 22:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-30 22:18 John Reiser [this message]
[not found] ` <4E5D61B1.2040602-Po6cBsTGB2ZWk0Htik3J/w@public.gmane.org>
2011-08-31 13:21 ` build initramfs: .hmac symlink not preserved Harald Hoyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E5D61B1.2040602@bitwagon.com \
--to=jreiser-po6cbstgb2zwk0htik3j/w@public.gmane.org \
--cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox