Upstream update available: policycoreutils 3.8.1 → 20200710 #1
Labels
No labels
ai-summary
bot
needs-build
needs-triage
priority/high
security-release
update/major
upstream-update
upstream/github
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
rpms/policycoreutils#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Upstream update available:
policycoreutils3.8.1→20200710Package
policycoreutilspolicycoreutilsniceos-5.23.8.1-1majorpython_rpmleafgithub-upstreamUpstream
githubSELinuxProject/selinux2020071020200710github_release2020-07-10T15:42:23ZFalseSignals
TrueFalse-ai-summary, bot, needs-build, needs-triage, priority/high, security-release, update/major, upstream-update, upstream/githubNiceSOFT AI preliminary analysis
1. Краткий вывод
Это обновление включает удаление устаревших заголовочных файлов (
flask.h,av_permissions.h) и изменение поведения компиляции через новые требования к флагу-fno-semantic-interposition. Обновление классифицировано как major из-за удаления API и потенциальных изменений в ABI, а также содержит пометку о безопасности.2. Риск для НАЙС.ОС
high. Удаление публичных заголовочных файлов (
flask.h,av_permissions.h) является прямым нарушением ABI для любых пользовательских приложений или скриптов, которые могут опираться на эти файлы. Кроме того, изменение требований к компилятору (CFLAGS) может привести к ошибкам сборки зависимых пакетов, если они не настроены корректно.3. Security/CVE
Во входных данных присутствует флаг
security_keywords_detected_by_script: Trueи список закрытых GitHub issues (например, #248, #239), что указывает на наличие исправлений уязвимостей. Однако конкретные CVE-идентификаторы в предоставленном тексте отсутствуют.4. ABI/API риск
Высокий риск. Удаление
selinux/flask.h,selinux/av_permissions.hиsepol/policydb/flask.hозначает, что любой код, включающий эти файлы, перестанет компилироваться. Также отмечено удалениеdso wrappersи депрекация интерфейсовmatchpathcon, что требует проверки всех зависимых библиотек и утилит.5. Риск для RPM-сборки
Возможны сбои сборки из-за новых требований к компилятору. В release notes указано, что установка
CFLAGSбез флага-fno-semantic-interpositionможет нарушить ожидаемое поведение или вызвать ошибки. Пакеты, использующие старые версии GCC или специфические настройки Clang, могут не скомпилироваться или собрать некорректный бинарный код. Также возможно нарушение работы%checkтестов, если они зависят от удаленных функций или измененного поведенияcheckpolicy.6. Проверки мейнтейнера
flask.hилиav_permissions.h(поиск вrpm -q --whatrequiresили анализspecфайлов зависимых пакетов).specфайлы зависимых пакетов на наличие жесткой привязки к старым версиям GCC или отсутствию поддержки флага-fno-semantic-interposition.rpmbuild -ba) для ключевых зависимых пакетов (особенно тех, что используютlibselinux,libsepol).setfilesиrestoreconпосле обновления, учитывая новые опции-Eи-x.semanageкорректно работает с модулями и завершением (bash completion).7. Рекомендация
blocked manual review
8. Основание рекомендации
Обновление помечено как
majorс удалением публичных API (заголовочных файлов). Автоматическое обновление невозможно из-за риска поломки пользовательского кода и зависимых пакетов. Требуется ручная проверка совместимости всех зависимостей и тестирование сборки перед разрешением обновления.Upstream release notes / description
User-visible changes
selinux/flask.h, selinux/av_permissions.h and sepol/policydb/flask.h were removed
The flask.h and av_permissions.h header files were deprecated and
all selinux userspace references to them were removed in
commit 76913d8adb61b5 ("Deprecate use of flask.h and av_permissions.h.")
back in 2014 and included in the 20150202 / 2.4 release.
All userspace object managers should have been updated
to use the dynamic class/perm mapping support since that time.
Remove these headers finally to ensure that no users remain and
that no future uses are ever introduced.
Use string_to_security_class(3) and string_to_av_perm(3) to map the class and
permission names to their policy values, or selinux_set_mapping(3) to create a
mapping from class and permission index values used by the application to the
policy values.
Removed restrictions in libsepol and checkpolicy that required all declared
initial SIDs to be assigned a context.
Support for new policy capability genfs_seclabel_symlinks
New
setfiles -Eoption - treat conflicting specifications as errors, suchas where two hardlinks for the same inode have different contexts.
restorecond_user.service- new systemd user service which runsrestorecond -usetsebool -Vreports errors from commit phaseImproved man pages
semanageuses ipaddress Python module instead of IPymatchpathcon related interfaces are deprecated
selinuxfs is mounted with noexec and nosuid
the dso wrappers for internal calls were removed and it is now strongly recommended to CFLAGS with
-fno-semantic-interpositionsecurity_compute_user()was deprecatedcheckpolicy treats invalid characters as an error - might break rare use cases (intentionally)
New
restorecon -xoption which prevents it from crossing file system boundaries.Handle
semanage modulein semanage bash completionsepolgen-ifgenparses a gen_tunable statement as boolsemanagehandles getprotobyname() failure case on Debian where /etc/protocols does not contain an entry for "ipv4"Packaging-relevant changes
Setting CFLAGS during the make process will cause the omission of many defaults. While the project strives
to provide a reasonable set of default flags, custom CFLAGS could break the build, or have other undesired
changes on the build output. Thus, be very careful when setting CFLAGS. CFLAGS that are encouraged to be
set when overriding are:
will support passing this flag, but ignore it. Previous clang versions fail.
setup.pybuilds can be customized using PYTHON_SETUP_ARGS, e.g. to forDebian Python layout use:
make PYTHON_SETUP_ARGS=--install-layout=deb ...Development-relevant changes
Improved README which was renamed to README.md and converted to markdown.
Added Travis CI job to run SELinux kernel testsuite on latest Fedora cloud image
Issues fixed
NiceOS maintainer checklist
Versionand related fields inSPECS/*.speconly if policy allows it.SOURCES/sources.lock.json, manifests, metadata and SBOM.Bot metadata
niceos_upstream_monitor.py 1.42026-04-28T15:59:06Z