#987200 sssd-common: adduser: Warning: The home directory `/var/lib/sss' does not belong to the user you are currently creating.

Package:
sssd-common
Source:
sssd
Description:
System Security Services Daemon -- common files
Submitter:
Laurent Bigonville
Date:
2021-04-19 14:12:04 UTC
Severity:
minor
#987200#5
Date:
2021-04-19 14:09:26 UTC
From:
To:
Hello,

When installing sssd-common, the package is creating a user in the
postinst script, but the directory is created by the package
itself/dpkg.

This result in the following message:

adduser: Warning: The home directory `/var/lib/sss' does not belong to the user you are currently creating.

Shouldn't the "--no-create-home" option be passed to adduser to suppress
this message?

/var/lib/sss is owned by root on my system, is that the expected owner?
Nothing chown it to sssd user/group.

Kind regard,

Laurent Bigonville