URL:
https://github.com/SSSD/sssd/pull/5754
Title: #5754: Sources cleanup.
ikerexxe commented:
"""
```
2021-09-01 12:21:09,902 - sssd.testlib.common.qe_class.QeHost.client.cmd121 - DEBUG - RUN
usermod -d '' no_home_user
2021-09-01 12:21:09,944 - sssd.testlib.common.qe_class.QeHost.client.cmd121 - DEBUG -
usermod: homedir must be an absolute path
2021-09-01 12:21:09,946 - sssd.testlib.common.qe_class.QeHost.client.cmd121 - ERROR -
Exit code: 3
...
==================================== ERRORS ====================================
_ ERROR at setup of TestImplicitFilesProvider.test_files_does_not_handle_root __
...
E subprocess.CalledProcessError: Command 'usermod -d ''
no_home_user' returned non-zero exit status 3.
```
I'm not sure what is wrong here, especially taking into account those tests were
green in previous CI runs.
@ikerexxe , were there any changes in recent shadow-utils rebase that could trigger this
issue?
Yes, I guess something must be wrong in the rebase regarding usermod.
UPD: I think this is
[shadow-maint/shadow@9d37173](https://github.com/shadow-maint/shadow/commit/9d37173b24345160a41a6a1f8be75a0ed87b2445)
I don't think so. If I include that change then the test would fail also because the
`-d` option is expecting an absolute path, which the test fails to provide. I'm taking
a deeper look at it.
"""
See the full comment at
https://github.com/SSSD/sssd/pull/5754#issuecomment-910325953