[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Policy on Account creation and deletion?



On Wed, Mar 17, 2004 at 04:47:46PM +0100, Florent Rougon wrote:
> Marc Haber <mh+debian-devel@zugschlus.de> wrote:
> 
> > I'd consider it a feature to see .bak files from ages ago vanish when
> > the package they have been created for is purged.
> 
> Yeah, I think the argument here was, tu put it bluntly, that every shit
> touched by the admin is sacred. Where "shit" means in this context admin
> stuff placed in the packaging system's realm, as opposed to stuff under
> /{var,usr}/local, /home, etc.
> 
> Anyway, I don't think there's a clearcut right or wrong way here, since
> the base assumption was that the admin didn't follow good, established
> practice for managing his filesystem.

The point here is that it is his (or her) filesystem.  They have the
right to place files anywhere they want.  While there are guidelines,
they may have good reason (not that it's required) to place files inside
the "packaging system's realm" as you put it.  

> Also, I'm not sure now that Andreas was thinking about the same thing as
> I (the wording of my question was a bit ambiguous). I was talking about
> the general case of an "rm -rf /path" where /path is absolute and does
> not contain any variable expansion;

Using "rm -rf" to remove a path during a package purge is normally a bad
practice (I might even hazard to say always).  It has the potential for
blindly removing files that do not belong to the package in question.

-- 
Jamin W. Collins

This is the typical unix way of doing things: you string together lots
of very specific tools to accomplish larger tasks. -- Vineet Kumar



Reply to: