Bug#344488: Re: [Adduser-devel] Bug#344488: deluser: Strange "Can't opendir(/proc/9908/task): No such file or directory" message

Marc Haber mh+debian-packages at zugschlus.de
Sun Feb 12 12:53:54 UTC 2006


tags #344488 - moreinfo
retitle #344488 --remove-all-files should not descend into procfs, sysfs et al
user adduser at packages.debian.org
usertags #344488 joerg-assigned
thanks

On Mon, Jan 16, 2006 at 09:45:22AM +1100, Kai Hendry wrote:
> On 2006-01-13T08:31+0100 Marc Haber wrote:
> > Maybe deluser should not descend into virtual file systems like sysfs,
> > procfs, devpts and usbfs?
> 
> That's probably just it.

Agreed. We'll have that fixed eventually.

Jörg, imo, we need a config option like "ignore_fstypes" which is
initialized to a regexp like (proc|usbfs|devpts|sysfs). We already
read the output of /sbin/mount to determine a list of the mount
points, so exclusing certain fstypes should be reasonably easy.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835




More information about the Adduser-devel mailing list