Overview
Request 701728 superseded
- Created by fbui
- In state superseded
- Supersedes 700168
- Superseded by 702611
- Open review for legal-auto
Request History
fbui created request
factory-auto added opensuse-review-team as a reviewer
Please review sources
factory-auto accepted review
Check script succeeded
staging-bot set openSUSE:Factory:Staging:J as a staging project
Being evaluated by staging project "openSUSE:Factory:Staging:J"
staging-bot accepted review
Picked openSUSE:Factory:Staging:J
jengelh accepted review
dimstar declined review
[ 35s] file /usr/share/polkit-1/rules.d conflicts between attempted installs of polkit-0.115-6.1.x86_64 and systemd-242-3.2.x86_64
dimstar declined request
[ 35s] file /usr/share/polkit-1/rules.d conflicts between attempted installs of polkit-0.115-6.1.x86_64 and systemd-242-3.2.x86_64
coolo-factory superseded request
superseded by 702611
Happens while building libvirt for example
polkit packages this directory with different / tighter permissions, like:
where is this error happening ?
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:J/libvirt/standard/x86_64
I see thanks. IMHO the intial problem here is that systemd has to own this polkit dir...
but IIRC we already discussed about this. Anyway I'll fix it. Thanks
Shared ownership is never the problem, different ideas on what the mode should be is.
BTW do you know why this error appeared just now ?
because only now you started having
+%dir %{_datadir}/polkit-1/rules.d
in your spec file
ouch you're right I completely forgot about the changes that restored those "post build checks"... and now I start understanding why there were disabled ;)
So how am I suppose to fix this since "polkitd" user is not known at the time systemd package is built ?
I'd guess that: for systemd.spec (non-mini) you can
BuildRequires: polkit
and for the -mini case you canrm %{buildroot}/etc/polkit-1/rules.d
and not package the files at allpolkit requires systemd so I don't think I'm allowed to do that.
We could fix polkit here - there is no reason for it to actually require systemd (it requires libsystemd.so.0, but that is also provided by systemd-mini, so no trouble here)
See sr #702025
Nice thanks. For some reasons polkit has both "BuildRequires: pkgconfig(libsystemd)" and "BuildRequires: pkgconfig(systemd)". Not sure what the later is for.
one is for the C library, the other is for systemd.pc (which contains mostly directory variables).