Ensure to restart `systemd-logind` to avoid 'Failed to create session' error (fix #4).
This commit is contained in:
parent
820c7659b0
commit
0430b9a016
|
@ -4,6 +4,7 @@
|
|||
### Fix
|
||||
* For Debian Stretch ensure to also install `ca-certificates` (fix #2).
|
||||
* Ensure to add only one time the sudoers line in `/etc/nsswitch.conf` file (fix #3).
|
||||
* Ensure to restart `systemd-logind` to avoid 'Failed to create session' error (fix #4).
|
||||
|
||||
## v1.1.1
|
||||
|
||||
|
|
|
@ -63,6 +63,7 @@ This role will :
|
|||
* Create an additional configuration file to only store the bind_password (`/etc/sssd/conf.d/domain.bind.conf`).
|
||||
* Remove `sss` directive for `sudoers` in `/etc/nsswitch.conf` file.
|
||||
* Manage `sssd` service.
|
||||
* Restart `systemd-logind` service.
|
||||
|
||||
## Development
|
||||
|
||||
|
|
|
@ -4,3 +4,8 @@
|
|||
service:
|
||||
name: '{{ sssd_service_name }}'
|
||||
state: restarted
|
||||
|
||||
- name: restart logind
|
||||
service:
|
||||
name: systemd-logind
|
||||
state: restarted
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
when: sssd_conf_manage
|
||||
notify:
|
||||
- restart sssd
|
||||
- restart logind
|
||||
|
||||
- name: "CONFIG conf.d/{{ sssd_domain }}.conf"
|
||||
blockinfile:
|
||||
|
@ -55,6 +56,7 @@
|
|||
when: sssd_conf_manage
|
||||
notify:
|
||||
- restart sssd
|
||||
- restart logind
|
||||
|
||||
- name: Ensure home directories are created upon login with pam
|
||||
lineinfile:
|
||||
|
|
Loading…
Reference in New Issue