Upgrades and troubleshooting
On this page
Goal: keep GPWarden current on every workstation, and find out quickly why a setting did not arrive.
Upgrading GPWarden
GPWarden updates come from the GPWarden subscription repository, signed with the GPWarden release key, like any other RHEL update:
- Automatically: with Microsoft's Windows Components > Windows Update > Configure Automatic Updates option 4 (install at the scheduled day and hour), GPWarden updates install with the rest. (With GPWarden > Software > Install only security updates, automatic updates are limited to security updates; upgrade GPWarden by hand then.)
- By hand or with your tools:
dnf upgrade gpwarden\*.
The service restarts itself after the upgrade; settings stay applied throughout.
Read the release notes first: they say what a release fixes, whether to upgrade
soon, and whether new templates come with it (copy the new GPWarden.admx / .adml into the
Central Store; older templates keep working, they just lack the new settings).
Check afterwards:
rpm -q gpwarden # the new version
systemctl is-active gpwardend # active
gpwardenctl update && gpwardenctl resultTroubleshooting
Start where Windows admins start: Group Policy Modeling in GPMC. GPWarden follows the same rules, so if Modeling does not show a GPO for the computer, the workstation will not apply it either. Then, on the workstation:
gpwardenctl result -v # GPOs, why each was applied or denied, every setting and its GPO
journalctl -u gpwardend -b # what happened since boot
journalctl -u gpwardend GPWARDEN_WINDOWS_EVENT_ID=1055 # refreshes that could not reach a DCCommon causes
| Symptom | Likely cause | Check and fix |
|---|---|---|
| Event 1055, "no domain controller reachable" | DNS or firewall | host -t SRV _ldap._tcp.dc._msdcs.example.com; ports 53, 88, 389, 445, 135 and dynamic RPC to the DCs; adcli info example.com |
| Kerberos errors, "clock skew" | Time | chronyc tracking; the clock must be within 5 minutes of the DCs. GPWarden syncs from the DCs unless a policy says otherwise; the PDC emulator must itself sync from reliable NTP |
| Errors about the host keytab | The computer account was reset or deleted in AD | klist -k /etc/krb5.keytab; re-join the computer |
| A GPO shows Denied (Security) | Security filtering | The computer (or user) needs Read and Apply group policy; group changes apply at the next refresh, no reboot |
| A GPO shows Denied (WMI Filter) | The WMI filter | RHEL reports OSType = 36 and Version = linux-<version>; a filter for Windows (OSType = 18) never matches |
| A setting listed but "not applied" | No meaning on RHEL | The reason is in gpwardenctl result -v and in RATIONALE.md |
| A user's group change or new admin right not seen | SSSD's cache | New rights take effect at the user's next sign-in, as on Windows; sss_cache -u NAME makes SSSD read the user again |
| A new sudo rule from AD not seen | SSSD's sudo refresh (15 minutes) | sudo -l as the user; systemctl restart sssd fetches it at once |
| User settings missing | No Kerberos ticket for the user | klist as the user; journalctl -u gpwardend -g "user policy" |
| Denials with SELinux enforcing | Labels or the policy module | ausearch -m avc -c gpwardend; rpm -q gpwarden-selinux; restorecon -R /var/lib/gpwarden /run/gpwarden |
User certificates or keyrings labeled user_home_t | SSSD's default home path | semanage fcontext -a -e /home /home/<domain> && restorecon -R /home/<domain> |
| LAPS does not rotate | AD side | No KDS root key (or a finite-field one in FIPS mode), Set-LapsADComputerSelfPermission missing on the OU, the managed account missing on the computer: journalctl -u gpwardend -g LAPS |
What to send to support
gpwardenctl result --html report.html # computer settings (as root)
gpwardenctl result --html user.html --user NAME # a user's settings
journalctl -u gpwardend -b > gpwardend.log
rpm -q gpwarden gpwarden-selinux sssdThe HTML report contains GPO names and setting values (no passwords: LAPS and recovery passwords are never stored on the workstation). Look through it before sending it outside your organization.
Monitoring
Forward the journal to your SIEM with rsyslog imjournal, systemd-journal-remote
or the SIEM's agent. The events carry the same numbers as on Windows, so alert
rules written for Windows Group Policy apply: 1055 (DC unreachable), 1502 / 1500
(policy applied), 4732 / 4733 (administrators changed), 10018 (LAPS rotated). The
full list is in EVENTS.md.