URL:
https://github.com/SSSD/sssd/pull/495
Title: #495: DESKPROFILE: Add checks for user and host category
fidencio commented:
"""
Steps to reproduce the issue:
1. git clone
https://github.com/fidencio/fleet-commander-vagans
2. In the project's folder do: cd fleet-commander; vagrant up
3. Once the VMs are provisioned, access cockpit:
https://master.ipa.example:9090/
4. Click in the "FleetCommander" tab
5. Close the windows that will open
6. Click in "Add Profile"
7. Add a profile without filling out Hosts and Hostgroups
8. Click in "Add Profile"
9. Add a profile without filling out Users and Groups
10. From the fleet-commander folder, do: vagrant ssh ipaclient
10.1: ssh to the machine using admin's user: ssh -l admin localhost
10.2: Close the admin session
10.3 A root, take a look at journalctl -xe and a message about a crash will be seen.
With the patch, 10.3 won't happen and your profiles will be downloaded to
/var/lib/deskprofile/ipa.example/admin/
NOTE: If your way to test it is through a fedpkg build, be aware of:
https://bugzilla.redhat.com/show_bug.cgi?id=1536854
"""
See the full comment at
https://github.com/SSSD/sssd/pull/495#issuecomment-359338285