Package: sssd-common
Version: 2.4.1-2
Severity: minor

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


-- System Information:
Debian Release: 11.0
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-6-amd64 (SMP w/8 CPU threads)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_BE:fr
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Permissive - Policy name: refpolicy

Versions of packages sssd-common depends on:
ii  adduser            3.118
ii  libc-ares2         1.17.1-1
ii  libc6              2.31-11
ii  libdbus-1-3        1.12.20-2
pn  libdhash1          <none>
ii  libglib2.0-0       2.66.8-1
ii  libgssapi-krb5-2   1.18.3-5
pn  libini-config5     <none>
ii  libkeyutils1       1.6.1-2
ii  libkrb5-3          1.18.3-5
ii  libldap-2.4-2      2.4.57+dfsg-2
ii  libldb2            2:2.2.0-3.1
pn  libnfsidmap2       <none>
ii  libnl-3-200        3.4.0-1+b1
ii  libnl-route-3-200  3.4.0-1+b1
ii  libp11-kit0        0.23.22-1
ii  libpam0g           1.4.0-7
ii  libpcre3           2:8.39-13
ii  libpopt0           1.18-2
pn  libref-array1      <none>
ii  libselinux1        3.1-3
ii  libsemanage1       3.1-1+b2
ii  libssl1.1          1.1.1k-1
pn  libsss-certmap0    <none>
pn  libsss-idmap0      <none>
pn  libsss-nss-idmap0  <none>
ii  libsystemd0        247.3-5
ii  libtalloc2         2.3.1-2+b1
ii  libtdb1            1.4.3-1+b1
ii  libtevent0         0.10.2-1
ii  python3            3.9.2-3
pn  python3-sss        <none>

Versions of packages sssd-common recommends:
ii  bind9-host  1:9.16.13-1
pn  libnss-sss  <none>
pn  libpam-sss  <none>

Versions of packages sssd-common suggests:
ii  apparmor     2.13.6-10
pn  libsss-sudo  <none>
pn  sssd-tools   <none>

Reply via email to