Re: Trouble with install ordering and SELinux config

2019-11-06 Thread Lukas Vrabec
On 11/5/19 11:21 PM, Dridi Boukelmoune wrote: >> Hi, >> >> It looks like some leftover from the past. I don't really see why it >> should be there. >> >> This commit removes that: >> >> https://github.com/fedora-selinux/selinux-policy-macros/commit/5f366657da0c7c67f2448be03620581437c2dfbb >> >> Fix

Re: Trouble with install ordering and SELinux config

2019-11-05 Thread Dridi Boukelmoune
> Hi, > > It looks like some leftover from the past. I don't really see why it > should be there. > > This commit removes that: > > https://github.com/fedora-selinux/selinux-policy-macros/commit/5f366657da0c7c67f2448be03620581437c2dfbb > > Fixing it also in Rawhide and F31. Thanks a lot! Can it al

Re: Trouble with install ordering and SELinux config

2019-11-05 Thread Lukas Vrabec
On 11/3/19 9:38 AM, Dridi Boukelmoune wrote: > On Sat, Nov 2, 2019 at 2:21 AM Orion Poplawski wrote: >> >> On 11/1/19 1:47 PM, Daniel Walsh wrote: >>> Flat pack should be doing a requires(post): selinux-policy-base >>> >>> To make sure it is installed before flatpack. >> >> Thanks. The proper inc

Re: Trouble with install ordering and SELinux config

2019-11-04 Thread Dridi Boukelmoune
On Sun, Nov 3, 2019 at 9:03 PM Orion Poplawski wrote: > > On 11/3/19 11:17 AM, Todd Zullinger wrote: > > Dridi Boukelmoune wrote: > >> On Sat, Nov 2, 2019 at 2:21 AM Orion Poplawski wrote: > >>> > >>> On 11/1/19 1:47 PM, Daniel Walsh wrote: > Flat pack should be doing a requires(post): selin

Re: Trouble with install ordering and SELinux config

2019-11-03 Thread Orion Poplawski
On 11/3/19 11:17 AM, Todd Zullinger wrote: Dridi Boukelmoune wrote: On Sat, Nov 2, 2019 at 2:21 AM Orion Poplawski wrote: On 11/1/19 1:47 PM, Daniel Walsh wrote: Flat pack should be doing a requires(post): selinux-policy-base To make sure it is installed before flatpack. Thanks. The prop

Re: Trouble with install ordering and SELinux config

2019-11-03 Thread Todd Zullinger
Dridi Boukelmoune wrote: > On Sat, Nov 2, 2019 at 2:21 AM Orion Poplawski wrote: >> >> On 11/1/19 1:47 PM, Daniel Walsh wrote: >>> Flat pack should be doing a requires(post): selinux-policy-base >>> >>> To make sure it is installed before flatpack. >> >> Thanks. The proper incantation actually th

Re: Trouble with install ordering and SELinux config

2019-11-03 Thread Dridi Boukelmoune
On Sat, Nov 2, 2019 at 2:21 AM Orion Poplawski wrote: > > On 11/1/19 1:47 PM, Daniel Walsh wrote: > > Flat pack should be doing a requires(post): selinux-policy-base > > > > To make sure it is installed before flatpack. > > Thanks. The proper incantation actually though seems to be: > > %{?selinu

Re: Trouble with install ordering and SELinux config

2019-11-01 Thread Orion Poplawski
On 11/1/19 1:47 PM, Daniel Walsh wrote: Flat pack should be doing a requires(post): selinux-policy-base To make sure it is installed before flatpack. Thanks. The proper incantation actually though seems to be: %{?selinux_requires} which contains that. See: https://fedoraproject.org/wiki/S

Re: Trouble with install ordering and SELinux config

2019-11-01 Thread Daniel Walsh
Flat pack should be doing a requires(post): selinux-policy-base To make sure it is installed before flatpack. On 11/1/19 2:51 PM, Tim Zabel wrote: > On Fri, 2019-11-01 at 12:02 -0600, Orion Poplawski wrote: >> My F31 kickstart install is failing with: >> >> DNF error: Error in POSTIN scriptlet in

Re: Trouble with install ordering and SELinux config

2019-11-01 Thread Tim Zabel
On Fri, 2019-11-01 at 12:02 -0600, Orion Poplawski wrote: > My F31 kickstart install is failing with: > > DNF error: Error in POSTIN scriptlet in rpm package flatpak-selinux Hmm, I've also ran into this issue of flatpak-selinux's POSTIN failing :( Just to be sure, are you building the kickstart

Trouble with install ordering and SELinux config

2019-11-01 Thread Orion Poplawski
My F31 kickstart install is failing with: DNF error: Error in POSTIN scriptlet in rpm package flatpak-selinux This is because flapak-selinux installs a SELinux module in %post: %post selinux %selinux_modules_install %{_datadir}/selinux/packages/flatpak.pp.bz2 which sources /etc/selinux/config.