Re: [gentoo-user] Freshly installed 1.4, gdm login works only forroot

2003-06-18 Thread Rev. Jeffrey Paul
On Wed, 18 Jun 2003, Collins Richey wrote:

> On Wed, 18 Jun 2003 23:02:14 -0300
> Norberto BENSA <[EMAIL PROTECTED]> wrote:
>
> > [EMAIL PROTECTED] ~ $ date ; echo ${Collins Richey}
> > Wednesday 18 June 2003 09:49 pm
> >
> > > On Tue, 17 Jun 2003 00:55:22 -0400 (EDT)
> > >
> > > "Rev. Jeffrey Paul" <[EMAIL PROTECTED]> wrote:
> > > > On Tue, 17 Jun 2003, Adam Dunstan wrote:
> > > > > OT: so how big should a /tmp partision be?
> > > >
> > > > Mine's 500MB and it's way too big.  When I reinstall my server
> > > > (datavibe),/tmp will be on tmpfs and I'll just put the 500mb to
> > > > extra swap instead.
> > >
> > > Perfectly OK if you don't ever plan to emerge openoffice.  That
> > > emerge requires >= 2G temp space!
> >
> > E... emerge uses /var/tmp ;-)
> >
>
> Yep, I thought of that a few minutes ago.   Which means that he needs
> an available 2 gig in his / filesystem instead of /tmp.

Yeah, I was just about to correct you on that, but Mr. Bensa got you
first.  All /tmp is used for on my machines are lockfiles, screen fifos,
edit buffers, and the mysql socket... it doesn't need to be big, at least
not in my installation.  Furthermore, I run an "mke2fs -j" on it each time
my machine boots (it's set to noauto so it doesn't mount it before i
re-create the filesystem on it).

Unfortunately, you're still wrong.

My / is rarely larger than 1gb.

/var, however, is frequently 10.

These days, now that I have regular bcackups, i've taken to using mount -o
bind to mount directories from single big partitions into places like
/var, /var/tmp, and /var/log.  The main reason I used seperate partitions
(and thus filesystems) before was to avoid trashing the entire system in
case a filesystem somehow corrupted itself, but these days I have copies,
so I'm not so worried about it.

Can we please kill this thread now?  Someone replied to an existing thread
when creating this one (ugh, don't you people use -real- mail readers?!)
and it's making everything ugly in my threaded view.

-j

--

 Rev. Jeffrey Paul-datavibe- [EMAIL PROTECTED]
   aim:x736e65616b   pgp:0x15FA257E   phone:8777483467
70E0 B896 D5F3 8BF4 4BEE 2CCF EF2F BA28 15FA 257E


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] XFCE and cursor size

2003-06-18 Thread Klaus D. Neumann
How did you install Xfce4? Is there an ebuild?

On Wednesday 18 June 2003 10:45 am, Ohad Lutzky wrote:
> I've recently installed XFCE4, and am loving it (switched over from
> fluxbox). It still needs some work, but it fixes two fluxbox bugs which
> really annoy me: gkrellm transparency, and no charset support in
> Freetype.
> I use the Gentoo cursor set, and usually it's very small - I guess
> 16x16. However, in XFCE, it becomes about twice as big. This is
> desirable - how can it be achieved? I tried with .Xresources and
> .Xdefaults, but had no success (I can't even change the cursor set with
> those, I use ~/.icons/default).

-- 
Best regards,
Klaus
--
Gentoo Linux = the better choice!


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gzip/man downgrade??

2003-06-18 Thread Owen Gunden
On Wed, Jun 18, 2003 at 10:07:48PM -0400, Brett I. Holcomb wrote:
> I did a sync on my server machine tonight, then a emerge -u --deep system -p 
> and find it wants to downgrade gzip and man!   Both of them were upgraded a 
> day ago because of security issues and I haven't seen any advisories since 
> then on these programs.  What's going on here??

Try syncing again.  You may have sync'd to a server that's back in time for
some reason.  Seems to happen sometimes.

Owen

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Win4lin download trubbles

2003-06-18 Thread sergey
I have the same problem, too!

On Thursday 19 June 2003 10:30, Shawn wrote:
> emerge keeps trying to download Win4Lin-5.5.1d-d.i386.rpm, and
> eventually fails, even though it's fully retrieved. Does anyone know why
> this might be?
>
> Observe:
>
> Calculating dependencies ...done!
>
> >>> emerge (1 of 1) app-emulation/win4lin-5.0.1 to /
> >>> Resuming download...
> >>> Downloading
>
-- 
sergey

--
[EMAIL PROTECTED] mailing list



[gentoo-user] need help getting basic networking running

2003-06-18 Thread felix zaslavskiy
I am not new to unix and i am usualy use to *BSD type of systems so i am
giving gentoo a try.

I already installed distro. I start the machine and do adsl-start which
gets me connected. I can go online fine i can even ping the machine from
a different machine.  

I started the apache server it seems to start fine 
here is  roughly how the netstat -a looks
*:www   *.* LISTEN

I figure this socket should be excepting connections from outside fine
but it does not. In fact no socket is established when i try to connect
to port 80

Here is how roughly my route table looks
DestGateway Ifacde
10.32.93.2  *   ppp0
default 10.32.93.2  ppp0

ifconfig -a
ppp0   add 141.242.342.34   P-t 10.32


Now i did this from a different machine
namap -P0 141.242...

80  filtered  http


telnet 141.242... 80  
wait for ever


What is going one here ? I know i didnt enable any firewall in fact i
choose no firewall rules during install procedures.  Could no firewall
rule option default to no access , seems unlikely to me. Anyway this is
probably pppoe screwing things up any suggestions on how to fix ?


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Framebuffering on bootup - Want to see the cow?

2003-06-18 Thread Jon Gaudette
Peter,

You may be interested in taking that to the next level.  

http://forums.gentoo.org/viewtopic.php?t=49036

That above url will also show you the grub parameters to use, which
should be the same for if you just want the tux to show (this is
probably the reason you don't see anything now)

-Jon "GenKiller" Gaudette
http://www.digital-drip.com
http://www.cncnz.com

On Wed, 2003-06-18 at 21:25, Peter Stewart wrote:
> Hi Guys,
> this is probably a very daft question, but,
> 
> I've been trying to get the console to display Tux on the boot console. I've enabled 
> frame buffering in the kernel, and asked it to display the cow (cant remember his 
> name :-(   ), but nothing is happening.
> 
> Can you please advise how to get this working, not really earth shattering, but 
> would be nice to have.
> 
> Regards,
> 
> PeterS
> 
> 
> 
> **
> This e-mail, including any attachments sent with it, is confidential 
> and for the sole use of the intended recipient(s). This confidentiality 
> is not waived or lost if you receive it and you are not the intended 
> recipient(s), or if it is transmitted/ received in error.  
> 
> Any unauthorised use, alteration, disclosure, distribution or review 
> of this e-mail is prohibited.  It may be subject to a statutory duty of 
> confidentiality if it relates to health service matters.
> 
> If you are not the intended recipient(s), or if you have received this 
> e-mail in error, you are asked to immediately notify the sender by 
> telephone or by return e-mail.  You should also delete this e-mail 
> message and destroy any hard copies produced.
> **
> 
> 
> --
> [EMAIL PROTECTED] mailing list
> 


signature.asc
Description: This is a digitally signed message part


[gentoo-user] /dev/bus/usb files show nothing / using wireless usb logitech mouse

2003-06-18 Thread Bud Roth
I want to use a wireless usb logitech mouse in x11.  I have borrowed a
xf86config file that should recognize it but nada.  I looked in both
/proc/usb/devices and /dev/bus/usb/devices.  The files contains
nothing.  My usb wireless keyboard works, but I understand that my
laptop may be able to recognize the wireless keyboard without software
intervention.  The drivers file in /proc/usb/drivers and
/dev/usb/drivers contains:

usbdevfs
hub

How do I get the kernel to recognize the wireless mouse and attach it to
the dev file?



--
[EMAIL PROTECTED] mailing list



[gentoo-user] Framebuffering on bootup - Want to see the cow?

2003-06-18 Thread Peter Stewart
Hi Guys,
this is probably a very daft question, but,

I've been trying to get the console to display Tux on the boot console. I've enabled 
frame buffering in the kernel, and asked it to display the cow (cant remember his name 
:-(   ), but nothing is happening.

Can you please advise how to get this working, not really earth shattering, but would 
be nice to have.

Regards,

PeterS



**
This e-mail, including any attachments sent with it, is confidential 
and for the sole use of the intended recipient(s). This confidentiality 
is not waived or lost if you receive it and you are not the intended 
recipient(s), or if it is transmitted/ received in error.  

Any unauthorised use, alteration, disclosure, distribution or review 
of this e-mail is prohibited.  It may be subject to a statutory duty of 
confidentiality if it relates to health service matters.

If you are not the intended recipient(s), or if you have received this 
e-mail in error, you are asked to immediately notify the sender by 
telephone or by return e-mail.  You should also delete this e-mail 
message and destroy any hard copies produced.
**


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Freshly installed 1.4, gdm login works only forroot

2003-06-18 Thread Collins Richey
On Wed, 18 Jun 2003 23:02:14 -0300
Norberto BENSA <[EMAIL PROTECTED]> wrote:

> [EMAIL PROTECTED] ~ $ date ; echo ${Collins Richey}
> Wednesday 18 June 2003 09:49 pm
> 
> > On Tue, 17 Jun 2003 00:55:22 -0400 (EDT)
> >
> > "Rev. Jeffrey Paul" <[EMAIL PROTECTED]> wrote:
> > > On Tue, 17 Jun 2003, Adam Dunstan wrote:
> > > > OT: so how big should a /tmp partision be?
> > >
> > > Mine's 500MB and it's way too big.  When I reinstall my server
> > > (datavibe),/tmp will be on tmpfs and I'll just put the 500mb to
> > > extra swap instead.
> >
> > Perfectly OK if you don't ever plan to emerge openoffice.  That
> > emerge requires >= 2G temp space!
> 
> E... emerge uses /var/tmp ;-)
> 

Yep, I thought of that a few minutes ago.   Which means that he needs
an available 2 gig in his / filesystem instead of /tmp.



-- 
Collins Richey - Denver Area
if you fill your heart with regrets of yesterday and the 
worries of tomorrow, you have no today to be thankful for.



--
[EMAIL PROTECTED] mailing list



[gentoo-user] Gzip/man downgrade??

2003-06-18 Thread Brett I. Holcomb
I did a sync on my server machine tonight, then a emerge -u --deep system -p 
and find it wants to downgrade gzip and man!   Both of them were upgraded a 
day ago because of security issues and I haven't seen any advisories since 
then on these programs.  What's going on here??

-- 

Brett I. Holcomb
AKA Grunt <><

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Freshly installed 1.4, gdm login works only for root

2003-06-18 Thread Norberto BENSA
[EMAIL PROTECTED] ~ $ date ; echo ${Collins Richey}
Wednesday 18 June 2003 09:49 pm

> On Tue, 17 Jun 2003 00:55:22 -0400 (EDT)
>
> "Rev. Jeffrey Paul" <[EMAIL PROTECTED]> wrote:
> > On Tue, 17 Jun 2003, Adam Dunstan wrote:
> > > OT: so how big should a /tmp partision be?
> >
> > Mine's 500MB and it's way too big.  When I reinstall my server
> > (datavibe),/tmp will be on tmpfs and I'll just put the 500mb to extra
> > swap instead.
>
> Perfectly OK if you don't ever plan to emerge openoffice.  That emerge
> requires >= 2G temp space!

E... emerge uses /var/tmp ;-)




pgp0.pgp
Description: signature


[gentoo-user] Win4lin download trubbles

2003-06-18 Thread Shawn
emerge keeps trying to download Win4Lin-5.5.1d-d.i386.rpm, and
eventually fails, even though it's fully retrieved. Does anyone know why
this might be?

Observe:

Calculating dependencies ...done!
>>> emerge (1 of 1) app-emulation/win4lin-5.0.1 to /
>>> Resuming download...
>>> Downloading
http://gentoo.oregonstate.edu/distfiles/Win4Lin-5.5.1d-d.i386.rpm
--20:28:52-- 
http://gentoo.oregonstate.edu/distfiles/Win4Lin-5.5.1d-d.i386.rpm
   => `/usr/portage/distfiles/Win4Lin-5.5.1d-d.i386.rpm'
Resolving gentoo.oregonstate.edu... done.
Connecting to gentoo.oregonstate.edu[128.193.0.3]:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not
Satisfiable
   
  
The file is already fully retrieved; nothing to do.
   
  
>>> Resuming download...
>>> Downloading
http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/Win4Lin-5.5.1d-d.i386.rpm
--20:28:52-- 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/Win4Lin-5.5.1d-d.i386.rpm
   => `/usr/portage/distfiles/Win4Lin-5.5.1d-d.i386.rpm'
Resolving distro.ibiblio.org... done.
Connecting to distro.ibiblio.org[152.2.210.109]:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not
Satisfiable
   
  
The file is already fully retrieved; nothing to do.
   
  
>>> Resuming download...
>>> Downloading
http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles//Win4Lin-5.5.1d-d.i386.rpm
--20:28:52-- 
http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/Win4Lin-5.5.1d-d.i386.rpm
   => `/usr/portage/distfiles/Win4Lin-5.5.1d-d.i386.rpm'
Resolving distro.ibiblio.org... done.
Connecting to distro.ibiblio.org[152.2.210.109]:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not
Satisfiable
   
  
The file is already fully retrieved; nothing to do.
   
  
>>> Resuming download...
>>> Downloading
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo/distfiles/Win4Lin-5.5.1d-d.i386.rpm
--20:28:52-- 
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo/distfiles/Win4Lin-5.5.1d-d.i386.rpm
   => `/usr/portage/distfiles/Win4Lin-5.5.1d-d.i386.rpm'
Resolving ftp.gtlib.cc.gatech.edu... done.


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] all ebuilds in a tree

2003-06-18 Thread Norberto BENSA
[EMAIL PROTECTED] ~ $ date ; echo ${Gavrila}
Wednesday 18 June 2003 08:04 pm

> p.s. this because not all list members use email clients capable of
> reading html emails ;)

and  'cos html makes archiving harder :-/

Norberto


pgp0.pgp
Description: signature


Re: [gentoo-user] 2.5.71-mm loosing mouse on KVM switch

2003-06-18 Thread b stephen harding
On Mon, 16 Jun 2003 22:11:46 -0700
Alan <[EMAIL PROTECTED]> wrote:

