1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Hello all, |
5 |
|
6 |
As some of you may know, I spent this past summer working on an |
7 |
implementation of GLEP 27[1]. While my scripts aren't quite ready for |
8 |
production use yet, I wanna get the ball rolling by asking devs who |
9 |
maintain packages that use the current enewuser() and enewgroup() |
10 |
functions from eutils.eclass to document their desired account settings |
11 |
in one central location. |
12 |
|
13 |
I have a list of all packages in the tree that currently use either of |
14 |
those functions[2]. If you maintain one of these packages, I'd |
15 |
especially appreciate your feedback. |
16 |
|
17 |
The proposed storage format[3] is what my scripts (creandus, formerly |
18 |
known as dynusers) currently use. To me, the format seems simple and |
19 |
sane enough, but I would definitely appreciate any and all feedback on |
20 |
it, since it's much easier for me to change it now than to change it |
21 |
later. |
22 |
|
23 |
Summarized, the format is: |
24 |
|
25 |
For each profile dir (e.g. profiles/base, profiles/default-linux, etc), |
26 |
a new subdirectory, called accounts is created as necessary. Inside |
27 |
that is a file called defaults, containing default uid/gid ranges, |
28 |
shells, etc for the given profile. Also, there are two directories, |
29 |
user/ and group/, which contain files named after the users and groups |
30 |
to be added. Those files contain more specific uid/gid info, etc. |
31 |
|
32 |
All the files are handled like other files in cascading profiles. Each |
33 |
line in the file is either a shell-style comment, or of the form: |
34 |
"key: value". The keys are: uid, shell, home, groups, comment, and gid. |
35 |
|
36 |
The main point of this thread is to get lots of feedback and, hopefully, |
37 |
acceptance of this proposed format. As this is basically what is already |
38 |
outlined in GLEP 27, I don't think a new GLEP is in order, but if others |
39 |
do, I'll draft one. |
40 |
|
41 |
The main webpage for my Summer of Code project[4] has links to more |
42 |
information about the project in general, and there are some posts on my |
43 |
blog[5] regarding it. |
44 |
|
45 |
[1] http://www.gentoo.org/proj/en/glep/glep-0027.html |
46 |
[2] http://dev.gentoo.org/~pioto/creandus/enewusergroup-pkgnames.txt |
47 |
[3] http://dev.gentoo.org/~pioto/creandus/doc/datafiles.html |
48 |
[4] http://soc.pioto.org/ |
49 |
[5] http://blog.pioto.org/category/dynusers/ |
50 |
|
51 |
- -- |
52 |
Mike Kelly |
53 |
-----BEGIN PGP SIGNATURE----- |
54 |
Version: GnuPG v1.4.5 (GNU/Linux) |
55 |
|
56 |
iD8DBQFFIdHzokMzJ47YCzoRAoBYAJ0drAJrxAMx3p9g5jrnTwQu9mePaQCggV6Y |
57 |
SpIBoDGFUJ6J0xBNdWANqtc= |
58 |
=2P1l |
59 |
-----END PGP SIGNATURE----- |
60 |
|
61 |
-- |
62 |
gentoo-dev@g.o mailing list |