* [gentoo-dev] Gentoo observations
@ 2002-03-10 3:11 mrfab
2002-03-10 3:29 ` Matthew Kennedy
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: mrfab @ 2002-03-10 3:11 UTC (permalink / raw
To: gentoo-dev
Ok, I've been using gentoo for a few weeks now and
am for the most part blown away. I had given up
on ever finding a distro that I felt would give me
the control and flexiblity I wanted (been using
lfs for about two years) but finally found what I
was looking for. That said, there are a couple of
instances in which the current release falls a
little short. These aren't flames or complaints,
just observations that are VERY much my personal
opinion--I just thought I'd point these things out
to anyone that was interested.
First, where the hell is vi? It is missing from
both the boot image and the base install. I
realize that I can emerge it, but having to use
an editor as horrible as nano, even just for the
initial config, was a bit obnoxious.
Something else I noticed that the initial install
is lacking is some sort of firewall script. It
would seem to me that even something as simple as
the examples used in the drobbin's stateful
firewall design article would be better than
nothing.
I may be just missing something, but it seemed odd
to me that there wasn't someplace I could look to
get a full index of ebuilds and descriptions. As a
quick hack I used the command below--but it
certainly isn't very elegant at all.
for x in `find /usr/portage/ -name '*.ebuild'` ; do ; echo `basename $x .ebuild` `grep DESCRIPTION $x` ; done > packages
For the most part the file system layout of the
installed packages is very well done, but a couple
of things didn't seem to fit right to me. First,
I understand the reasoning for having both gnome
and kde in /usr...but it would be nice if
it happend in a consistant manner so that gnome
lived in /usr/gnome just as kde lives in
/usr/kde. Another file system decision that seems
off to me is the choice of /uar/local/httpd for the
default documentroot instead of /var/www or
something like /home/http.
Speaking of apache, it would be better to use
something other than nobody:nobody by default. My
suggestion would be web:web and then having the
default htdocs living in /home/web. You get *so*
much more flexibilty over the execution of apache
that way--for example, users with public html
directories (as in server/~username) simply have to
be added to the web group and chown the files
in that directory to user:web instead of having to
them be world readable. You also have the ability
to enable write access in certain directories for
that user/group if dynamic scripts require you to
do so.
I've noticed that a few distros (Redhat in
particlular comes to mind) have modified useradd
to create a personal group for a given user. At
first glance it may seem odd, but if you give it
some thought there really are some instances where
it could be a good idea. For one thing, it would
allow you to use a umask with +a for groups and
then just chown to allow another group to read them
instead of having to chown and chmod.
That's about it--just a few notes I've made during
usage. However, in comparison to all of the
things that gentoo does right they are pretty
insignificant. Just food for thougt.
As a final note, the person that takes the time to
create zsh completion scripts for the varioius
gentoo scripts (from emerge to rc-update) deserves
a special place in heaven.
--
- Scott J Garner -
- Austin, TX - USA -
- ICQ: 17348307 AIM: Jungalero -
- OPN: MrFab -
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] Gentoo observations
2002-03-10 3:11 [gentoo-dev] Gentoo observations mrfab
@ 2002-03-10 3:29 ` Matthew Kennedy
2002-03-10 9:39 ` Gert Menke
2002-03-11 16:27 ` [gentoo-dev] Gentoo observations Karl Trygve Kalleberg
2 siblings, 0 replies; 9+ messages in thread
From: Matthew Kennedy @ 2002-03-10 3:29 UTC (permalink / raw
To: gentoo-dev; +Cc: mrfab
Howdy,
> I may be just missing something, but it seemed odd
> to me that there wasn't someplace I could look to
> get a full index of ebuilds and descriptions. As a
> quick hack I used the command below--but it
> certainly isn't very elegant at all.
>
> for x in `find /usr/portage/ -name '*.ebuild'` ; do ; echo `basename $x .ebuild` `grep DESCRIPTION $x` ; done > packages
Try
emerge --search ".*"
--search takes a regex (it's all in man emerge)
Matt
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] Gentoo observations
2002-03-10 3:11 [gentoo-dev] Gentoo observations mrfab
2002-03-10 3:29 ` Matthew Kennedy
@ 2002-03-10 9:39 ` Gert Menke
2002-03-10 13:43 ` mrfab
2002-03-11 16:27 ` [gentoo-dev] Gentoo observations Karl Trygve Kalleberg
2 siblings, 1 reply; 9+ messages in thread
From: Gert Menke @ 2002-03-10 9:39 UTC (permalink / raw
To: gentoo-dev
Hi,
On Sat, Mar 09, 2002 at 09:11:35PM -0600, mrfab@arn.net wrote:
> First, where the hell is vi? It is missing from
> both the boot image and the base install. I
> realize that I can emerge it, but having to use
> an editor as horrible as nano, even just for the
> initial config, was a bit obnoxious.
I could not agree more.
> Another file system decision that seems
> off to me is the choice of /uar/local/httpd for the
> default documentroot instead of /var/www or
> something like /home/http.
I'd prefer /var/www or /var/apache.
/usr and /usr/local should at least be possible to mount read-only.
Usually you don't want your apache stuff on a ro partition.
/home/httpd just seems wrong to me, but I cannot excactly say why. Somehow
I feel that everyone that owns files on my /home partition should be a
"real" user (i.e. Humanoid)... ;-)
> Speaking of apache, it would be better to use
> something other than nobody:nobody by default.
Yes; I got used to root:www.
> I've noticed that a few distros (Redhat in
> particlular comes to mind) have modified useradd
> to create a personal group for a given user.
I don't like modified versions of standard tools. I'd rather have a script
that does the job for me, and has a different name (i.e. addusrgrp).
Just my 0.02€.
Greetings
Gert
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] Gentoo observations
2002-03-10 9:39 ` Gert Menke
@ 2002-03-10 13:43 ` mrfab
2002-03-10 14:22 ` Gert Menke
0 siblings, 1 reply; 9+ messages in thread
From: mrfab @ 2002-03-10 13:43 UTC (permalink / raw
To: gentoo-dev
I'd hesitate to go for root:www because there is
always that possibility that php or mod_perl
or just developer error in a script could allow
a web user to overwrite a file--and with root
permissions that could be a disaster.
That user script sounds like a good idea. Any
takers? :-)
On Sun 10 Mar 2002 at 03:39 -0600,
Gert Menke wrote:
> Hi,
>
> On Sat, Mar 09, 2002 at 09:11:35PM -0600, mrfab@arn.net wrote:
> > First, where the hell is vi? It is missing from
> > both the boot image and the base install. I
> > realize that I can emerge it, but having to use
> > an editor as horrible as nano, even just for the
> > initial config, was a bit obnoxious.
> I could not agree more.
>
> > Another file system decision that seems
> > off to me is the choice of /uar/local/httpd for the
> > default documentroot instead of /var/www or
> > something like /home/http.
> I'd prefer /var/www or /var/apache.
> /usr and /usr/local should at least be possible to mount read-only.
> Usually you don't want your apache stuff on a ro partition.
> /home/httpd just seems wrong to me, but I cannot excactly say why. Somehow
> I feel that everyone that owns files on my /home partition should be a
> "real" user (i.e. Humanoid)... ;-)
>
> > Speaking of apache, it would be better to use
> > something other than nobody:nobody by default.
> Yes; I got used to root:www.
>
> > I've noticed that a few distros (Redhat in
> > particlular comes to mind) have modified useradd
> > to create a personal group for a given user.
> I don't like modified versions of standard tools. I'd rather have a script
> that does the job for me, and has a different name (i.e. addusrgrp).
>
> Just my 0.02???.
>
> Greetings
> Gert
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
>
>
>
>
--
- Scott J Garner -
- Austin, TX - USA -
- ICQ: 17348307 AIM: Jungalero -
- OPN: MrFab -
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] Gentoo observations
2002-03-10 13:43 ` mrfab
@ 2002-03-10 14:22 ` Gert Menke
2002-03-10 15:03 ` mrfab
0 siblings, 1 reply; 9+ messages in thread
From: Gert Menke @ 2002-03-10 14:22 UTC (permalink / raw
To: gentoo-dev
Hi,
On Sun, Mar 10, 2002 at 07:43:29AM -0600, mrfab@arn.net wrote:
> I'd hesitate to go for root:www because there is always that possibility
> that php or mod_perl or just developer error in a script could allow a
> web user to overwrite a file--and with root permissions that could be a
> disaster.
Oh, I'm sorry. I was talking about the files when I said root:www. My httpd
runs as nobody:www. Or are you talking about files with the SUID bit set?
Greetings
Gert
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] Gentoo observations
2002-03-10 14:22 ` Gert Menke
@ 2002-03-10 15:03 ` mrfab
2002-03-10 18:13 ` [gentoo-dev] how to add new Language specific Symbol? Corvus Corax
0 siblings, 1 reply; 9+ messages in thread
From: mrfab @ 2002-03-10 15:03 UTC (permalink / raw
To: gentoo-dev
Ahh, no excuse me--I misread you. I thought you
meant to run apache as root:www.
On Sun 10 Mar 2002 at 08:22 -0600,
Gert Menke wrote:
> Hi,
>
> On Sun, Mar 10, 2002 at 07:43:29AM -0600, mrfab@arn.net wrote:
> > I'd hesitate to go for root:www because there is always that possibility
> > that php or mod_perl or just developer error in a script could allow a
> > web user to overwrite a file--and with root permissions that could be a
> > disaster.
> Oh, I'm sorry. I was talking about the files when I said root:www. My httpd
> runs as nobody:www. Or are you talking about files with the SUID bit set?
>
> Greetings
> Gert
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
>
>
>
>
--
- Scott J Garner -
- Austin, TX - USA -
- ICQ: 17348307 AIM: Jungalero -
- OPN: MrFab -
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-dev] how to add new Language specific Symbol?
2002-03-10 15:03 ` mrfab
@ 2002-03-10 18:13 ` Corvus Corax
0 siblings, 0 replies; 9+ messages in thread
From: Corvus Corax @ 2002-03-10 18:13 UTC (permalink / raw
To: gentoo-dev
Hi.
I using gentoo for almost 1 year now, and its the greatest OS i ever saw.
however, since on 1.1.2002 the "Euro" has been released in europe, i'd like
to use the currency symbol for this, and i don't know how to set this up
under gentoo, or linux in gereral.
which font-files or patches for konsole / X or KDE does one need, and which
setup alterations are necessary to have this symbol, for example, bound to
<META>+e especially under X?
does anyone know? is it possible to batch all this into some language-ebuilds?
and -- sorry that i don know myself --- how can one do this by hand if no
portage automation is possible / where could i get that information ?
thanks for reading, thanks for your time -- Corvus V Corax --
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] Gentoo observations
2002-03-10 3:11 [gentoo-dev] Gentoo observations mrfab
2002-03-10 3:29 ` Matthew Kennedy
2002-03-10 9:39 ` Gert Menke
@ 2002-03-11 16:27 ` Karl Trygve Kalleberg
2002-03-12 20:30 ` [gentoo-dev] I needed to remerge cvs after zlib update Brent Cook
2 siblings, 1 reply; 9+ messages in thread
From: Karl Trygve Kalleberg @ 2002-03-11 16:27 UTC (permalink / raw
To: gentoo-dev
On Sat, 9 Mar 2002 21:11:35 -0600
mrfab@arn.net wrote:
> First, where the hell is vi? It is missing from
> both the boot image and the base install. I
> realize that I can emerge it, but having to use
> an editor as horrible as nano, even just for the
> initial config, was a bit obnoxious.
We wanted to restrict ourselves wrt the amount of editors we crammed on
the installation binary. Formerly, we used e3, which has pico, vi and
emacs modes. For some reason (portability ? drobbins ?), e3 was switched
out with nano. (In all fairness, e3 was a bit flaky, but being written in
x86 asm, it was very small).
If vi was included, it would be in addition to nano, as it is a reasonable
assumption that vi-ers are capable of using nano, while the reverse is
not.
Kind regards,
Karl T
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-dev] I needed to remerge cvs after zlib update
2002-03-11 16:27 ` [gentoo-dev] Gentoo observations Karl Trygve Kalleberg
@ 2002-03-12 20:30 ` Brent Cook
0 siblings, 0 replies; 9+ messages in thread
From: Brent Cook @ 2002-03-12 20:30 UTC (permalink / raw
To: gentoo-dev
Just so you know, you may need to too.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2002-03-12 20:31 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-10 3:11 [gentoo-dev] Gentoo observations mrfab
2002-03-10 3:29 ` Matthew Kennedy
2002-03-10 9:39 ` Gert Menke
2002-03-10 13:43 ` mrfab
2002-03-10 14:22 ` Gert Menke
2002-03-10 15:03 ` mrfab
2002-03-10 18:13 ` [gentoo-dev] how to add new Language specific Symbol? Corvus Corax
2002-03-11 16:27 ` [gentoo-dev] Gentoo observations Karl Trygve Kalleberg
2002-03-12 20:30 ` [gentoo-dev] I needed to remerge cvs after zlib update Brent Cook
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox