All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Yu, Mingli" <mingli.yu@windriver.com>
To: Stefan Agner <stefan@agner.ch>
Cc: openembeded-devel <openembedded-devel@lists.openembedded.org>,
	Stefan Agner <stefan.agner@toradex.com>
Subject: Re: [PATCH 3/5] xfce4-power-manager: enable polkit depending on distro feature
Date: Fri, 25 Jan 2019 10:06:31 +0800	[thread overview]
Message-ID: <5C4A6F27.3050008@windriver.com> (raw)
In-Reply-To: <d24c3fcca886726418acf1eab1e06bf0@agner.ch>



On 2019年01月24日 20:24, Stefan Agner wrote:
> On 23.01.2019 04:02, Yu, Mingli wrote:
>> On 2019年01月21日 02:07, Khem Raj wrote:
>>> On Thu, Jan 17, 2019 at 4:30 PM Randy MacLeod
>>> <randy.macleod@windriver.com> wrote:
>>>>
>>>> On 1/17/19 1:39 PM, Stefan Agner wrote:
>>>>> On 17.01.2019 18:53, Andreas Müller wrote:
>>>>>> On Thu, Jan 17, 2019 at 5:27 PM Stefan Agner <stefan@agner.ch> wrote:
>>>>>>>
>>>>>>> From: Stefan Agner <stefan.agner@toradex.com>
>>>>>>>
>>>>>>> systemd and polkit are not directly related. It is just fine to build
>>>>>>> with systemd but without polkit.
>>>>>> Surely it builds but is it still usable as unpriviledged user?
>>>>>
>>>>> TBH, I don't know, did not run XFCE.
>>>>
>>>> We do! :)
>>>>
>>>>>
>>>>> If it is unusable, we probably should not make it an option anyway? Just
>>>>> enable it always and make polkit a fixed dependency?
>>>>
>>>> Grace,
>>>> Please apply this series of patches and check if
>>>> xfce4-power-manager is usable as an unprivileged user?
>>>
>>> Thanks for testing it out, I will wait to hear from you
>>
>> Hi Randy and Khem:
>>
>> It's usable as an unprivileged user when project configured with below
>> items altogether:
>> 1, with systemd DISTRO_FEATURES
>> 2, without polkit DISTRO_FEATURES
>> 3, polkit package installed.
>> BTW, if we don't install polkit, there comes below error:
>> Missing or unbuildable dependency chain was:
>> ['packagegroup-xfce-base', 'xfce4-session', 'polkit']
>
> I don't understand this. In this case, you have polkit *not* in
> DISTRO_FEATURES and this patch applied?

Hi Stefan,

Yes, I apply these series patch successfully without polkit in 
DISTRO_FEATURES.
I guess you forget to inherit distro_features_check in your "[oe] [PATCH 
1/5] polkit: add polkit as a required distro feature" make it possible?

Thanks,

>
> In that case, packageconfig polkit should not be enabled, and hence
> polkit should not be a dependency.
>
>
>>
>> And there also comes a question about
>> "[oe] [PATCH 1/5] polkit: add polkit as a required distro feature" as
>> there is a logic as REQUIRED_DISTRO_FEATURES = "polkit" added, but why
>> does it inherit distro_features_check?
>
> polkit does not inherit distro_features_check, but should I guess?
>
> You probably meant to ask "why does it *not* inherit
> distro_features_check?"
>
> Good catch, will send a patch to add distro_features_check.
>
> --
> Stefan
>


  reply	other threads:[~2019-01-25  2:06 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-17 16:26 [PATCH 1/5] polkit: add polkit as a required distro feature Stefan Agner
2019-01-17 16:26 ` [PATCH 2/5] networkmanager: introduce polkit package config Stefan Agner
2019-01-17 17:50   ` Andreas Müller
2019-01-17 19:09     ` Stefan Agner
2019-01-17 19:57       ` Andreas Müller
2019-01-17 20:01       ` Andreas Müller
2019-01-17 20:18         ` Stefan Agner
2019-01-17 21:41           ` Andreas Müller
2019-01-17 16:26 ` [PATCH 3/5] xfce4-power-manager: enable polkit depending on distro feature Stefan Agner
2019-01-17 17:53   ` Andreas Müller
2019-01-17 18:39     ` Stefan Agner
2019-01-18  0:28       ` Randy MacLeod
2019-01-20 18:07         ` Khem Raj
2019-01-23  3:02           ` Yu, Mingli
2019-01-24 12:24             ` Stefan Agner
2019-01-25  2:06               ` Yu, Mingli [this message]
2019-01-17 16:26 ` [PATCH 4/5] packagegroup-meta-oe: add " Stefan Agner
2019-01-17 16:26 ` [PATCH 5/5] modemmanager: enable " Stefan Agner

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=5C4A6F27.3050008@windriver.com \
    --to=mingli.yu@windriver.com \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=stefan.agner@toradex.com \
    --cc=stefan@agner.ch \
    /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.