[gentoo-user] ebuild package recompile

2005-11-26 Thread W.Kenworthy
Currently I find I am doing a lot of patching across multiple systems to
get the functionality I require.  One of the more anoying problems is
that ebuild package clean removes all the existing package.  There
does not seem to be an equivalent to make clean in the ebuild command.

Is there a way to just make clean a package, but leave all user
patches in place so a ebuild package compile can recompile after
changes ? 

BillK
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: A suggestion for bacula

2005-11-26 Thread Francesco Talamona
On Saturday 26 November 2005 02:47, Harry Putnam wrote:
[...]
 Bacula goes looking for them in /var/tmp/**bacula* and of course they
 are long gone.

Bacula relies on its temp directory for other interesting functions too, 
it can build a bootable ISO using your running kernel, for example.

I've written a little page in my personal wiki with an HOWTO for Gentoo 
to build a bootable cdrom using Bacula scripts, next week I can provide 
an english translation if anyone interested.

 So a gentoo user will end up with nothing backed up and wondering
 what they did wrong.  Especially if they don't notice the give away
 address, and it isn't that obvious because `bconsole' output is
 pretty primitive and it will not be on the screen long.

 It also means the restore part is a non starter too since nothing got
 backed up.

 Apparently someone maybe me needs to go thru the bacula ebuilds and
 make them a little more like what bacula devel people expect. Or fix
 it so it works for us.

Right, but maybe it's sufficient to replace original README with a 
Gentoo version; in other words, IMO it would be easier to document it, 
rather then tweak/patch ebuild.

ciao
Francesco
-- 
Linux Version 2.6.12-gentoo-r9, Compiled #2 Wed Aug 24 18:43:16 CEST 
2005
One 1GHz AMD Athlon 64 Processor, 2GB RAM, 1958.63 Bogomips Total
aemaeth
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: A suggestion for bacula

2005-11-26 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Francesco Talamona wrote:
 I've written a little page in my personal wiki with an HOWTO for Gentoo 
 to build a bootable cdrom using Bacula scripts, next week I can provide 
 an english translation if anyone interested.

Well, I am interested. :) - Hope that meets the anyone requeriment :)

- --
Arturo Buanzo Busleiman - www.buanzo.com.ar
Consultor en Seguridad Informatica / Dominio Digital TV - Da FOSS man!
KTP Consultores - info AT ktpconsultores.com.ar

Romper un sistema de seguridad los acerca tanto a ser hackers como el
encender autos puenteando los convierte en ingenieros automotrices.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDiFkNAlpOsGhXcE0RAkqJAJ41gwCnprxLIvamIzOiyt+2Mh0ASwCggpNy
OfPApED8LindmtRN7S1AQZk=
=zMBa
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] How does Portage prioritze emerges in emerge world?

2005-11-26 Thread Holly Bostick
OK, I take it back.

I said that the situation of upgrading a kernel with the 'symlink' USE
flag active occurring at the same time as a (particular) program needing
to compile against a configured kernel was not likely to occur all that
often, but I was wrong. It's happened again today, but with a different
program than the ones I normally keep an eye on.

The good thing is that I (think I) see what the problem is.

The problem is that Portage emerges the new kernel before (almost)
everything else, without regard for whether the 'symlink' USE flag is
active, and whether or not any of the other programs proposed to emerge
need to compile against a configured kernel source-- or rather, the
currently-running kernel, which the symlink most likely pointed to
before Portage changed it via a previous emerge.

Honestly, there's really no reason (that I can see) to emerge a kernel
source before everything else, since the kernel source is useless until
at the very least configured, and preferably compiled and installed, and
since you're in the middle of an emerge -uwhatever world, you can't
reasonably configure and compile the new source until the entire
operation is finished. Yeah, OK, technically you can, but it's not
really something that an ordinary person would do, I think.

And if the 'symlink' USE flag is active, emerging the kernel sources
before everything else-- which may include packages that must compile
against a configured kernel, with the assumption that the
/usr/src/symlink points to such a kernel, which it no longer does
because the symlink has been changed during a previous emerge and you
have not had time to configure the newly-emerged kernel-- is a real
problem. I just had to open another term, su to root, run MC to change
the symlink-- and got it wrong because I had a second unconfigured
kernel  (2.6.14-r2; 2.6.14-r3 was being installed) that I forgot I had
not yet upgraded to), so had to change the link again to the *real*
running kernel (2.6.14) and emerge --resume. And of course I'll have to
eventually change the symlink back manually in order to actually manage
the new kernel. Which means I have to remember to do that-- which is not
the point of having the 'symlink' USE flag active.

It seems to me that this could all be avoided if Portage emerged a new
kernel *last* in the list if the 'symlink' USE flag is active for kernel
emerges-- then everything in the list that needed a configured kernel
would have one (the currently-running kernel), the emerge would complete
normally, and the symlink would be changed at the end of the procedure
so that my next operation could be to upgrade the kernel, which seems to
me a reasonable and ordinary order of operation (emerge -u** world, then
configure and compile new kernel and run module-rebuild).

Am I doing things wrong, or is this a valid enhancement request for b.g.o?

Holly
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: How serious is revdep-rebuild failure

2005-11-26 Thread Harry Putnam
Harry Putnam [EMAIL PROTECTED] writes:

 Richard Fish [EMAIL PROTECTED] writes:

 conftest  echo works

 root # ./conftest  echo works
 works
 Seems to have worked as expected.

Looking at qpkg -v -I|grep gcc
  root # qpkg -v -I|grep gcc
   sys-devel/gcc-3.3.5.20050130-r1 *
   sys-devel/gcc-3.4.4-r1 *
   sys-devel/gcc-config-1.3.12-r4 *

Is it normal to have 2 versions installed?

Would a more recent version be likely to solve the cross-compiler
problem?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How does Portage prioritze emerges in emerge world?

2005-11-26 Thread Ciaran McCreesh
On Sat, 26 Nov 2005 14:06:02 +0100 Holly Bostick [EMAIL PROTECTED]
wrote:
| Am I doing things wrong, or is this a valid enhancement request for
| b.g.o?

Unlikely to happen... Dependency resolution doesn't work that way.

-- 
Ciaran McCreesh : Gentoo Developer (The one that looks before leaping)
Mail: ciaranm at gentoo.org
Web : http://dev.gentoo.org/~ciaranm



signature.asc
Description: PGP signature


Re: [gentoo-user] How does Portage prioritze emerges in emerge world?

2005-11-26 Thread Zac Medico

Holly Bostick wrote:

OK, I take it back.

I said that the situation of upgrading a kernel with the 'symlink' USE
flag active occurring at the same time as a (particular) program needing
to compile against a configured kernel was not likely to occur all that
often, but I was wrong. It's happened again today, but with a different
program than the ones I normally keep an eye on.

The good thing is that I (think I) see what the problem is.

The problem is that Portage emerges the new kernel before (almost)
everything else, without regard for whether the 'symlink' USE flag is
active, and whether or not any of the other programs proposed to emerge
need to compile against a configured kernel source-- or rather, the
currently-running kernel, which the symlink most likely pointed to
before Portage changed it via a previous emerge.

Honestly, there's really no reason (that I can see) to emerge a kernel
source before everything else, since the kernel source is useless until
at the very least configured, and preferably compiled and installed, and
since you're in the middle of an emerge -uwhatever world, you can't
reasonably configure and compile the new source until the entire
operation is finished. Yeah, OK, technically you can, but it's not
really something that an ordinary person would do, I think.


I like to manage the kernel sources myself so I always keep a kernel package in 
package.provided.

mkdir -p /etc/portage/profile
echo sys-kernel/gentoo-sources-2.6.14-r3  
/etc/portage/profile/package.provided



And if the 'symlink' USE flag is active, emerging the kernel sources
before everything else-- which may include packages that must compile
against a configured kernel, with the assumption that the
/usr/src/symlink points to such a kernel, which it no longer does
because the symlink has been changed during a previous emerge and you
have not had time to configure the newly-emerged kernel-- is a real
problem. I just had to open another term, su to root, run MC to change
the symlink-- and got it wrong because I had a second unconfigured
kernel  (2.6.14-r2; 2.6.14-r3 was being installed) that I forgot I had
not yet upgraded to), so had to change the link again to the *real*
running kernel (2.6.14) and emerge --resume. And of course I'll have to
eventually change the symlink back manually in order to actually manage
the new kernel. Which means I have to remember to do that-- which is not
the point of having the 'symlink' USE flag active.

It seems to me that this could all be avoided if Portage emerged a new
kernel *last* in the list if the 'symlink' USE flag is active for kernel
emerges-- then everything in the list that needed a configured kernel
would have one (the currently-running kernel), the emerge would complete
normally, and the symlink would be changed at the end of the procedure
so that my next operation could be to upgrade the kernel, which seems to
me a reasonable and ordinary order of operation (emerge -u** world, then
configure and compile new kernel and run module-rebuild).

Am I doing things wrong, or is this a valid enhancement request for b.g.o?

Holly


The portage developers will not add a special case for kernel packages, so any 
reordering/prioritization would have to be done in a generic way that is usable 
for any type of package.  Also, it seems desireable to compile against the 
latest kernel that is installed.

Perhaps it would make sense to have a default kernel config that is used to 
configure the kernel sources automatically (make oldconfig; make 
modules_prepare) after a new kernel is installed?  Something like this could be 
done ebuild postinst phase (when symlink is created).  It is planned for future 
versions of portage to have pre/post phase hooks, which will allow users to 
define actions such as this via /etc/portage/bashrc:

http://thread.gmane.org/gmane.linux.gentoo.portage.devel/1107

Zac
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] what package has moc-qt3?

2005-11-26 Thread Steven Knight
On Fri, 2005-11-25 at 17:50 -0500, Chris Bare wrote:
 I'm trying to build a qt based application from source and it's looking for a
 binary called: moc-qt3
 Can anyone tell me what package I have to emerge to get that? I've searched,
 but so far only uncovered that it is in the qt3-dev-tools package on debian.
 -- 

You have 

x11-libs/qt 

installed yes?

-- 

Steven Knight  [EMAIL PROTECTED]

and tho' We are not now that strength which in old days
Moved earth and heaven, that which we are, we are,--
One equal temper of heroic hearts,
Made weak by time and fate, but strong in will
To strive, to seek, to find, and not to yield.

-- Ulysses by Alfred Lord Tennyson
---
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How does Portage prioritze emerges in emerge world?

2005-11-26 Thread Holly Bostick
Zac Medico schreef:
 Holly Bostick wrote:
 
 I said that the situation of upgrading a kernel with the 'symlink' 
 USE flag active occurring at the same time as a (particular) 
 program needing to compile against a configured kernel was not 
 likely to occur all that often, but I was wrong. It's happened 
 again today, but with a different program than the ones I normally 
 keep an eye on.
 
 The good thing is that I (think I) see what the problem is.
 
 The problem is that Portage emerges the new kernel before (almost)
  everything else, without regard for whether the 'symlink' USE flag
  is active, and whether or not any of the other programs proposed
 to emerge need to compile against a configured kernel source-- or 
 rather, the currently-running kernel, which the symlink most likely
  pointed to before Portage changed it via a previous emerge.
 
snip
 
 The portage developers will not add a special case for kernel 
 packages, so any reordering/prioritization would have to be done in a
  generic way that is usable for any type of package.  Also, it seems 
 desireable to compile against the latest kernel that is installed.

. OK, I understand this to some extent (meaning I get it that
Portage is not going to be revised in this way), but I must question
that last statement, it seems desirable to compile against the latest
kernel that is installed.

The latest kernel that is *installed* (as opposed to the latest kernel
whose source is emerged, regardless of whether it's configured,
compiled, or installed) is the one I'm booted into, and while I
presumably intend/want to upgrade to the newly emerged kernel at
some reasonably soon point, I don't necessarily want to do it *right
that minute*, nor am I necessarily going to avoid rebooting until such
time as I have installed the upgraded kernel.

 
 Perhaps it would make sense to have a default kernel config that is 
 used to configure the kernel sources automatically (make oldconfig; 
 make modules_prepare) after a new kernel is installed?  Something 
 like this could be done ebuild postinst phase (when symlink is 
 created).  It is planned for future versions of portage to have 
 pre/post phase hooks, which will allow users to define actions such 
 as this via /etc/portage/bashrc:

This sounds great, but what about the kernel I'm booted into, against
which the module will *not* be compiled, if I have to reboot before
actually configuring/compiling/installing the new kernel?

The kernel modules will not be upgraded for that kernel (because the
upgrades compiled only against the future kernel), and while that won't
precisely break the old kernel (hopefully, since the old modules should
still be good, though I cannot vouch for all circumstances), it means I
don't have the upgraded modules for the currently-running kernel.

After all, module-rebuild will re-build all the modules against a
newly-compiled kernel; I don't need to build some limited subset of said
modules against the new kernel source at the time I emerge the new
kernel source, since I will build all of them at the end of the
operations which make the new kernel actually available for use. What I
do want is to build the upgraded modules against the currently-running
kernel, which I expect to be using for some short additional period of
time (until I compile and install the new kernel, which may be hours or
days in the future). It would be nice to then have the future kernel
source prepared for compilation and installation automatically (by
redirecting the symlink), so that said compilation and installation goes
on a next-to-do, asap list of sorts, but I'm not essentially forced to
drop everything in order to compile the new kernel source *right now* in
order to use the upgraded modules, which may be mission-critical in some
respect (if the upgrade fixes functionality that I need working).

Maybe the issue is really that the 'symlink' USE flag is obsolete in
some respect, since it appears that automatic redirection of the
/usr/src/linux symlink can often cause more problems than it solves,
since the user cannot really know ahead of time whether a kernel module
is going to upgrade in the same operation as a new kernel source is
going to be emerged (which is not the same as installing a new kernel,
of course).

I guess I'll turn off the USE flag and manage the symlink directly, but
it seems like there ought to be a better way.

 
 http://thread.gmane.org/gmane.linux.gentoo.portage.devel/1107

Thanks for the link.

Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] what package has moc-qt3?

2005-11-26 Thread Chris Bare
 On Fri, 2005-11-25 at 17:50 -0500, Chris Bare wrote:
  I'm trying to build a qt based application from source and it's looking for 
  a
  binary called: moc-qt3
  Can anyone tell me what package I have to emerge to get that? I've searched,
  but so far only uncovered that it is in the qt3-dev-tools package on debian.
  -- 
 
 You have 
 
 x11-libs/qt 
 
 installed yes?

yes:

 * installed packages
 [I--] [  ] x11-libs/qt-3.3.4-r8 (3)

could this be what I'm looking for?
/usr/qt/3/bin/moc
and the package I'm building is expecting a different name?
-- 
Chris Bare
[EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How does Portage prioritze emerges in emerge world?

2005-11-26 Thread Zac Medico

Holly Bostick wrote:


This sounds great, but what about the kernel I'm booted into, against
which the module will *not* be compiled, if I have to reboot before
actually configuring/compiling/installing the new kernel?



You can get pretty close to your desired behavior (merge kernel last) if you 
simple mask kernel package versions greater than the one that is currently 
installed.

mkdir -p /etc/portage
echo sys-kernel/gentoo-sources-2.6.14-r2  /etc/portage/package.mask

That way, portage will not attempt to upgrade it until you tell it that you are 
ready, by removing the mask.  And yeah, if USE=symlink causes problems, don't 
use it (in my suggested scenario above it might be useful though).

Zac
--
gentoo-user@gentoo.org mailing list



[gentoo-user] PHP

2005-11-26 Thread Jeff Grossman
I currently have the dev-php/php installed on my Gentoo machine.  I am
thinking of moving up to php 5 and must use the new dev-lang/php.  Is
the dev-lang/php pretty stable?  Is there anything I should know
before I make the switch?

Thanks,
Jeff

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Slots

2005-11-26 Thread Jeff Grossman
I have just realized about programs that can be installed in slots.
Is there a way for me to find out what programs are installed in more
than one slot on my computer?  Can I tell if a particular program in a
slot is still needed?

Thanks,
Jeff

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How does Portage prioritze emerges in emerge world?

2005-11-26 Thread Holly Bostick
Zac Medico schreef:
 Holly Bostick wrote:
 
 
 This sounds great, but what about the kernel I'm booted into, 
 against which the module will *not* be compiled, if I have to 
 reboot before actually configuring/compiling/installing the new 
 kernel?
 
 
 You can get pretty close to your desired behavior (merge kernel last)
  if you simple mask kernel package versions greater than the one that
  is currently installed.
 
 mkdir -p /etc/portage echo sys-kernel/gentoo-sources-2.6.14-r2  
 /etc/portage/package.mask
 
 That way, portage will not attempt to upgrade it until you tell it 
 that you are ready, by removing the mask.  And yeah, if USE=symlink 
 causes problems, don't use it (in my suggested scenario above it 
 might be useful though).

So the ultimate conclusion is that I can either

1) disable the symlink USE flag and manage the redirect manually, which
would enable me to download any kernel at any time without concern for
whether a kernel module was upgrading in the same operation; or

2) manually mask kernels, which would enable me to upgrade any kernel
modules at any time but force me to manually oversee the availability of
kernel upgrades and manually enable them (and re-disable them following
said upgrade).

I guess I'll go for option 1, but the long and the short of it is that
complete automation is unavailable and my only choice is what I prefer
to manage manually.

OK, then. sigh Thanks.

Holly
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] World File

2005-11-26 Thread Jeff Grossman
I was reading a different thread about the world file does not
necessarily contain all of the programs installed, if they are
installed from a dependency.  Is there a way to see what programs are
installed on the machine which are not in the world file?

Thanks,
Jeff

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] World File

2005-11-26 Thread Steven Susbauer
Yes, /var/db/pkg will have information about every package installed (in the subdirectories).

The world file has things that you want to always be there, or you installed manually.On 11/26/05, Jeff Grossman 
[EMAIL PROTECTED] wrote:I was reading a different thread about the world file does not
necessarily contain all of the programs installed, if they areinstalled from a dependency.Is there a way to see what programs areinstalled on the machine which are not in the world file?Thanks,Jeff
--gentoo-user@gentoo.org mailing list-- Steven Susbauer


Re: [gentoo-user] World File

2005-11-26 Thread Matan Peled

Jeff Grossman wrote:

I was reading a different thread about the world file does not
necessarily contain all of the programs installed, if they are
installed from a dependency.  Is there a way to see what programs are
installed on the machine which are not in the world file?

Thanks,
Jeff



Sure, use equery. Like so:

equery list

--
[Name  ]   ::  [Matan I. Peled]
[Location  ]   ::  [Israel]
[Public Key]   ::  [0xD6F42CA5]
[Keyserver ]   ::  [keyserver.kjsl.com]
encrypted/signed  plain text  preferred

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: World File

2005-11-26 Thread Jeff Grossman
Great.  Thanks for the information.  I was not aware of that
directory.

Steven Susbauer [EMAIL PROTECTED] wrote:

Yes, /var/db/pkg will have information about every package installed (in the
subdirectories).

The world file has things that you want to always be there, or you installed
manually.

On 11/26/05, Jeff Grossman [EMAIL PROTECTED] wrote:

 I was reading a different thread about the world file does not
 necessarily contain all of the programs installed, if they are
 installed from a dependency.  Is there a way to see what programs are
 installed on the machine which are not in the world file?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] World File

2005-11-26 Thread Mike Williams
On Saturday 26 November 2005 17:37, Jeff Grossman wrote:
 I was reading a different thread about the world file does not
 necessarily contain all of the programs installed, if they are
 installed from a dependency.  Is there a way to see what programs are
 installed on the machine which are not in the world file?

That is correct, to see poke around in /var/db/pkg for quickness, or take the 
support method and use equery.

-- 
Mike Williams

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] was passwd now dialup and/or loop

2005-11-26 Thread maxim wexler
Hello everybody,

Well, seems I must emerge system to get to passwd. I
maybe could find the distfiles I need on the
universal-install iso but wouldn't you know it? theres
no loop module on the min-install to do the job.

OK, so I oughta be able to  dialout to the webby world
and emerge system that way. Wrong! When I run
pppconfig, I get no ui. So I go look for pppconfig
no ui  on my back up unit(where I am now). Too
weird! So I copy over the ppp config files
_word_for_word from the backup to the new unit. Now
the thing dials out to ? The modem lights flicker as
they should but nothing can be pinged.  BTW,  ifconfig
reveals the loopback device as well as ppp0.

Any dialup hackers out there?

-mw



__ 
Yahoo! Music Unlimited 
Access over 1 million songs. Try it free. 
http://music.yahoo.com/unlimited/
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: How serious is revdep-rebuild failure

2005-11-26 Thread Richard Fish
On 11/26/05, Harry Putnam [EMAIL PROTECTED] wrote:
 Harry Putnam [EMAIL PROTECTED] writes:

  Richard Fish [EMAIL PROTECTED] writes:
 
  conftest  echo works
 
  root # ./conftest  echo works
  works
  Seems to have worked as expected.

 Looking at qpkg -v -I|grep gcc
   root # qpkg -v -I|grep gcc
sys-devel/gcc-3.3.5.20050130-r1 *
sys-devel/gcc-3.4.4-r1 *
sys-devel/gcc-config-1.3.12-r4 *

 Is it normal to have 2 versions installed?

Yes.  Gcc is slotted, so it is normal to have more than one version installed.


 Would a more recent version be likely to solve the cross-compiler
 problem?

3.4.4-r1 is the most recent version available for ~x86.

The only thing I can think of that might fix it would be an emerge -e
system.  But could you post the first 200 lines of
/var/tmp/portage/mod_php-4.4.0/work/php-4.4.0/config.log?  Maybe there
is an answer there...

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Slots

2005-11-26 Thread Richard Fish
On 11/26/05, Jeff Grossman [EMAIL PROTECTED] wrote:
 I have just realized about programs that can be installed in slots.
 Is there a way for me to find out what programs are installed in more
 than one slot on my computer?  Can I tell if a particular program in a
 slot is still needed?

emerge --prune --pretend world will tell you all packages that have
more than one version installed (ie. slotted).

As for finding out whether a particular version of a slotted package
is still needed or not, well, you could do:

emerge --prune pkg
emerge -Dv world
revdep-rebuild

But the above is a bit dangerous, and could break your system.  Be careful.

-Richard

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: World File

2005-11-26 Thread Jeff Grossman
Matan Peled [EMAIL PROTECTED] wrote:

Jeff Grossman wrote:
 I was reading a different thread about the world file does not
 necessarily contain all of the programs installed, if they are
 installed from a dependency.  Is there a way to see what programs are
 installed on the machine which are not in the world file?

Sure, use equery. Like so:

   equery list

That is a handy little tool.  Thanks for the information.

May I ask, what is the number in the parenthesis?  I would assume it
is the slot number of the install.  If I am something installed in
more than one slot, is there a way for me to know if I can safely
remove it?

Thanks,
Jeff
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Re: Home Network Printing

2005-11-26 Thread Mick
Hlp!

Michael Kintzios wrote:

 
 From:: Oliver Friedrich [EMAIL PROTECTED]
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] Home Network Printing
 Date: Fri, 25 Nov 2005 11:58:27 +0100
 
 Michael Kintzios wrote:
 
  I created a new printer on hostname1 and also named it Compaq-HP. I
  set the ipp address to ipp://hostname2.STUDY/ipp but I kept
  getting errors telling me it can't resolve the address.
 
 AFAIR the IPP-Adress has to be: ipp://[Host]/[PrinterName]
 in your case this would mean: ipp://hostname2.STUDY/Compaq-HP
 
 I'm afraid I had no success.  I tried using the address as you suggested
 above but it says unknown host . . . perhaps I should add it in my
 hostname file, but my netgear router which acts as the nameserver should
 know where to go?
 
 In any case, when I changed it to the IP address of hostname2 box
 (192.168.0.3) I got this: 
 I [25/Nov/2005:20:23:13 +] [Job 56] Connecting to 192.168.0.3 on port
 631... I [25/Nov/2005:20:23:13 +] [Job 56] Connected to 192.168.0.3...
 D [25/Nov/2005:20:23:13 +] [Job 56] Getting supported attributes...
 E [25/Nov/2005:20:23:13 +] [Job 56] Destination printer does not
 exist! E [25/Nov/2005:20:23:14 +] PID 13299 stopped with status 1!
 
 
 Anything else I should try?

-- 
Regards,
Mick

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Slots

2005-11-26 Thread Jeff Grossman
Richard Fish [EMAIL PROTECTED] wrote:

On 11/26/05, Jeff Grossman [EMAIL PROTECTED] wrote:
 I have just realized about programs that can be installed in slots.
 Is there a way for me to find out what programs are installed in more
 than one slot on my computer?  Can I tell if a particular program in a
 slot is still needed?

emerge --prune --pretend world will tell you all packages that have
more than one version installed (ie. slotted).

As for finding out whether a particular version of a slotted package
is still needed or not, well, you could do:

emerge --prune pkg
emerge -Dv world
revdep-rebuild

But the above is a bit dangerous, and could break your system.  Be careful.

Thanks for the information.  That is one are where I think Gentoo can
definitely improve.  Making it so you can tell if removing a package
will kill anything.  I would imagine this is probably not an easy task
though.

Jeff

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Slots

2005-11-26 Thread Renat Golubchyk
On Sat, 26 Nov 2005 11:10:31 -0800 Jeff Grossman [EMAIL PROTECTED]
wrote:
 Thanks for the information.  That is one are where I think Gentoo can
 definitely improve.  Making it so you can tell if removing a package
 will kill anything.

You can check whether the package you intend to remove is a dependency
of another package ;-) You can do it with equery depends package.

Cheers,
Renat

-- 
Probleme kann man niemals mit derselben Denkweise loesen,
durch die sie entstanden sind.
  (Einstein)


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Re: Home Network Printing

2005-11-26 Thread Kevin Hanson

Mick wrote:


Hlp!

Michael Kintzios wrote:

 


From:: Oliver Friedrich [EMAIL PROTECTED]
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Home Network Printing
Date: Fri, 25 Nov 2005 11:58:27 +0100
 


Michael Kintzios wrote:

 


I created a new printer on hostname1 and also named it Compaq-HP. I
set the ipp address to ipp://hostname2.STUDY/ipp but I kept
getting errors telling me it can't resolve the address.
   


AFAIR the IPP-Adress has to be: ipp://[Host]/[PrinterName]
in your case this would mean: ipp://hostname2.STUDY/Compaq-HP
 


I'm afraid I had no success.  I tried using the address as you suggested
above but it says unknown host . . . perhaps I should add it in my
hostname file, but my netgear router which acts as the nameserver should
know where to go?

In any case, when I changed it to the IP address of hostname2 box
(192.168.0.3) I got this: 
I [25/Nov/2005:20:23:13 +] [Job 56] Connecting to 192.168.0.3 on port
631... I [25/Nov/2005:20:23:13 +] [Job 56] Connected to 192.168.0.3...
D [25/Nov/2005:20:23:13 +] [Job 56] Getting supported attributes...
E [25/Nov/2005:20:23:13 +] [Job 56] Destination printer does not
exist! E [25/Nov/2005:20:23:14 +] PID 13299 stopped with status 1!


Anything else I should try?
   



 

Just a shot in the dark.  Are you using cups?  If so, you may have to 
edit the cupsd.conf on the printer host to allow connections to cupsd 
from other hosts.  There is a whole section in cupsd.conf that deals 
with access.  Very similar to the apache config file.


Cheers,
Kevin


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Slots

2005-11-26 Thread Martins

At 21:10 2005.11.26., you wrote:

Richard Fish [EMAIL PROTECTED] wrote:

On 11/26/05, Jeff Grossman [EMAIL PROTECTED] wrote:
 I have just realized about programs that can be installed in slots.
 Is there a way for me to find out what programs are installed in more
 than one slot on my computer?  Can I tell if a particular program in a
 slot is still needed?

emerge --prune --pretend world will tell you all packages that have
more than one version installed (ie. slotted).

As for finding out whether a particular version of a slotted package
is still needed or not, well, you could do:

emerge --prune pkg
emerge -Dv world
revdep-rebuild

But the above is a bit dangerous, and could break your system.  Be careful.

Thanks for the information.  That is one are where I think Gentoo can
definitely improve.  Making it so you can tell if removing a package
will kill anything.  I would imagine this is probably not an easy task
though.

Jeff


maybe there should be some options when updating and emerge tries to bring 
in new slot, see, now i have qt3 and qt4, qt3 was emerged as kde dependence 
but nothing depends on qt4. so there waste of time and space unless i don't 
need qt4 for development or whatever. am i right?


martins

  


--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: masked package woes

2005-11-26 Thread James
Nick Rout nick at rout.co.nz writes:

  Bugzilla 92501  was the original request.

 
 By the look of the CVS tree this ebuild has NEVER been in portage. How
 it got on your system can only be explained by you.

Where/how do you look at the portage tree in the full complement
of packages that are available or what's not in the portage tree?
Does one just look in /usr/portage/distfiles or some other special
directory, or is there a place where one can peruse the entire tree
regardless of what they have install on a gentoo system?

 If you think it is in portage on some of your systems you can verify by
 looking in the directory


I only said this because 'emerge -s jffnms' has previously shown
the package (in red) as masked.  Plus this page was created:
http://dev.gentoo.org/~angusyoung/docs/jffnms/docs/jffnms.html

 ls /usr/portage/net-analyzer/jffnms/

No, this dir does not exist.

 If you want to build it why don't you download the ebuild from the
 bugzilla site and put it in your overlay? The overlay process is well
 documented, I am not going to burden this list with yet another
 explanation.

I guess I have no other choice.

  I wonder why it wass abandoned before it was ever finished?

 It doesn't look abandoned to me, the last post was on 19 October 2005,
 when a new version of the ebuild was posted.

OK, I confused see the package with 'emerge -s jffnms' with it
being masked but in the official tree of packages

 Lots of new evuilds get posted to bugzilla, not as many ever come out
 the other end.

 Once you have tested it don't forget to go back to the bug and report
 back on your experience. 

OK

James

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How does Portage prioritze emerges in emerge world?

2005-11-26 Thread Glenn Enright
On Sun, 27 Nov 2005 06:47, Holly Bostick wrote:
 1) disable the symlink USE flag and manage the redirect manually, which
 would enable me to download any kernel at any time without concern for
 whether a kernel module was upgrading in the same operation; or
snip
 I guess I'll go for option 1, but the long and the short of it is that
 complete automation is unavailable and my only choice is what I prefer
 to manage manually.

 OK, then. sigh Thanks.

 Holly

Yeah it would be nice if there was a system to manage this, but your solution 
works for me too and its relatively easy to remember what you need to fix 
when you do a kernel upgrade. I get the feeling that automating this sort of 
thing is non-trivial. Besides... are we gentoo users or what?! ;)
-- 
Ozmosis:
The inability of one's job to live up to one's self-image.
-- Douglas Coupland, Generation X: Tales for an Accelerated
   Culture
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Security problem? - Apache access.log has: CONNECT ... 200

2005-11-26 Thread Joseph
I just have noticed that my Apache2 access.log has few entries:

220.189.234.182 - - [27/Sep/2005:03:21:59 -0600] CONNECT 202.165.103.38:80 
HTTP/1.1 200 17505
61.232.83.75 - - [09/Oct/2005:04:33:26 -0600] CONNECT 66.135.208.90:80 
HTTP/1.1 200 25952
59.40.34.187 - - [09/Oct/2005:19:05:40 -0600] CONNECT 210.59.228.72:25 
HTTP/1.1 200 17368
66.219.100.118 - - [18/Oct/2005:02:04:00 -0600] CONNECT mx2.ToughGuy.net:25 
HTTP/1.0 200 30192
213.180.210.35 - - [26/Nov/2005:12:09:14 -0700] CONNECT 213.180.193.1:25 
HTTP/1.0 200 16916

These IP's are mostly from Russian or Chines hackers.
My proxy is not enabled in /etc/conf.d/apache2
APACHE2_OPTS=-D DEFAULT_VHOST  -D SSL -D PHP4

Anybody has similar entries. According to Apache explanation:
http://httpd.apache.org/docs/1.3/misc/FAQ.html#proxyscan
200 would indicate that somebody is using my apache as proxy, but how?

-- 
#Joseph
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] PHP

2005-11-26 Thread ellotheth rimmwen
On 11/26/05, Jeff Grossman [EMAIL PROTECTED] wrote:
 Is the dev-lang/php pretty stable?  Is there anything I should know
 before I make the switch?

I'm running 5.0.5. It's lovely. Just follow the upgrade guide
(http://svn.gnqs.org/projects/gentoo-php-overlay/file/docs/php-upgrading.html?format=raw)
and you should be peachy. Watch the USE flags, and the overlay wiki
[http://svn.gnqs.org/projects/gentoo-php-overlay/] is your friend.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: How serious is revdep-rebuild failure

2005-11-26 Thread Harry Putnam
Richard Fish [EMAIL PROTECTED] writes:

 /var/tmp/portage/mod_php-4.4.0/work/php-4.4.0/config.log
Some stuff after 200 lines looks like it might be pertinent so posting
250 lines.  I hope you see something:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:1656: checking host system type
configure:1756: checking for gcc
configure:1869: checking whether the C compiler (gcc -O2 -march=pentium4 
-fomit-frame-pointer  -L/usr/X11R6/lib -ltiff -L/usr/lib) works
configure:1885: gcc -o conftest -O2 -march=pentium4 -fomit-frame-pointer   
-L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c  -lxmlparse -lxmltok 15
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld: 
warning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not 
found (try using -rpath or -rpath-link)
configure:1911: checking whether the C compiler (gcc -O2 -march=pentium4 
-fomit-frame-pointer  -L/usr/X11R6/lib -ltiff -L/usr/lib) is a cross-compiler
configure:1916: checking whether we are using GNU C
configure:1925: gcc -E conftest.c
configure:1944: checking whether gcc accepts -g
configure:1977: checking whether gcc and cc understand -c and -o together
configure:1992: gcc -c conftest.c -o conftest.o 15
configure:1993: gcc -c conftest.c -o conftest.o 15
configure:1998: cc -c conftest.c 15
configure:2000: cc -c conftest.c -o conftest.o 15
configure:2001: cc -c conftest.c -o conftest.o 15
configure:2028: checking how to run the C preprocessor
configure:2049: gcc -E  conftest.c /dev/null 2conftest.out
configure:2109: checking for AIX
configure:2136: checking if compiler supports -R
configure:2151: gcc -o conftest -O2 -march=pentium4 -fomit-frame-pointer   
-L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -R /usr/lib  -lxmlparse -lxmltok 
15
gcc: unrecognized option `-R'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld: 
/usr/lib: No such file: File format not recognized
collect2: ld returned 1 exit status
configure: failed program was:
#line 2144 configure
#include confdefs.h

int main() {

; return 0; }
configure:2169: checking if compiler supports -Wl,-rpath,
configure:2184: gcc -o conftest -O2 -march=pentium4 -fomit-frame-pointer   
-L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -Wl,-rpath,/usr/lib  -lxmlparse 
-lxmltok 15
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld: 
warning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not 
found (try using -rpath or -rpath-link)
configure:2210: checking for re2c
configure:2239: checking whether ln -s works
configure:2264: checking for gawk
configure:2298: checking for bison
configure:2332: checking bison version
configure:2342: checking for flex
configure:2376: checking for yywrap in -lfl
configure:2395: gcc -o conftest -O2 -march=pentium4 -fomit-frame-pointer   
-L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c -lfl   -lxmlparse -lxmltok 15
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld: 
warning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not 
found (try using -rpath or -rpath-link)
configure:2419: checking lex output file root
configure:2440: checking whether yytext is a pointer
configure:2459: gcc -o conftest -O2 -march=pentium4 -fomit-frame-pointer   
-L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c  -lxmlparse -lxmltok -lfl 15
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld: 
warning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not 
found (try using -rpath or -rpath-link)
configure:2483: checking for working const
configure:2537: gcc -c -O2 -march=pentium4 -fomit-frame-pointer  conftest.c 15
configure:2562: checking flex version
configure:2578: checking whether byte ordering is bigendian
configure:2671: checking whether to force non-PIC code in shared modules
configure:2808: checking for pthreads_cflags
configure:2871: checking for pthreads_lib
configure:3002: checking for AOLserver support
configure:3243: checking for Apache 1.x module support via DSO through APXS
configure:3546: checking for Apache 1.x module support
configure:4381: checking for mod_charset compatibility option
configure:4518: checking for Apache 2.0 filter-module support via DSO through 
APXS
configure:5340: checking for Apache 2.0 handler-module support via DSO through 
APXS
configure:6163: checking for Caudium support
configure:6493: checking for CLI build
configure:6553: checking for embedded SAPI library support
configure:6756: checking for Zeus ISAPI support
configure:6986: checking for NSAPI support
configure:7327: checking for PHTTPD support
configure:7556: checking for Pi3Web support
configure:7885: checking for Roxen/Pike support
configure:8154: checking for Servlet support
configure:8672: checking for thttpd
configure:8898: checking for TUX
configure:9132: checking for webjames
configure:9553: checking for chosen SAPI module
configure:10458: checking for 

[gentoo-user] Re: How serious is revdep-rebuild failure

2005-11-26 Thread Harry Putnam
Richard Fish [EMAIL PROTECTED] writes:

 Is it normal to have 2 versions installed?

 Yes.  Gcc is slotted, so it is normal to have more than one version installed.


Do I need two versions?.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] wvdial: dialup for users

2005-11-26 Thread Alan E. Davis
I have tried alot of approaches. Wvdial is superior for detecting
hardware: it found my modem on ttyS14, where other approaches hadn't
found it. 

What I cannot seem to do is set up for my family to dial in from their
accounts. I have tried changing permissions of various kinds,
adding user to dialout, etc. 

UNCLE!

Alan Davis


[gentoo-user] BT Mouse failed

2005-11-26 Thread Michael W. Holdeman
I have a cheap BT mouse I have used for at least a year on my Dell 8600 with 
kde. It has worked well, and pretty much just worked, with a little adjusting 
on the hcid.conf from googleing around. 

Now it suddenly fails after an -uvDa world that I ran last friday I think. It 
connects but just for a second. My Dell Axim still connects via BT and works 
as expected. 

Any one else have seen this, any ideas??

Mike
-- 
 
Michael W. Holdeman



Powered by Gentoo Linux www.gentoo.org  |
Kernel 2.6.11-ck8   |
Win4Lin 5-1-20 netraverse.com   |
Win4LinPro 6.1.1-03 win4lin.com |
|
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] best filesystem for Gentoo

2005-11-26 Thread Colin Copley

Hi List,

Any comment on the best filesystem to use for Gentoo running  a 
webserver, I prefer more speed and less journaling, is there a standard?

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] wvdial: dialup for users

2005-11-26 Thread Dale
Alan E. Davis wrote:

 I have tried alot of approaches.  Wvdial is superior for detecting
 hardware: it found my modem on ttyS14, where other approaches hadn't
 found it. 

 What I cannot seem to do is set up for my family to dial in from their
 accounts.  I have tried changing permissions of various kinds, adding
 user to dialout, etc. 

 UNCLE!

 Alan Davis

Well, I use ppp and the comand pon and poff.  It works pretty well. 
emerge ppp and then config with pppconfig.  To connect, pon, to
disconnect, poff.  That would be as root, there should be a way to make
users do it though.  I'm not sure how.

Now wvdial, it dials out, then sits for a minute, then disconnects with
the error that my password is wrong, which is crap because it is
correct.  I only got wvdial to work once on another rig.  It has never
worked on this one though.  Anybody have a clue on that one?  I just
like to have options in case it pours instead of just a little shower.

My $.02 and a question as well.

Dale
:-)

-- 
To err is human, I'm most certainly human.

 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] best filesystem for Gentoo

2005-11-26 Thread Dale
Colin Copley wrote:

 Hi List,

 Any comment on the best filesystem to use for Gentoo running  a
 webserver, I prefer more speed and less journaling, is there a standard?

I don't run a webserver or anything but if you don't want journaling,
ext2 may be good.  I don't think it has any journaling at all.  Of
course, there are a lot of file systems out there to pick from.  I use
reiserfs on all mine and it works well, even when the power fails.  It
also does fine on a Compaq Proliant 6000 server with quad 200MHz CPUs. 
It is a slow rig but I don't think the journaling takes up that much CPU
time.  It always shows 0%.

It's a thought, until a serious guru comes along.  ^_^

Dale
:-)

-- 
To err is human, I'm most certainly human.

 

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: masked package woes

2005-11-26 Thread James
Richard Fish bigfish at asmallpond.org writes:


 The entire tree is in /usr/portage.  For example, all possible
 net-analyzer packages are /usr/portage/net-analyzer.  find
 /usr/portage -name '*.ebuild' will show you all ebuilds in the tree,
 masked or not, installed or not.  Compare this to what you actually
 have installed under /var/db/pkg.

This make things more clear.

 Also, the portage CVS tree can be viewed at:
 http://www.gentoo.org/cgi-bin/viewcvs.cgi/?root=gentoo-x86

OK

  I only said this because 'emerge -s jffnms' has previously shown
  the package (in red) as masked.  Plus this page was created:
  http://dev.gentoo.org/~angusyoung/docs/jffnms/docs/jffnms.html

 Ok, but view his blog here:
 http://dev.gentoo.org/~angusyoung/blog/
 Notice the statement ...which I hope to add to portage in the near future.

Cool.

 It is entirely possible (but incorrect) to place ebuilds downloaded
 manually into the /usr/portage tree.  It is also possible (and
 correct) to place those ebuilds into PORTAGE_OVERLAY.

Yes, I'm following these instructions:
http://gentoo-wiki.com/HOWTO_Installing_3rd_Party_
Ebuilds#ebuild:_A_Safer_Approach

 You (or someone else with root access to the system) must have done
 one or the other on the system that shows it as available.

Yes it was a long time ago, and I just do not remember.
Nobody else has root on the system.  

Thanks for the help, Everyone


James




-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] best filesystem for Gentoo

2005-11-26 Thread Thomas Harold

Colin Copley wrote:


Hi List,

Any comment on the best filesystem to use for Gentoo running  a 
webserver, I prefer more speed and less journaling, is there a standard?


Probably can't go wrong with ext2 (personally, I'd still go with ext3 
because you get faster fscks during bootup, right?).  Ext2/ext3 have 
been around for a long time, there are lots of tools written to work 
with them, supported in most (all?) linux distros.


I'm sure there are good arguments for using Reiser, XFS, JFS, etc, but I 
haven't gotten comfortable enough about them to make the switch away 
from ext2/ext3.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CyMotion keyboards

2005-11-26 Thread Anthony E. Caudel
Gary Richards wrote:
 I think somebody on this list was looking for one of those new Cherry
 CyMotion Linux keyboards. There's a new seller on eBay that has them.
 http://cgi.ebay.com/Cherry-CyMotion-Master-Linux-Keyboard-Tuxs-Revenge_W0QQitemZ5834892820QQcategoryZ4706QQssPageNameZWDVWQQrdZ1QQcmdZViewItem
 
 Just in case whoever that was is still interested...NFI YMMV
 
 -Gary R
 
That was me and still interested and thank you very much!

Tony

-- 
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
   -- Benjamin Franklin
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] what package has moc-qt3?

2005-11-26 Thread Steven Knight
On Sat, 2005-11-26 at 12:00 -0500, Chris Bare wrote: 
  You have 
  
  x11-libs/qt 
  
  installed yes?
 
 yes:
 
  * installed packages
  [I--] [  ] x11-libs/qt-3.3.4-r8 (3)
 
 could this be what I'm looking for?
 /usr/qt/3/bin/moc
 and the package I'm building is expecting a different name?
 -- 


That would be my guess.  Can you tell the program you're trying to
install which moc to use?  

If not, I would say create a symlink between /usr/qt/3/bin/moc to
moc-qt3 and this should do the trick.


 Chris Bare
 [EMAIL PROTECTED]
-- 

Steven Knight  [EMAIL PROTECTED]

and tho' We are not now that strength which in old days
Moved earth and heaven, that which we are, we are,--
One equal temper of heroic hearts,
Made weak by time and fate, but strong in will
To strive, to seek, to find, and not to yield.

-- Ulysses by Alfred Lord Tennyson
---
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] wvdial: dialup for users

2005-11-26 Thread Norberto Bensa
Alan E. Davis wrote:
 I have tried changing permissions of various kinds, adding user
 to dialout, etc.

Add them to tty group ;)

-- 
Norberto Bensa
4544-9692
Ciudad de Buenos Aires, Argentina
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] best filesystem for Gentoo

2005-11-26 Thread Robert Crawford
On Sat November 26 2005 11:48 pm, Thomas Harold wrote:
 Colin Copley wrote:
  Hi List,
 
  Any comment on the best filesystem to use for Gentoo running  a
  webserver, I prefer more speed and less journaling, is there a standard?

 Probably can't go wrong with ext2 (personally, I'd still go with ext3
 because you get faster fscks during bootup, right?).  Ext2/ext3 have
 been around for a long time, there are lots of tools written to work
 with them, supported in most (all?) linux distros.

 I'm sure there are good arguments for using Reiser, XFS, JFS, etc, but I
 haven't gotten comfortable enough about them to make the switch away
 from ext2/ext3.

For a server, I'd stay away from reiserfs, as it does appear to have serious 
fragmentation over time- this is becoming more and more apparent. Check this 
thread out on Gentoo forums- I posted links to a lot of good info.

http://forums.gentoo.org/viewtopic-t-401591-start-0.html

With ext3, you might want to set the dir_index feature when you format, as 
this allows diretory B=Trees to be used, and really helps with the big 
performance drawback this FS has. This might be your best bet for a 
webserver- rock solid, really good speed (with the dir_index option), and 
virtually no fragmentation over time.

If you deal with lots of really large files, xfs might serve your circumstance 
better, as it performs much better. It really depends on what you are using 
your system for, and what types of files/directories reside on each 
partition. For example, reiserfs (and R4) do much better than the others with 
lots of really small files. But as stated, plan on doing periodic tarball 
partition and save on another media/reformat partition/copy back all data 
procedures to defrag the reiserfs partition to maintain top performance. 
There is as yet no decent repacker for reiserfs that I know of.

This is contrary to what most people believe about all Linux file systems, but 
for reiserfs, this is becoming an accepted fact. It  does get seriously 
fragmented over time, though probably not as quickly as a FAT or NTFS windows 
partition.

Robert Crawford (wrc1944- on the forum)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] wvdial: dialup for users

2005-11-26 Thread Nick Rout
There are a couple of groups that you need to add your users to. -
dialout and uucp.

Reading the message at the end of emerging wvdial tells you this. Also
reading the ebuild gives you the same information.

I am not criticising you, thiose messages flash by very quickly, and
reading the ebuild is not everyone's first port of call, but if I
educate one person to read the documentation and save one query to the
list i guess my job is done :-)

PS don't forget you have to log in again after you have been added to a
group. and id is a good command to see what groups you are in.



On Sun, 27 Nov 2005 12:15:15 +1000
Alan E. Davis [EMAIL PROTECTED] wrote:

 I have tried alot of approaches.  Wvdial is superior for detecting hardware:
 it found my modem on ttyS14, where other approaches hadn't found it.
 
 What I cannot seem to do is set up for my family to dial in from their
 accounts.  I have tried changing permissions of various kinds, adding user
 to dialout, etc.
 
 UNCLE!
 
 Alan Davis
 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] wvdial: dialup for users

2005-11-26 Thread Robert Crawford
On Sat November 26 2005 9:15 pm, Alan E. Davis wrote:
 I have tried alot of approaches.  Wvdial is superior for detecting
 hardware: it found my modem on ttyS14, where other approaches hadn't found
 it.

 What I cannot seem to do is set up for my family to dial in from their
 accounts.  I have tried changing permissions of various kinds, adding user
 to dialout, etc.

 UNCLE!

 Alan Davis

Try these thread on the forums- I posted my experience with wvdial- it should 
fix your problems.

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

or:

http://forums.gentoo.org/viewtopic-t-160597-highlight-wvdial+wrc1944.html


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: How serious is revdep-rebuild failure

2005-11-26 Thread Richard Fish
On 11/26/05, Harry Putnam [EMAIL PROTECTED] wrote:
 Richard Fish [EMAIL PROTECTED] writes:

  /var/tmp/portage/mod_php-4.4.0/work/php-4.4.0/config.log
 Some stuff after 200 lines looks like it might be pertinent so posting
 250 lines.  I hope you see something:

 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.

 configure:1656: checking host system type
 configure:1756: checking for gcc
 configure:1869: checking whether the C compiler (gcc -O2 -march=pentium4 
 -fomit-frame-pointer  -L/usr/X11R6/lib -ltiff -L/usr/lib) works
 configure:1885: gcc -o conftest -O2 -march=pentium4 -fomit-frame-pointer   
 -L/usr/X11R6/lib -ltiff -L/usr/lib conftest.c  -lxmlparse -lxmltok 15
 /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld: 
 warning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not 
 found (try using -rpath or -rpath-link)

Ah, here is a problem.  A broken library dependancy.  I don't know
what package libxmlparse is a part of, but it is linked against
libmysqlcliient.so.12, which does not exist now.

Run equery belongs /usr/lib/libxmlparse.so, and rebuild   (with
emerge --oneshot pkg) whatever package that is a part of.

-Richard

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Directory directive inside VirtualHost

2005-11-26 Thread Joseph
Any Apache guru on the list?

Is Directory directive permitted inside VirtualHost directive?
example from Gentoo /etc/apache2/vhosts.d/00_default_vhost.conf file:

VirtualHost *:80
   Directory /var/www/localhost/htdocs
.
.
   /Directory
/VirtualHost

If I comment out the #VirtualHost directive, the Directory directive
(along with all its parameter (mainly AllowOveride All)  is working.
But the default setup that came after Gentoo conversion to new standards
is preventing for example: AllowOveride All inside Directory directive
to take effect.

-- 
#Joseph
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: How serious is revdep-rebuild failure

2005-11-26 Thread Richard Fish
On 11/26/05, Harry Putnam [EMAIL PROTECTED] wrote:
 Richard Fish [EMAIL PROTECTED] writes:

  Is it normal to have 2 versions installed?
 
  Yes.  Gcc is slotted, so it is normal to have more than one version 
  installed.
 

 Do I need two versions?.

Technically, no.  But this is where I get a bit paranoid, because if
you break the libstdc++ dynamic linking, you cripple the system
(including portage!).

So, I would only prune the old versions of gcc after doing a emerge
-e world to rebuild *everything* with the new gcc.

Oh, and a fix_libtool_files.sh also...

And making a good backup...

-Richard

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Security problem? - Apache access.log has: CONNECT ... 200

2005-11-26 Thread Francesco Talamona
On Saturday 26 November 2005 23:56, Joseph wrote:
 I just have noticed that my Apache2 access.log has few entries:

 220.189.234.182 - - [27/Sep/2005:03:21:59 -0600] CONNECT
 202.165.103.38:80 HTTP/1.1 200 17505 61.232.83.75 - -
 [09/Oct/2005:04:33:26 -0600] CONNECT 66.135.208.90:80 HTTP/1.1 200
 25952 59.40.34.187 - - [09/Oct/2005:19:05:40 -0600] CONNECT
 210.59.228.72:25 HTTP/1.1 200 17368 66.219.100.118 - -
 [18/Oct/2005:02:04:00 -0600] CONNECT mx2.ToughGuy.net:25 HTTP/1.0
 200 30192 213.180.210.35 - - [26/Nov/2005:12:09:14 -0700] CONNECT
 213.180.193.1:25 HTTP/1.0 200 16916

 These IP's are mostly from Russian or Chines hackers.
 My proxy is not enabled in /etc/conf.d/apache2
 APACHE2_OPTS=-D DEFAULT_VHOST  -D SSL -D PHP4

 Anybody has similar entries. According to Apache explanation:
 http://httpd.apache.org/docs/1.3/misc/FAQ.html#proxyscan
 200 would indicate that somebody is using my apache as proxy, but
 how?

 --
 #Joseph

The answer is already in the page you posted. Page sizes are different, 
so you are serving as a proxy. 
Set NameVirtualHost and VirtualHost directives in 
/etc/apache2/vhosts.d/00_default_vhost.conf and /etc/apache2/httpd.conf
as instructed in the link above.

Ciao
Francesco
-- 
Linux Version 2.6.12-gentoo-r9, Compiled #2 Wed Aug 24 18:43:16 CEST 
2005
One 2.2GHz AMD Athlon 64 Processor, 2GB RAM, 4308.99 Bogomips Total
aemaeth
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] autoexpect?

2005-11-26 Thread Walter Dnes
On Fri, Nov 25, 2005 at 08:00:09PM +0100, Andres Becerra Sandoval wrote

 If you create a private-public pair with ssh-keygen you can access to
 the other machine without a password. Then your script would call ssh
 and probably sudo /sbin/poweroff as a parameter to halt the remote
 machine.

  That's exactly what I do.  I turn on my emergency system every couple
of weeks, emerge --sync and emerge --ask --deep --update --world,
run etc-update if necessary and then shut down.  I have a honking big
19 CRT on my desk at home, and the KVM is used elsewhere.  The machine
name is m450 (450 mhz PIII).  My main machine is m3000 (AMD64 3000+).
There is an ordinary user waltdnes on m450.  /etc/sudoers on m450
contains the following line...

waltdnes  m450 = (root) NOPASSWD: /sbin/poweroff

  I have a short script ~/bin/stopm450 on m3000 ...

#!/bin/bash
ssh [EMAIL PROTECTED] sudo /sbin/poweroff

  To shut down...
  1) via ssh shut down unnecessary programs on m450
  2) exit all ssh sessions to m450
  3) stopm450

-- 
Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list