public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [g2boojum@gentoo.org: glep 27 thoughts]
@ 2005-03-08 16:03 Grant Goodyear
  2005-03-08 21:21 ` Martin Schlemmer
  0 siblings, 1 reply; 6+ messages in thread
From: Grant Goodyear @ 2005-03-08 16:03 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1947 bytes --]

I sent the following to SpanKY a while back as my thoughts on how to
move GLEP 27 away from xml (which the portage devs would really rather
avoid).  It has his tentative approval, so now I'd like to get some
general comments.  GLEP 27 is a really good idea, and it would be nice
to have it implemented.

-g2boojum-
----- Forwarded message from Grant Goodyear <g2boojum@gentoo.org> -----

From: Grant Goodyear <g2boojum@gentoo.org>
Date: Fri, 7 Jan 2005 23:37:03 -0600
To: vapier@gentoo.org
User-Agent: Mutt/1.5.6i
Subject: glep 27 thoughts

I've been thinking a bit about how to make uid/gid handling work w/o
needing xml.  It seems like it ought to be simple enough to replace
the xml files with simple plain-text files which look like the
following:

# cat groups/dovecot
gid = 97

# cat users/dovecot
uid = 97
shell = /bin/false
home = /dev/null
groups = dovecot, foo, bar
gecos = Added by portage for dovecot # (normally autogenerated)

Essentially, these files would just contain the same information as what
one would use w/ groupadd and useradd, but w/ more readable syntax.

I'm also thinking that instead of putting these files in
portage/profiles/accounts, perhaps we should permit an "accounts"
directory in each stage of a cascading profile, thus moving the platform
logic (linux vs hurd vs *bsd vs whatever) from the user and group files
(which, in the original glep, would list info for all supported
platforms) to the cascading profiles (default-linux, default-bsd/fbsd,
etcetera).

Any of this make sense?

-g2boojum-
-- 
Grant Goodyear	
Gentoo Developer
g2boojum@gentoo.org
http://www.gentoo.org/~g2boojum
GPG Fingerprint: D706 9802 1663 DEF5 81B0  9573 A6DC 7152 E0F6 5B76



----- End forwarded message -----

-- 
Grant Goodyear	
Gentoo Developer
g2boojum@gentoo.org
http://www.gentoo.org/~g2boojum
GPG Fingerprint: D706 9802 1663 DEF5 81B0  9573 A6DC 7152 E0F6 5B76

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-03-10 12:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-08 16:03 [gentoo-dev] [g2boojum@gentoo.org: glep 27 thoughts] Grant Goodyear
2005-03-08 21:21 ` Martin Schlemmer
2005-03-08 21:57   ` Mike Frysinger
2005-03-09 11:09     ` Martin Schlemmer
2005-03-10  0:52       ` Mike Frysinger
2005-03-10 12:35         ` Martin Schlemmer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox