Public bug reported:

Warning during installation on 18.04:

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

zookeeper.postinst has this:

"""
# creating zookeeper user if it isn't already there                             
                                                            
if ! getent passwd $USER >/dev/null ; then
        # Adding system user                                                    
                                                            
        adduser \
          --system \
          --disabled-login \
          --ingroup $GROUP \
          --home $DATADIR \
          --gecos "ZooKeeper" \
          --shell /bin/false \
          $USER  >/dev/null
fi
"""

A fix/workaround may be to add --no-create-home for the adduser command.

** Affects: zookeeper (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: bitesize

** Tags added: bitesize

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1832400

Title:
  Warning on adduser that home dir doesn't belong to zookeeper user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zookeeper/+bug/1832400/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to