From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: tackenhu@fnal.gov Newsgroups: gmane.os.tru64.managers Subject: dirclean cron job encountering errors with quota.group and quote.user after 5.1A upgrade Date: Wed, 20 Nov 2002 13:23:49 -0600 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1037820136 28127 80.91.224.249 (20 Nov 2002 19:22:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 20 Nov 2002 19:22:16 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18EaQR-0007JM-00 for ; Wed, 20 Nov 2002 20:22:15 +0100 Original-Received: (qmail 26417 invoked by uid 5); 20 Nov 2002 19:23:57 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 26408 invoked by uid 49493); 20 Nov 2002 19:23:57 -0000 Original-Received: from tackenhu@fnal.gov by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.51. spamassassin: 2.50-cvs. Clear:SA:0(0.3/5.0):. Processed in 0.408359 secs); 20 Nov 2002 19:23:57 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 20 Nov 2002 19:23:57 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H5W009SF37T7F@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 20 Nov 2002 14:23:56 -0500 (EST) Original-Received: from bssmail1.fnal.gov (bssmail1.fnal.gov [131.225.26.226]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H5W003NY37QJR@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 20 Nov 2002 14:23:50 -0500 (EST) Original-To: tru64-unix-managers@ornl.gov X-Mailer: Lotus Notes Release 5.0.8 June 18, 2001 X-MIMETrack: Serialize by Router on BSSMAIL1/Fermilab/US(Release 5.0.9 |November 16, 2001) at 11/20/2002 01:23:50 PM, Serialize complete at 11/20/2002 01:23:50 PM Xref: main.gmane.org gmane.os.tru64.managers:2514 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:2514 We just upgraded one of our AlphaServers from 4.0F to 5.1A. Since the upgrade, we receive nightly messages from a root cron job stating: dirclean: Cannot unlink /tmp/quota.user: Permission denied dirclean: Cannot unlink /tmp/quota.group: Permission denied ************************************************* Cron: The previous message is the standard output and standard error of the following crontab command: /usr/sbin/dirclean -t +2 -o -k s /tmp/ This problem was introduced by the fact the 5.1A adds a new crontab entry for root (actually, 4 entries using dirclean, but only one is causing this problem) of the form: 20 4 * * * /usr/sbin/dirclean -t +2 -o -k s /tmp/ I believe a contributing factor to this problem is the fact we use a dedicated filesystem for /tmp - so /tmp is the root of the filesystem and therefore contains quota.user and quota.group files. Short of either not having /tmp be the root of the filesystem, disabling this cleanup cron job, or rewriting this cron entry to use find and rm or some such, is there any way of getting "dirclean" to not mess with these quota files? Would just touching the files (updating the timestamps and thereby making them no longer meet the trimming criteria) work - I realize this would have to be done a periodic basis. Thanks, Tom ================================================================= Tom Ackenhusen tackenhu@fnal.gov Business Systems Technical Services Fermi National Accelerator Laboratory Batavia, IL, USA