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

Re: Starting packaging VistA (Re: LSM in Geneva)



On Mon, Jul 09, 2012 at 05:41:20PM -0400, Luis Ibanez wrote:
> BTW:
> Should we be looking at gnumed as
> an example on how to set up users and groups ?

I previousely used to create a group "gnumed" when the packages were
installed but at some point in time we considered this to be overkill
somehow and this was dropped.  If you would like to see some example
code you could have a look into arb packaging

    svn://svn.debian.org/svn/debian-med/trunk/packages/arb/trunk/debian

It is using the very same mechanism as it was used in GNUmed (and is
probably overkill also here - but anyway ... its there).  You find the
relevant pieces of code in the following files:

   arb-common.config
   arb-common.postinst
   arb-common.templates

It is using debconf and could be considered as "advanced packaging
technique" (which at some point in time of VistA packaging will be
inevitable most probably).  Please note: The way I used to add users to
the group is based on local passwd file which is most probably
insufficient for the purpose because in a hospital you will probably
have LDAP or something like this.  So just creating a group in postinst
might come cheap (even without debconf) but if you attempt to do some
more configuration enhancements for your users it will become more
complex.

Kind regards

        Andreas.

-- 
http://fam-tille.de


Reply to: