X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from dal-a2.localdomain (unknown [74.117.189.115]) by mail.alpinelinux.org (Postfix) with ESMTP id 75BBFDC00BB for ; Mon, 13 Jan 2014 16:07:58 +0000 (UTC) Received: from ncopa-desktop.alpinelinux.org (3.203.202.84.customer.cdi.no [84.202.203.3]) (using SSLv3 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: ncopa@tanael.org) by dal-a2.localdomain (Postfix) with ESMTPSA id B07AABC13F8; Mon, 13 Jan 2014 16:07:57 +0000 (UTC) Date: Mon, 13 Jan 2014 17:07:54 +0100 From: Natanael Copa To: lists@cioccolatai.it Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] messagebus uid/gid and binaries Message-ID: <20140113170754.2998d479@ncopa-desktop.alpinelinux.org> In-Reply-To: <20140113150325.GA2419@127.0.0.1> References: <20140110152150.GH2755@127.0.0.1> <20140110154433.GJ2755@127.0.0.1> <20140113150325.GA2419@127.0.0.1> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.20; x86_64-alpine-linux-uclibc) 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-Transfer-Encoding: 7bit On Mon, 13 Jan 2014 16:03:25 +0100 lists@cioccolatai.it wrote: > 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?) likely bug. yes. > > 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 i fixed that in edge, but we might want fix it in v2.7 too. > should I file two bug reports in the tracker? That would be nice yes. Thanks! > > 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" .. Dont much we can do about that i think. Thanks! -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---