Debian bug report logs - #1239, boring messages


Message sent to debian-devel@pixar.com:


Subject: Bug#1239: /etc/cron.daily/find: updatedb doesn't exclude cdrom and others
Reply-To: Lars Wirzenius <wirzeniu@cc.helsinki.fi>, debian-bugs@pixar.com
Resent-From: Lars Wirzenius <wirzeniu@cc.helsinki.fi>
Resent-To: debian-devel@pixar.com
Resent-Date: Sat, 12 Aug 1995 14:33:01 GMT
Resent-Message-ID: <debian-bugs-handler.1239.08121426340@pixar.com>
Resent-Sender: iwj10@cus.cam.ac.uk
X-Debian-PR-Package: findutils
X-Debian-PR-Keywords: 
Received: via spool for debian-bugs; Sat, 12 Aug 1995 14:33:01 GMT
Received: with rfc822 via encapsulated-mail; Sat, 12 Aug 1995 14:26:32 GMT
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0shHVC-0003azC; Sat, 12 Aug 95 07:25 PDT
Received: from myntti.Helsinki.FI by pixar.com with SMTP id AA02385
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Sat, 12 Aug 1995 07:25:07 -0700
Received: (wirzeniu@localhost) by myntti.helsinki.fi (8.6.12+Emil1.1/8.6.5) id RAA20280; Sat, 12 Aug 1995 17:25:09 +0300
Date: Sat, 12 Aug 1995 17:25:09 +0300 (EET DST)
From: Lars Wirzenius <wirzeniu@cc.helsinki.fi>
X-Sender: wirzeniu@myntti
To: debian-bugs@pixar.com
Message-Id: <Pine.SOL.3.91.950812171400.19388A-100000@myntti>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Package: findutils
Version: 4.1-2

/etc/cron.daily/find in findutils-4.1-2.deb doesn't exclude the /cdrom
directory.  I think it should, since the CD-ROM that is mounted the next
day probably isn't the one that was mounted during the night.

I assume it also doesn't exclude the /floppy, /proc, and /mnt directories,
but I haven't checked.  (What's /disk?)

Fix: use a command similar to the following instead:

	updatedb --prunepaths="/cdrom /tmp /var/tmp /proc" 2>/dev/null

(I choose to run this as root, instead of nobody, but that isn't a good
idea for most others.)



Message sent:


From: iwj10@thor.cam.ac.uk (Ian Jackson)
To: Lars Wirzenius <wirzeniu@cc.helsinki.fi>
Subject: Bug#1239: Acknowledgement (was: /etc/cron.daily/find: updatedb doesn't exclude cdrom and others)
In-Reply-To: <Pine.SOL.3.91.950812171400.19388A-100000@myntti>
References: <Pine.SOL.3.91.950812171400.19388A-100000@myntti>

Thank you for the problem report you have sent regarding Debian GNU/Linux.
This is an automatically generated reply, to let you know your message has
been received.  It is being forwarded to the developers' mailing list for
their attention; they will reply in due course.

If you wish to submit further information on your problem, please send
it to debian-bugs@pixar.com, but please ensure that the Subject
line of your message starts with "Bug#1239" or "Re: Bug#1239" so that
we can identify it as relating to the same problem.

Please do not reply to the address at the top of this message,
unless you wish to report a problem with the bug-tracking system.

Ian Jackson
(maintainer, debian-bugs)


Message sent to debian-devel@pixar.com:


Subject: Bug#1239: etc/cron.daily/find: updatedb doesn't exclude cdrom and others
Reply-To: Ian Jackson <iwj10@cus.cam.ac.uk>, debian-bugs@pixar.com
Resent-From: Ian Jackson <iwj10@cus.cam.ac.uk>
Resent-To: debian-devel@pixar.com
Resent-Date: Mon, 14 Aug 1995 00:33:01 GMT
Resent-Message-ID: <debian-bugs-handler.1239.08140014070@pixar.com>
Resent-Sender: iwj10@cus.cam.ac.uk
X-Debian-PR-Package: findutils
X-Debian-PR-Keywords: 
Received: via spool for debian-bugs; Mon, 14 Aug 1995 00:33:01 GMT
Received: with rfc822 via encapsulated-mail; Mon, 14 Aug 1995 00:14:05 GMT
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0shn8L-0002GcC; Sun, 13 Aug 95 17:12 PDT
Received: from bootes.cus.cam.ac.uk by pixar.com with SMTP id AA10962
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Sun, 13 Aug 1995 17:11:55 -0700
Received: by bootes.cus.cam.ac.uk
	(Smail-3.1.29.0 #36) id m0shn8I-000BzmC; Mon, 14 Aug 95 01:11 BST
Received: by chiark
	id <m0shc5r-0002YPZ@chiark.al.cl.cam.ac.uk>
	(Debian /\oo/\ Smail3.1.29.1 #29.33); Sun, 13 Aug 95 13:24 BST
Message-Id: <m0shc5r-0002YPZ@chiark.al.cl.cam.ac.uk>
Date: Sun, 13 Aug 95 13:24 BST
From: Ian Jackson <iwj10@cus.cam.ac.uk>
To: debian-bugs@pixar.com

Lars Wirzenius writes:
> /etc/cron.daily/find in findutils-4.1-2.deb doesn't exclude the /cdrom
> directory.  I think it should, since the CD-ROM that is mounted the next
> day probably isn't the one that was mounted during the night.
>
> I assume it also doesn't exclude the /floppy, /proc, and /mnt directories,
> but I haven't checked.  (What's /disk?)

/disk is going away, I think - it was part of a scheme involving
symlinks for an experimental 2-partition setup.

> Fix: use a command similar to the following instead:
> 	updatedb --prunepaths="/cdrom /tmp /var/tmp /proc" 2>/dev/null

Can updatedb not be made to be more controllable ?

The `checksecurity' script in the latest cron package uses (to find
all devices and setuid files):

find `mount | grep -vE ' type (proc|iso9660) |^/dev/fd| on /mnt' | cut -d ' ' -f 3` \
     -xdev \( -type f -perm +06000 -o -type b -o -type c \) -ls \
  | sort >$TMP

This avoids problems where people mount things in unexpected places.

Ian.


Message sent:


From: iwj10@thor.cam.ac.uk (Ian Jackson)
To: Ian Jackson <iwj10@cus.cam.ac.uk>
Subject: Bug#1239: Info received (was Bug#1239: /etc/cron.daily/find: updatedb doesn't exclude cdrom and others)
In-Reply-To: <m0shc5r-0002YPZ@chiark.al.cl.cam.ac.uk>
References: <m0shc5r-0002YPZ@chiark.al.cl.cam.ac.uk>

Thank you for the additional information you have supplied regarding
this problem report.  It has been forwarded to the developers to
accompany the original report.

If you wish to continue to submit further information on your problem,
please do the same thing again: send it to debian-bugs@pixar.com, ensuring
that the Subject line starts with "Bug#1239" or "Re: Bug#1239" so that
we can identify it as relating to the same problem.

Please do not reply to the address at the top of this message,
unless you wish to report a problem with the bug-tracking system.

Ian Jackson
(maintainer, debian-bugs)


Ian Jackson / iwj10@thor.cam.ac.uk, with the debian-bugs tracking mechanism
This page last modified 07:43:01 GMT Wed 01 Nov