From owner-freebsd-questions@FreeBSD.ORG Mon Aug 6 06:01:58 2007 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 350AA16A41B for ; Mon, 6 Aug 2007 06:01:58 +0000 (UTC) (envelope-from ml@t-b-o-h.net) Received: from vjofn.tucs-beachin-obx-house.com (vjofn-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::5e5]) by mx1.freebsd.org (Postfix) with ESMTP id E4BF613C469 for ; Mon, 6 Aug 2007 06:01:57 +0000 (UTC) (envelope-from ml@t-b-o-h.net) Received: from himinbjorg.tucs-beachin-obx-house.com (cpe-68-175-8-11.hvc.res.rr.com [68.175.8.11]) (authenticated bits=0) by vjofn.tucs-beachin-obx-house.com (8.12.9/8.12.9) with ESMTP id l7661vho064782; Mon, 6 Aug 2007 02:01:57 -0400 (EDT) Received: from himinbjorg.tucs-beachin-obx-house.com (localhost.tucs-beachin-obx-house.com [127.0.0.1]) by himinbjorg.tucs-beachin-obx-house.com (8.13.8/8.13.6) with ESMTP id l7661p7A054337; Mon, 6 Aug 2007 02:01:52 -0400 (EDT) (envelope-from ml@t-b-o-h.net) Received: (from tbohml@localhost) by himinbjorg.tucs-beachin-obx-house.com (8.13.8/8.13.6/Submit) id l7661pfS054336; Mon, 6 Aug 2007 02:01:51 -0400 (EDT) (envelope-from tbohml) From: "Tuc at T-B-O-H.NET" Message-Id: <200708060601.l7661pfS054336@himinbjorg.tucs-beachin-obx-house.com> To: kris@obsecurity.org (Kris Kennaway) Date: Mon, 6 Aug 2007 02:01:51 -0400 (EDT) In-Reply-To: <20070806052213.GA30845@rot26.obsecurity.org> X-Mailer: ELM [version 2.5 PL8] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: "Tuc at T-B-O-H.NET" , freebsd-questions@freebsd.org, Kris Kennaway Subject: Re: portupgrade modifys EVERY +CONTENTS now? 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: Mon, 06 Aug 2007 06:01:58 -0000 > > On Mon, Aug 06, 2007 at 12:49:31AM -0400, Tuc at T-B-O-H.NET wrote: > > > > > > On Sun, Aug 05, 2007 at 11:10:42PM -0400, Tuc at T-B-O-H.NET wrote: > > > > Hi, > > > > > > > > I've noticed that recent version(s?) of portupgrade seem to update > > > > the +CONTENTS of *EVERY* package on my system, not just the ones it used to > > > > actually make a difference to. Is there a way to revert to the old behaviour? > > > > With 915 ports (WAS only around 600 before the recent Xorg upgrade) its a > > > > killer. On my Soekris with a CF drive, and only 57 ports, its still killing > > > > that CF chip. > > > > > > Please show us how you came to this conclusion. > > > > > > Kris > > > > > "script" output from a recent update : > > > > ---> Upgrade of sysutils/bsdstats started at: Mon, 23 Jul 2007 10:52:00 -0400 > > ---> Upgrading 'bsdstats-5.3' to 'bsdstats-5.3_4' (sysutils/bsdstats) > > OK? [yes] > > ---> Build of sysutils/bsdstats started at: Mon, 23 Jul 2007 10:52:09 -0400 > > ---> Building '/usr/ports/sysutils/bsdstats' > > ===> Cleaning for bsdstats-5.3_4 > > ===> Vulnerability check disabled, database not found > > ===> Extracting for bsdstats-5.3_4 > > ===> Patching for bsdstats-5.3_4 > > ===> Configuring for bsdstats-5.3_4 > > ---> Build of sysutils/bsdstats ended at: Mon, 23 Jul 2007 10:52:10 -0400 (cons > > umed 00:00:00) > > ---> Updating dependency info > > ---> Modifying /var/db/pkg/Hermes-1.3.3_2/+CONTENTS > > Is it actually writing to these files, or just examining them to see > whether they need to be updated? > > Kris > I was truthfully only going by what I believed it was saying, that it was really modifying them. I upgraded fetchyahoo tonite after I emailed this, and if I do an "ls -lt" in /var/db/pkg I see : -rw-r--r-- 1 root wheel 15891456 Aug 6 00:59 pkgdb.db drwxr-xr-x 2 root wheel 512 Aug 6 00:59 fetchyahoo-2.10.9 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-Compress-Zlib-2.005 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-Crypt-SSLeay-0.56 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-IO-Compress-Zlib-2.005 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-libwww-5.805 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 openssl-0.9.8e_1 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-Authen-SASL-2.10_1 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-Digest-MD5-2.36 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-MIME-Tools-5.420_1,2 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-Net-1.21,1 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-Compress-Raw-Zlib-2.005 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-Digest-HMAC-1.01 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-GSSAPI-0.24 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-HTML-Parser-3.56 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-HTML-Tagset-3.10 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-IO-Compress-Base-2.005 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-Convert-BinHex-1.119 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-Digest-1.15 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-IO-stringy-2.110 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-MIME-Base64-3.07 drwxr-xr-x 2 root wheel 512 Aug 6 00:59 p5-Mail-Tools-1.74 (etc) drwxr-xr-x 2 root wheel 512 Aug 6 00:58 bsdstats-5.3_4 drwxr-xr-x 2 root wheel 512 Aug 6 00:58 Hermes-1.3.3_2 drwxr-xr-x 2 root wheel 512 Aug 6 00:58 ImageMagick-6.3.3.5_1 drwxr-xr-x 2 root wheel 512 Aug 6 00:58 ORBit-0.5.17_3 drwxr-xr-x 2 root wheel 512 Aug 6 00:58 ORBit2-2.14.8 drwxr-xr-x 2 root wheel 512 Aug 6 00:58 OpenEXR-1.4.0 drwxr-xr-x 2 root wheel 512 Aug 6 00:58 OpenSP-1.5.2 drwxr-xr-x 2 root wheel 512 Aug 6 00:58 Xaw3d-1.5E_2 drwxr-xr-x 2 root wheel 512 Aug 6 00:58 aalib-1.4.r5_3 I thought the timestamp of a directory only changes if a file was added or modified in the directory. If I do the "ls -lt */\+CONTENTS", I see : -rw-r--r-- 1 root wheel 2386 Aug 6 00:59 fetchyahoo-2.10.9/+CONTENTS -rw-r--r-- 1 root wheel 1113 Aug 6 00:59 xset-1.0.2/+CONTENTS -rw-r--r-- 1 root wheel 976 Aug 6 00:59 xsetmode-1.0.0/+CONTENTS -rw-r--r-- 1 root wheel 1003 Aug 6 00:59 xsetpointer-1.0.0/+CONTENTS -rw-r--r-- 1 root wheel 1204 Aug 6 00:59 xsetroot-1.0.1/+CONTENTS -rw-r--r-- 1 root wheel 1597 Aug 6 00:59 xsm-1.0.1/+CONTENTS -rw-r--r-- 1 root wheel 1149 Aug 6 00:59 xstdcmap-1.0.1/+CONTENTS -rw-r--r-- 1 root wheel 5124 Aug 6 00:59 xterm-228/+CONTENTS -rw-r--r-- 1 root wheel 1157 Aug 6 00:59 xtrans-1.0.3/+CONTENTS -rw-r--r-- 1 root wheel 3097 Aug 6 00:59 xtrap-1.0.2/+CONTENTS -rw-r--r-- 1 root wheel 6643 Aug 6 00:59 xv-3.10a_7/+CONTENTS -rw-r--r-- 1 root wheel 4629 Aug 6 00:59 xvattr-1.3_3/+CONTENTS -rw-r--r-- 1 root wheel 414 Aug 6 00:59 xvid-1.1.3,1/+CONTENTS -rw-r--r-- 1 root wheel 1689 Aug 6 00:59 xvidtune-1.0.1/+CONTENTS -rw-r--r-- 1 root wheel 1017 Aug 6 00:59 xvinfo-1.0.1/+CONTENTS -rw-r--r-- 1 root wheel 1104 Aug 6 00:59 xwd-1.0.1/+CONTENTS -rw-r--r-- 1 root wheel 1149 Aug 6 00:59 xwininfo-1.0.2/+CONTENTS -rw-r--r-- 1 root wheel 5062 Aug 6 00:59 xword-0.07_3/+CONTENTS -rw-r--r-- 1 root wheel 777 Aug 6 00:59 xwud-1.0.1/+CONTENTS -rw-r--r-- 1 root wheel 3627 Aug 6 00:59 yasm-0.6.1/+CONTENTS -rw-r--r-- 1 root wheel 349 Aug 6 00:59 zh-chm2html-0.1a/+CONTENTS -rw-r--r-- 1 root wheel 441 Aug 6 00:59 zip-2.32/+CONTENTS -rw-r--r-- 1 root wheel 78239 Aug 6 00:59 zsh-4.3.4_1/+CONTENTS (etc) -rw-r--r-- 1 root wheel 301 Aug 6 00:58 bsdstats-5.3_4/+CONTENTS -rw-r--r-- 1 root wheel 2156 Aug 6 00:58 Hermes-1.3.3_2/+CONTENTS -rw-r--r-- 1 root wheel 64643 Aug 6 00:58 ImageMagick-6.3.3.5_1/+CONTENTS -rw-r--r-- 1 root wheel 8741 Aug 6 00:58 ORBit-0.5.17_3/+CONTENTS -rw-r--r-- 1 root wheel 7005 Aug 6 00:58 ORBit2-2.14.8/+CONTENTS -rw-r--r-- 1 root wheel 10787 Aug 6 00:58 OpenEXR-1.4.0/+CONTENTS -rw-r--r-- 1 root wheel 18170 Aug 6 00:58 OpenSP-1.5.2/+CONTENTS -rw-r--r-- 1 root wheel 10272 Aug 6 00:58 Xaw3d-1.5E_2/+CONTENTS -rw-r--r-- 1 root wheel 20576 Aug 6 00:58 aalib-1.4.r5_3/+CONTENTS So I'm still going with the file being modified. I guess even if its opening the file, reading it, and then writing it back out unmodified, its still disk operations that the CF especially can't handle. (Then again, the laptop isn't doing too well. Aug 6 01:45:53 himinbjorg smartd[727]: Device: /dev/ad0, 2 Currently unreadable (pending) sectors Aug 6 01:45:53 himinbjorg smartd[727]: Device: /dev/ad0, 3 Offline uncorrectable sectors (Thats only started too since it was pounded during Xorg upgrade) I still really would only like it to touch the files it REALLY needs to. Thanks, Tuc