From: Yao Zhao <yao.zhao@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: Re: how to fix WARNING: QA Issue: libpam: installed in the base_prefix, requires a shared library under exec_prefix
Date: Fri, 3 Aug 2012 15:43:20 -0400 [thread overview]
Message-ID: <501C29D8.7080300@windriver.com> (raw)
In-Reply-To: <501C16D9.4010502@windriver.com>
On 12-08-03 02:22 PM, Mark Hatle wrote:
> On 8/3/12 1:07 PM, Yao Zhao wrote:
>> On 12-08-03 01:45 PM, Mark Hatle wrote:
>>> On 8/3/12 11:44 AM, Yao Zhao wrote:
>>>> Hi all,
>>>>
>>>> Any suggestion to fix these kinds of QA warnings?
>>>>
>>>> libpam is referencing /usr/lib/libcrack from /lib/security.
>>>>
>>>> I tried to fix cracklib to install to /lib but cracklib is using other
>>>> libraries from /usr/lib, I am afraid that I am touching a chain, so
>>>> any
>>>> good ideas?
>>>
>>> Historically I'm used to cracklib being in /lib... but I also don't
>>> remember a huge chain of additional libraries.
>>>
>> libcrack is depending on libz and libz is in usr/lib too.
>> Seems libz didn't depend another.
>>
>> What exactly reason that this is a serious problem? Is this a standard?
>> It is quite possible that a lib library depending on usr/lib then .....
>> Do we have a one-shot cure?
>
> The QA message is because the / (non-/usr) was originally designed to
> be the minimal boot environment, and then /usr would be added to
> provide the full system capabilities. There are some advantages to
> this behavior for embedded systems, as it can allow for smaller
> footprint systems to be the boot environment.
>
> With modern components like udev, systemd, and such, sometimes it's
> difficult, if not nearly impossible to have this split though, as many
> of the components require libraries and/or binaries that normally
> reside in /usr. Generally we have the choice to either move the
> libraries or binaries, or break the dependency on those items (by
> changing the configuration, statically linking, or changing the
> behavior so the library/binary is no longer needed.)
>
> I suspect libz is needed because the cracklib dictionary is
> compressed. Dependending on usage, it may make sense to statically
> link libz into libcrack, and move libcrack to /lib.
>
thanks Mark!
I have modified zlib and cracklib both to install to /lib. In case there
are other packages installed to /lib but need libz too.
patch soon.
yao
> --Mark
>
>> yao
>>> It may be worth identifying the chain and seeing if we can break it,
>>> or at least reduce it in some fairly easy way.
>>>
>>> --Mark
>>>
>>>> thanks,
>>>> yao
>>>>
>>>> _______________________________________________
>>>> Openembedded-core mailing list
>>>> Openembedded-core@lists.openembedded.org
>>>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>>>>
>>>
>>>
>>> _______________________________________________
>>> Openembedded-core mailing list
>>> Openembedded-core@lists.openembedded.org
>>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>>
>>
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
prev parent reply other threads:[~2012-08-03 19:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-03 16:44 how to fix WARNING: QA Issue: libpam: installed in the base_prefix, requires a shared library under exec_prefix Yao Zhao
2012-08-03 17:45 ` Mark Hatle
2012-08-03 18:07 ` Yao Zhao
2012-08-03 18:22 ` Mark Hatle
2012-08-03 19:43 ` Yao Zhao [this message]
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=501C29D8.7080300@windriver.com \
--to=yao.zhao@windriver.com \
--cc=openembedded-core@lists.openembedded.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.