From sreyan32 at gmail.com Sat Apr 11 10:29:31 2020 From: sreyan32 at gmail.com (Sreyan Chakravarty) Date: Sat, 11 Apr 2020 15:59:31 +0530 Subject: Kickstart installation fails - DNF error in POSTIN scriplet of flatpak-selinux Message-ID: I am trying to install Fedora 31 workstation through Kickstart using Fedora Server NetInstall ISO. Everything works fine until it hits installation of something called flatpak-selinux. It fails with: DNF error in POSTIN scriplet of flatpak-selinux Firstly, is there any way to make Anaconda not completely stop the installation because of one error ? Secondly, since the package has SELinux in its name I thought of disabling SELinux via a Kickstart command: selinux --disabled But this did not make any change. The same issue persisted. Thirdly, and this is really weird. There is no mention of this error in the Anaconda logs. You would think a critical error would be logged with more debugging information, but no nothing is recorded in the logs. Here is a Google Drive link to a zip of my logs: https://drive.google.com/open?id=1X_3Je-tY6hnXrBR6cCdWidh9cANrulf5 These are the list of packages I am installing via Kickstart: %packages @^workstation-product-environment @admin-tools @authoring-and-publishing @c-development @container-management @d-development @development-tools @editors @headless-management @libreoffice @mate-applications @network-server @office @rpm-development-tools @sound-and-video @system-tools @window-managers So what do I ? I mean if this is not a SELinux bug then it has to be a problem with Anaconda. I just am unable to figure out what is wrong, since the log files say nothing. Please let me know if any further information is required. Thanks. -- Regards, Sreyan Chakravarty -------------- next part -------------- An HTML attachment was scrubbed... URL: From petro at cpetro.us Sat Apr 11 17:26:40 2020 From: petro at cpetro.us (C. Petro) Date: Sat, 11 Apr 2020 11:26:40 -0600 Subject: Kickstart installation fails - DNF error in POSTIN scriplet of flatpak-selinux In-Reply-To: References: Message-ID: Does this help: https://bugzilla.redhat.com/show_bug.cgi?id=1723118 On Sat, Apr 11, 2020 at 4:30 AM Sreyan Chakravarty wrote: > I am trying to install Fedora 31 workstation through Kickstart using > Fedora Server NetInstall ISO. > > Everything works fine until it hits installation of something called > flatpak-selinux. > > It fails with: > DNF error in POSTIN scriplet of flatpak-selinux > > Firstly, is there any way to make Anaconda not completely stop the > installation because of one error ? > > Secondly, since the package has SELinux in its name I thought of disabling > SELinux via a Kickstart command: > selinux --disabled > But this did not make any change. The same issue persisted. > > Thirdly, and this is really weird. There is no mention of this error in > the Anaconda logs. You would think a critical error would be logged with > more debugging information, but no nothing is recorded in the logs. > > Here is a Google Drive link to a zip of my logs: > https://drive.google.com/open?id=1X_3Je-tY6hnXrBR6cCdWidh9cANrulf5 > > These are the list of packages I am installing via Kickstart: > %packages > @^workstation-product-environment > @admin-tools > @authoring-and-publishing > @c-development > @container-management > @d-development > @development-tools > @editors > @headless-management > @libreoffice > @mate-applications > @network-server > @office > @rpm-development-tools > @sound-and-video > @system-tools > @window-managers > > So what do I ? I mean if this is not a SELinux bug then it has to be a > problem with Anaconda. I just am unable to figure out what is wrong, since > the log files say nothing. > > Please let me know if any further information is required. > > Thanks. > > -- > Regards, > Sreyan Chakravarty > _______________________________________________ > Kickstart-list mailing list > Kickstart-list at redhat.com > https://www.redhat.com/mailman/listinfo/kickstart-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From sr at genyosha.net Sat Apr 11 17:30:22 2020 From: sr at genyosha.net (Steve Rikli) Date: Sat, 11 Apr 2020 10:30:22 -0700 Subject: Kickstart installation fails - DNF error in POSTIN scriplet of flatpak-selinux In-Reply-To: References: Message-ID: <20200411173022.GC30304@dragon.home.genyosha.net> Apparently this may not be an entirely new problem -- looks like something maybe somewhat related(?) was reported in Fedora 30 too: https://bugzilla.redhat.com/show_bug.cgi?id=1732132 My suggested workaround would be to add "-flatpak-selinux" to the %packages section of your Kickstart config, and see if that will at least get you past the showstopper error. Cheers, sr. On Sat, Apr 11, 2020 at 03:59:31PM +0530, Sreyan Chakravarty wrote: > I am trying to install Fedora 31 workstation through Kickstart using > Fedora Server NetInstall ISO. > > Everything works fine until it hits installation of something called > flatpak-selinux. > > It fails with: > DNF error in POSTIN scriplet of flatpak-selinux > > Firstly, is there any way to make Anaconda not completely stop the > installation because of one error ? > > Secondly, since the package has SELinux in its name I thought of disabling > SELinux via a Kickstart command: > selinux --disabled > But this did not make any change. The same issue persisted. > > Thirdly, and this is really weird. There is no mention of this error in the > Anaconda logs. You would think a critical error would be logged with more > debugging information, but no nothing is recorded in the logs. > > Here is a Google Drive link to a zip of my logs: > https://drive.google.com/open?id=1X_3Je-tY6hnXrBR6cCdWidh9cANrulf5 > > These are the list of packages I am installing via Kickstart: > %packages > @^workstation-product-environment > @admin-tools > @authoring-and-publishing > @c-development > @container-management > @d-development > @development-tools > @editors > @headless-management > @libreoffice > @mate-applications > @network-server > @office > @rpm-development-tools > @sound-and-video > @system-tools > @window-managers > > So what do I ? I mean if this is not a SELinux bug then it has to be a > problem with Anaconda. I just am unable to figure out what is wrong, since > the log files say nothing. > > Please let me know if any further information is required. > > Thanks. > > -- > Regards, > Sreyan Chakravarty