Ubuntu 20.04, being Debian-based, doesn't normally use SELinux in the default install. However I'm not familiar with the history of these systems so it's theoretically possible that it was turned on on only this system for some reason. I will investigate that possibility. Thank you.

Get Outlook for Android

From: Victor Zhestkov via Uyuni Users <users@lists.uyuni-project.org>
Sent: Saturday, May 7, 2022 9:43:41 AM
To: users@lists.uyuni-project.org <users@lists.uyuni-project.org>
Cc: Victor Zhestkov <Victor.Zhestkov@suse.com>
Subject: Re: venv-salt-minion failing to install as part of bootstrap script
 
Hi Paul-Andre.

Most probably root cause is related to selinux.
Try to rename semanage before running the bootstrap and rename it back
after installation. The root cause that bash script is failing on
failing one of the commands inside it on Debian based distros.

Will fix it in next releases. Thanks for the notification.

Victor


On Sat, 2022-05-07 at 02:40 +0000, Paul-Andre Panon wrote:
> Hi,
>  
> We’re trying to bootstrap an ubuntu 20.04 server with the same
> bootstrap script that we’ve used on many other servers. However on
> this server the package install is failing in the post-install
> script.
>
> …
> FINISHED --2022-05-06 19:08:52--
> Total wall clock time: 0.007s
> Downloaded: 1 files, 1.1K in 0s (223 MB/s)
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> gnupg is already the newest version (2.2.19-3ubuntu2.1).
> 0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
> 1 not fully installed or removed.
> After this operation, 0 B of additional disk space will be used.
> Setting up venv-salt-minion (3002.2-47.3.uyuni) ...
> dpkg: error processing package venv-salt-minion (--configure):
> installed venv-salt-minion package post-installation script
> subprocess returned error exit status 1
> Errors were encountered while processing:
> venv-salt-minion
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> OK
> …
> Looks like it’s trying to do something with dpkg so perhaps there’s a
> missing or conflicting dependency. With Uyuni’s cross-platform build,
> I haven’t been able to figure out what that post-install script is to
> figure out what it might be trying to do. Any suggestions?
>
> Thanks,
>
> Paul-Andre