Warning on adduser that home dir doesn't belong to zookeeper user
Bug #1832400 reported by
Bryce Harrington
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zookeeper (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Warning during installation on 18.04:
adduser: Warning: The home directory `/var/lib/
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 \
--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.
tags: | added: bitesize |
To post a comment you must log in.