From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail5.wrs.com (mail5.windriver.com [192.103.53.11]) by mail.openembedded.org (Postfix) with ESMTP id 2387B6BE2D for ; Wed, 23 Jan 2019 03:03:46 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail5.wrs.com (8.15.2/8.15.2) with ESMTPS id x0N32eOL023557 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL); Tue, 22 Jan 2019 19:02:51 -0800 Received: from [128.224.162.194] (128.224.162.194) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 22 Jan 2019 19:02:30 -0800 To: Khem Raj , Randy MacLeod References: <20190117162629.47677-1-stefan@agner.ch> <20190117162629.47677-3-stefan@agner.ch> <6021b113-7a55-7bb7-c813-b7d768147f57@windriver.com> From: "Yu, Mingli" Message-ID: <5C47D961.6080605@windriver.com> Date: Wed, 23 Jan 2019 11:02:57 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: X-Originating-IP: [128.224.162.194] Cc: Stefan Agner , openembeded-devel Subject: Re: [PATCH 3/5] xfce4-power-manager: enable polkit depending on distro feature X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jan 2019 03:03:47 -0000 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit On 2019年01月21日 02:07, Khem Raj wrote: > On Thu, Jan 17, 2019 at 4:30 PM Randy MacLeod > 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 wrote: >>>>> >>>>> From: Stefan Agner >>>>> >>>>> 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'] 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? Thanks, >