]> code.ossystems Code Review - openembedded-core.git/commit
man-db: remove '--disable-cache-owner' option
authorChen Qi <Qi.Chen@windriver.com>
Thu, 2 Aug 2018 04:52:43 +0000 (12:52 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 7 Aug 2018 11:12:55 +0000 (12:12 +0100)
commit7080df4b6bc50440eed600e81f2c6fa76a80623d
treeab8066a00f60744838c9e5f6e6e665236e1a7337
parentd0881e7401173e012e197c7371a30e8219c81cf6
man-db: remove '--disable-cache-owner' option

The following error appeared at boot.

  systemd-tmpfiles[115]: [/usr/lib/tmpfiles.d/man-db.conf:1] Unknown user '1w'

By default cache owner is enabled and defaults to 'man'. Users could
supply '--enable-cache-owner=[ARG]' to change the default cache owner.
Using '--disable-cache-owner' leaves the ownership of system-wide
cache files unconstrained, and users will allowed to modify them.

We'd better keep the default behavior, just like other distros do.

I can guess that we used '--disable-cache-owner' to bypass the following
error at do_install.

  | chown: invalid user: ‘man:man’

The 'man' user is provided by base-passwd recipe, so add it to DEPENDS.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/man-db/man-db_2.8.3.bb