Re: Fwd: setools-console-analyses package

Aristeidis Dimitriadis <[email protected]>
Newsgroups gmane.linux.redhat.fedora.selinux
Message-ID <[email protected]>
On 8/6/19 12:00 PM, Petr Lautrbach wrote:
>
> There are 2 versions of setools available in Fedora 30:
>
> - setools-4.1.1-14.fc30 from standard Fedora repo - the affected version
>
> - setools-4.2.0-1.module_f30+3425+bbab1a14 from Fedora modular
>
> We need to ship the 4.1 version as it's the last version which supports
> Python 2, python2-setools is required by python2-policycoreutils which
> is required by other packages outside of SELinux space.
>
> Therefore setools-4.2 is packaged in a module:
>
> # dnf module enable setools
>
> # dnf update setools-console-analyses
> ...
> Upgraded:
>   python3-setools-4.2.0-1.module_f30+3425+bbab1a14.x86_64  setools-console-analyses-4.2.0-1.module_f30+3425+bbab1a14.x86_64                                                                  
> Complete!
>
> # sedta -s sshd_t -p /etc/selinux/targeted/policy/policy.31
> Transition 1: sshd_t -> nx_server_t
>
> Domain transition rule(s):
> allow sshd_t nx_server_t:process transition;
> ...
>
Using the modules version fixed my problem. Thank you!

However, it is still not clear to me why this happened. Why does
python2-setools prevents setools-console-analyses from being updated? It
requires python_3_-setools. Why can't we have an updated version of the
command line tools using updated versions of the python3-setools AND the
old versions of python2-setools for those packages that require them?

Isn't there a way to fix this rather ugly situation (other than getting
rid of Python 2 completely)? A package is practically shipped broken at
the moment.

Aristeidis Dimitriadis

_______________________________________________
selinux mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/[email protected]
pEpkey.asc (application/pgp-keys, 1.7 KB)
-----BEGIN PGP PUBLIC KEY BLOCK-----

mQENBF1BVyMBCAC+lgRAJ+mc2HSW7iQXH47I0EQRZa3VmxrnImxVGGIsI2sIttOm
MHQ01MuLSHfJR+G7osz/Wi9NaWl0GHiHMGoyKqjVUcdHxqZb/X8VaVXyayO8n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Ey0oX8a3cIwimiet/2RhpEOTO5gCU
Uz1px48rN1rTh0QRYEy63dUjdk8XajMAEQEAAYkBPAQYAQgAJhYhBEr7jvcumTD0
WlQW23KAmpZ4NV1vBQJdQVcjAhsMBQkB4TOAAAoJEHKAmpZ4NV1vLQ4H/0vGm4TS
SCdaXHHMzjlzSbBE+gpf3/5RozOjb2awwzbQL8ZQrrbOwU1McTqnqxktiY/6Lr/e
v7O6JIBsgC8HZWVCAe29FvwyCT68zdBkyHaolPTsLMhnLQTu9WsKhM1T7uebYW9q
NbSOIDxuEOzax1jNqIBKyfgbuqb3UX6qCyvZ7/mQR83R/0oFj1y0lrlk3VmWKI/S
aOdO1+ZQO/9EiEr4YzeE35D0tzKXpuJA9eNOd6fAmnnrifmWByKwGZkyyWRlZne2
MQxOPnHfAmXByPbnLEkkSYtru8plKwwsaXVrbYvfZwk83C33uuTR5amPul1UOqhH
ABSDBWkLwr7aHRs=
=3qBP
-----END PGP PUBLIC KEY BLOCK-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.