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

Re: per user config in debian-jr packages



On Thu, 22 Feb 2007 21:26:04 +0100 (CET)
Andreas Tille <tillea@rki.de> wrote:

> On Thu, 22 Feb 2007, Hans-Georg Bork wrote:
> 
> > I just do not know (and I didn't find that info) is, if metapackages can
> > have such "own" configs and install scripts.
> 
> I think it's rather easy if you would start using cdd-dev
> 
>    http://svn.debian.org/wsvn/cdd/projects/junior/?rev=0&sc=0
> 
> for the meta packages.  For the moment cdd-dev knows only one
> user per CDD but it wouln't be much work to enable more users.
> Cdd-dev contains the ability of user menus quite easily.  It
> generates the menu entries automatically if the dependant
> package has its own menu but you are also able to override
> this or add new menu items for those where the package is
> lacking a menu entry.

This isn't quite what I had in mind.  Currently, Debian
knows about a single set of site-wide configs in /etc but doesn't have
any concept of "user profile".  I cited menu as an example of
policy-backed Debian infrastructure and did not mean to say that what
I'm after is strictly per-user menus.  What I'd like is for roles to be
definable by packages or administrators and then recognized by packages
that are "profile aware" to provide alternative configurations per
profile.  Thus, a single user could pass from profile A to B to C and
in each profile see a different default desktop layout, different
menus, etc., all without making customizations to the user's
environment in their home dir.

What I'm missing for this concept is a mechanism.  I know that to
facilitate multiple packages enhancing a package, monolithic config
files are often split in Debian (e.g. /etc/logrotate.d).  I'm not sure
how profiles would be supported at the desktop layer.  I guess this is
a problem debian-desktop might have some interest in since it enters
onto their turf.

Ben
--
 ,-.  nSLUG    http://www.nslug.ns.ca   synrg@sanctuary.nslug.ns.ca
 \`'  Debian   http://www.debian.org    synrg@debian.org
  `          [ gpg 395C F3A4 35D3 D247 1387 2D9E 5A94 F3CA 0B27 13C8 ]
             [ pgp 7F DA 09 4B BA 2C 0D E0 1B B1 31 ED C6 A9 39 4F ]



Reply to: