From owner-freebsd-questions@FreeBSD.ORG Thu Aug 28 10:16:48 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4341106566B for ; Thu, 28 Aug 2008 10:16:48 +0000 (UTC) (envelope-from jef@math.miami.edu) Received: from zero.math.miami.edu (zero.math.miami.edu [192.70.171.2]) by mx1.freebsd.org (Postfix) with ESMTP id B393F8FC1A for ; Thu, 28 Aug 2008 10:16:48 +0000 (UTC) (envelope-from jef@math.miami.edu) Received: from phantom.math.miami.edu (phantom.math.miami.edu [129.171.34.4]) by zero.math.miami.edu (8.13.7/8.13.7) with ESMTP id m7SAGhVO005092 for ; Thu, 28 Aug 2008 06:16:43 -0400 (EDT) (envelope-from jef@math.miami.edu) Date: Thu, 28 Aug 2008 06:16:47 -0400 (EDT) From: jef moskot To: freebsd-questions@freebsd.org In-Reply-To: <20080827153410.GD26653@dan.emsphone.com> Message-ID: <20080828061045.G32461@phantom.math.miami.edu> References: <20080827021935.T59147@phantom.math.miami.edu> <20080827153410.GD26653@dan.emsphone.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: messagebus user X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2008 10:16:49 -0000 On Wed, 27 Aug 2008, Dan Nelson wrote: > You should be able to change its uid by deinstalling dbus, then editing > /usr/ports/devel/dbus/pkg-install, changing the uid in that script to an > unused ID, and reinstalling. That worked fine, thanks. Still don't know what this thing does (the things dependent on it seemed either irrelevant or mysterious), but I'm happy to resolve the issue this way. > All the userids created by ports should be listed in /usr/ports/UIDs and > GIDs, so you can check to see if any other ports might conflict with > existing users. Interesting, thanks again. On Wed, 27 Aug 2008, Chris St Denis wrote: > Keep in mind you will probably have the same problem when you upgrade > the port. Portsnap/csup will overwrite your change so every time you > upgrade you'll have to change it again. This might not be an issue due to the explanation from Warren below. > May be easier to just change the user's UID once. The user has been around longer than FreeBSD has existed and the UID is used across various system with different OSs, so the reinstall was actually the simpler solution. On Wed, 27 Aug 2008, Warren Block wrote: > If dbus is required, you should be able to create the messagebus user > before installing the dbus port. Then the port's pkg-install should see > that you already have a messagebus user and use it instead of creating a > new one. (Untested, but it seems like that's worked for upgrading dbus.) Out of curiosity, I tested this theory and it's correct. Are there any files out there that messagebus is expected to own that I should double-check after the reinstallation? Thanks to everyone for all the good advice. Jeffrey Moskot System Administrator jef@math.miami.edu