Commit Graph

1363 Commits

Author SHA1 Message Date
Tomas Popela
8acd4a7172 Drop unused BR on dbus-glib-devel and explicitly BR glib2-devel
The project has moved away from dbus-glib in version 3.2[0] and the BR
is not needed at all. Explicitly add the glib2-devel to BR to fix the
build after this change (it got there previously through
dbus-glib-devel).

[0] - 252925ccdf
2023-05-10 14:38:07 +02:00
Petr Lautrbach
e12fe0e4d9 SELinux userspace 3.5 release 2023-02-24 13:02:01 +01:00
Petr Lautrbach
80ecbcb7ea SELinux userspace 3.5-rc3 release 2023-02-13 17:02:32 +01:00
Petr Lautrbach
6da7ac70cd policycoreutils-3.5-0.rc2.3
- Attach tty to selinux-autorelabel.service when AUTORELABEL=0
2023-02-08 11:35:14 +01:00
Petr Lautrbach
0d980e2bff Use StandardInput=tty when AUTORELABEL=0
selinux-autorelabel service can be configured to drop to a shell to allow
administrator to manually relabel a filesystem, see selinux_config(5). In
this case, the service needs to have a tty attached to stdin. Given that
tty should not be attached to the service by default, see
https://bugzilla.redhat.com/show_bug.cgi?id=1634661 , the
selinux-autorelabel-generator.sh will configure the service to attach
tty only if AUTORELABEL=0

Resolves: rhbz#2165508
2023-02-08 11:27:20 +01:00
Vit Mojzis
df8ecd9392 policycoreutils-3.5-0.rc2.2
- python/sepolicy: Cache conditional rule queries
2023-01-30 19:03:50 +01:00
Vit Mojzis
05a6b63e4d Update README.translations for use with Weblate
Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
2023-01-20 15:52:53 +01:00
Fedora Release Engineering
a1ed6da384 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 10:02:43 +00:00
Petr Lautrbach
9006a129ff SELinux userspace 3.5-rc2 release 2023-01-16 12:54:23 +01:00
Petr Lautrbach
9bbf1ed093 Drop pathfix
All necessary changes were applied upstream.
2022-12-27 11:20:38 +01:00
Petr Lautrbach
9c3b4420da policycoreutils-3.5-0.rc1.1
- SELinux userspace 3.5-rc1 release
2022-12-27 11:18:52 +01:00
Lumir Balhar
8d6bfd9e4e Change location of pathfix.py
For more info see https://fedoraproject.org/wiki/Changes/Python3.12#pathfix.py_tool_will_be_removed
2022-11-22 10:17:57 +00:00
Petr Lautrbach
420643f434 python3-policycoreutils requires python3-distro 2022-11-21 17:38:59 +01:00
Petr Lautrbach
577b79db7e policycoreutils-3.4-7
- Rebase on upstream f56a72ac9e86
- sepolicy: fix sepolicy manpage -w
- sandbox: add -R option to alternate XDG_RUNTIME_DIR
- Remove dependency on the Python module distutils
2022-11-21 16:06:48 +01:00
Petr Lautrbach
f63d7fa68f Drop obsolete information from README.translation 2022-11-16 11:19:08 +01:00
Petr Lautrbach
36b92b86ad Drop unused files 2022-11-16 11:18:37 +01:00
Petr Lautrbach
b82a2a44d7 run tests via TMT/FMF 2022-11-10 17:21:15 +01:00
Petr Lautrbach
603c2165fd Migrate License tag to SPDX
https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_1
2022-11-09 17:24:08 +01:00
Petr Lautrbach
c3299a8a50 policycoreutils-3.4-6
- Run autorelabel in parallel by default
  https://fedoraproject.org/wiki/Changes/SELinux_Parallel_Autorelabel
