Debian Developers - Request for Discussion about Account Handling in Maintainer Scripts Wiki Page

This is Interesting: Free IT Magazines  
Home > Archive > Debian Developers > September 2006 > Request for Discussion about Account Handling in Maintainer Scripts Wiki Page





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Request for Discussion about Account Handling in Maintainer Scripts Wiki Page
Marc Haber

2006-09-29, 1:53 pm

Hi,

Whether an account created by a package should be deleted or not has
been discussed a million times. But it looks like the results of these
discussions were never written down.

I have created a wiki page,

http://wiki.debian.org/AccountHandl...intainerScripts

which tries to neutrally summarize my knowledge about what to do with
system accounts needed by packages.

Of course, a big part of the debate is whether to remove accounts in
postinst or not, and whether to do it during removal or during purge.
This is the actually most important part of discussion IMO since I
think it should be avoided to add complexity to maintainer scripts.

I'd like to solicit your opinions to this wiki page and would
appreciate if we could have the discussion here and have me
incorporate the changes into the wiki page. That way, rationales can
be put into the wiki text as well.

Greetings
Marc

--=20
-------------------------------------- !! No courtesy copies, please !! =
-----
Marc Haber | " Questions are the | Mailadresse im =
Header
Mannheim, Germany | Beginning of Wisdom " | =
http://www.zugschlus.de/
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 =
72739834
Loïc Minier

2006-09-29, 1:53 pm

On Fri, Sep 29, 2006, Marc Haber wrote:
> Whether an account created by a package should be deleted or not has
> been discussed a million times. But it looks like the results of these
> discussions were never written down.


The removal of users / groups is not the only thing often debated for
purges. I propose to enlarge the debate on purging to:
- log files
- databases
- caches
- other perhaps valuable data

Perhaps thoughts on these subjects are connected (I for example think
that we should let the admin decide, perhaps in /etc/dpkg/purges.conf,
what he wants to delete on purges) and should be grouped in
implementation and/or policy updates?


.. o O ( It's funny, I discussed this no later than yesterday on a Debianish
channel again. )
--
Loïc Minier <lool@dooz.org>


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Steve Langasek

2006-09-30, 1:49 am

On Fri, Sep 29, 2006 at 02:42:33PM +0200, Marc Haber wrote:

> Whether an account created by a package should be deleted or not has
> been discussed a million times. But it looks like the results of these
> discussions were never written down.


> I have created a wiki page,


> http://wiki.debian.org/AccountHandl...intainerScripts


> which tries to neutrally summarize my knowledge about what to do with
> system accounts needed by packages.


It looks like a pretty good summary to me, I don't think I have anything to
add.

Cheers,
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
vorlon@debian.org http://www.debian.org/


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Jonas Meurer

2006-09-30, 1:19 pm

On 29/09/2006 Loïc Minier wrote:
> The removal of users / groups is not the only thing often debated for
> purges. I propose to enlarge the debate on purging to:
> - log files
> - databases
> - caches
> - other perhaps valuable data
>
> Perhaps thoughts on these subjects are connected (I for example think
> that we should let the admin decide, perhaps in /etc/dpkg/purges.conf,
> what he wants to delete on purges) and should be grouped in
> implementation and/or policy updates?


I fully agree here. Best would be a central package (dpkg-custom for
example) to configure purge behaviour for accounts, log files, DBs etc.

One way would be a shell sourcefile providing functions like del_user(),
purge_logs(), purge_cache() etc.

The biggest problem still would be, that one cannot rely on it still being
available at purge time. So the only clean way to implement this, is to
implement it directly in dpkg.

....
jonas


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com