From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Colin Walters <walters@verbum.org>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] cracklib: Generate compiled dict using default dictionary
Date: Sat, 09 Mar 2013 06:34:31 +0000 [thread overview]
Message-ID: <1362810871.9443.120.camel@ted> (raw)
In-Reply-To: <1362748245.6076.748.camel@localhost>
On Fri, 2013-03-08 at 08:10 -0500, Colin Walters wrote:
> While cracklib compiles, the generated library's FascistCheck() API
> will look for the default compiled dictionary, fail to find it, and
> invoke exit(1), which then in turn breaks gnome-initial-setup that
> uses cracklib via libpwquality. (Quality here obviously referring to
> the password, and not the libraries...)
>
> What we do here is basically the same as what happens in the current
> Fedora spec file, except the latter uses a far larger dictionary.
>
> To make this work, we need to build cracklib-native because the
> dictionary compiler is written in native code.
>
> Signed-off-by: Colin Walters <walters@verbum.org>
> ---
> meta/recipes-extended/cracklib/cracklib_2.8.22.bb | 12 +++++++++++-
> 1 file changed, 11 insertions(+), 1 deletion(-)
The patch doesn't quite do what you think it does. The _appends() stack,
not override and hence the native append is empty. You probably want to
do a:
do_install_append_class-target () {
....
}
(class not virtclass, virtclass is deprecated)
Cheers,
Richard
next prev parent reply other threads:[~2013-03-09 23:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-08 13:10 [PATCH] cracklib: Generate compiled dict using default dictionary Colin Walters
2013-03-09 6:34 ` Richard Purdie [this message]
2013-03-10 15:05 ` Colin Walters
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=1362810871.9443.120.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--cc=openembedded-core@lists.openembedded.org \
--cc=walters@verbum.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