2022-08-02 09:41:21 +02:00
Petr Lautrbach
24691294b1 Run autorelabel in parallel by default
https://fedoraproject.org/wiki/Changes/SELinux_Parallel_Autorelabel
2022-07-27 12:03:59 +02:00
Petr Lautrbach
2a7fa6a48c policycoreutils-3.4-5
- gettext: handle unsupported languages properly (#2100378)
- semodule: rename --rebuild-if-modules-changed to --refresh
- python: Split "semanage import" into two transactions (#2063353)
- selinux-autorelabel: Do not force reboot (#2093133)
2022-07-25 18:05:51 +02:00
Vit Mojzis
7732783e1f selinux-autorelabel: Do not force reboot
Forced reboot ends up NOT triggering normal unit shutdown, but only
sends TERM signal, then KILL later. Some processes such as dmeventd
do not quit on receiving TERM signal (protected), which means they
are killed after a long delay by systemd using the KILL signal.

In case the normal reboot doesn't go through, "reboot.target" will be
triggered after a timeout and send the KILL signal anyway.

Resolves: rhbz#2093133
2022-07-25 18:05:18 +02:00
Fedora Release Engineering
a8c0d4388c Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 15:10:52 +00:00
Python Maint
37088605ae Rebuilt for Python 3.11 2022-06-13 14:53:19 +02:00
Petr Lautrbach
11a3f105c4 Rebuild 2022-05-25 16:52:53 +02:00
Petr Lautrbach
3fb36808c0 SELinux userspace 3.4 release 2022-05-19 15:54:02 +02:00
Petr Lautrbach
3119f59e53 SELinux userspace 3.4-rc3 release 2022-05-10 17:30:55 +02:00
Petr Lautrbach
5dcaf75761 policycoreutils-3.4-0.rc2.1
- SELinux userspace 3.4-rc2 release
2022-04-21 20:31:39 +02:00
Petr Lautrbach
013d1dc731 policycoreutils-3.4-0.rc1.1
- SELinux userspace 3.4-rc1 release
2022-04-13 12:59:56 +02:00
Petr Lautrbach
e68faf500b policycoreutils-3.3-5
- Improve error message when selabel_open fails
2022-02-22 10:07:05 +01:00
Petr Lautrbach
8be71ebc82 policycoreutils-3.3-4
- semodule: add command-line option to detect module changes
- fixfiles: Use parallel relabeling
2022-02-19 11:10:59 +01:00
Fedora Release Engineering
1ddbcb0893 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 09:13:46 +00:00
Petr Lautrbach
2ffe12911e policycoreutils-3.3-2
- setfiles/restorecon: support parallel relabeling with -T <N> option
- semodule: add -m | --checksum option
2021-11-29 12:51:17 +01:00
Petr Lautrbach
a5f1b8ddc2 SELinux userspace 3.3 release 2021-10-22 15:04:46 +02:00
Petr Lautrbach
dfa7890c72 SELinux userspace 3.3-rc3 release 2021-10-11 10:04:38 +02:00
Petr Lautrbach
4ae915ba4e SELinux userspace 3.3-rc2 release 2021-09-29 18:34:29 +02:00
Ondrej Mosnacek
ad77419a1d Make p-devel's selinux-policy-devel dep conditional on selinux-policy
The policycoreutils-devel package is used not only for working with an
installed policy, but also for building the policy from sources. In the
latter case, there is no need to install selinux-policy-devel (and
selinux-policy along with it), so make the dependency conditional on
selinux-policy.

Since policy is often built from source in a mock chroot or a container,
this will avoid the awkward and unnecessary cyclic build dependency of
selinux-policy on itself.

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
2021-08-10 19:29:27 +00:00
Petr Lautrbach
ea27f43a6d Drop forgotten ru/ man pages from -restorecond
It's was a leftover from the rebase before the latest rebase
2021-08-03 10:34:52 +02:00
Petr Lautrbach
5da4fbf19c policycoreutils-3.2-5
Rebase on upstream commit 32611aea6543

See
    $ cd SELinuxProject/selinux
    $ git log --pretty=oneline libsepol-3.2..32611aea6543 -- policycoreutils python gui sandbox dbus semodule-utils restorecond
2021-07-28 19:10:43 +02:00
Fedora Release Engineering
9dd12dbbe5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 03:47:20 +00:00
Python Maint
e3fdda47ee Rebuilt for Python 3.10 2021-06-03 10:45:38 +02:00
Petr Lautrbach
d7133c7185 policycoreutils-3.2-2
- Do not use Python slip
- dbus: use GLib.MainLoop
- fixfiles: do not exclude /dev and /run in -C mode
2021-05-13 08:48:18 +02:00
Vit Mojzis
4e05786ea5 Remove old translation files
The following translation files (without any translated strings) will no
longer be part of the package (only policycoreutils.... python, gui and
sandbox are not affected): aln.po ast.po az.po bn_BD.po bo.po brx.po
dz.po eo.po es_MX.po hy.po ks.po ku.po ky.po la.po lo.po lt_LT.po
lv_LV.po mg.po mn.po my.po si_LK.po tl.po vi_VN.po wo.po xh.po
zh_CN.GB2312.po zh_HK.po zh_TW.Big5.po

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1578148
2021-03-11 15:39:36 +00:00
Petr Lautrbach
65687b17c1 SELinux userspace 3.2 release
Also simplify the build using source directory snapshot provided with
the release, see
https://github.com/SELinuxProject/selinux/releases/tag/3.2
2021-03-08 16:41:05 +01:00
Zbigniew Jędrzejewski-Szmek
2304844e56 Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
2021-03-02 16:13:03 +01:00
Petr Lautrbach
8c9bb8afaf SELinux userspace 3.2-rc2 release 2021-02-05 11:18:47 +01:00
Fedora Release Engineering
3ec9603c09 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 08:23:48 +00:00
Petr Lautrbach
b96da65939 SELinux userspace 3.2-rc1 release
https://lore.kernel.org/selinux/87a6t36bpp.fsf@redhat.com/T/#u
2021-01-20 20:44:33 +01:00
Petr Lautrbach
d56dce0a5d policycoreutils-3.1-8
- Fix BuildRequires to libsemanage-devel
2020-11-24 10:47:54 +01:00
Petr Lautrbach
c808ccc35c Enable gating on tests
https://docs.fedoraproject.org/en-US/ci/gating/
2020-11-20 15:10:04 +01:00