From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1DsNok-0000kG-Au for garchives@archives.gentoo.org; Tue, 12 Jul 2005 16:41:10 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6CGdQ0b024650; Tue, 12 Jul 2005 16:39:26 GMT Received: from vms048pub.verizon.net (vms048pub.verizon.net [206.46.252.48]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j6CGZQgK009572 for ; Tue, 12 Jul 2005 16:35:26 GMT Received: from mail.joat.com ([71.114.133.177]) by vms048.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0IJI00IUZWSI33HM@vms048.mailsrvcs.net> for gentoo-user@lists.gentoo.org; Tue, 12 Jul 2005 11:36:19 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by mail.joat.com (Postfix) with ESMTP id 0EF645116 for ; Tue, 12 Jul 2005 12:37:10 -0400 (EDT) Received: from mail.joat.com ([127.0.0.1]) by localhost (cornholio [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31352-01 for ; Tue, 12 Jul 2005 12:37:05 -0400 (EDT) Received: from cdnebinge (jnet.state.pa.us [206.224.31.162]) by mail.joat.com (Postfix) with ESMTP for ; Tue, 12 Jul 2005 12:37:05 -0400 (EDT) Date: Tue, 12 Jul 2005 12:36:59 -0400 From: "Dave Nebinger" Subject: RE: [gentoo-user] Re: rsync internal mirror configuration In-reply-to: To: Message-id: <006201c586ff$ed563700$5f01010a@jnetlab.lcl> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-Mailer: Microsoft Outlook, Build 10.0.6626 Content-type: text/plain; charset=us-ascii Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal DomainKey-Signature: a=rsa-sha1; h=Received:Received:From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:X-MSMail-Priority:X-Mailer:In-Reply-To:X-MimeOLE:Importance:X-Virus-Scanned; b=hYR3U2sJs0jOZLR6U2ICQc3QI6LBeVxbWb0AWD98+flggdQNjuO1at/SWT2sfmIY1rZoP9EasgFWsRQkCTtIM2WU8u/AtdW+4nDP09rVrmK63qkSegSA30sKPjAkrLEMxATiJEMbxos4nhrDSYrw3lLTgNOmED8JIBIjqeBEIqk=; c=nofws; d=joat.com; q=dns; s=selector1 X-Virus-Scanned: amavisd-new 2.3.1 (20050509) at joat.com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id j6CGZQgK009572 X-Archives-Salt: addffba0-75ad-4fe3-8730-2bc7b8a90407 X-Archives-Hash: 2b06d3cfe0e27ba27bc9792434fc7b91 > > I've been considering adding an "emerge --fetchonly" line to the script > but > > don't yet have the warm and fuzzies about the http-replicator script. > > Yes, well I'm going to go slowly with this > until I have the warm feeling and some > happy experience over time. > I'd be interested in keeping up with your scipt enhancements. > If it's not too much trouble, when you are happy with > some enhancements, send them to me for testing.... Sure, but I don't have any plans for updates in the near future. They all seem to be functioning well enough for my intents and purposes. > > They've been working out great for me. I've recently added a > > 'revdep-rebuild' script so I can be reported of packages in need of > fixing > > (in case I miss the step manually). > > Can you send me a copy of that script or post it to this thread? Sure. It's nothing fancy, but does the job. The biggest headache is the gentoo script developers expectation that the only time you're going to call their script is when you're sitting at a color-supporting terminal. When trying to build an email message all of the color-coding crap still seeps through. If I could get them to do anything it would be to add a common "--nocolor" command line argument to disable that stuff. cornholio ~ # cat bin/revdep.sh #!/bin/sh # # revdep.sh Script to report on revdep/rebuild tasks. # # Remove existing files. /bin/rm -f /root/.revdep* >> /var/log/revdep.log 2>&1 # Now do the revdep stuff revdep-rebuild -p > /var/log/revdep.rpt 2>>/var/log/revdep.log # now mail the report to root strings /var/log/revdep.rpt > /var/log/revdep.txt mail -s "Cornholio revdep report" root < /var/log/revdep.txt 2>>/var/log/revdep.log cornholio ~ # > > In your case I'd probably ensure the kids logins are typical user logins > (no > > update capability). Run the scripts (or similar scripts) to automate > the > > syncing and reporting. Keep ssh running on their systems. Hold off on > > updates until they run into something that breaks or until a critical > > package update is released. Then you can ssh in and emerge stuff until > it > > works. > > I'll take this under consideration. My purpose in extending automated > updates, is to be able to manage a large number of embedded gentoo > devices in the future. Roll-back and Recovery mechanism will be > added later. Besides Gentoo needs to leave the laboratory > (purvey of experts) and enter the world of normal humanoids. That will > force the Gentoo community to make Gentoo a commodity technology for > the world's normal folks.....gentoo's destiny in my opinion. Oh, I'd tend to disagree. Source-based distributions IMHO would be a huge pain in the neck for those responsible for a large number of systems. Twer it up to me I'd be using a binary-based distro such as suse or redhat; let them work out the kinks so I wouldn't have to. I prefer running gentoo because I have total control over the box. Downtime at home simply means I can't surf or receive email; it also means that I have some good old down and dirty work ahead to get the box back up, which I enjoy. It's also a hassle that only I have to deal with, not a whole floor of workers sitting idle waiting for the problem to be resolved. But to be an admin over an office full of gentoo systems? Not sure I'd like that or that they would pay me what it would take to keep it functional. Unless, of course, all systems were exactly the same (hardware and software installations) and the users had minimal permissions to the systems (i.e. they could only write files to their home directories and nowhere else on the system, including /tmp & /var/tmp). -- gentoo-user@gentoo.org mailing list