Subject: Re: using PKG_GROUPS for multiple packages and the deinstall message
To: Jeremy C. Reed <email@example.com>
From: Johnny C. Lam <firstname.lastname@example.org>
Date: 12/26/2002 07:37:02
On Thu, Dec 26, 2002 at 05:16:39AM -0800, Jeremy C. Reed wrote:
> I implemented PKG_GROUPS for comms/xisp (just PR'd).
> I think that a DIALER_GROUP could be used for hylafax, minicom, and ppp
> (net/ppp package I need to submit).
> Anyways, when deinstalling xisp, I receive the following message:
> If you won't be using xisp-2.6p1nb1 any longer, you may want to
> * the following groups: dialer
> Is it smart enough to know if the group is in use by other installed
> packages like minicom, hylafax, etc and don't give this message?
Unfortunately, no. I left it to the admin to remember which packages used
which users/groups (hence the usage of the word "may" instead of "should").
It would be good if we could think of a way to reference-count the
users/groups added by pkgsrc.
-- Johnny Lam <email@example.com>