From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GUaXc-0005pt-9X for garchives@archives.gentoo.org; Tue, 03 Oct 2006 03:01:57 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k93311DS019792; Tue, 3 Oct 2006 03:01:01 GMT Received: from mail.pioto.org (openhosting.pioto.org [209.249.12.181]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k932x4Td013825 for ; Tue, 3 Oct 2006 02:59:05 GMT Received: (qmail 2904 invoked by uid 508); 2 Oct 2006 22:59:02 -0400 Received: from host-24-225-168-87.patmedia.net (HELO mk65-desktop.pioto.org) (pioto@pioto.org@24.225.168.87) by mail.pioto.org with AES256-SHA encrypted SMTP; 2 Oct 2006 22:59:02 -0400 Date: Mon, 2 Oct 2006 22:58:54 -0400 From: Mike Kelly To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] GLEP 27: Revisited (aka dynusers/creandus) Message-ID: <20061002225854.05ad0eb1@mk65-desktop.pioto.org> Organization: Gentoo X-Mailer: Sylpheed-Claws 2.4.0 (GTK+ 2.8.20; i686-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by robin.gentoo.org id k932x4Td013825 X-Archives-Salt: e55781d4-c5a3-45ed-91ef-393d8fbf48c5 X-Archives-Hash: 31f5d64a3212ea83a5573d3748024ab3 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello all, As some of you may know, I spent this past summer working on an implementation of GLEP 27[1]. While my scripts aren't quite ready for production use yet, I wanna get the ball rolling by asking devs who maintain packages that use the current enewuser() and enewgroup() functions from eutils.eclass to document their desired account settings in one central location. I have a list of all packages in the tree that currently use either of those functions[2]. If you maintain one of these packages, I'd especially appreciate your feedback. The proposed storage format[3] is what my scripts (creandus, formerly known as dynusers) currently use. To me, the format seems simple and sane enough, but I would definitely appreciate any and all feedback on it, since it's much easier for me to change it now than to change it later. Summarized, the format is: For each profile dir (e.g. profiles/base, profiles/default-linux, etc), a new subdirectory, called accounts is created as necessary. Inside that is a file called defaults, containing default uid/gid ranges, shells, etc for the given profile. Also, there are two directories, user/ and group/, which contain files named after the users and groups to be added. Those files contain more specific uid/gid info, etc. All the files are handled like other files in cascading profiles. Each line in the file is either a shell-style comment, or of the form: "key: value". The keys are: uid, shell, home, groups, comment, and gid. The main point of this thread is to get lots of feedback and, hopefully, acceptance of this proposed format. As this is basically what is already outlined in GLEP 27, I don't think a new GLEP is in order, but if others do, I'll draft one. The main webpage for my Summer of Code project[4] has links to more information about the project in general, and there are some posts on my blog[5] regarding it. [1] http://www.gentoo.org/proj/en/glep/glep-0027.html [2] http://dev.gentoo.org/~pioto/creandus/enewusergroup-pkgnames.txt [3] http://dev.gentoo.org/~pioto/creandus/doc/datafiles.html [4] http://soc.pioto.org/ [5] http://blog.pioto.org/category/dynusers/ - -- Mike Kelly -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFIdHzokMzJ47YCzoRAoBYAJ0drAJrxAMx3p9g5jrnTwQu9mePaQCggV6Y SpIBoDGFUJ6J0xBNdWANqtc= =2P1l -----END PGP SIGNATURE----- -- gentoo-dev@gentoo.org mailing list