Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Phil Blundell <pb@pbcl.net>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: Conflicting providers for ssh/sshd (dropbear and openssh)
Date: Wed, 29 Jun 2011 10:08:05 +0100	[thread overview]
Message-ID: <1309338485.15156.188.camel@phil-desktop> (raw)
In-Reply-To: <7848FD2A-860F-48C3-BE1D-739C6D9AB0A8@dominion.thruhere.net>

On Wed, 2011-06-29 at 10:56 +0200, Koen Kooi wrote:
> That's already the case now. The problem is the PROVIDES overlap since
> the Poky people decided a distro could only have one true ssh
> implementation instead of choosing it per image. So if your distro
> doesn't set the PREFERRED_PROVIDER_sshd you get those nagging messages
> during parsing that scare users and make consultants rich.
> 
> OE .dev isn't a lot better with the misguided DISTRO_SSH_DAEMON, but
> at least it doesn't show those nag messages.

Fundamentally I think it is just a bug in bitbake that it makes such a
fuss about overlapping PROVIDES.  It's not unreasonable for both openssh
and dropbear to be PROVIDEing something like virtual/ssh-daemon (and
indeed RPROVIDEing an equivalent) but, as you say, any given distro is
perfectly entitled to want to build both of them and ship them in
different images and/or feeds.

I guess what bitbake is really trying to warn about is recipes which
will install conflicting files into the sysroot.  Obviously in a future
utopia of per-recipe sysroot construction this would be a non-issue, but
even with today's level of technology I think it would be fairly easy
for us to detect when a collision actually happens and issue a sensible
diagnostic at that point.  That would allow the offending ERROR to be
removed without causing any real regression.

p.





  reply	other threads:[~2011-06-29  9:11 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-28 22:41 Conflicting providers for ssh/sshd (dropbear and openssh) Khem Raj
2011-06-28 22:51 ` Scott Garman
2011-06-28 23:50   ` Khem Raj
2011-06-28 23:53     ` Graeme Gregory
2011-06-29  1:07       ` Khem Raj
2011-06-29  7:42   ` Anders Darander
2011-06-29  0:34 ` Scott Garman
2011-06-29  8:24 ` Koen Kooi
2011-06-29  8:50   ` Anders Darander
2011-06-29  8:56     ` Koen Kooi
2011-06-29  9:08       ` Phil Blundell [this message]
2011-06-29  9:42         ` Richard Purdie
2011-06-29  9:51           ` Phil Blundell
2011-06-29 10:23             ` Richard Purdie
2011-06-29  9:13       ` Anders Darander
2011-06-29 17:03       ` Scott Garman
2011-07-03 12:26       ` Philip Balister
2011-07-03 15:41         ` Graeme Gregory
2011-06-29  8:56     ` Graeme Gregory

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=1309338485.15156.188.camel@phil-desktop \
    --to=pb@pbcl.net \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox