[Bugs] [Bug 1598900] New: tmpfiles snippet tries to create folder owned by nonexistent user

bugzilla at redhat.com bugzilla at redhat.com
Fri Jul 6 19:30:50 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1598900

            Bug ID: 1598900
           Summary: tmpfiles snippet tries to create folder owned by
                    nonexistent user
           Product: GlusterFS
           Version: 4.1
         Component: build
          Assignee: bugs at gluster.org
          Reporter: eschwartz at archlinux.org
                CC: bugs at gluster.org



When installing glusterfs using --with-tmpfilesdir=/usr/lib/tmpfiles.d a
tmpfiles snippet is installed that creates /run/gluster owned by the "gluster"
user, but the user itself is never created and won't exist without user
intervention.

Initially introduced in
https://github.com/gluster/glusterfs/commit/0e50c4b3ea734456c14e2d7a578463999bd332c3
which is the commit which introduced the snippet itself.

Looks like the sysusers.d snippet was instead inlined as part of the
redhat-specific build scripts in a post-install statement, which is quite odd.

Rather than requiring distros to reimplement this on their own, it should be
moved to a sysusers.d snippet.

Aside: why is this disabled by default, and why does it use a --with-*=$path
argument then heuristically check if it is nonexistent instead of an --enable-*
argument which uses the default path?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list