| Are you using package_rpm and dnf to compose the image? 
Yes.

I checked the permission of rules.d, they are different:

systemd: %attr(700,polkitd,root) %dir "/usr/share/polkit-1/rules.d" 
polkit:  %attr(755,root,root) %dir "/usr/share/polkit-1/rules.d"

If the permission need to be unified, which one should be unified into?

  --
Best Regards
---------------------------------------------------
Wang Mingyu
FUJITSU NANJING SOFTWARE TECHNOLOGY CO., LTD. (FNST)
No.6 Wenzhu Road, Nanjing, 210012, China
TEL:+86+25-86630566--8568
COINS: 79988548
FAX: +86+25-83317685
MAIL: [email protected]

> -----Original Message-----
> From: Alexander Kanavin <[email protected]>
> Sent: Wednesday, August 28, 2024 5:15 PM
> To: Wang, Mingyu/王 鸣瑜 <[email protected]>
> Cc: [email protected]
> Subject: Re: [PATCH] [OE-core] [PATCH] systemd: use update-alternatives to
> solve conflicts with polkit
> 
> On Wed, 28 Aug 2024 at 11:04, Mingyu Wang (Fujitsu) <[email protected]>
> wrote:
> >
> > The name of /usr/share/polkit-1/rules.d are the same, but the files 
> > contained
> in the path are different.
> > What methods can be chosen to solve this problem in this situation?
> 
> Are you using package_rpm and dnf to compose the image? If so, you can look at
> the spec files used to produce the packages in ${WORKDIR} of systemd and
> polkit to see how /usr/share/polkit-1/rules.d is specified in both. It might 
> be that
> permissions or ownership are different and dnf can't resolve that.
> 
> Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#203898): 
https://lists.openembedded.org/g/openembedded-core/message/203898
Mute This Topic: https://lists.openembedded.org/mt/108138529/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to