> Hi there.
> 
> Anyone got a 2.5.* system on a KVM with another box?  I have a problem
> that when I switch between the other box and my linux box, the mouse
> pointer will sometimes become "lost" (won't move) when you switch to
> linux (or sometimes windows).  
> 
> In linux I used to be able to fix this by simple hitting ctrl-alt-f1
> to go to the console and then alt-f7 to get back to X and the cursor
> would be back (windows required a standby->restart or a reboot).
> 
> Since upgraded to the latest mm-sources (trying to get my nforce2
> board to work nicely for me) when I go from one box to the other via
> the KVM the mouse cursor is "lost" and won't come back, even with a
> full restart of X.  Only a reboot will fix it.  I'm assuming it's
> something to do with the new kbd/mouse subsystems that are in 2.5.*.
> 
> Anyone else have this problem or know of how to fix it?  The KVM is a
> two port Hawking if that means anything.
> 

I've got a similar problem with a Belkin KVM.  What kind of KVM are you
using?

--
bruce


pgp0.pgp
Description: PGP signature


Re: [gentoo-user] Freshly installed 1.4, gdm login works only forroot

2003-06-18 Thread Christopher Egner
True that, my bad. 2 gigs sounded a bit outrageous for swap.
On Thu, 2003-06-19 at 01:11, Owen Gunden wrote:
> On Wed, Jun 18, 2003 at 07:45:28PM +, Christopher Egner wrote:
> > I managed that emerge with 256 megs of ram and no swap whatsoever (swap
> > is finally back on, but wasn't then)
> 
> swap != /tmp space.  I think you misread the post.
> 
> --
> [EMAIL PROTECTED] mailing list
> 


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] X question - where should apps display?

2003-06-18 Thread Chris Bare
>In this case Evolution started a second copy, but it sent the
> graphics to the desktop at my work machine and displayed nothing here at
> home. When I arrived back at work I saw the two copies one my desktop. I
> closed them. Everything was fine.
> 
>Is this the way X apps should work? Or is this some sort of bug?
> (XFree, Evolution or possibly sshd or something...)
> 

Generally, it goes to where ever $DISPLAY is set to. It is commonly set
to :0 for the local display. I can also be localhost:0, but that uses a
slower connection. You can also set it to hostname:0 to tell it to go to
a remote host.

ssh sets this for you on the remote side to something like localhost:10.0.
It forwards connections to that back to whatever $DISPLAY was set to on
the local side.

So echo $DISPLAY at home and see what it says. Evolution may have
something else going on to detect a running instance and just open a new
window of that instance, rather than starting up a whole new copy. That
could explain what you saw. I don't use Evolution, so I don't know if
that's how it works, but I have seen other programs that work that way.

-- 
Chris Bare
[EMAIL PROTECTED]

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Freshly installed 1.4, gdm login works only for root

2003-06-18 Thread Owen Gunden
On Wed, Jun 18, 2003 at 07:45:28PM +, Christopher Egner wrote:
> I managed that emerge with 256 megs of ram and no swap whatsoever (swap
> is finally back on, but wasn't then)

swap != /tmp space.  I think you misread the post.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Freshly installed 1.4, gdm login works only forroot

2003-06-18 Thread Christopher Egner
I managed that emerge with 256 megs of ram and no swap whatsoever (swap
is finally back on, but wasn't then)
On Thu, 2003-06-19 at 00:49, Collins Richey wrote:
> On Tue, 17 Jun 2003 00:55:22 -0400 (EDT)
> "Rev. Jeffrey Paul" <[EMAIL PROTECTED]> wrote:
> 
> > On Tue, 17 Jun 2003, Adam Dunstan wrote:
> > 
> > > OT: so how big should a /tmp partision be?
> > 
> > Mine's 500MB and it's way too big.  When I reinstall my server
> > (datavibe),/tmp will be on tmpfs and I'll just put the 500mb to extra
> > swap instead.
> > 
> 
> Perfectly OK if you don't ever plan to emerge openoffice.  That emerge
> requires >= 2G temp space!


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Freshly installed 1.4, gdm login works only forroot

2003-06-18 Thread Collins Richey
On Tue, 17 Jun 2003 00:55:22 -0400 (EDT)
"Rev. Jeffrey Paul" <[EMAIL PROTECTED]> wrote:

> On Tue, 17 Jun 2003, Adam Dunstan wrote:
> 
> > OT: so how big should a /tmp partision be?
> 
> Mine's 500MB and it's way too big.  When I reinstall my server
> (datavibe),/tmp will be on tmpfs and I'll just put the 500mb to extra
> swap instead.
> 

Perfectly OK if you don't ever plan to emerge openoffice.  That emerge
requires >= 2G temp space!

-- 
Collins Richey - Denver Area
if you fill your heart with regrets of yesterday and the 
worries of tomorrow, you have no today to be thankful for.



--
[EMAIL PROTECTED] mailing list



[gentoo-user] BSD mtree

2003-06-18 Thread Chris van der Pennen




Anyone seen a port of BSD's mtree for linux?

Chris




signature.asc
Description: This is a digitally signed message part


[gentoo-user] X question - where should apps display?

2003-06-18 Thread Mark Knecht
Hi,
   Learning process.

   Today from work I ssh'ed into my home machine and started Evolution
to read email. I got busy at work, forgot to close Evolution and then
came home at lunch. I sat down to look at email while at home and tried
to start Evolution. (I'd forgotten it was open at work.) Normally this
is not a problem. Evolution starts a second copy, which it did today
also...

   In this case Evolution started a second copy, but it sent the
graphics to the desktop at my work machine and displayed nothing here at
home. When I arrived back at work I saw the two copies one my desktop. I
closed them. Everything was fine.

   Is this the way X apps should work? Or is this some sort of bug?
(XFree, Evolution or possibly sshd or something...)

   Just learning.

Thanks,
Mark


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kernel: built-in vs. module

2003-06-18 Thread Juan Ángel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

As a module, you can load it and remove it as you please, but not if it's 
builtin. Usually, drivers go as modules, and other features don't (that's 
your choice). But if you need something (such as ext2 suport, for example) 
available at boot time, before modules load, you must build the code inside 
the kernel.
But usually modules accept more parameters that the same code but kernel 
builtin, so a point goes to modules.
If you're thinking about the kernel builtin code to be faster as the modules, 
then you'd be wrong. They are the same code, but linked in a different way.
I need to sleep, and I'm not making too much sense. I hope that it helped (at 
least that it didn't confuse you more).
Cheers,
- -- 
 Juan Ángel
PGP key on pgp.rediris.es (8FAF18B7)
or search on http://www.rediris.es/cert/servicios/keyserver/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+8PvUaQjbS4+vGLcRAupdAJ9LQv09aQCDF3PfFlbVWQjHuQijkwCdEElV
ClkawKxfddGtv25olYOJ/Ro=
=Fc8L
-END PGP SIGNATURE-

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] The Gimp and TrueType fonts...

2003-06-18 Thread Erland Nylend
* Timothy Grant <[EMAIL PROTECTED]>
>
> Here's the relevant portion of my XFree86 log file
> (**) FontPath set to 
> "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/Type
> 1/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/truetype/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X1
> 1/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"

I have also installed the Vera fonts .. (not through an ebuild) and
they seem to work fine with gimp.

This is what I did:

-copied the (ttf)files into ~/.fonts
-ran 'fc-cache'
-'emerge gimp-freetype'

When doing:

RightClick -> Filters -> Render -> Freetype...

, for the first time, I'm asked where my fonts are located... I
supplied ~/.fonts , and it worked.

You could try a 'fc-list' to list the fonts available .. If you see
the vera-fonts, and it still does not work, try to move ~/.gimp-1.2 to
~/.gimp-1.2.old, and restart gimp ..

FYI; it seems that my Vera-fonts are not available either, if I do not
specify the folder they are located in. You can specify it, by doing

RightClick -> Filters -> Render -> Freetype... -> configure


-- 
Erland Nylend

--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] kernel: built-in vs. module

2003-06-18 Thread Bjorn Sodergren
Just my opinion, unless you change hardware a lot, I don't think there is an
advantage.

Some things though, like I2c support, you want as modules because you might
not be sure which one your hardware supports and you can auto-detect it.


> I've been using linux full time for about 6 months now, but I 
> haven't found anything on the pros and cons of compiling the 
> kernel with features built-in vs built as modules? What are 
> the advantages of either case?
> 
> curious,
> -chris
> 
> --
> [EMAIL PROTECTED] mailing list
> 
> 


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kernel: built-in vs. module

2003-06-18 Thread Brett I. Holcomb
Probably, it's a matter of personal preference  - like vi vs emacs .  From 
what I see modules allow you to reduce the size of the kernel and let you 
load drivers, only if you need them.  However, if a module needed for boot 
isn't built in you have to use an initrd to start the system.  

Personally,  I build in what I need to boot (such as SCSI for disks) and then 
include the other SCSI drivers in the kernel.  I put my network and some 
other drivers as modules.  Sound is a module since I use ALSA.


> I've been using linux full time for about 6 months now, but I haven't
> found anything on the pros and cons of compiling the kernel with
> features built-in vs built as modules? What are the advantages of either
> case?
>
> curious,
> -chris

-- 

Brett I. Holcomb
AKA Grunt <><

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kernel: built-in vs. module

2003-06-18 Thread Alan
On Wed, Jun 18, 2003 at 04:38:59PM -0700, Chris Graves wrote:
> I've been using linux full time for about 6 months now, but I haven't
> found anything on the pros and cons of compiling the kernel with
> features built-in vs built as modules? What are the advantages of either
> case?

Depends if you care about the size of your kernel, or if you want to use
the features all the time.  IE: I don't always use ntfs, so I feel that
it's just taking up "space" in the kernel, but I want it available for
when I do use NTFS.  It also gives you flexibility if you change
hardware around and need to get a new NIC driver, having everything
compiled as a module (or setting it and running a quick "make modules
modules_install" before swapping hardware) means you just modprobe the
new driver and don't have to worry about recompiling everything.
Recompiling everything as a module also gives you the ability to
autoprobe for hardware, but that's more a distro maker thing I think.

I'm sure there are far better reasons though :)

alan

-- 
Alan <[EMAIL PROTECTED]> - http://arcterex.net

"There are only 3 real sports: bull-fighting, car racing and mountain 
climbing. All the others are mere games."-- Hemingway

--
[EMAIL PROTECTED] mailing list



[gentoo-user] kernel: built-in vs. module

2003-06-18 Thread Chris Graves
I've been using linux full time for about 6 months now, but I haven't
found anything on the pros and cons of compiling the kernel with
features built-in vs built as modules? What are the advantages of either
case?

curious,
-chris

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Simple stupid question

2003-06-18 Thread Thomas J. Hamman
On Wed, Jun 18, 2003 at 08:20:49AM -0700, Condon Thomas A KPWA wrote:
> Hmm.  I think I see a problem here.  'net.eth0' is in /etc/init.d, along
> with 'net.ppp0' and 'net.lo'.  'net.eth0' is already run at startup.  But
> there is no /etc/init.d/net file.  Where would I acquire (my Ferengi
> heritage) a copy of this?

I said /etc/conf.d/net -- not to be confused with /etc/init.d. :)


-- 
Thomas J. Hamman
"When you know all the answers, you haven't asked all the questions."
-Harold Levitt

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Partition setup?

2003-06-18 Thread Mike Principito
Parition setup is a purely religous thing, but I can give a few good
pointers on why to give /usr it's on partition. For one /usr filling up is
ok, however if / fills up that is a bad thing. You could also set /usr to
be read only and remount it as rewrite only while merging a new package.
This would add another layer of security. In any case I'd definatly stay
away from putting it in w/ /, unless that is your only parition.

Some people like to give /usr/local its own parition. Doing this would
allow you to keep it after a system rebuild. I find that I am putting less
and less in /usr/local these days, just because every package I need I
find in portage. /home is also good to keep on its on parition for the
same reason.

Usually when I'm setting up systems I'd be making the following paritions:

/
swap
/var
/usr
/home
/boot

Now how much space to give them totally depends on what you plan to do w/
the system. Give /home more space on a desktop is usually a good idea,
however on a server you might need more on var. Portage needs a lot of
space in its temp dir, so you might even want to have a /var/tmp partion
[which could be a bind of another filesystem].

Here's a few guidelines that might be helpful too:

swap is typically 1-2 times the amount of ram you have. there is also a
bug that in some system total ram + swap must be atleast 640MBs to compile
GLIBC. This bug may not affect you, but it wouldn't hurt to adhear to it.

/boot doesn't need to be large. However if your going to be running a
journalized file system add an extra 32 mbs to it (for the journal). I
find that 64mbs for boot is good.

/usr is probably going may be big or small depending if its a workstation
or not. I have multiple games install on my /usr so its quite full (around
6 gigs), however my server is just a bit over 1 gig.

/var needs space for writing logs, storing dbs, and anything else you plan
to put in there. Also if /var/tmp is going to be in there add a good gig
or so to it.

tmpfs works great for /tmp. If there is ever case where you need more /tmp
for a particular program you can always bind to it.

Did I miss anything? I hope that helps somewhat.

Cheers,
Mike



-><-

"And don't tell me there isn't one bit of difference between null and
space, because that's exactly how much difference there is. :-)"
--Larry Wall in <[EMAIL PROTECTED]>

SDF Public Access UNIX System - http://sdf.lonestar.org

On Wed, 18 Jun 2003, Stroller wrote:

> On 18/6/03 9:18 pm, "Joe" <[EMAIL PROTECTED]> wrote:
>
> >   I¹m in the process of planning my Gentoo Linux install, and I was wondering
> > if anyone had some input on setting up the partitions?  I have 2 drives, one
> > 15Gb and a 40Gb drive.  I will be running an ftp server on this box, and using
> > it for miscellaneous other tasks.  If anyone can give any insight or maybe how
> > you have set up your partitions I would appreciate it!  Thanks!
>
> If it was going to be *just* an FTP server, I might be inclined to look into
> LVM, in order to add some of your 15gb drive towards the ftp partition; I
> don't have any experience  with LVM, yet, tho', so don't know how difficult
> it is. Besides, since you're asking, you probably don't want to go that
> route.
>
> Here's what I'd do:
>   /dev/hda  - 15gig drive; partition into 4, thus;
> /dev/hda1   - /boot, 25meg - 50meg
> /dev/hda2   - /swap, 125meg - 750meg
> /dev/hda3   - / c 4gig  (plenty of room for /usr/portage,
>   /usr/temp &c, but still
>   flexible)
> /dev/hda4   - /home, the rest, c 10gig.
>"My Documents" in M$ terminology.
>
>   /dev/hdb  - 40gig drive, only one partition:
> /dev/hdb1   - /home/ftp, 40gig
>
> Some folks prefer to have /usr on a separate partition - it's such a popular
> choice that I'm sure there must be a very good reason, but I've never worked
> out (or researched, I'm too lazy) what it is. Giving /home it's own
> partition just really works for me - it's a logical separation between user
> & system files - and the /home/ftp mount point for the 2nd drive (I also
> have another at /home/news, because I also run a caching Usenet server) just
> made sense when I upgraded my system.
>
> Note: some filesystems (eg; `man mke2fs`, "-m" option) reserve a certain
> percentage of the drive for the root user. If you're configuring your
> 2nd-drive as I describe above you can force this to 0%.
>
> HTH,
>
> Stroller.
>
> --
> Enjoyed this post? Thanks for reading - please consider employing me!
> Technical support / system administration - CV available on request
> Linux / Unix / Windows / Mac OS X  - UK or anywhere considered
>
>
>
> --
> [EMAIL PROTECTED] mailing list
>

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Partition setup?

2003-06-18 Thread Alan
On Thu, Jun 19, 2003 at 12:16:22AM +, Mark Fisher wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On Wednesday 18 June 2003 22:58, Stroller wrote:
> 
> > Some folks prefer to have /usr on a separate partition - it's such a
> > popular choice that I'm sure there must be a very good reason, but
> I've
> > never worked out (or researched, I'm too lazy) what it is. 
> 
> I think its good practise to mount directories which could potentially  
> spiral in size un-noticed on different partitions from / , having a full 
> / partition is *bad news* and with logs going into /var and 'user 
> installed programs' [ portage in the gentoo world ] going into /usr, I  
> tend to keep them seperate.
> 
> There maybe other reasons .. but thats mine :o)

AFAIK the other historical reason was similar but different.  If you
lost a disk you still had a bootable partition in / with the tools
needed to possibly recover data (ever notice how things like cp, rm,
fsck and fdisk are always in /sbin and not /usr/sbin?).  Not sure what
you'd do if your / was lost though, but it's a heck of a lot easier to
restore/reinstall an os on / than restore/reinstall *everything* I
guess.

alan

-- 
Alan <[EMAIL PROTECTED]> - http://arcterex.net

"There are only 3 real sports: bull-fighting, car racing and mountain 
climbing. All the others are mere games."-- Hemingway

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] parallel port printer (solved)

2003-06-18 Thread Gëzim
I was supposed to use hpijs.

--- Gëzim Hoxha <[EMAIL PROTECTED]> wrote:
> OK, thanks Ohad and the rest who helped me up to
> this
> point.
> 
> Now I found out my printer ID: 133152 , to find the
> drivers I'm supposed to do:
> grep 133152 /usr/share/foomatic/db/source/driver/* 
> and in the example used in the tutorials, he gets
> only
> one driver, but when I do that, I get 8!!!
> 
> The next step in the example is:
> foomatic-configure -s cups -p 317865 -c
> file:/dev/lp0
> -n Epson -d gimp-print 
> 
> My question is, since I got 8 drivers, do I do:
> foomatic-configure -s cups -p 133152 -c
> file:/dev/lp0
> -n HP -d  -d  -d  -d
>  -d  -d  -d  -d
> 
> 
> or just:
> foomatic-configure -s cups -p 133152 -c
> file:/dev/lp0
> -n HP -d
>
> 
> or do I just choose one of the drivers? 
> 
> Note: the drive used in the example is: gimp-print
> and the drivers I get are: cdj550, cdj670, cdj880,
> cdj970, hpdj hpijs, pcl3, and stp.
> 
> Thank you very much,
> ZiM
> 
> __
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
> 
> --
> [EMAIL PROTECTED] mailing list
> 

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Partition setup?

2003-06-18 Thread Mark Fisher
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 18 June 2003 22:58, Stroller wrote:

> Some folks prefer to have /usr on a separate partition - it's such a
> popular choice that I'm sure there must be a very good reason, but
I've
> never worked out (or researched, I'm too lazy) what it is. 

I think its good practise to mount directories which could potentially  
spiral in size un-noticed on different partitions from / , having a full 
/ partition is *bad news* and with logs going into /var and 'user 
installed programs' [ portage in the gentoo world ] going into /usr, I  
tend to keep them seperate.

There maybe other reasons .. but thats mine :o)

- -- 
Mark
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+8QDbzrmqzOOQUj8RAuEMAKCrLN3LAZHxXd9S7zc7ZBrdg1B0cwCfSyxl
fdm3D+Lqar2zk3/D5vbD4QQ=
=8dOX
-END PGP SIGNATURE-


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] all ebuilds in a tree

2003-06-18 Thread Gavrila
On Thu, 2003-06-19 at 00:46, Reno Romanin wrote:
> Ok, just to satisfy my own curiosity,  Is there a way to build all of
> the ebuilds in a  tree? Such as /usr/portage/dev-perl/*


> I can’t think of a reason you would need to do this, just wondering of
> it were possible.

> --reno

Please do _not_ send emails in html format. Use plain text instead.
Thanks :)

Gavrila

p.s. this because not all list members use email clients capable of
reading html emails ;)


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] all ebuilds in a tree

2003-06-18 Thread Mike Principito
you could always try something like

# cd /usr/portage/dev-perl
# export TREE=*
# emerge -vp $TREE

The problem with that is that it would including the whole tree, and you
might run into errors if a package is masked (and has no stable ebuilds).
Other than that your probably looking at a fancy find statement.

Cheers,
Mike


-><-

"And don't tell me there isn't one bit of difference between null and
space, because that's exactly how much difference there is. :-)"
--Larry Wall in <[EMAIL PROTECTED]>

SDF Public Access UNIX System - http://sdf.lonestar.org

On Wed, 18 Jun 2003, Reno Romanin wrote:

> Ok, just to satisfy my own curiosity,  Is there a way to build all of
> the ebuilds in a  tree? Such as /usr/portage/dev-perl/*
>
>
> I can't think of a reason you would need to do this, just wondering of
> it were possible.
>
> --reno
>
>
>

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Partition setup?

2003-06-18 Thread Stroller
On 18/6/03 9:18 pm, "Joe" <[EMAIL PROTECTED]> wrote:

>   I¹m in the process of planning my Gentoo Linux install, and I was wondering
> if anyone had some input on setting up the partitions?  I have 2 drives, one
> 15Gb and a 40Gb drive.  I will be running an ftp server on this box, and using
> it for miscellaneous other tasks.  If anyone can give any insight or maybe how
> you have set up your partitions I would appreciate it!  Thanks!

If it was going to be *just* an FTP server, I might be inclined to look into
LVM, in order to add some of your 15gb drive towards the ftp partition; I
don't have any experience  with LVM, yet, tho', so don't know how difficult
it is. Besides, since you're asking, you probably don't want to go that
route.

Here's what I'd do:
  /dev/hda  - 15gig drive; partition into 4, thus;
/dev/hda1   - /boot, 25meg - 50meg
/dev/hda2   - /swap, 125meg - 750meg
/dev/hda3   - / c 4gig  (plenty of room for /usr/portage,
  /usr/temp &c, but still
  flexible)
/dev/hda4   - /home, the rest, c 10gig.
   "My Documents" in M$ terminology.

  /dev/hdb  - 40gig drive, only one partition:
/dev/hdb1   - /home/ftp, 40gig

Some folks prefer to have /usr on a separate partition - it's such a popular
choice that I'm sure there must be a very good reason, but I've never worked
out (or researched, I'm too lazy) what it is. Giving /home it's own
partition just really works for me - it's a logical separation between user
& system files - and the /home/ftp mount point for the 2nd drive (I also
have another at /home/news, because I also run a caching Usenet server) just
made sense when I upgraded my system.

Note: some filesystems (eg; `man mke2fs`, "-m" option) reserve a certain
percentage of the drive for the root user. If you're configuring your
2nd-drive as I describe above you can force this to 0%.

HTH,

Stroller.

-- 
Enjoyed this post? Thanks for reading - please consider employing me!
Technical support / system administration - CV available on request
Linux / Unix / Windows / Mac OS X  - UK or anywhere considered



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] all ebuilds in a tree

2003-06-18 Thread Alan
On Wed, Jun 18, 2003 at 05:46:13PM -0500, Reno Romanin wrote:
> Ok, just to satisfy my own curiosity,  Is there a way to build all of
> the ebuilds in a  tree? Such as /usr/portage/dev-perl/*
>  
>  
> I can't think of a reason you would need to do this, just wondering of
> it were possible.

A bit of shell script magic would do it.  Something like this (not
tested, totally off the cuff, probably will destroy everything if you
try it):

$ for i in /usr/portage/dev-perl/* ; do emerge `echo $i | sed -e 's/.*\///'` ; done

alan
-- 
Alan <[EMAIL PROTECTED]> - http://arcterex.net

"There are only 3 real sports: bull-fighting, car racing and mountain 
climbing. All the others are mere games."-- Hemingway

--
[EMAIL PROTECTED] mailing list



[gentoo-user] all ebuilds in a tree

2003-06-18 Thread Reno Romanin








Ok, just to satisfy my own curiosity,  Is there a way to build all of the
ebuilds in a  tree? Such as
/usr/portage/dev-perl/*

 

 

I can’t think of a reason you would need to do this,
just wondering of it were possible.

 

--reno

 

 








Re: [gentoo-user] How did MySQL get in here?

2003-06-18 Thread Stroller
On 18/6/03 8:23 pm, "Thomas T. Veldhouse" <[EMAIL PROTECTED]> wrote:

> ...
> I run stable on this server and I don't have MySQL in my USE variable.
> 
> USE="curl doc imap ipv6 maildir odbc samba slp sse usb -oss -3dnow -apm \
>-arts -avi -encode -gpm -gtk -kde -gnome -mikmod -motif -mpeg \
>-oggvorbis -opengl -pdflib -qt -quicktime -sdl -truetype -X -xmms -xv \
>-mysql -ldap"
> 
> So, why the heck is it suggesting it for
> 
> emerge -up world

I think `emerge -upv world` would tell you this. It's not fantastically well
documented, but has been mentioned here a few times.

Stroller.

-- 
Enjoyed this post? Thanks for reading - please consider employing me!
Technical support / system administration - CV available on request
Linux / Unix / Windows / Mac OS X  - UK or anywhere considered



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] iputils

2003-06-18 Thread yLothar
* DATA >>> mercoledì 18 giugno 2003
* ORA  >>> 23:06

[>] Finne Boonen [<] #USE="acpiacpi4linux   docevogb
[>] Finne Boonen [<] gnomedb  mozacces  mozcalendar  mozinterfacecompose
[>] Finne Boonen [<] moznocompose  moznoirc  moznomail  moznoxft  mozp3p
[>] Finne Boonen [<] mozsvg mozxmlterm nas vim-with-x -cups -kde"
[>] Finne Boonen [<]
[>] Finne Boonen [<] to
[>] Finne Boonen [<]
[>] Finne Boonen [<] USE = "gnome moznocompose moznomail"
[>] Finne Boonen [<]
[>] Finne Boonen [<] but don't really know wich one did the trick :(

I guess it's nas...

-- 
  __    ___  ___  ___  
 / // / /__/ _ \/ __/ _ \/ _ `/ __/
 \_, //\___/\__/_//_/\_,_/_/   
/___/ «at» yblog.homelinux.org  


pgp0.pgp
Description: PGP signature


Re: [gentoo-user] parallel port printer

2003-06-18 Thread Gëzim
OK, thanks Ohad and the rest who helped me up to this
point.

Now I found out my printer ID: 133152 , to find the
drivers I'm supposed to do:
grep 133152 /usr/share/foomatic/db/source/driver/* 
and in the example used in the tutorials, he gets only
one driver, but when I do that, I get 8!!!

The next step in the example is:
foomatic-configure -s cups -p 317865 -c file:/dev/lp0
-n Epson -d gimp-print 

My question is, since I got 8 drivers, do I do:
foomatic-configure -s cups -p 133152 -c file:/dev/lp0
-n HP -d  -d  -d  -d
 -d  -d  -d  -d


or just:
foomatic-configure -s cups -p 133152 -c file:/dev/lp0
-n HP -d
   

or do I just choose one of the drivers? 

Note: the drive used in the example is: gimp-print
and the drivers I get are: cdj550, cdj670, cdj880,
cdj970, hpdj hpijs, pcl3, and stp.

Thank you very much,
ZiM

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] iputils

2003-06-18 Thread Finne Boonen
changed:

#USE = "acpi acpi4linux doc evo gb gnomedb mozacces mozcalendar
mozinterfacecompose moznocompose moznoirc moznomail moznoxft mozp3p mozsvg
mozxmlterm nas vim-with-x -cups -kde"

to

USE = "gnome moznocompose moznomail"

but don't really know wich one did the trick :(

Finne

On Wed, 18 Jun 2003, brett holcomb wrote:

> For the rest of us who might use it - what use flags did 
> you change?
> 
> On Wed, 18 Jun 2003 22:38:18 +0200 (MET DST)
>   Finne Boonen <[EMAIL PROTECTED]> wrote:
> >Emerge -up world, wanted me to emerge iputils a few days 
> >ago, after
> >several failed attempts to compile it, I found out the 
> >problem was my
> >useflags :)
> >
> >(just a bit of random info :))
> >
> >
> >mvg
> >Finne Boonen
> >***
> >Beware of the spring, it'll jump you when you least 
> >expect it
> >
> >
> >--
> >[EMAIL PROTECTED] mailing list
> >
> 
> 
> --
> [EMAIL PROTECTED] mailing list
> 


mvg
Finne Boonen
***
Beware of the spring, it'll jump you when you least expect it


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] iputils

2003-06-18 Thread brett holcomb
For the rest of us who might use it - what use flags did 
you change?

On Wed, 18 Jun 2003 22:38:18 +0200 (MET DST)
 Finne Boonen <[EMAIL PROTECTED]> wrote:
Emerge -up world, wanted me to emerge iputils a few days 
ago, after
several failed attempts to compile it, I found out the 
problem was my
useflags :)

(just a bit of random info :))

mvg
Finne Boonen
***
Beware of the spring, it'll jump you when you least 
expect it

--
[EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list


[gentoo-user] iputils

2003-06-18 Thread Finne Boonen
Emerge -up world, wanted me to emerge iputils a few days ago, after
several failed attempts to compile it, I found out the problem was my
useflags :)

(just a bit of random info :))


mvg
Finne Boonen
***
Beware of the spring, it'll jump you when you least expect it


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Partition setup?

2003-06-18 Thread Alan
On Wed, Jun 18, 2003 at 03:18:40PM -0500, Joe wrote:
> Hello,
>  
> I'm in the process of planning my Gentoo Linux install, and I was
> wondering if anyone had some input on setting up the partitions?  I have
> 2 drives, one 15Gb and a 40Gb drive.  I will be running an ftp server on
> this box, and using it for miscellaneous other tasks.  If anyone can
> give any insight or maybe how you have set up your partitions I would
> appreciate it!  Thanks!

This being linux, there is definately more than one way to do it...
However, assuming both drives are close to the same performance (IE:
one's not either a super fast or super slow drive), I might do something
like the following:

15G (hda)
  (hda1) 10-50M /boot   --  depending on if you have a lot of kernel
images hanging around :)
  (hda2) 500M swap  --  depending on the amount of ram you have you
might want more or less.  Some 
advocate no 
swap, but I always try to have 
256-1G or 
more around depending on HD 
space
  (hda3) remaining /--  lots of room for apps, portage, distfiles,
etc

40G (hdb)
  (hdb1) /home  --  put your ftp in /home/ftp web on
/home/httpd, etc.  Lots of 
room.

Just my suggestion anyway.

-- 
Alan <[EMAIL PROTECTED]> - http://arcterex.net

"There are only 3 real sports: bull-fighting, car racing and mountain 
climbing. All the others are mere games."-- Hemingway

--
[EMAIL PROTECTED] mailing list



[gentoo-user] stunnel-4.04

2003-06-18 Thread Simon Matthews

I seem to have a problem with stunnel-4.04 -- it is complaining about a 
missing file:
perdition: error while loading shared libraries: /usr/lib/libstunnel.so: 
cannot open shared object file: No such file or directory
closed

Note that I get this error message when connecting to the stunnel daemon. 
Stunnel should then transparently invoke perdition (in inetd mode). 

There is a file:
/usr/lib/libstunnel.la
but /usr/lib/libstunnel.so does not exist. 

Any suggestions?
Simon



--
[EMAIL PROTECTED] mailing list



[gentoo-user] Partition setup?

2003-06-18 Thread Joe








Hello,

 

    I’m in the
process of planning my Gentoo Linux install, and I was wondering if anyone had
some input on setting up the partitions?  I have 2 drives, one 15Gb
and a 40Gb drive.  I will be running an
ftp server on this box, and using it for miscellaneous other tasks.  If anyone can give any insight or maybe how
you have set up your partitions I would appreciate it!  Thanks!

 

 - Joe J








Re: [gentoo-user] extend a running shell command

2003-06-18 Thread Ohad Lutzky
On Wed, Jun 18, 2003 at 04:01:17PM -0400, Mike Principito wrote:
> The solution outlined below reguarding checking the pid is a good solution
> to the problem. Another idea, which is a complete kludge, is just to type
> ahead in the terminal.
> 
> Both solutions would work the same, but neither will know if the original
> command was sucessful or not.

That's true. Redirection of output is a much bigger problem... screen
solves it partially by letting you move programs around between
terminals, but I don't think there's a way to capture the output (or
status) of a process without, well, camping it. :)

-- 
Tactless

"If it wasn't for fog, the world would run at a really crappy framerate."
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] extend a running shell command

2003-06-18 Thread Mike Principito
The solution outlined below reguarding checking the pid is a good solution
to the problem. Another idea, which is a complete kludge, is just to type
ahead in the terminal.

Both solutions would work the same, but neither will know if the original
command was sucessful or not.

~Mike

-><-

"And don't tell me there isn't one bit of difference between null and
space, because that's exactly how much difference there is. :-)"
--Larry Wall in <[EMAIL PROTECTED]>

SDF Public Access UNIX System - http://sdf.lonestar.org

On Wed, 18 Jun 2003, Ohad Lutzky wrote:

> On Wed, Jun 18, 2003 at 01:15:11PM +, Christopher Egner wrote:
> > You could use && or ||.
> > && works only if the return is zero, usually meaning everything worked
> > in the first program. The second, || only works if the return is non
> > zero.
>
> You guys aren't getting it... the command is already running. He's
> thinking along the lines of this: "Okay, I'm downloading this file, it's
> not resumable and already at 60%. It'll take a few hours more to
> download and quite a while to untar it. I'm going to sleep now... I wish
> I could tell it to untar once it's done downloading. Too bad I can't
> start over without losing all the progress it already made."
>
> As for the solution - I got nothing concrete, but here's my idea: Figure
> out the PID of the process you want to be finished. Then create a script
> that loops while the PID is existant, and once it's not - does whatever
> it is that you want to do. Actually, that would be a one-liner. Here's
> my idea:
>
> First, get the PID using pidof. I'll call it $THE_PID
> Then what you need is this:
>
> $ while [ -e /proc/$THE_PID ]; do; sleep 5; done && echo "Process exited"
>
> Of course, you change the echo command to whatever you want.
> There might be a better way to do this, I usually such at shell-fu, and
> the only thing I know about /proc is that if a process is running, it's
> PID is there. :)
>
>
>
>
> , but I'm
> not sure ho
>
> --
> Tactless
>
> "If it wasn't for fog, the world would run at a really crappy framerate."
> This is a .signature virus! Please copy me into your .signature.
>
> --
> [EMAIL PROTECTED] mailing list
>

--
[EMAIL PROTECTED] mailing list



[gentoo-user] Install package with different configuration options

2003-06-18 Thread Simon Matthews

I need to specify an option when building openssl that will apparently 
allow it to inter-operate with broken clients such as Eudora.

Can someone point me to a document that shows how to use emerge to 
download a package, edit the build options and then install it?

Simon



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] How did MySQL get in here?

2003-06-18 Thread Christopher Egner
I'm surprised no one has been able to explain this yet. But here goes.
You've got DBD-mysql in there. Which NEEDS mysql libraries, as its
actually just a wrapper for the mysql c api. It only needs the client
libraries, but I'm not sure you can get those by themselves. I'm not sre
why your system needs DBD-mysql, but thats another story.


On Wed, 2003-06-18 at 19:34, brett holcomb wrote:
> Something you merged must want mysql?
> 
> On Wed, 18 Jun 2003 14:23:33 -0500
>   "Thomas T. Veldhouse" <[EMAIL PROTECTED]> wrote:
> >[ebuild  N   ] dev-db/mysql-3.23.56
> >[ebuildU ] dev-perl/DBD-mysql-2.1027 [2.1013-r1]
> >[ebuildU ] dev-perl/DBI-1.37 [1.32]
> >[ebuildU ] sys-devel/gcc-config-1.3.3-r1 [1.3.1]
> >[ebuildU ] sys-libs/cracklib-2.7-r7 [2.7-r6]
> >[ebuildU ] app-admin/gentoolkit-0.1.27 [0.1.25]
> >[ebuildU ] dev-java/ant-1.5.3-r4 [1.5.2]
> >[ebuildU ] dev-db/postgresql-7.3.3 [7.3.2]
> >[ebuildU ] net-analyzer/nmap-3.27-r1 [3.20]
> >
> >I run stable on this server and I don't have MySQL in my 
> >USE variable.
> >
> >USE="curl doc imap ipv6 maildir odbc samba slp sse usb 
> >-oss -3dnow -apm \
> >  -arts -avi -encode -gpm -gtk -kde -gnome -mikmod 
> >-motif -mpeg \
> >  -oggvorbis -opengl -pdflib -qt -quicktime -sdl 
> >-truetype -X -xmms -xv \
> >  -mysql -ldap"
> >
> >So, why the heck is it suggesting it for
> >
> >emerge -up world
> >
> >?
> >
> >Tom Veldhouse
> >
> >
> >--
> >[EMAIL PROTECTED] mailing list
> >
> 
> 
> --
> [EMAIL PROTECTED] mailing list
> 


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] extend a running shell command

2003-06-18 Thread bryn
Christopher Fisk wrote:
use ^Z to pause the task at hand, then use 'fg ; next-command' to put the 
paused command back into the FG and add the new command to the end.


The problem with that approach is that once you've entered 'fg ; 
command' you loose job control on that shell.

Check the bugs section of the man page - builtins like fg aren't 
supported elegantly by job control and you cant properly suspend the 
command. If you try, the next job in sequence is executed immediately 
even though it should wait on fg's termination.

While this won't effect the example given, it does criple the shell 
for future use until the sequence completes. It's totally a personal 
thing but really bugs me so I avoid doing it (do fg voodoo, forget I'm 
using a builtin, hit -z... oops!)

I think this is a very long standing bash issue and probably won't get 
fixed anytime soon.

Cheers

Bryn

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] extend a running shell command

2003-06-18 Thread bryn
Ohad Lutzky wrote:
You guys aren't getting it... the command is already running. He's
thinking along the lines of this: "Okay, I'm downloading this file, it's
not resumable and already at 60%. It'll take a few hours more to
download and quite a while to untar it. I'm going to sleep now... I wish
I could tell it to untar once it's done downloading. Too bad I can't
start over without losing all the progress it already made."
As for the solution - I got nothing concrete, but here's my idea: Figure
out the PID of the process you want to be finished. Then create a script
that loops while the PID is existant, and once it's not - does whatever
it is that you want to do. Actually, that would be a one-liner. Here's
my idea:
Great minds think alike ;-)

First, get the PID using pidof. I'll call it $THE_PID
Then what you need is this:
Not sure about pidof for this tho - it'll return the pid of every 
process running the command you supply. Try pidof mozilla-bin with moz 
running. jobs lets you see just the jobs running in the current shell 
- an incantation like the following might be a better way to get the 
pid for a script:

[EMAIL PROTECTED] bryn $ jobs -l
[1]   1530 Stopped updatedb
[2]-  1534 Stopped updatedb
[3]+  1535 Stopped ls -lR /
[EMAIL PROTECTED] bryn $ jobs -l | grep ls | awk '{print $2}'
1535
[EMAIL PROTECTED] bryn $
To be honest tho this is all a bit hardcore for me! Maybe someone on a 
bash-specific mailing list would be able to give better advice?

Cheers

Bryn

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] extend a running shell command

2003-06-18 Thread Christopher Fisk
On Wed, 18 Jun 2003, Ohad Lutzky wrote:

>While this might work, it's still a preemptive solution. You have to do
>it _before_ you started running the job, or else you'll be knocking on
>your forehead. What do you make of my solution?
>
>while [ -e /proc/$THE_PID ]; do sleep 5; done && (next command)

I already posted this in responce to anther message on the thread, but I 
think you are overthinking this.

use ^Z to pause the task at hand, then use 'fg ; next-command' to put the 
paused command back into the FG and add the new command to the end.


Christopher Fisk
--
   "The dynamics of inter-being and mono logical imperatives in Dick and Jane :
A study in psychic transrelational gender modes". Academia, here I come.
  -- Calvin

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] extend a running shell command

2003-06-18 Thread Christopher Fisk
On Wed, 18 Jun 2003, Ohad Lutzky wrote:

>On Wed, Jun 18, 2003 at 01:15:11PM +, Christopher Egner wrote:
>> You could use && or ||.
>> && works only if the return is zero, usually meaning everything worked
>> in the first program. The second, || only works if the return is non
>> zero.
>
>You guys aren't getting it... the command is already running. He's
>thinking along the lines of this: "Okay, I'm downloading this file, it's
>not resumable and already at 60%. It'll take a few hours more to
>download and quite a while to untar it. I'm going to sleep now... I wish
>I could tell it to untar once it's done downloading. Too bad I can't
>start over without losing all the progress it already made."

sure ya can.

^Z the process to pause it, then type:

fg ; halt


Christopher Fisk
--
HIGH EXPLOSIVES AND SCHOOL DON'T MIX
HIGH EXPLOSIVES AND SCHOOL DON'T MIX
Bart Simpson on chalkboard in episode 8F03

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: extend a running shell command

2003-06-18 Thread bryn
CrPy wrote:
Hi ng,

sorry, but I think you don't get the problem. Type 
sleep 100h 
in your shell. And now don't kill it or stop it. Now imagine that you actually 
forgot what you really wanted: To halt the machine after the program (that 
already runs and may be it will need to run for some hours because it is a 
compile process or similar). And imagine that you don't want to sit all the 
time behind your computer and wait until the program finishes to be able to 
halt the computer. So, what I want is, to append to the aready running 
command line a new command without stopping the old (because then it would 
have to start it from the beginning). I think, it would be ok to suspend the 
running program temporarily and to resume it after a short time where I 
append the additional command to it.

After all it should look like i never executed
sleep 100h
but 
sleep 100h; halt

One solution I have is to suspend the command with  and type
fg; halt
But what if I have a longer queue of commands and I like to edit the command 
line.

e.g.
make clean && make dep && make bzImage && make module && make modules_install
And now I see that I have a typo in the line (the make module -> make 
modules). How can I change the entered command line while excuting this 
command line?

Sorry, it was not easy for me to explain it in a way that somebody else could 
understand it. Maybe it is more clear now.

THX

/CrPy

--
[EMAIL PROTECTED] mailing list


I got what you meant from the first post but what you're asking for is 
not trivial!!

First stop is the job control section of the bash manual (If you use 
less as your pager, do a man bash and hit /^J ). You should 
also check out the bugs section and the comments regarding compound 
commands & sequences.

You will definately want to suspend the running job with -z (no 
 needed!) or start it in the background with &

You can get the process id of a running job from jobs -p, you may also 
want to explore the -l option.

A hackish solution might be a script which greps/awks these values and 
awaits the disappearance of the pid from /proc or ps's output before 
executing the command but I can't see a way you'd be able to 
retrospectively capture the exit code of the job in order to make a 
decision based on it.

I don't know when bash parses the command string you enter but I guess 
it's probably all done by the time the process is started - allowing 
you to go back and change it sounds tricky and would need work on bash 
itself. You could try making a feature request to the maintainers of 
bash - their emails are in the man page but if it conflicts with any 
of the sh compatibility I doubt they'd go for it..

Alternatively check out the other shells available like ksh, csh etc. 
They all have slightly different job control features - maybe there's 
one to suit you better than bash out there.

Having said all that I just read Robert's post - if all you want to do 
is tack on extra commands like the halt example you gave then that's 
surely the easiest way to go.

Good luck

Bryn



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] How did MySQL get in here?

2003-06-18 Thread brett holcomb
Something you merged must want mysql?

On Wed, 18 Jun 2003 14:23:33 -0500
 "Thomas T. Veldhouse" <[EMAIL PROTECTED]> wrote:
[ebuild  N   ] dev-db/mysql-3.23.56
[ebuildU ] dev-perl/DBD-mysql-2.1027 [2.1013-r1]
[ebuildU ] dev-perl/DBI-1.37 [1.32]
[ebuildU ] sys-devel/gcc-config-1.3.3-r1 [1.3.1]
[ebuildU ] sys-libs/cracklib-2.7-r7 [2.7-r6]
[ebuildU ] app-admin/gentoolkit-0.1.27 [0.1.25]
[ebuildU ] dev-java/ant-1.5.3-r4 [1.5.2]
[ebuildU ] dev-db/postgresql-7.3.3 [7.3.2]
[ebuildU ] net-analyzer/nmap-3.27-r1 [3.20]
I run stable on this server and I don't have MySQL in my 
USE variable.

USE="curl doc imap ipv6 maildir odbc samba slp sse usb 
-oss -3dnow -apm \
 -arts -avi -encode -gpm -gtk -kde -gnome -mikmod 
-motif -mpeg \
 -oggvorbis -opengl -pdflib -qt -quicktime -sdl 
-truetype -X -xmms -xv \
 -mysql -ldap"

So, why the heck is it suggesting it for

emerge -up world

?

Tom Veldhouse

--
[EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] runlevels & su

2003-06-18 Thread brett holcomb
I don't even have sudo merged!  I use su - (but that might 
go away) for one user - me.

On 18 Jun 2003 14:09:13 +
 Christopher Egner <[EMAIL PROTECTED]> wrote:
Be careful who you give access to sudo too! If you give a 
user sudo
access you've just given him full access, all he needs to 
do is sudo su
and he's in without root password, and change the root 
password, any
settings really.


--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] runlevels & su

2003-06-18 Thread brett holcomb
1.  Why is the wheel group default in Gentoo then?  What 
is the rationale behind it.  To be honest I haven't see it 
in Caldera's stuff so I never worried about it.

2.  I agree - If you give everyone wheel access you 
deserve what you get .  I have one user (myself) that 
has that privilege but I have never used it and will 
probably take that away as I usually switch to a virtual 
console and login as root.  I did the same under VMS - if 
you needed system privileges you used the system account.

On Wed, 18 Jun 2003 12:07:18 -0700
 Zack Gilburd <[EMAIL PROTECTED]> wrote:
On Wednesday 18 June 2003 10:37, brett holcomb wrote:
Well, yes he can if he wants - he can do anything he
wants, even use root as a user account!  My answer was
from the viewpoint of Gentoo's default.  It may not be
gospel but I assume there is a good reason for doing it
that way and before I change it I'd do some checking to
see what the ramifications are.
Okay, please allow me to make something clear on the 
logic of the wheel group.  
_If_ your root password is god-forbid leaked (and you 
have root login from a 
console or SSH disabled as you should), then it would be 
impossible for a 
normal user to get to the root account unless they were 
already in the wheel 
group.  Now, if you go around giving everybody wheel, 
then you're defeating 
the purpose of the group.  You should really only have 
one wheel member, and 
that's your normal user account.

I have sysadmin friends who have a new user account (with 
a random username) 
that is in the wheel group created weekly just for 
paranoia reasons.

Oh, and another thing, NEVER use the same password for 
your root account as 
you do for the account(s) that is in wheel.  That way, if 
someone knows both 
your wheel account and root password but not the wheel 
account's password, 
you're still okay.

I hope this helps

--
Zack Gilburd
http://tehunlose.com


--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] extend a running shell command

2003-06-18 Thread Ohad Lutzky
On Wed, Jun 18, 2003 at 01:39:23PM +, Christopher Egner wrote:
> On Wed, 2003-06-18 at 18:21, [EMAIL PROTECTED] wrote:
> > On Wed, Jun 18, 2003 at 08:05:33PM +0200, CrPy wrote:
> > > Hi ng,
> > > 
> > > I'm using linux for many years, but there is a concern I have never solved.
> > > 
> > > Assuming, I have a command running in my nice bash shell and I do not know, 
> > > how long it will run. Now, I like to append an additional command , which 
> > > starts running after the first command has finished. How can I do this? Or is 
> > > it possible to do this at all? - After all it is Open Source ;-)
> > > 
> > > Here us an simplified example of what I want to do:
> > > # sleep 100h
> > > 
> > > How long will it run? OK, I know it. But now, I like to halt my maschine after 
> > > the command has finished. And actually what I really want to have is this:
> > > # sleep 100h; halt
> > > 
> > > Can I somehow extend the command line, after sleep is already running?
> > 
> > What you're asking is whether you can modify an input file that is being
> > read by a program. The answer is... "sort of". Some applications, such
> > as "tail -f", expect a file to grow as it is being read; that is, they
> > expect that more data might appear at the end after they have read EOF.
> 
> what you would need to do. Sorry I misread originally, is to setup a
> linked queue within either the shell, or a program that has a linked
> queue, I do it something like
> 
> struct node {
> char *cmd;
> node *next
> }
> 
> node nodes[3];
> 
> nodes[0].cmd = "sleep 10h";
> nodes[0].next = &node[1];
> nodes[1].cmd = "halt";
> nodes[1].next = 0;
> 
> node *current;
> current = node;
> while (current)
> {
> execute(current.cmd);
> current = current.next;
> }
> 
> You'd have to have a function that could add something in while it was
> running. But it wouldn't affect execution, just the node list. So
> extending the list would be something like:
> 
> addnode (node *toadd, node *toaddafer)
> {
> node *tmp;
> 
> tmp = toaddafter.next;
> toaddafter.next = toadd;
> toadd.next = tmp;
> }
> 
> This type of idea is relatively basic, the problem is that it USUALLY
> isn't necessary.
> 
> > That's pretty unusual stuff, however. Expecting a command interpreter like
> > bash to work this way is risky and non-portable. And in interpreters that
> > compile their scripts, like Perl, there's absolutely no way you could
> > do it. In general, it's a bad idea: once you've handed an input file to
> > an application (bash or any other application), you should leave it alone.
> > 
> > Nathan Meyers
> > [EMAIL PROTECTED]
> > 
> > 
> > > 
> > > THX
> > > 
> > > /CrPy
> > > 
> > > 
> > > --
> > > [EMAIL PROTECTED] mailing list
> > > 
> > > 
> 
> 
> --
> [EMAIL PROTECTED] mailing list
> 

While this might work, it's still a preemptive solution. You have to do
it _before_ you started running the job, or else you'll be knocking on
your forehead. What do you make of my solution?

while [ -e /proc/$THE_PID ]; do sleep 5; done && (next command)


-- 
Tactless

"If it wasn't for fog, the world would run at a really crappy framerate."
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] How did MySQL get in here?

2003-06-18 Thread Robert van der Linde
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Try emerge -uvp world

Op woensdag 18 juni 2003 21:23, schreef Thomas T. Veldhouse:
> [ebuild  N   ] dev-db/mysql-3.23.56
> [ebuildU ] dev-perl/DBD-mysql-2.1027 [2.1013-r1]
> [ebuildU ] dev-perl/DBI-1.37 [1.32]
> [ebuildU ] sys-devel/gcc-config-1.3.3-r1 [1.3.1]
> [ebuildU ] sys-libs/cracklib-2.7-r7 [2.7-r6]
> [ebuildU ] app-admin/gentoolkit-0.1.27 [0.1.25]
> [ebuildU ] dev-java/ant-1.5.3-r4 [1.5.2]
> [ebuildU ] dev-db/postgresql-7.3.3 [7.3.2]
> [ebuildU ] net-analyzer/nmap-3.27-r1 [3.20]
>
> I run stable on this server and I don't have MySQL in my USE variable.
>
> USE="curl doc imap ipv6 maildir odbc samba slp sse usb -oss -3dnow -apm \
>  -arts -avi -encode -gpm -gtk -kde -gnome -mikmod -motif -mpeg \
>  -oggvorbis -opengl -pdflib -qt -quicktime -sdl -truetype -X -xmms -xv
> \ -mysql -ldap"
>
> So, why the heck is it suggesting it for
>
> emerge -up world
>
> ?
>
> Tom Veldhouse
>
>
> --
> [EMAIL PROTECTED] mailing list

- -- 
Download my GPG key:
http://linde002.no-ip.com/pub/robert.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+8L2KkzoC9/b++OQRAn3UAKCKC+uHTMeX+xe+mZmp7zZPTTH1ggCdGyHJ
PBmJDoNBBefPV6UGRU7yUZo=
=CRB6
-END PGP SIGNATURE-


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] extend a running shell command

2003-06-18 Thread Ohad Lutzky
On Wed, Jun 18, 2003 at 01:15:11PM +, Christopher Egner wrote:
> You could use && or ||.
> && works only if the return is zero, usually meaning everything worked
> in the first program. The second, || only works if the return is non
> zero.

You guys aren't getting it... the command is already running. He's
thinking along the lines of this: "Okay, I'm downloading this file, it's
not resumable and already at 60%. It'll take a few hours more to
download and quite a while to untar it. I'm going to sleep now... I wish
I could tell it to untar once it's done downloading. Too bad I can't
start over without losing all the progress it already made."

As for the solution - I got nothing concrete, but here's my idea: Figure
out the PID of the process you want to be finished. Then create a script
that loops while the PID is existant, and once it's not - does whatever
it is that you want to do. Actually, that would be a one-liner. Here's
my idea:

First, get the PID using pidof. I'll call it $THE_PID
Then what you need is this:

$ while [ -e /proc/$THE_PID ]; do; sleep 5; done && echo "Process exited"

Of course, you change the echo command to whatever you want.
There might be a better way to do this, I usually such at shell-fu, and
the only thing I know about /proc is that if a process is running, it's
PID is there. :)




, but I'm
not sure ho

-- 
Tactless

"If it wasn't for fog, the world would run at a really crappy framerate."
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



[gentoo-user] How did MySQL get in here?

2003-06-18 Thread Thomas T. Veldhouse
[ebuild  N   ] dev-db/mysql-3.23.56
[ebuildU ] dev-perl/DBD-mysql-2.1027 [2.1013-r1]
[ebuildU ] dev-perl/DBI-1.37 [1.32]
[ebuildU ] sys-devel/gcc-config-1.3.3-r1 [1.3.1]
[ebuildU ] sys-libs/cracklib-2.7-r7 [2.7-r6]
[ebuildU ] app-admin/gentoolkit-0.1.27 [0.1.25]
[ebuildU ] dev-java/ant-1.5.3-r4 [1.5.2]
[ebuildU ] dev-db/postgresql-7.3.3 [7.3.2]
[ebuildU ] net-analyzer/nmap-3.27-r1 [3.20]

I run stable on this server and I don't have MySQL in my USE variable.

USE="curl doc imap ipv6 maildir odbc samba slp sse usb -oss -3dnow -apm \
 -arts -avi -encode -gpm -gtk -kde -gnome -mikmod -motif -mpeg \
 -oggvorbis -opengl -pdflib -qt -quicktime -sdl -truetype -X -xmms -xv \
 -mysql -ldap"

So, why the heck is it suggesting it for

emerge -up world

?

Tom Veldhouse


--
[EMAIL PROTECTED] mailing list



[gentoo-user] More Portage Trouble

2003-06-18 Thread Thomas T. Veldhouse
>>> Updating Portage cache... -
aux_get(): (0) Error in app-text/gpdf-0.102 ebuild.
   Check for syntax error or corruption in the ebuild. (--debug)

  ...done!




--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: extend a running shell command

2003-06-18 Thread Robert Kruus
On Wed, 18 Jun 2003 21:01:02 +0200
CrPy <[EMAIL PROTECTED]> wrote:

> Hi ng,
> 
> sorry, but I think you don't get the problem. Type 
> sleep 100h 
> in your shell. And now don't kill it or stop it. Now imagine that you actually
> 
> forgot what you really wanted: To halt the machine after the program (that 
> already runs and may be it will need to run for some hours because it is a 
> compile process or similar). And imagine that you don't want to sit all the 
> time behind your computer and wait until the program finishes to be able to 
> halt the computer. So, what I want is, to append to the aready running 
> command line a new command without stopping the old (because then it would 
> have to start it from the beginning). I think, it would be ok to suspend the 
> running program temporarily and to resume it after a short time where I 
> append the additional command to it.
> 
> After all it should look like i never executed
> sleep 100h
> but 
> sleep 100h; halt
> 
> One solution I have is to suspend the command with  and type
> fg; halt
> 
> But what if I have a longer queue of commands and I like to edit the command 
> line.
> 
> e.g.
> make clean && make dep && make bzImage && make module && make modules_install
> 
> And now I see that I have a typo in the line (the make module -> make 
> modules). How can I change the entered command line while excuting this 
> command line?
> 
> Sorry, it was not easy for me to explain it in a way that somebody else could 
> understand it. Maybe it is more clear now.
> 
> THX
> 
> /CrPy
> 
> 
> --
> [EMAIL PROTECTED] mailing list
> 

If I understand correctly, all you have to do is type the command.
The terminal will still accept input and should run the command after the first
has run.
If you do notice an error (as in your example), the command will terminate
where ever you had your typo.
So in your example, just type in the rest of your command again  properly
starting with:
make modules && make modules_install
Then, when the first part terminates with the error, the next section will
proceed.

It is however some times difficult to type if you have output from your
job/process spilling on your screen.  The shell is still capturing your
characters however.
(Try cat some_long_file and then type logout/ls/pwd... as it is scrolling by)




--
Robert Kruus --- [EMAIL PROTECTED]
What we know is not much. What we do not know is immense.
Pierre-Simon Laplace (1749-1827)
Quoted in Budget of Paradoxes

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] [gentoo-dev] broken portage ;P and yes .. it's my fault .. sortoff

2003-06-18 Thread Zack Gilburd
On Wednesday 18 June 2003 08:07, Henti Smith wrote:
> On Wed, 18 Jun 2003 16:42:24 +0200
> Henti Smith <[EMAIL PROTECTED]> wrote:
>
> problem was currpot virtuals file ... rm'ed and working again
> just need to find out how to regen virtuals file ;P

`regenworld` as root.

-- 
Zack Gilburd
http://tehunlose.com


pgp0.pgp
Description: signature


Re: [gentoo-user] runlevels & su

2003-06-18 Thread Christopher Egner
Be careful who you give access to sudo too! If you give a user sudo
access you've just given him full access, all he needs to do is sudo su
and he's in without root password, and change the root password, any
settings really.

On Wed, 2003-06-18 at 19:07, Zack Gilburd wrote:
> On Wednesday 18 June 2003 10:37, brett holcomb wrote:
> > Well, yes he can if he wants - he can do anything he
> > wants, even use root as a user account!  My answer was
> > from the viewpoint of Gentoo's default.  It may not be
> > gospel but I assume there is a good reason for doing it
> > that way and before I change it I'd do some checking to
> > see what the ramifications are.
> 
> Okay, please allow me to make something clear on the logic of the wheel group.  
> _If_ your root password is god-forbid leaked (and you have root login from a 
> console or SSH disabled as you should), then it would be impossible for a 
> normal user to get to the root account unless they were already in the wheel 
> group.  Now, if you go around giving everybody wheel, then you're defeating 
> the purpose of the group.  You should really only have one wheel member, and 
> that's your normal user account.
> 
> I have sysadmin friends who have a new user account (with a random username) 
> that is in the wheel group created weekly just for paranoia reasons.
> 
> Oh, and another thing, NEVER use the same password for your root account as 
> you do for the account(s) that is in wheel.  That way, if someone knows both 
> your wheel account and root password but not the wheel account's password, 
> you're still okay.
> 
> I hope this helps


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: extend a running shell command

2003-06-18 Thread Christopher Egner
Take a look at my example, I think the only way is to either add
commands into the shell itself (the core code of it) as some sort of
free linking nodes. Currently theirs no capacity, that I've ever seen to
edit the command line while its running. It could be dangerous too,
since some programs depend on knowing the commandline. Although in your
situation, it would seem safe enough.


On Wed, 2003-06-18 at 19:01, CrPy wrote:
> Hi ng,
> 
> sorry, but I think you don't get the problem. Type 
> sleep 100h 
> in your shell. And now don't kill it or stop it. Now imagine that you actually 
> forgot what you really wanted: To halt the machine after the program (that 
> already runs and may be it will need to run for some hours because it is a 
> compile process or similar). And imagine that you don't want to sit all the 
> time behind your computer and wait until the program finishes to be able to 
> halt the computer. So, what I want is, to append to the aready running 
> command line a new command without stopping the old (because then it would 
> have to start it from the beginning). I think, it would be ok to suspend the 
> running program temporarily and to resume it after a short time where I 
> append the additional command to it.
> 
> After all it should look like i never executed
> sleep 100h
> but 
> sleep 100h; halt
> 
> One solution I have is to suspend the command with  and type
> fg; halt
> 
> But what if I have a longer queue of commands and I like to edit the command 
> line.
> 
> e.g.
> make clean && make dep && make bzImage && make module && make modules_install
> 
> And now I see that I have a typo in the line (the make module -> make 
> modules). How can I change the entered command line while excuting this 
> command line?
> 
> Sorry, it was not easy for me to explain it in a way that somebody else could 
> understand it. Maybe it is more clear now.
> 
> THX
> 
> /CrPy
> 
> 
> --
> [EMAIL PROTECTED] mailing list
> 


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] runlevels & su

2003-06-18 Thread Zack Gilburd
On Wednesday 18 June 2003 10:37, brett holcomb wrote:
> Well, yes he can if he wants - he can do anything he
> wants, even use root as a user account!  My answer was
> from the viewpoint of Gentoo's default.  It may not be
> gospel but I assume there is a good reason for doing it
> that way and before I change it I'd do some checking to
> see what the ramifications are.

Okay, please allow me to make something clear on the logic of the wheel group.  
_If_ your root password is god-forbid leaked (and you have root login from a 
console or SSH disabled as you should), then it would be impossible for a 
normal user to get to the root account unless they were already in the wheel 
group.  Now, if you go around giving everybody wheel, then you're defeating 
the purpose of the group.  You should really only have one wheel member, and 
that's your normal user account.

I have sysadmin friends who have a new user account (with a random username) 
that is in the wheel group created weekly just for paranoia reasons.

Oh, and another thing, NEVER use the same password for your root account as 
you do for the account(s) that is in wheel.  That way, if someone knows both 
your wheel account and root password but not the wheel account's password, 
you're still okay.

I hope this helps

-- 
Zack Gilburd
http://tehunlose.com


pgp0.pgp
Description: signature


[gentoo-user] Re: extend a running shell command

2003-06-18 Thread CrPy
Hi ng,

sorry, but I think you don't get the problem. Type 
sleep 100h 
in your shell. And now don't kill it or stop it. Now imagine that you actually 
forgot what you really wanted: To halt the machine after the program (that 
already runs and may be it will need to run for some hours because it is a 
compile process or similar). And imagine that you don't want to sit all the 
time behind your computer and wait until the program finishes to be able to 
halt the computer. So, what I want is, to append to the aready running 
command line a new command without stopping the old (because then it would 
have to start it from the beginning). I think, it would be ok to suspend the 
running program temporarily and to resume it after a short time where I 
append the additional command to it.

After all it should look like i never executed
sleep 100h
but 
sleep 100h; halt

One solution I have is to suspend the command with  and type
fg; halt

But what if I have a longer queue of commands and I like to edit the command 
line.

e.g.
make clean && make dep && make bzImage && make module && make modules_install

And now I see that I have a typo in the line (the make module -> make 
modules). How can I change the entered command line while excuting this 
command line?

Sorry, it was not easy for me to explain it in a way that somebody else could 
understand it. Maybe it is more clear now.

THX

/CrPy


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Apache not seeing directories

2003-06-18 Thread Zack Gilburd
On Wednesday 18 June 2003 10:11, [EMAIL PROTECTED] wrote:
> 
> DocumentRoot /home/version3/public_html/htdocs/
> ServerName version3.phs.org
> ServerAlias version3
> CustomLog logs/version3_access_log combined env=!VLOG
> ErrorLog logs/version3_error_log
> LogLevel debug
> ScriptAlias /cgi-bin/ "/home/version3/public_html/cgi-bin/"
>
>
> 
>
>   RewriteEngine on
>   RewriteLogLevel 9
>   RewriteLog  logs/version3_rewrite_log
>   RewriteRule ^(.*)styles\.html$  $1styles.css [R=permanent]
>   RewriteRule ^(.*)\.htm$ $1.shtml [R=permanent]
>   RewriteRule ^(.*)\.html$ $1.shtml [R=permanent]
> 
> 
> The only other directive that is being used in the apache server is Server
> Side Includes.
> Within the /home/version3/public_html/htdocs directory I have two
> directories that apache does not find, they are:
> navigation & webtrends

I don't mean to be rude, but that is a *very* sloppy method of doing vhosts.  
Allow me to attach my vhosts config.  With this config, icons still work in 
directory listings and cgi scripts work anywhere in a vhost's docroot.  With 
this config, the directory hierarchy is in this fashion: "/www/www.foo.com/" 
where you place all of the content for www.foo.com in that directory.  Now, 
let's say you want a different site (bar.foo.com) to have a different 
docroot: Just place all of bar.foo.com's docroot files in 
"/www/bar.foo.com/".  The only complaint you may have with this method is 
that if you want foo.com to have the same docroot as www.foo.com, the best 
idea is to make a symlink.  It just gets annoying when you're hosting 5+ 
domains like myself and you try to look at /www/.

BTW, all off the  stuff is already in the vhosts, so it's really 
just a matter of including this conf.  Also, you can feel free to delete the 
mt.cfg stuff, that's just for the MovableType blogs I host.

Regards,

-- 
Zack Gilburd
http://tehunlose.com
# get the server name from the Host: header
UseCanonicalName Off

# splittable logs
LogFormat "%{Host}i %h %l %u %t \"%r\" %s %b" vcommon
CustomLog logs/access_log vcommon


Options Indexes FollowSymLinks MultiViews ExecCGI
AllowOverride All
Order allow,deny
Allow from all


# now for the hard bit

RewriteEngine On

# a ServerName derived from a Host: header may be any case at all
RewriteMap  lowercase  int:tolower

## deal with normal documents first:
# allow Alias /icons/ to work - repeat for other aliases
RewriteCond  %{REQUEST_URI}  !^/icons/
# allow CGIs to work
RewriteCond  %{REQUEST_URI}  !^/cgi-bin/
# do the magic
RewriteRule  ^/(.*)$  /www/${lowercase:%{SERVER_NAME}}/$1

## and now deal with CGIs - we have to force a MIME type
RewriteCond  %{REQUEST_URI}  ^/cgi-bin/
RewriteRule  ^/(.*)$  /www/${lowercase:%{SERVER_NAME}}/cgi-bin/$1  
[T=application/x-httpd-cgi]

# that's it!



deny from all




pgp0.pgp
Description: signature


Re: [gentoo-user] extend a running shell command

2003-06-18 Thread Christopher Egner
On Wed, 2003-06-18 at 18:21, [EMAIL PROTECTED] wrote:
> On Wed, Jun 18, 2003 at 08:05:33PM +0200, CrPy wrote:
> > Hi ng,
> > 
> > I'm using linux for many years, but there is a concern I have never solved.
> > 
> > Assuming, I have a command running in my nice bash shell and I do not know, 
> > how long it will run. Now, I like to append an additional command , which 
> > starts running after the first command has finished. How can I do this? Or is 
> > it possible to do this at all? - After all it is Open Source ;-)
> > 
> > Here us an simplified example of what I want to do:
> > # sleep 100h
> > 
> > How long will it run? OK, I know it. But now, I like to halt my maschine after 
> > the command has finished. And actually what I really want to have is this:
> > # sleep 100h; halt
> > 
> > Can I somehow extend the command line, after sleep is already running?
> 
> What you're asking is whether you can modify an input file that is being
> read by a program. The answer is... "sort of". Some applications, such
> as "tail -f", expect a file to grow as it is being read; that is, they
> expect that more data might appear at the end after they have read EOF.

what you would need to do. Sorry I misread originally, is to setup a
linked queue within either the shell, or a program that has a linked
queue, I do it something like

struct node {
char *cmd;
node *next
}

node nodes[3];

nodes[0].cmd = "sleep 10h";
nodes[0].next = &node[1];
nodes[1].cmd = "halt";
nodes[1].next = 0;

node *current;
current = node;
while (current)
{
execute(current.cmd);
current = current.next;
}

You'd have to have a function that could add something in while it was
running. But it wouldn't affect execution, just the node list. So
extending the list would be something like:

addnode (node *toadd, node *toaddafer)
{
node *tmp;

tmp = toaddafter.next;
toaddafter.next = toadd;
toadd.next = tmp;
}

This type of idea is relatively basic, the problem is that it USUALLY
isn't necessary.

> That's pretty unusual stuff, however. Expecting a command interpreter like
> bash to work this way is risky and non-portable. And in interpreters that
> compile their scripts, like Perl, there's absolutely no way you could
> do it. In general, it's a bad idea: once you've handed an input file to
> an application (bash or any other application), you should leave it alone.
> 
> Nathan Meyers
> [EMAIL PROTECTED]
> 
> 
> > 
> > THX
> > 
> > /CrPy
> > 
> > 
> > --
> > [EMAIL PROTECTED] mailing list
> > 
> > 


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Apache not seeing directories

2003-06-18 Thread Robert van der Linde
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

you should check the settings for mod_alias (or something like that) in your 
commonapache.conf, i had the same problem with a directory called docs.

Robert

> On June 18, 2003 12:50 pm, [EMAIL PROTECTED] wrote:
> I have the latest emerge update of apache, and am having some problems
> with apache seeing certain directories that exist within the
> documentroot. There is not real logic or pattern for the name of the
> directories that it does not see.  The permissions of all the directories
> are the same.  Has anyone seen this problem before?  Any help is
> appreciated
>
> P.S. I am using Virtual hosts in my apache.conf

Download my GPG key:
http://linde002.no-ip.com/pub/robert.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+8LFNkzoC9/b++OQRAs/PAJ0QFDLZJmPAngVV6JuGHBkOhOkYIwCcC46D
CERI9QBThPDDpI1cqh3TOC0=
=7p9+
-END PGP SIGNATURE-


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] extend a running shell command

2003-06-18 Thread brett holcomb
Check man bash.

You can do sleep xxx halt or use the ;, && and other 
operators.

On Wed, 18 Jun 2003 20:05:33 +0200
 CrPy <[EMAIL PROTECTED]> wrote:
Hi ng,

I'm using linux for many years, but there is a concern I 
have never solved.

Assuming, I have a command running in my nice bash shell 
and I do not know, 
how long it will run. Now, I like to append an additional 
command , which 
starts running after the first command has finished. How 
can I do this? Or is 
it possible to do this at all? - After all it is Open 
Source ;-)

Here us an simplified example of what I want to do:
# sleep 100h
How long will it run? OK, I know it. But now, I like to 
halt my maschine after 
the command has finished. And actually what I really want 
to have is this:
# sleep 100h; halt

Can I somehow extend the command line, after sleep is 
already running?

THX

/CrPy

--
[EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] extend a running shell command

2003-06-18 Thread nmeyers
On Wed, Jun 18, 2003 at 08:05:33PM +0200, CrPy wrote:
> Hi ng,
> 
> I'm using linux for many years, but there is a concern I have never solved.
> 
> Assuming, I have a command running in my nice bash shell and I do not know, 
> how long it will run. Now, I like to append an additional command , which 
> starts running after the first command has finished. How can I do this? Or is 
> it possible to do this at all? - After all it is Open Source ;-)
> 
> Here us an simplified example of what I want to do:
> # sleep 100h
> 
> How long will it run? OK, I know it. But now, I like to halt my maschine after 
> the command has finished. And actually what I really want to have is this:
> # sleep 100h; halt
> 
> Can I somehow extend the command line, after sleep is already running?

What you're asking is whether you can modify an input file that is being
read by a program. The answer is... "sort of". Some applications, such
as "tail -f", expect a file to grow as it is being read; that is, they
expect that more data might appear at the end after they have read EOF.

That's pretty unusual stuff, however. Expecting a command interpreter like
bash to work this way is risky and non-portable. And in interpreters that
compile their scripts, like Perl, there's absolutely no way you could
do it. In general, it's a bad idea: once you've handed an input file to
an application (bash or any other application), you should leave it alone.

Nathan Meyers
[EMAIL PROTECTED]


> 
> THX
> 
> /CrPy
> 
> 
> --
> [EMAIL PROTECTED] mailing list
> 
> 

-- 

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] extend a running shell command

2003-06-18 Thread Jayson Garrell
On Wed, 2003-06-18 at 11:05, CrPy wrote:
> Hi ng,
> 
> I'm using linux for many years, but there is a concern I have never solved.
> 
> Assuming, I have a command running in my nice bash shell and I do not know, 
> how long it will run. Now, I like to append an additional command , which 
> starts running after the first command has finished. How can I do this? Or is 
> it possible to do this at all? - After all it is Open Source ;-)
> 
> Here us an simplified example of what I want to do:
> # sleep 100h
> 
> How long will it run? OK, I know it. But now, I like to halt my maschine after 
> the command has finished. And actually what I really want to have is this:
> # sleep 100h; halt
> 
> Can I somehow extend the command line, after sleep is already running?
> 
> THX
> 
> /CrPy

Use && instead of the ;
Example

first_command && command_to_run_after_first_is_finished

Notice the double &&, a single & will fork the process into the
background and then run the next, the double && will run the first
command and when it is done, error free, run the second command,

Jayson Garrell



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] extend a running shell command

2003-06-18 Thread Christopher Egner
You could use && or ||.
&& works only if the return is zero, usually meaning everything worked
in the first program. The second, || only works if the return is non
zero.
On Wed, 2003-06-18 at 18:05, CrPy wrote:
> Hi ng,
> 
> I'm using linux for many years, but there is a concern I have never solved.
> 
> Assuming, I have a command running in my nice bash shell and I do not know, 
> how long it will run. Now, I like to append an additional command , which 
> starts running after the first command has finished. How can I do this? Or is 
> it possible to do this at all? - After all it is Open Source ;-)
> 
> Here us an simplified example of what I want to do:
> # sleep 100h
> 
> How long will it run? OK, I know it. But now, I like to halt my maschine after 
> the command has finished. And actually what I really want to have is this:
> # sleep 100h; halt
> 
> Can I somehow extend the command line, after sleep is already running?
> 
> THX
> 
> /CrPy
> 
> 
> --
> [EMAIL PROTECTED] mailing list
> 


--
[EMAIL PROTECTED] mailing list



[gentoo-user] extend a running shell command

2003-06-18 Thread CrPy
Hi ng,

I'm using linux for many years, but there is a concern I have never solved.

Assuming, I have a command running in my nice bash shell and I do not know, 
how long it will run. Now, I like to append an additional command , which 
starts running after the first command has finished. How can I do this? Or is 
it possible to do this at all? - After all it is Open Source ;-)

Here us an simplified example of what I want to do:
# sleep 100h

How long will it run? OK, I know it. But now, I like to halt my maschine after 
the command has finished. And actually what I really want to have is this:
# sleep 100h; halt

Can I somehow extend the command line, after sleep is already running?

THX

/CrPy


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] The Gimp and TrueType fonts...

2003-06-18 Thread Timothy Grant
On Wednesday 18 June 2003 02:11 am, Ohad Lutzky wrote:
> On Tue, Jun 17, 2003 at 04:14:34PM -0700, Timothy Grant wrote:
> > I most certainly did!
> >
> > On Tuesday 17 June 2003 07:00 am, Erland Nylend wrote:
> > > * Timothy Grant <[EMAIL PROTECTED]>
> > >
> > > > OK, I got the FreeType Filter working. Now I'd like to be able to
> > > > use the TT fonts in the logo-maker in script-fu, but the font dialog
> > > > there doesn't show the TT fonts. Any suggestions?
> > >
> > > Did you 'emerge gimp-freetype' as Ohad Lutzky suggested?
>
> Actually, that won't help you much there. Gimp-Freetype adds a plugin in
> the Render filters for rendering text using Freetype. However, normal
> Gimp text rendering is done directly through X - not (necessarily)
> through Freetype, regardless of the plugin. I guess that logo-maker uses
> that.
> Anyway, to get your fonts in The Gimp, you'll need to add them to
> /etc/X11/XF86Config, as "FontPath"s.

But they are already there! That's the thing that is boggling me. KDE & Gnome 
apps see all my fonts. I can use the new Vera fonts in KDE (In fact I'm doing 
so now). I can also use them in gtk (I'm using them in Gaim right now!) But 
Gimp does not see them.

Here's the relevant portion of my XFree86 log file
(**) FontPath set to 
"/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/Type
1/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/truetype/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X1
1/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"


-- 
Stand Fast,
tjg.

Timothy Grant
www.craigelachie.org


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Portage tmp dir

2003-06-18 Thread Mike Principito
No problem. Sometimes symlinks are funny like that, because an ls will
follow a link in most cases.

Good luck with you OpenOffice compile!

~Mike

-><-

"And don't tell me there isn't one bit of difference between null and
space, because that's exactly how much difference there is. :-)"
--Larry Wall in <[EMAIL PROTECTED]>

SDF Public Access UNIX System - http://sdf.lonestar.org

On Wed, 18 Jun 2003, Timothy James Friesen wrote:

> Mike,
>
> Thanks for your post.
>
> It turns out that /usr/tmp was pointing to /var/tmp.  I have no idea how that
> happened.  I guess I want /var/tmp to point to /usr/tmp.
>
> Thanks,
>
> Tim
>
> On June 18, 2003 12:27 pm, Mike Principito wrote:
> > What does the output of the following give?
> >
> > $ ls /usr | grep tmp
> >
> > ~Mike
> >
> >
> > -><-
> >
> > "And don't tell me there isn't one bit of difference between null and
> > space, because that's exactly how much difference there is. :-)"
> > --Larry Wall in <[EMAIL PROTECTED]>
> >
> > SDF Public Access UNIX System - http://sdf.lonestar.org
> >
> > On Wed, 18 Jun 2003, Timothy James Friesen wrote:
> > > Hello all,
> > >
> > > Weird things are going on.  I updated last niht, and had the same results
> > > in /usr/tmp/portage and /var/tmp/portage.
> > >
> > > This is the result of an ls -la on /usr/tmp:
> > >
> > > Grenouille root # ls -la /usr/tmp/
> > > total 12
> > > drwxrwxrwt3 root root 4096 Jun 18 01:30 .
> > > drwxr-xr-x   12 root root 4096 Jun 14 04:48 ..
> > > -rw-r--r--1 root root0 Jun 13 20:09 .keep
> > > drwxr-xr-x9 portage  portage  4096 Jun 18 01:33 portage
> > >
> > > This is the result of an ls -la on /var/tmp:
> > >
> > > Grenouille root # ls -la /var/tmp
> > > total 12
> > > drwxrwxrwt3 root root 4096 Jun 18 01:30 .
> > > drwxr-xr-x   12 root root 4096 Jun 14 04:48 ..
> > > -rw-r--r--1 root root0 Jun 13 20:09 .keep
> > > drwxr-xr-x9 portage  portage  4096 Jun 18 01:33 portage
> > >
> > > It doesn't look like a symlink to me.  And yet when I deleted
> > > /var/tmp/portage, /usr/tmp/portage disappeared as well.  Is it possible
> > > to have "invisible" symlinks?  What could be going on here?  How do I
> > > find out if this is really symlinked, and why does the lnk keep
> > > reappearing after I delete it?
> > >
> > > I think if I get that taken care of, I might finally be able to switch
> > > the portage tmpdir.
> > >
> > > Thanks for all the help,
> > >
> > > Tim
> > >
> > > On June 18, 2003 01:20 am, Mike Principito wrote:
> > > > Check out /usr/tmp from what you just said it sounds like /usr/tmp is
> > > > indeed linked to /var/tmp. Remove the link and double check that
> > > > PORTAGE_TMPDIR is infact pointing to /usr/tmp.
> > > >
> > > > $ emerge info | grep PORTAGE_TMPDIR
> > > >
> > > > If all goes well and the link is gone you should be good to go. I'd be
> > > > careful w/ that OpenOffice though. That is a huge package to compile.
> > > > Depending on your specs you could be at it for days. Alternativly you
> > > > install openoffice-bin for the prebuilt binaries.
> > > >
> > > > Good luck!
> > > >
> > > > ~Mike
> > > >
> > > >
> > > >
> > > >
> > > > -><-
> > > >
> > > > "And don't tell me there isn't one bit of difference between null and
> > > > space, because that's exactly how much difference there is. :-)"
> > > > --Larry Wall in <[EMAIL PROTECTED]>
> > > >
> > > > SDF Public Access UNIX System - http://sdf.lonestar.org
> > > >
> > > > On Wed, 18 Jun 2003, Timothy James Friesen wrote:
> > > > > Hello all,
> > > > >
> > > > > I have been trying to emerge OpenOffice.  I created my / partition
> > > > > too small, and it fills up trying to emerge OO.  I have tried
> > > > > changing make .conf and 'export Portage_TMPDIR' so that portage will
> > > > > use /usr/tmp instead of /var/tmp, but it seems that /usr/tmp/portage
> > > > > is acting as a symlink to /var/tmp as the disk free amount only
> > > > > changes on my / partition, never my /usr partition.
> > > > >
> > > > > Any help anyone can offer so that I can get portage to stop using
> > > > > /var/tmp and start using /usr/tmp would be greatly appreciated.
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Tim
> > > > >
> > > > >
> > > > > --
> > > > > [EMAIL PROTECTED] mailing list
> > > >
> > > > --
> > > > [EMAIL PROTECTED] mailing list
> > >
> > > --
> > > [EMAIL PROTECTED] mailing list
> >
> > --
> > [EMAIL PROTECTED] mailing list
>
>
> --
> [EMAIL PROTECTED] mailing list
>

--
[EMAIL PROTECTED] mailing list



[gentoo-user] XFCE and cursor size

2003-06-18 Thread Ohad Lutzky
I've recently installed XFCE4, and am loving it (switched over from
fluxbox). It still needs some work, but it fixes two fluxbox bugs which
really annoy me: gkrellm transparency, and no charset support in
Freetype.
I use the Gentoo cursor set, and usually it's very small - I guess
16x16. However, in XFCE, it becomes about twice as big. This is
desirable - how can it be achieved? I tried with .Xresources and
.Xdefaults, but had no success (I can't even change the cursor set with
those, I use ~/.icons/default).

-- 
Tactless

"If it wasn't for fog, the world would run at a really crappy framerate."
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



[gentoo-user] Mozilla & XPrint

2003-06-18 Thread Ohad Lutzky
Printing under Mozilla is problematic in Hebrew and many other
non-iso-8859-1 character sets. The problem is with Mozilla's Postscript
output (looks like it doesn't write the fonts to the file or something,
I'm not an expert on this). Bugzilla recommends XPrint as a solution,
but seeing that it's not in portage, and there are quite a few Israeli
Gentoo users, I was thinking that maybe there's a better workaround. Any
tips?

-- 
Tactless

"If it wasn't for fog, the world would run at a really crappy framerate."
This is a .signature virus! Please copy me into your .signature.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Portage tmp dir

2003-06-18 Thread Timothy James Friesen
Mike,

Thanks for your post.

It turns out that /usr/tmp was pointing to /var/tmp.  I have no idea how that 
happened.  I guess I want /var/tmp to point to /usr/tmp.

Thanks,

Tim

On June 18, 2003 12:27 pm, Mike Principito wrote:
> What does the output of the following give?
>
> $ ls /usr | grep tmp
>
> ~Mike
>
>
> -><-
>
> "And don't tell me there isn't one bit of difference between null and
> space, because that's exactly how much difference there is. :-)"
> --Larry Wall in <[EMAIL PROTECTED]>
>
> SDF Public Access UNIX System - http://sdf.lonestar.org
>
> On Wed, 18 Jun 2003, Timothy James Friesen wrote:
> > Hello all,
> >
> > Weird things are going on.  I updated last niht, and had the same results
> > in /usr/tmp/portage and /var/tmp/portage.
> >
> > This is the result of an ls -la on /usr/tmp:
> >
> > Grenouille root # ls -la /usr/tmp/
> > total 12
> > drwxrwxrwt3 root root 4096 Jun 18 01:30 .
> > drwxr-xr-x   12 root root 4096 Jun 14 04:48 ..
> > -rw-r--r--1 root root0 Jun 13 20:09 .keep
> > drwxr-xr-x9 portage  portage  4096 Jun 18 01:33 portage
> >
> > This is the result of an ls -la on /var/tmp:
> >
> > Grenouille root # ls -la /var/tmp
> > total 12
> > drwxrwxrwt3 root root 4096 Jun 18 01:30 .
> > drwxr-xr-x   12 root root 4096 Jun 14 04:48 ..
> > -rw-r--r--1 root root0 Jun 13 20:09 .keep
> > drwxr-xr-x9 portage  portage  4096 Jun 18 01:33 portage
> >
> > It doesn't look like a symlink to me.  And yet when I deleted
> > /var/tmp/portage, /usr/tmp/portage disappeared as well.  Is it possible
> > to have "invisible" symlinks?  What could be going on here?  How do I
> > find out if this is really symlinked, and why does the lnk keep
> > reappearing after I delete it?
> >
> > I think if I get that taken care of, I might finally be able to switch
> > the portage tmpdir.
> >
> > Thanks for all the help,
> >
> > Tim
> >
> > On June 18, 2003 01:20 am, Mike Principito wrote:
> > > Check out /usr/tmp from what you just said it sounds like /usr/tmp is
> > > indeed linked to /var/tmp. Remove the link and double check that
> > > PORTAGE_TMPDIR is infact pointing to /usr/tmp.
> > >
> > > $ emerge info | grep PORTAGE_TMPDIR
> > >
> > > If all goes well and the link is gone you should be good to go. I'd be
> > > careful w/ that OpenOffice though. That is a huge package to compile.
> > > Depending on your specs you could be at it for days. Alternativly you
> > > install openoffice-bin for the prebuilt binaries.
> > >
> > > Good luck!
> > >
> > > ~Mike
> > >
> > >
> > >
> > >
> > > -><-
> > >
> > > "And don't tell me there isn't one bit of difference between null and
> > > space, because that's exactly how much difference there is. :-)"
> > > --Larry Wall in <[EMAIL PROTECTED]>
> > >
> > > SDF Public Access UNIX System - http://sdf.lonestar.org
> > >
> > > On Wed, 18 Jun 2003, Timothy James Friesen wrote:
> > > > Hello all,
> > > >
> > > > I have been trying to emerge OpenOffice.  I created my / partition
> > > > too small, and it fills up trying to emerge OO.  I have tried
> > > > changing make .conf and 'export Portage_TMPDIR' so that portage will
> > > > use /usr/tmp instead of /var/tmp, but it seems that /usr/tmp/portage
> > > > is acting as a symlink to /var/tmp as the disk free amount only
> > > > changes on my / partition, never my /usr partition.
> > > >
> > > > Any help anyone can offer so that I can get portage to stop using
> > > > /var/tmp and start using /usr/tmp would be greatly appreciated.
> > > >
> > > > Thanks,
> > > >
> > > > Tim
> > > >
> > > >
> > > > --
> > > > [EMAIL PROTECTED] mailing list
> > >
> > > --
> > > [EMAIL PROTECTED] mailing list
> >
> > --
> > [EMAIL PROTECTED] mailing list
>
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] runlevels & su

2003-06-18 Thread brett holcomb
Well, yes he can if he wants - he can do anything he 
wants, even use root as a user account!  My answer was 
from the viewpoint of Gentoo's default.  It may not be 
gospel but I assume there is a good reason for doing it 
that way and before I change it I'd do some checking to 
see what the ramifications are.

On Wed, 18 Jun 2003 18:11:53 +0100
 Ewan Mac Mahon <[EMAIL PROTECTED]> wrote:
On Wed, Jun 18, 2003 at 12:45:30PM -0400, brett holcomb 
wrote:
2.  You don't. (you can use sudo).  Just add them to 
wheel.  I assume it's for security reasons.

It's his system, and if he wants to dispense with the 
wheel group
requirement then he can; the defaults are only defaults, 
not gospel.  The
config file that controls this is /etc/pam.d/su and the 
line for the wheel
check is even marked with "Comment this to allow any 
user, even those not
in the 'wheel' group to su"

Ewan

--
[EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Portage tmp dir

2003-06-18 Thread Mike Principito
What does the output of the following give?

$ ls /usr | grep tmp

~Mike


-><-

"And don't tell me there isn't one bit of difference between null and
space, because that's exactly how much difference there is. :-)"
--Larry Wall in <[EMAIL PROTECTED]>

SDF Public Access UNIX System - http://sdf.lonestar.org

On Wed, 18 Jun 2003, Timothy James Friesen wrote:

> Hello all,
>
> Weird things are going on.  I updated last niht, and had the same results in
> /usr/tmp/portage and /var/tmp/portage.
>
> This is the result of an ls -la on /usr/tmp:
>
> Grenouille root # ls -la /usr/tmp/
> total 12
> drwxrwxrwt3 root root 4096 Jun 18 01:30 .
> drwxr-xr-x   12 root root 4096 Jun 14 04:48 ..
> -rw-r--r--1 root root0 Jun 13 20:09 .keep
> drwxr-xr-x9 portage  portage  4096 Jun 18 01:33 portage
>
> This is the result of an ls -la on /var/tmp:
>
> Grenouille root # ls -la /var/tmp
> total 12
> drwxrwxrwt3 root root 4096 Jun 18 01:30 .
> drwxr-xr-x   12 root root 4096 Jun 14 04:48 ..
> -rw-r--r--1 root root0 Jun 13 20:09 .keep
> drwxr-xr-x9 portage  portage  4096 Jun 18 01:33 portage
>
> It doesn't look like a symlink to me.  And yet when I deleted
> /var/tmp/portage, /usr/tmp/portage disappeared as well.  Is it possible to
> have "invisible" symlinks?  What could be going on here?  How do I find out
> if this is really symlinked, and why does the lnk keep reappearing after I
> delete it?
>
> I think if I get that taken care of, I might finally be able to switch the
> portage tmpdir.
>
> Thanks for all the help,
>
> Tim
>
> On June 18, 2003 01:20 am, Mike Principito wrote:
> > Check out /usr/tmp from what you just said it sounds like /usr/tmp is
> > indeed linked to /var/tmp. Remove the link and double check that
> > PORTAGE_TMPDIR is infact pointing to /usr/tmp.
> >
> > $ emerge info | grep PORTAGE_TMPDIR
> >
> > If all goes well and the link is gone you should be good to go. I'd be
> > careful w/ that OpenOffice though. That is a huge package to compile.
> > Depending on your specs you could be at it for days. Alternativly you
> > install openoffice-bin for the prebuilt binaries.
> >
> > Good luck!
> >
> > ~Mike
> >
> >
> >
> >
> > -><-
> >
> > "And don't tell me there isn't one bit of difference between null and
> > space, because that's exactly how much difference there is. :-)"
> > --Larry Wall in <[EMAIL PROTECTED]>
> >
> > SDF Public Access UNIX System - http://sdf.lonestar.org
> >
> > On Wed, 18 Jun 2003, Timothy James Friesen wrote:
> > > Hello all,
> > >
> > > I have been trying to emerge OpenOffice.  I created my / partition too
> > > small, and it fills up trying to emerge OO.  I have tried changing make
> > > .conf and 'export Portage_TMPDIR' so that portage will use /usr/tmp
> > > instead of /var/tmp, but it seems that /usr/tmp/portage is acting as a
> > > symlink to /var/tmp as the disk free amount only changes on my /
> > > partition, never my /usr partition.
> > >
> > > Any help anyone can offer so that I can get portage to stop using
> > > /var/tmp and start using /usr/tmp would be greatly appreciated.
> > >
> > > Thanks,
> > >
> > > Tim
> > >
> > >
> > > --
> > > [EMAIL PROTECTED] mailing list
> >
> > --
> > [EMAIL PROTECTED] mailing list
>
>
> --
> [EMAIL PROTECTED] mailing list
>

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] /etc/init.d/dns

2003-06-18 Thread Mike Principito
epm to the rescue! First make sure you have epm installed (emerge -u epm).
After that try:

$ epm -qf /etc/init.d/dns

Also the header in file might give you some information too.

Cheers,
Mike

-><-

"And don't tell me there isn't one bit of difference between null and
space, because that's exactly how much difference there is. :-)"
--Larry Wall in <[EMAIL PROTECTED]>

SDF Public Access UNIX System - http://sdf.lonestar.org

On Wed, 18 Jun 2003, Marius Mauch wrote:

> On Wed, 18 Jun 2003 07:08:52 -0300 [EMAIL PROTECTED] wrote:
>
> > Hello.
> >
> > Which package install /etc/init.d/dns ?
> >
> > This service is needed by the new version of
> > noip-updater.
>
> The service is not identical to a file of that name.
>
> > Is there an easy way to find out by inspecting
> > the /usr/portage directory?
>
> DNS servers that provide the service would be bind or pdnsd.
>
> Marius
>
>
> --
> [EMAIL PROTECTED] mailing list
>

--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] Apache not seeing directories

2003-06-18 Thread RVick

DocumentRoot /home/version3/public_html/htdocs/
ServerName version3.phs.org
ServerAlias version3
CustomLog logs/version3_access_log combined env=!VLOG
ErrorLog logs/version3_error_log
LogLevel debug
ScriptAlias /cgi-bin/ "/home/version3/public_html/cgi-bin/"




  RewriteEngine on
  RewriteLogLevel 9
  RewriteLog  logs/version3_rewrite_log
  RewriteRule ^(.*)styles\.html$  $1styles.css [R=permanent]
  RewriteRule ^(.*)\.htm$ $1.shtml [R=permanent]
  RewriteRule ^(.*)\.html$ $1.shtml [R=permanent]


The only other directive that is being used in the apache server is Server
Side Includes.
Within the /home/version3/public_html/htdocs directory I have two
directories that apache does not find, they are:
navigation & webtrends


-Original Message-
From: daniel [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 18, 2003 11:05 AM
To: [EMAIL PROTECTED]
Subject: Re: [gentoo-user] Apache not seeing directories


On June 18, 2003 12:50 pm, [EMAIL PROTECTED] wrote:
> I have the latest emerge update of apache, and am having some problems
with
> apache seeing certain directories that exist within the documentroot. 
> There is not real logic or pattern for the name of the directories that it
> does not see.  The permissions of all the directories are the same.  Has
> anyone seen this problem before?  Any help is appreciated
>
> P.S. I am using Virtual hosts in my apache.conf

if you could include some examples of what directories aren't visible as
well 
as some bits of working and not working  blocks, i'm sure 
someone on here can help you out, but without any of that, it's kinda hard
to 
guess what the issue is.

-- 
this is your life and it's ending one minute at a time.
- tyler Durden, "fight club"


--
[EMAIL PROTECTED] mailing list


==
--- PRESBYTERIAN HEALTHCARE SERVICES DISCLAIMER ---

This message originates from Presbyterian Healthcare Services or one of its
affiliated organizations. It contains information, which may be confidential
or privileged, and is intended only for the individual or entity named above.
It is prohibited for anyone else to disclose, copy, distribute or use the
contents of this message. All personal messages express views solely of the
sender, which are not to be attributed to Presbyterian Healthcare Services or
any of its affiliated organizations, and may not be distributed without this
disclaimer. If you received this message in error, please notify us
immediately at [EMAIL PROTECTED] 
==


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] runlevels & su

2003-06-18 Thread Ewan Mac Mahon
On Wed, Jun 18, 2003 at 12:45:30PM -0400, brett holcomb wrote:
> 
> 2.  You don't. (you can use sudo).  Just add them to 
> wheel.  I assume it's for security reasons.
>
It's his system, and if he wants to dispense with the wheel group
requirement then he can; the defaults are only defaults, not gospel.  The
config file that controls this is /etc/pam.d/su and the line for the wheel
check is even marked with "Comment this to allow any user, even those not
in the 'wheel' group to su"

Ewan

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Apache not seeing directories

2003-06-18 Thread daniel
On June 18, 2003 12:50 pm, [EMAIL PROTECTED] wrote:
> I have the latest emerge update of apache, and am having some problems with
> apache seeing certain directories that exist within the documentroot. 
> There is not real logic or pattern for the name of the directories that it
> does not see.  The permissions of all the directories are the same.  Has
> anyone seen this problem before?  Any help is appreciated
>
> P.S. I am using Virtual hosts in my apache.conf

if you could include some examples of what directories aren't visible as well 
as some bits of working and not working  blocks, i'm sure 
someone on here can help you out, but without any of that, it's kinda hard to 
guess what the issue is.

-- 
this is your life and it's ending one minute at a time.
- tyler Durden, "fight club"


--
[EMAIL PROTECTED] mailing list



[gentoo-user] Apache not seeing directories

2003-06-18 Thread RVick



I have the latest 
emerge update of apache, and am having some problems with apache seeing
certain 
directories that exist within the documentroot.  There is not real logic
or 
pattern for the name of the directories that it does not see.  The 
permissions of all the directories are the same.  Has anyone seen this 
problem before?  Any help is appreciated 
 
P.S. I am using 
Virtual hosts in my apache.conf

==
--- PRESBYTERIAN HEALTHCARE SERVICES DISCLAIMER ---

This message originates from Presbyterian Healthcare Services or one of its
affiliated organizations. It contains information, which may be confidential
or privileged, and is intended only for the individual or entity named above.
It is prohibited for anyone else to disclose, copy, distribute or use the
contents of this message. All personal messages express views solely of the
sender, which are not to be attributed to Presbyterian Healthcare Services or
any of its affiliated organizations, and may not be distributed without this
disclaimer. If you received this message in error, please notify us
immediately at [EMAIL PROTECTED] 
==


Re: [gentoo-user] runlevels & su

2003-06-18 Thread Christopher Egner
On Wed, 2003-06-18 at 16:38, Svein Harald Soleim wrote:
> Hi I have just started using gentoo and have some newbee questions.
> 1. How do I let something start in the runlevels, like gdm?
> I'm used to the debian system.
generally speaking, a script has to be in the /etc/init.d folder.
then you do 'rc-update add  

Re: [gentoo-user] runlevels & su

2003-06-18 Thread brett holcomb
Forgot 3. - Try su - which sets up roots login.

On Wed, 18 Jun 2003 18:38:43 +0200
 Svein Harald Soleim <[EMAIL PROTECTED]> wrote:
Hi I have just started using gentoo and have some newbee 
questions.
1. How do I let something start in the runlevels, like 
gdm?
I'm used to the debian system.

2. How do I let users use su other then make each member 
of "wheel"

3. How can I do something with this message when I su 
from a user:
"dircolors: no SHELL environment variable, and no shell 
type option given"
--
'The maths is easy,' said Chaos.
AH? WELL, MATHS, said Death, dismissively.
GENERALLY I NEVER GET MUCH FURTHER THAN SUBTRACTION.


Svein Harald Soleim

--
[EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] runlevels & su

2003-06-18 Thread brett holcomb
1.  Gentoo has virtual runlevels.  Default is the 
equivalent of runlevel 3 (command line, networking up, 
etc.) while x (I think that's it) is the equivalent of 
runlevel 5.  Check out the docs on the Gentoo site.  You 
use rc-update to add items to runlevels.

2.  You don't. (you can use sudo).  Just add them to 
wheel.  I assume it's for security reasons.



On Wed, 18 Jun 2003 18:38:43 +0200
 Svein Harald Soleim <[EMAIL PROTECTED]> wrote:
Hi I have just started using gentoo and have some newbee 
questions.
1. How do I let something start in the runlevels, like 
gdm?
I'm used to the debian system.

2. How do I let users use su other then make each member 
of "wheel"

3. How can I do something with this message when I su 
from a user:
"dircolors: no SHELL environment variable, and no shell 
type option given"
--
'The maths is easy,' said Chaos.
AH? WELL, MATHS, said Death, dismissively.
GENERALLY I NEVER GET MUCH FURTHER THAN SUBTRACTION.


Svein Harald Soleim

--
[EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list


[gentoo-user] runlevels & su

2003-06-18 Thread Svein Harald Soleim
Hi I have just started using gentoo and have some newbee questions.
1. How do I let something start in the runlevels, like gdm?
I'm used to the debian system.

2. How do I let users use su other then make each member of "wheel"

3. How can I do something with this message when I su from a user:
"dircolors: no SHELL environment variable, and no shell type option given"
-- 
'The maths is easy,' said Chaos.
AH? WELL, MATHS, said Death, dismissively.
GENERALLY I NEVER GET MUCH FURTHER THAN SUBTRACTION.


Svein Harald Soleim


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] OT: Apache stats or general information tool?

2003-06-18 Thread Joe Stone
On Wednesday 18 June 2003 17:54, Dhruba Bandopadhyay wrote:
> Hello
>
> Just like phpinfo() for web based PHP information is there a web based
> method or providing similar version and module information for apache?
>
> Many thanks.

with apache2 you can enable


SetHandler server-info

Order deny,allow
Deny from all
allow from 127.0.0.1



in the config-file

With the above settings you can access http://localhost/server-info
then you get a list of modules and many info for each module

for example:

Module Name: mod_dir.c
Content handlers: none
Configuration Phase Participation: Create Directory Config, Merge Directory 
Configs
Request Phase Participation: Fixups
Module Directives:
DirectoryIndex - a list of file names
Current Configuration:
DirectoryIndex index.html index.html.var index.php index.php3 index.shtml 
index.cgi index.pl index.htm Default.htm default.htm

have also a look at 


hope this helped
joe


--
[EMAIL PROTECTED] mailing list



[gentoo-user] Problems upgrading base-layout

2003-06-18 Thread Ben Ricker
See http://bugs.gentoo.org/show_bug.cgi?id=21663 for the bug. 

Has anyone had this problem with upgrading base-layout? There has been
no movement on a fix in a couple of days and I need to upgrade some
software ASAP. Base-layout seems to be a dependency for every ebuild out
there.

Ben Ricker
Wellinx.com


--
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: OT: Apache stats or general information tool?

2003-06-18 Thread Sebastian Bergmann
Dhruba Bandopadhyay wrote:
> Just like phpinfo() for web based PHP information is there a web based
> method or providing similar version and module information for apache?

  mod_info might be what you're looking for:

Apache 1.3: http://httpd.apache.org/docs/mod/mod_info.html
Apache 2.0: http://httpd.apache.org/docs-2.0/en/mod/mod_info.html

-- 
  Sebastian Bergmann
  http://sebastian-bergmann.de/ http://phpOpenTracker.de/

 http://www.professionelle-softwareentwicklung-mit-php5.de/


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Simple stupid question [SOLVED]

2003-06-18 Thread brett holcomb
You're welcome. 

Now all you have to do is modify that file, then do 
rc-update del net.eth0 default, then rc-update add 
net.eth0 default and /etc/init.d/net.eth0 restart and you 
should be in business.

On Wed, 18 Jun 2003 08:38:16 -0700
 Condon Thomas A KPWA <[EMAIL PROTECTED]> wrote:
brett holcomb wrote:
You don't have a net file in /etc/init.d.  There is a 
net
file in /etc/conf.d but you rc-update add net.eth0 
default
and it knows to take the net file and make it net.eth0 
in
/etc/init.d.  So use the net file.  If you have an eth1
interface then you cp net net.eth1, modify it and
rc-update add net.eth1 default.
Oh.  I misread where.  OK, I checked /etc/conf.d/net and 
it has the correct
iface_eth0='dhcp' command.

However, I noticed that I have moved buildings, and am 
now on a different
net and the gateway and broadcast addresses that net set 
up were wrong, so
it couldn't find the network.  That is why eth0 wouldn't 
come up.

Thanks for the pointers to get me looking in the right 
places!  Now if I can
just remember this when I get to the next step...  ;-})

In Harmony's Way, and In A Chord,

Tom  :-})

Thomas A. Condon
Barbershop Bass Singer
Registered Linux User #154358
A Jester Unemployed
--
[EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Portage tmp dir

2003-06-18 Thread Timothy James Friesen
Erik,

Thanks for that, I must have missed it in your original email.

Here is my 'ls-lad' output for /var/tmp:

Grenouille root # ls -lad /var/tmp/
drwxrwxrwt3 root root 4096 Jun 18 10:44 /var/tmp/

And for /usr/tmp:

Grenouille root # ls -lad /usr/tmp/
drwxrwxrwt3 root root 4096 Jun 18 10:44 /usr/tmp/

This seems strange, as 'ls -la' gives the following for /var/tmp:

Grenouille root # ls -la /var/tmp/
total 12
drwxrwxrwt3 root root 4096 Jun 18 10:44 .
drwxr-xr-x   12 root root 4096 Jun 14 04:48 ..
-rw-r--r--1 root root0 Jun 13 20:09 .keep
drwxr-xr-x3 portage  portage  4096 Jun 18 10:44 portage

And the following for /usr/tmp:

Grenouille root # ls -la /usr/tmp/
total 12
drwxrwxrwt3 root root 4096 Jun 18 10:44 .
drwxr-xr-x   12 root root 4096 Jun 14 04:48 ..
-rw-r--r--1 root root0 Jun 13 20:09 .keep
drwxr-xr-x3 portage  portage  4096 Jun 18 10:44 portage

Thanks for any insights you can offer.

Tim

On June 18, 2003 10:15 am, Erik S. Johansen wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On Wednesday 18 June 2003 18:01, Timothy James Friesen wrote:
> > Erik,
> >
> > No, please see a post I recently made for the ls -la output that I get.
>
> Note the "d" option
> ls -lad
>
> - --Erik
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.2.2 (GNU/Linux)
>
> iD8DBQE+8IIHds9m9uhAobARAitmAKC0O69alL5PFQmAl3pmSx4xRW/KywCeKiM2
> IauDG5ho0TA2r5W3atKFd24=
> =fW8s
> -END PGP SIGNATURE-


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] OT: Apache stats or general information tool?

2003-06-18 Thread Alan
On Wed, Jun 18, 2003 at 04:54:51PM +0100, Dhruba Bandopadhyay wrote:
> Hello
> 
> Just like phpinfo() for web based PHP information is there a web based
> method or providing similar version and module information for apache?

Check out the server-info and server-status handlers.  My set up:

LoadModule info_module /usr/lib/apache/1.3/mod_info.so
LoadModule status_module /usr/lib/apache/1.3/mod_status.so
ExtendedStatus On

SetHandler server-status
Order deny,allow
Deny from all
Allow from 


SetHandler server-info
Order deny,allow
Deny from all
Allow from 



-- 
Alan <[EMAIL PROTECTED]> - http://arcterex.net

"There are only 3 real sports: bull-fighting, car racing and mountain 
climbing. All the others are mere games."-- Hemingway

--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] Simple stupid question [SOLVED]

2003-06-18 Thread Condon Thomas A KPWA
brett holcomb wrote:
> You don't have a net file in /etc/init.d.  There is a net
> file in /etc/conf.d but you rc-update add net.eth0 default
> and it knows to take the net file and make it net.eth0 in
> /etc/init.d.  So use the net file.  If you have an eth1
> interface then you cp net net.eth1, modify it and
> rc-update add net.eth1 default.

Oh.  I misread where.  OK, I checked /etc/conf.d/net and it has the correct
iface_eth0='dhcp' command.

However, I noticed that I have moved buildings, and am now on a different
net and the gateway and broadcast addresses that net set up were wrong, so
it couldn't find the network.  That is why eth0 wouldn't come up.

Thanks for the pointers to get me looking in the right places!  Now if I can
just remember this when I get to the next step...  ;-})


In Harmony's Way, and In A Chord,

Tom  :-})

Thomas A. Condon
Barbershop Bass Singer
Registered Linux User #154358
A Jester Unemployed

--
[EMAIL PROTECTED] mailing list



  1   2   >