X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from www.enforcer.it (www.enforcer.it [188.40.130.246]) by mail.alpinelinux.org (Postfix) with ESMTP id 4F619DC1489 for ; Mon, 13 Jan 2014 15:03:30 +0000 (UTC) Received: from 127.0.0.1 (localhost [127.0.0.1]) by www.enforcer.it (Postfix) with ESMTP id F36FA11A for ; Mon, 13 Jan 2014 16:03:27 +0100 (CET) Date: Mon, 13 Jan 2014 16:03:25 +0100 From: lists@cioccolatai.it To: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] messagebus uid/gid and binaries Message-ID: <20140113150325.GA2419@127.0.0.1> References: <20140110152150.GH2755@127.0.0.1> <20140110154433.GJ2755@127.0.0.1> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140110154433.GJ2755@127.0.0.1> On Fri, Jan 10, 2014 at 04:44:33PM +0100, lists@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@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---