Mail archive
alpine-devel

Re: [alpine-devel] messagebus uid/gid and binaries

From: <lists_at_cioccolatai.it>
Date: Mon, 13 Jan 2014 16:03:25 +0100

On Fri, Jan 10, 2014 at 04:44:33PM +0100, lists_at_cioccolatai.it wrote:

> > # find /var /usr /sbin /lib -user messagebus -ls :
> > 8065 40 -rwxr-xr-x 1 messagebus messagebus 38176 Oct 30 09:32 /usr/sbin/chroot
> > 8067 8 -rwxr-xr-x 1 messagebus messagebus 5720 Oct 30 09:32 /usr/libexec/coreutils/libstdbuf.so
> [..]
>
> > apart from this, maybe is better to use the reserved "system" uid/gid with the
> > -S flag in the adduser command?
> > http://git.alpinelinux.org/cgit/aports/commit/?id=5a7acc3218ecf44b19312ba9b5d4962828e9ec97
> >
> > # id messagebus
> > uid=1000(messagebus) gid=1000(messagebus) groups=1000(messagebus)

Sorry for the noise, I confirm that the two things are unrelated:

1) some binaries are installed with owner uid/gid 1000 (maybe a
bug/misconfig in the build system?)

2) dbus installation script creates an ordinary user (which by default
get uid 1000 if you don't have any other regular user), not a system one

should I file two bug reports in the tracker?

as a note, by default the last system gid defined in the default
/etc/groups is users (gid 100) which doesn't have a corrisponding uid
100 in /etc/passwd; any adduser -S creates a "desync" between passwd and
groups (uid 100 gid 101, etc.) which is of course not a bug/problem, but
is .. "ugly" ..

ciao,
I.


---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Mon Jan 13 2014 - 16:03:25 UTC