From owner-freebsd-ports@freebsd.org Wed Apr 19 10:42:31 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E27FBD45E00 for ; Wed, 19 Apr 2017 10:42:31 +0000 (UTC) (envelope-from scratch65535@att.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id C768510B7 for ; Wed, 19 Apr 2017 10:42:31 +0000 (UTC) (envelope-from scratch65535@att.net) Received: by mailman.ysv.freebsd.org (Postfix) id C6CECD45DFF; Wed, 19 Apr 2017 10:42:31 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C6757D45DFE for ; Wed, 19 Apr 2017 10:42:31 +0000 (UTC) (envelope-from scratch65535@att.net) Received: from nm20-vm4.access.bullet.mail.gq1.yahoo.com (nm20-vm4.access.bullet.mail.gq1.yahoo.com [216.39.63.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A122810B6 for ; Wed, 19 Apr 2017 10:42:31 +0000 (UTC) (envelope-from scratch65535@att.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=att.net; s=s1024; t=1492598361; bh=mI9gs92QDpdUjAeJz7JoAFxqDEtLgIl1dlrSClRbu/w=; h=From:To:Subject:Date:From:Subject; b=dziLLu+cloTQJaRAQX24yb6zCUHw4nM96GWEebndw5nFviadQCK23zESTrUhVtsLk+dNVUxmPUH0zxvTUKnN+ipdb2+CUY/FEIMsVde7sR2U5r1dD+bxVqBvCSjmFLUjH+JHcYxHowlYO2F97wyxEdag+1DbqWtfqg6A5QIlAyQ= Received: from [216.39.60.176] by nm20.access.bullet.mail.gq1.yahoo.com with NNFMP; 19 Apr 2017 10:39:21 -0000 Received: from [67.195.23.145] by tm12.access.bullet.mail.gq1.yahoo.com with NNFMP; 19 Apr 2017 10:39:21 -0000 Received: from [127.0.0.1] by smtp117.sbc.mail.gq1.yahoo.com with NNFMP; 19 Apr 2017 10:39:21 -0000 X-Yahoo-Newman-Id: 843325.61547.bm@smtp117.sbc.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: cLhTVr4VM1nxi2Qg8opT6XNKIg4hXvcDWH1YRQ_8wVj0Vuu DMlQcKNu6RLHSSx5Sc8o6WLhD_LQI3wBy.X3LXc7Da.ZaMGqbCdWLpfmnQ4Q qTt2TuxqNKgQb3M3.6Xfb_VLlGqlO8WJn70OJLEFrCcSA2otFKvKOfcsEpiK HwiJRx.vJGunOZzoOCoNaWCr5D5li7ARkpGhIHMu4Elw7ndDrRuy27ENDi4_ tzjx3Cim1Sk4Fk98zxqDu2g2bT_dZrMwH5eILI7Qezsbz4PIFuX9CAeJo5dg 1Lxz4ZeaOn_VwxmtDu6M3gkrTWUMDTF_MbQqQ88NYMqszxrHYLlYtI7TdHCl 55SutsEOzFTExJnDnpu7uMp.SB2JZG7wBcAjwEQ1UxH6uuvlgWWkp5ge2tE3 nlxQn1AhfBNkwjTkNkVne61kEHfu.6mi4FwdcZINNG9zm5g5dhUdLUd7R6Bc PTaeJJn5Ps.o5OjR2.kvK9XCCED6omHHLVFiUjSOlwJI0VpqmHCwCCn8SJ.z s.fJq4FnCxXUeKToWuupb.cL5Dxi1QhGvQDe_CCOIh4mqFO3.d61OoxLY X-Yahoo-SMTP: pPvqnOaswBBbYZLVYFzvU7GaowLcbNioPp.aF8KvOjZk From: To: freebsd-ports Subject: Pkg or dbus should create /etc/machine-id when not found Date: Wed, 19 Apr 2017 06:39:28 -0400 Message-ID: X-Mailer: Forte Agent 4.2/32.1118 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Apr 2017 10:42:32 -0000 Not only that, but pkg should not delete things until AFTER it successfully replaces them! I finally broke down and did a pkg upgrade yesterday, which cost me the whole afternoon. I had to do it because pkg wasn't smart enough not to use the current quarter's bits to install a package on a machine that was using the original 10.3 RELEASE bits. (If that's to be considered normal behavior, then not only are we all forced to update every time the minor version changes, we have to disruptively update every quarter unless we forego installing anything new. I realise that, when you're up to your arse in alligators draining the swamp isn't uppermost in your mind, but there really are people for whom freebsd is a *tool*, not a hobby or a way to commit suicide by exhaustion.) This disruption involved pkg deleting Firefox (why?) because I was trying to install VLC (which turned out to be broken). When I tried to restore Firefox, I got bitten by quarterly version skew. So this morning, despite the sacrifice of the half-day yesterday, X failed to start because dbus couldn't find /etc/machine-id, a file it never wanted to find before now. Since the fix seems easy enough: call dbus-uuidgen --ensure=/etc/machine-id, it's hard to know why pkg or dbus doesn't generate it when it can't find it. I filed a bug.