Helps troubleshoot SELinux problems
Go to file
Timothée Ravier 39fa7d5495 Install sysusers configuration
User and group are now created by the macro but the configuration file
should be installed on the systemd too:
https://docs.fedoraproject.org/en-US/packaging-guidelines/UsersAndGroups/#_dynamic_allocation

Also remove the Requires(pre) for useradd & groupadd as it is handled by
the %sysusers_create_compat macro:
https://src.fedoraproject.org/rpms/systemd/blob/rawhide/f/macros.sysusers

Related: rhbz#2145149
2022-11-24 09:12:32 +01:00
.fmf run Tier1 tests via TMT/FMF 2022-07-14 13:35:01 +02:00
plans run Tier1 tests via TMT/FMF 2022-07-14 13:35:01 +02:00
tests run Tier1 tests via TMT/FMF 2022-07-14 13:35:01 +02:00
.gitignore setroubleshoot-3.3.28 2022-02-08 17:13:22 +01:00
0001-Fix-couple-of-typos.patch setroubleshoot-3.3.28-4 2022-09-07 16:35:45 +02:00
0002-Update-translations.patch setroubleshoot-3.3.28-4 2022-09-07 16:35:45 +02:00
gating.yaml Fix gating.yaml for rhel-9 product 2021-07-01 16:38:27 +02:00
README.translations Update instructions for working with translations 2022-01-13 15:39:21 +01:00
setroubleshoot.logrotate RHEL 9.0.0 Alpha bootstrap 2020-10-15 09:30:16 -07:00
setroubleshoot.spec Install sysusers configuration 2022-11-24 09:12:32 +01:00
setroubleshoot.sysusers Use %sysusers_create_compat instead of useradd 2022-02-08 17:13:47 +01:00
setroubleshoot.tmpfiles Set right ownership on /var/lib/setroubleshoot 2022-02-08 17:13:36 +01:00
sources setroubleshoot-3.3.28 2022-02-08 17:13:22 +01:00

Setroubleshoot translations currently live in the following locations:

- https://translate.fedoraproject.org/projects/setroubleshoot/
  - contains translations for both stable (rhel8) and main (Fedora) branches
  - maintains large number of languages (several of which do not actually contain any translated strings)
  - updated by community and partially by RH localization effort

- setroubleshoot source repositories
  - https://gitlab.com/setroubleshoot
    - used for development
    - separate repos for plugins and framework
  - https://pagure.io/setroubleshoot and https://github.com/fedora-selinux/setroubleshoot
    - no longer updated
    - plugins and framework in the same repo

How to update source files on weblate:
  # install dependencies
  $ sudo dnf install automake autoconf inittool gettext glib2-devel dbus-devel libnotify-devel gtk3-devel audit-libs-devel
  $ git clone git@gitlab.com:setroubleshoot/framework.git
  $ git clone git@gitlab.com:setroubleshoot/plugins.git
  $ cd framework
  # Update Makefile
  $ ./autogen.sh
  # generate new potfile
  $ cd po
  $ make setroubleshoot.pot
  # https://translate.fedoraproject.org/projects/setroubleshoot/setroubleshoot/en/
  # Files -> Upload translations
  # Repeat the process for plugins
  # https://translate.fedoraproject.org/projects/setroubleshoot/plugins/en/
  # Files -> Upload translations
  # or use weblate command line tool:
  $ wlc --key <API key> --url https://translate.fedoraproject.org/api/ upload --input framework/po/setroubleshoot.pot setroubleshoot/setroubleshoot/en
  $ wlc --key <API key> --url https://translate.fedoraproject.org/api/ upload --input plugins/po/setroubleshoot.pot setroubleshoot/plugins/en/

How to pull new translations from weblate
  $ git clone git@gitlab.com:setroubleshoot/framework.git
  $ git clone git@gitlab.com:setroubleshoot/plugins.git
  # https://translate.fedoraproject.org/projects/setroubleshoot/setroubleshoot
  # Files -> Download translation files as ZIP file
  # https://translate.fedoraproject.org/projects/setroubleshoot/plugins/
  # Files -> Download translation files as ZIP file
  $ unzip setroubleshoot-setroubleshoot.zip
  $ cp setroubleshoot/setroubleshoot/framework/po/*.po /framework/po
  $ unzip setroubleshoot-plugins.zip
  $ cp setroubleshoot/plugins/plugins/po/*.po /plugins/po
  # wlc doesn't support batch download yet https://github.com/WeblateOrg/wlc/issues/17