From owner-freebsd-questions@FreeBSD.ORG Sun Jan 27 14:28:53 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 05B45D05 for ; Sun, 27 Jan 2013 14:28:53 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) Received: from alogt.com (alogt.com [69.36.191.58]) by mx1.freebsd.org (Postfix) with ESMTP id C8F18233 for ; Sun, 27 Jan 2013 14:28:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=/5QabjwCzFjadlKobpeBOeP8IHx/f6aZn9k1PQH1dYQ=; b=w9dg4U9Aeo0M4Oz/KGbXA8TLoKHI9xJiAv73d2//SlqLW9W6rVkNFyw5QHQlqFNOwxH3qek3fxmrx4lSqGIkAr/56rDbrqEQWVE1lqgOwHKazYbZHbNtVpbA8dh7/wW8; Received: from [122.129.203.50] (port=36462 helo=X220.ovitrap.com) by sl-508-2.slc.westdc.net with esmtpsa (SSLv3:DHE-RSA-AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1TzTE3-001vKe-1c; Sun, 27 Jan 2013 07:28:51 -0700 Date: Sun, 27 Jan 2013 21:28:47 +0700 From: Erich Dollansky To: Polytropon Subject: Re: Sharing a mail folder between Linux and FreeBSD Message-ID: <20130127212847.55303841@X220.ovitrap.com> In-Reply-To: <20130127135806.4d19e997.freebsd@edvax.de> References: <20130125133346.f1484ed8.freebsd@edvax.de> <20130125150414.f262d162.freebsd@edvax.de> <20130125161215.f498f4e4.freebsd@edvax.de> <5102FE7B.4070808@gmail.com> <20130127153838.15b97613@X220.ovitrap.com> <20130127135806.4d19e997.freebsd@edvax.de> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: Cc: Ralf Mardorf , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jan 2013 14:28:53 -0000 Hi, On Sun, 27 Jan 2013 13:58:06 +0100 Polytropon wrote: > On Sun, 27 Jan 2013 15:38:38 +0700, Erich Dollansky wrote: > > Hi, > > > > On Sun, 27 Jan 2013 09:15:09 +0100 > > "Ralf Mardorf" wrote: > > > > > Good morning, > > > > ood morning? The sun is settling soon! > > The sun of the planet of the ood? > Or the former Sun of one of the microsystems? :-) > both Suns are gone now. Only one will return tomorrow morning. > > > > > if I run 'make deinstall reinstall' for a port, it doesn't ask a > > > single question, at least not for dbus. > > > > > > # ls -l /usr/local/bin/dbus-daemon > > > -r-xr-xr-x 1 rocketmouse wheel 377744 Jan 18 22:44 > > > /usr/local/bin/dbus-daemon > > > > > > # cd /usr/ports/devel/dbus ; make deinstall reinstall > > > > > > # ls -l /usr/local/bin/dbus-daemon > > > -r-xr-xr-x 1 root wheel 377744 Jan 27 > > > 08:55 /usr/local/bin/dbus-daemon > > > > > > Is there a command to deinstall and reinstall all ports or an idea > > > for a script to do it? > > > > > Check portupgrade or one of other utilities to handle ports. There > > is one option to force an upgrade even if it would be a downgrade. > > With tools like portmaster, this task can easily be automated. > If you only will have to handle a few ports, using the "bare > ports method" (make) is probably the easiest way (in case > everything else stays definitely consistent). > I would say that - especially in his case - he will get a working system as he does not want to upgrade a single port. > > > > > Do I have to reboot into single user mode and then to run "make > > > installworld" only to reinstall world? > > > > No, you just run it as root. It should work afterword except for > > currently running programs. > > The comment header of /usr/src/Makefile suggests installing the > world in single user mode (steps 5 - 11). > I think that installing it in multi-user mode without other users having things running, will work in 99.9999% of the cases. In his special case, it will work 100% as only the permissions should et changed. > # 1. `cd /usr/src' (or to the directory containing your > source tree). # 2. `make buildworld' > # 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is > GENERIC). # 4. `make installkernel > KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). # [steps 3. > & 4. can be combined by using the "kernel" target] # 5. > `reboot' (in single user mode: boot -s from the loader > prompt). # 6. `mergemaster -p' # 7. `make installworld' > # 8. `make delete-old' > # 9. `mergemaster' (you may wish to use -i, along with > -U or -F). # 10. `reboot' > # 11. `make delete-old-libs' (in case no 3rd party program uses them > anymore) > > This should be the safest method. > > Isn't it the overkill in his situation? Erich