[gentoo-user] Re: migrating to LVM

2007-10-19 Thread Thufir
On Thu, 18 Oct 2007 10:26:49 +0200, Dirk Heinrichs wrote:

 hda1: Windows
 hda2: Linux (/boot)
 hda3: Linux (/)
 hda4: PV for LVM (PV = Physical Volume) 
 hdb1: PV for LVM
 
 The two PVs will be assigned to one Volume Group (VG), inside which you
 want to create LVs (Logical Volumes) for /usr, /var, /home/user, swap,
 ...
 
 Is this correct?


Yes.

Looking at http://gentoo-wiki.com/
HOWTO_Install_Gentoo_on_an_LVM2_root_partition, and the section of the 
Gentoo Handbook it points to, critical system files would be on / 
partition, the root partition?



thank you,

Thufir

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Nagios or Konqueror

2007-10-19 Thread Mick
On Thursday 18 October 2007, Volker Armin Hemmann wrote:
 On Freitag, 19. Oktober 2007, Mick wrote:
  Hi All,
 
  I am not sure if this is a generic browser issue, a server issue, or
  something wrong with my Konqueror-3.5.7-r3 installation.  When I login
  into a Nagios and go to e.g. services page with Konqueror I get this
  message in the main body:
  ===
  An error occurred while loading
  https://nagios.blah-blah.com/cgi-bin/status.cgi?host=all:
  The process for the https://nagios.blah-blah.com protocol died
  unexpectedly. ===
 
  If I click again on the menu to load services the page invariably loads,
  but only partly.  Icons don't show and red/green colour status does not
  load either.
 
  This seems to be a recently developed behaviour.  Other browsers do not
  have such problems.
 
  Any ideas what could be causing this?

 timeouts too short?

On Konqueror?  How do I configure this?

Thanks.
-- 
Regards,
Mick


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


Re: [gentoo-user] Nagios or Konqueror

2007-10-19 Thread Mick
On Friday 19 October 2007, Justin T. wrote:
 On Friday 19 October 2007 00:12:53 Mick wrote:

 snip

  The process for the https://nagios.blah-blah.com protocol died
  unexpectedly. ===

 snip

  This seems to be a recently developed behaviour.  Other browsers do not
  have such problems.
 
  Any ideas what could be causing this?

 Hey :)

 There seems to be an issue with Konqueror and some of the new Openssl
 versions.  You may want to check which version you have and update to the
 latest (openssl-0.9.8f works for me) and then recompile kdelibs if it still
 doesn't work (not sure if this is required as I did it anyways.)

 # emerge -av openssl kdelibs

 Something along those lines should hopefully take care of your problem.

Hmm, remerged both but problem remains . . .
-- 
Regards,
Mick


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


Re: [gentoo-user] Depclean and cross-foo/gcc

2007-10-19 Thread Zac Medico
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Daniel Barkalow wrote:
 I've been doing a lot of --depclean lately, and I've run into something 
 odd. emerge --depclean cross-avr/gcc wants to remove all 3 versions, but 
 it's in my world file. On the other hand, emerge --depclean doesn't want 
 to remove any of them. I initially set this up with a crossdev that's now 
 quite ancient, which may be significant, but I don't want to entirely redo 
 all my avr compilers to get them with the new crossdev.
 
 What I'd actually like is to have a specific version (the one that our 
 code is most heavily tested with), and the latest version (to test that). 
 Is there some way to have --depclean see a dependancy on a specific 
 version (or slot, as I've already masked other versions that would be in 
 that slot) from world or the equivalent?

I think you want --prune, since --depclean behaves like a dependency
aware version of --unmerge.

Zac
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQFHGO5L/ejvha5XGaMRAuErAJ9X9fs1gK2Iyp2G9gvJlBf8Da0VwACgl/iQ
ZCYrEPK4lkhxwG4hGPBN+N4=
=yQOh
-END PGP SIGNATURE-
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Does gcc not distribute with distcc?

2007-10-19 Thread Alex Schuster
Michael Sullivan writes:

 On Fri, 2007-10-19 at 20:15 +0200, Alex Schuster wrote:

   Is this correct?  I have three fast machines, 192.168.1.2 through
   192.168.1.4 and a slow machine I want to distribute for at
   192.168.1.5. Here's /etc/conf.d/distccd on the slow one:
 
  I think this one's not necessary, you only need to run the daemon on
  the fast machines.

 If I'm not running distccd on the slow machine, how does it know to
 distribute the load amongst the other three?

Oh, you're probably missing the distcc-config command? Use this:
distcc-config --set-hosts 192.168.1.2 192.168.1.3 192.168.1.4

distcc works with a wrapper. When gcc is called, in 
fact /usr/lib/distcc/bin/gcc is called (*), which distributes to the hosts 
defined in /etc/distcc/hosts. Which is set by distcc-config.

(*) If ccache is installed (I hope!), another wrapper for gcc which is 
called even before distcc is /usr/lib/ccache/bin/gcc. If the input is not 
already cached, /usr/lib/distcc/bin/gcc is called.

Alex
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Cross-compiling

2007-10-19 Thread Michael Sullivan
I've read over the guide at
http://www.gentoo.org/doc/en/cross-compiling-distcc.xml about
cross-compiling with distcc.  This may be a really stupid question, but
how do I force my slow box to use cross-compiling via distcc?  Is there
some special option I have to pass to emerge to invoke it?  The guide
was not very clear on that point

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Does gcc not distribute with distcc?

2007-10-19 Thread Alex Schuster
Michael Sullivan writes:

 On Sat, 2007-10-20 at 01:39 +0200, Alex Schuster wrote:
  Michael Sullivan writes:
   On Fri, 2007-10-19 at 20:15 +0200, Alex Schuster wrote:

  distcc works with a wrapper. When gcc is called, in
  fact /usr/lib/distcc/bin/gcc is called (*), which distributes to the
  hosts defined in /etc/distcc/hosts. Which is set by distcc-config.

  (*) If ccache is installed (I hope!), another wrapper for gcc which is
  called even before distcc is /usr/lib/ccache/bin/gcc. If the input is
  not already cached, /usr/lib/distcc/bin/gcc is called.
 
  Alex

 I ran 'which gcc' on the slow machine and this came back:

I recommend using the bash builtin 'type gcc' for such things, as this would 
also list shell functions and aliases.

 bullet portage # ls -l /usr/bin/gcc
 -rwxr-xr-x 1 root root 8232 Feb 10  2007 /usr/bin/gcc

 Do I need to change this so that it points to /usr/lib/distcc/bin/gcc?

Accordig to http://www.gentoo.org/doc/en/distcc.xml, this is not 
necessary. When distcc is listened in the FEATURES list 
in /etc/make.conf, emerge will use it. Well, should use it.

If you like to use ccache and distcc for stuff you compile manually, add 
something like
  PATH=/usr/lib/ccache/bin:/usr/lib/distcc/bin:${PATH}
to your /etc/profile.

  [EMAIL PROTECTED] ~ -- type gcc
  gcc is /usr/lib/ccache/bin/gcc

Alex
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Depclean and cross-foo/gcc

2007-10-19 Thread Zac Medico
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Daniel Barkalow wrote:
 According to the man page, --prune will remove the old version that I want 
 to keep. I want to have 3.4.4-r1 and (currently) 4.2.2, but I don't care 
 about 4.1.2. When 4.2.3 comes out, I'll want that instead of 4.2.2.

The problem is that world atoms are greedy with respect to slots, so
 if you have cross-avr/gcc in world then a global `emerge
- --depclean` will not remove 4.2.2 after 4.2.3 has been installed.
System atoms are not greedy for slots, so you can solve the problem
like this:

mkdir -p /etc/portage/profile
echo *cross-avr/gcc  /etc/portage/profile/packages
echo *cross-avr/gcc:3.4  /etc/portage/profile/packages

That pull the highest available overall and the highest available
from the 3.4 SLOT into your system set (the packages file is
documented in `man portage`). Remove the cross-avr/gcc atoms from
/var/lib/portage/world since you won't need them anymore. Once
you've done that, a global `emerge --depclean` should remove
everything except the highest available overall version and the
highest available from the 3.4 SLOT.

Zac
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQFHGTpe/ejvha5XGaMRAukLAKCkVjyegFQYtE/ZHRPKE1cWfwfsKwCg25L0
TZCq6dvV/itwakHdG9bjKvA=
=G1j+
-END PGP SIGNATURE-
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Cross-compiling

2007-10-19 Thread Davi
Em Sex 19 Out 2007, Michael Sullivan escreveu:
 I've read over the guide at
 http://www.gentoo.org/doc/en/cross-compiling-distcc.xml about
 cross-compiling with distcc.  This may be a really stupid question, but
 how do I force my slow box to use cross-compiling via distcc?  Is there
 some special option I have to pass to emerge to invoke it?  The guide
 was not very clear on that point

Have a look at distcc-set-hosts and man distcc.

Good luck. :-)
-- 
Davi Vidal
--
E-mail: [EMAIL PROTECTED]
MSN   : [EMAIL PROTECTED]
GTalk : [EMAIL PROTECTED]
Skype : davi vidal
ICQ   : 138815296


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


Re: [gentoo-user] Does gcc not distribute with distcc?

2007-10-19 Thread Michael Sullivan
On Sat, 2007-10-20 at 01:39 +0200, Alex Schuster wrote:
 Michael Sullivan writes:
 
  On Fri, 2007-10-19 at 20:15 +0200, Alex Schuster wrote:
 
Is this correct?  I have three fast machines, 192.168.1.2 through
192.168.1.4 and a slow machine I want to distribute for at
192.168.1.5. Here's /etc/conf.d/distccd on the slow one:
  
   I think this one's not necessary, you only need to run the daemon on
   the fast machines.
 
  If I'm not running distccd on the slow machine, how does it know to
  distribute the load amongst the other three?
 
 Oh, you're probably missing the distcc-config command? Use this:
 distcc-config --set-hosts 192.168.1.2 192.168.1.3 192.168.1.4
 
 distcc works with a wrapper. When gcc is called, in 
 fact /usr/lib/distcc/bin/gcc is called (*), which distributes to the hosts 
 defined in /etc/distcc/hosts. Which is set by distcc-config.
 
 (*) If ccache is installed (I hope!), another wrapper for gcc which is 
 called even before distcc is /usr/lib/ccache/bin/gcc. If the input is not 
 already cached, /usr/lib/distcc/bin/gcc is called.
 
   Alex

I ran 'which gcc' on the slow machine and this came back:

bullet portage # ls -l /usr/bin/gcc
-rwxr-xr-x 1 root root 8232 Feb 10  2007 /usr/bin/gcc

Do I need to change this so that it points to /usr/lib/distcc/bin/gcc?

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Depclean and cross-foo/gcc

2007-10-19 Thread Daniel Barkalow
On Fri, 19 Oct 2007, Zac Medico wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Daniel Barkalow wrote:
  I've been doing a lot of --depclean lately, and I've run into something 
  odd. emerge --depclean cross-avr/gcc wants to remove all 3 versions, but 
  it's in my world file. On the other hand, emerge --depclean doesn't want 
  to remove any of them. I initially set this up with a crossdev that's now 
  quite ancient, which may be significant, but I don't want to entirely redo 
  all my avr compilers to get them with the new crossdev.
  
  What I'd actually like is to have a specific version (the one that our 
  code is most heavily tested with), and the latest version (to test that). 
  Is there some way to have --depclean see a dependancy on a specific 
  version (or slot, as I've already masked other versions that would be in 
  that slot) from world or the equivalent?
 
 I think you want --prune, since --depclean behaves like a dependency
 aware version of --unmerge.

According to the man page, --prune will remove the old version that I want 
to keep. I want to have 3.4.4-r1 and (currently) 4.2.2, but I don't care 
about 4.1.2. When 4.2.3 comes out, I'll want that instead of 4.2.2.

-Daniel
*This .sig left intentionally blank*
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Does gcc not distribute with distcc?

2007-10-19 Thread Michael Sullivan
On Fri, 2007-10-19 at 20:15 +0200, Alex Schuster wrote:
 Michael Sullivan writes:
 
  On Fri, 2007-10-19 at 16:11 +0200, Alex Schuster wrote:
 [...]
 
 So you got my answer, but I for myself did not yet see it arrive on the 
 list. Strange.
 
  Is this correct?  I have three fast machines, 192.168.1.2 through
  192.168.1.4 and a slow machine I want to distribute for at 192.168.1.5.
  Here's /etc/conf.d/distccd on the slow one:
 
 I think this one's not necessary, you only need to run the daemon on the 
 fast machines.
 
If I'm not running distccd on the slow machine, how does it know to
distribute the load amongst the other three?
  And here's what it says on the faster machines:
 
 Looks fine to me. Do you get any output in the log file?
 
   Alex

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Online photo album software in Portage?

2007-10-19 Thread Grant Edwards
On 2007-10-19, Grant [EMAIL PROTECTED] wrote:
 Can anyone recommend a photo album package either in Portage or an
 overlay?

I've tried Gallery, but setup and maintenance is way too
complex for me:

  www-apps/gallery

I like bins a lot better, but it's all static, so if you want
photos available in multiple sizes it takes up some disk space:

  app-misc/bins

There are some zope based ones I haven't tried:

  net-zope/photo
  net-zope/cmfphotoalbum
  net-zope/cmfphoto  
  net-zope/zphotoslides  

Here's one that uses flash:

  media-gfx/zphoto

-- 
Grant Edwards   grante Yow! I like your SNOOPY
  at   POSTER!!
   visi.com

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] new box: 2 small puzzles

2007-10-19 Thread Peter Alfredsen
On Friday 19 October 2007, Philip Webb wrote:

 (1) The mobo (ASUS P5K-VM) manual has as default 'Configure SATA as IDE',
 which I have left as is.  However, while the System Rescue CD finds the HDD
 as '/dev/sda', neither the Gentoo Live CD nor Knoppix sees it:
 should I change the mobo setting (the HDD is SATA) ?

If it has a setting that says Configure SATA as AHCI, you might want to try 
that. AHCI is a generic-ish interface that should improve compatibility.

-- 
/PA
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] LDAP: Slapd fails asking itself while startup

2007-10-19 Thread Bertram Scharpf

Hi,

I just set up LDAP authentication and it works fine.
However, when running the init script there comes up an
error that clutters up my syslog with a lot of useless error
messages.

  @(#) $OpenLDAP: slapd 2.3.38 (Oct 18 2007 22:12:26) $ [EMAIL 
PROTECTED]:/var/tmp/portage/net-nds/openldap-2.3.38/work/openldap-2.3.38/servers/slapd
  nss_ldap: failed to bind to LDAP server ldap://127.0.0.1: Can't contact LDAP 
server
  nss_ldap: failed to bind to LDAP server ldap://127.0.0.1/: Can't contact LDAP 
server
  nss_ldap: failed to bind to LDAP server ldapi://%2fvar%2frun%2fldapi_sock/: 
Can't contact LDAP server
  ...
  nss_ldap: could not search LDAP server - Server is unavailable
  WARNING: No dynamic config support for database ldbm.
  slapd starting

I found out that the Gentoo init script activates the
options -u ldap -g ldap. Without them, the error messages
do not appear. Therefore I suppose the slapd daemon tries to
obtain passwd/shadow information for ldap via nss_ldap. At
least when I say compat in nsswitch.conf, the error
message doesn't appear as well.

The thing I really wonder about is that the lines in
nsswitch.conf say

  passwd:files ldap
  shadow:files ldap
  group: files ldap

The files should be searched first. The ldap information
is present in all three of them. I even tried to chown the
shadow file to ldap but this didn't save me from
encountering the weird messages either.

Could someone enlighten me what is going on here, please?

Thanks in advance,

Bertram Scharpf


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Online photo album software in Portage?

2007-10-19 Thread Grant
Can anyone recommend a photo album package either in Portage or an
overlay?  jalbum looks good but it doesn't seem to be in either:

http://jalbum.net

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Does gcc not distribute with distcc?

2007-10-19 Thread Alex Schuster
Michael Sullivan writes:

 On Fri, 2007-10-19 at 16:11 +0200, Alex Schuster wrote:
[...]

So you got my answer, but I for myself did not yet see it arrive on the 
list. Strange.

 Is this correct?  I have three fast machines, 192.168.1.2 through
 192.168.1.4 and a slow machine I want to distribute for at 192.168.1.5.
 Here's /etc/conf.d/distccd on the slow one:

I think this one's not necessary, you only need to run the daemon on the 
fast machines.

 And here's what it says on the faster machines:

Looks fine to me. Do you get any output in the log file?

Alex
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Nagios or Konqueror

2007-10-19 Thread James
Mick michaelkintzios at gmail.com writes:


 Thanks James, but the server owner wants Nagios (for now).  Is there a link 
 to 
 a (factual) comparative summary between the two monitoring systems?  Does 
 JFFNMS have as many plugins as Nagios?  I'd be grateful for your (subjective) 
 views too. :)


How about:
http://www.nagios.org/about/
vs
http://www.jffnms.com/features.php



I just know we have lots of folks that use to be Nagios users...

ymmv,


James

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Depclean and cross-foo/gcc

2007-10-19 Thread Daniel Barkalow
I've been doing a lot of --depclean lately, and I've run into something 
odd. emerge --depclean cross-avr/gcc wants to remove all 3 versions, but 
it's in my world file. On the other hand, emerge --depclean doesn't want 
to remove any of them. I initially set this up with a crossdev that's now 
quite ancient, which may be significant, but I don't want to entirely redo 
all my avr compilers to get them with the new crossdev.

What I'd actually like is to have a specific version (the one that our 
code is most heavily tested with), and the latest version (to test that). 
Is there some way to have --depclean see a dependancy on a specific 
version (or slot, as I've already masked other versions that would be in 
that slot) from world or the equivalent?

-Daniel
*This .sig left intentionally blank*
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: speakers have no sound but headphones have

2007-10-19 Thread »Q«
Dan Farrell [EMAIL PROTECTED] wrote:

 On Thu, 18 Oct 2007 14:04:59 -0400
 Willie Wong [EMAIL PROTECTED] wrote:
 
  Chuanwen: Personally I have never encountered a situation where on a
  laptop the volume control etc. is different between the attached
  speakers and headphones. I've always assumed (someone correct me if
  I am wrong) that the switching between headphones and the attached
  speakers is hardware and not software.   

 This is true; the headphone jacks usually have an integrated
 disconnect switch for the internal laptop speakers, to be tripped
 when a plug is inserted.

It's apparently no longer true, at least for newish Intel HDA
chipsets.  Mine (SigmaTel STAC9872AK) would not switch off the internal
speakers when the jack was plugged in, so sound would come from both
the headphones and the speakers.  A recent patch to the driver fixed
this.

Sorry this doesn't help the OP any.

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Nagios or Konqueror

2007-10-19 Thread Mick
On Friday 19 October 2007, James wrote:
 Justin T. purplegecko at gmx.net writes:
   The process for the https://nagios.blah-blah.com protocol died
   unexpectedly. ===
 
  snip
 
   This seems to be a recently developed behaviour.  Other browsers do not
   have such problems.
 
  There seems to be an issue with Konqueror and some of the new Openssl
  versions.

 You may want to install JFFNMS (in portage)[1] and see if you get
 weird browser behavior with that Network Management System. You may also
 discover many advanced features that make jffnms much more appealing
 than Nagios. hence the phrase that is popular with many jffnms users:

 'Adios Nagios'

Thanks James, but the server owner wants Nagios (for now).  Is there a link to 
a (factual) comparative summary between the two monitoring systems?  Does 
JFFNMS have as many plugins as Nagios?  I'd be grateful for your (subjective) 
views too. :)
-- 
Regards,
Mick


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


Re: [gentoo-user] How many automake?

2007-10-19 Thread ??????

try this:
emerge --clean automake

Scrolling my package db I found I have installed many automakes. 
Here is the list:


drwxr-xr-x  2 root root 664 16 ott 10:36 automake-1.10
drwxr-xr-x  2 root root 936  9 feb  2006 automake-1.4_p6
drwxr-xr-x  2 root root 936  9 feb  2006 automake-1.5
drwxr-xr-x  2 root root 936  9 feb  2006 automake-1.6.3
drwxr-xr-x  2 root root 936  9 feb  2006 automake-1.7.9-r1
drwxr-xr-x  2 root root 936  9 feb  2006 automake-1.8.5-r3
drwxr-xr-x  2 root root 936  9 feb  2006 automake-1.9.6-r1

Should it be possible to unmerge the older ones?

Regards
emilio




Äåëüôèí – ïåðâîêëàññíûé Ñî÷è! Ïåðâîêëàññíûé Êðûì! Òóðàãåíòñòâà ìîãóò äàâàòü 
òóðèñòàì ÑÂÎÈ ïóòåâêè.


--
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: OT: ssh/scp on XP and gentoo

2007-10-19 Thread James
Dan Farrell dan at spore.ath.cx writes:


  I'd be curious what folks on this list recommend, or any other
  software for such interoperability between gentoo and XP/vista
  systems.

 I, too, highly recommend PuTTY.  It has lots of nice options, and needs
 no installation, but rather will happily run straight from download.
 It's tiny and fast, and supports telnet, rsh, and some others, as well
 as SSH.  The putty people also put out a SCP client, but I didn't much
 like it; working from the command line in windows is just so painful. 


OK,

Lots of feedback. I'm going to try some things and see what I like.

Thanks! to all that responded with information and suggestions. 

James






-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Nagios or Konqueror

2007-10-19 Thread James
Justin T. purplegecko at gmx.net writes:


  The process for the https://nagios.blah-blah.com protocol died
  unexpectedly. ===
 snip
  This seems to be a recently developed behaviour.  Other browsers do not
  have such problems.


 There seems to be an issue with Konqueror and some of the new Openssl 
 versions.  



You may want to install JFFNMS (in portage)[1] and see if you get
weird browser behavior with that Network Management System. You may also
discover many advanced features that make jffnms much more appealing
than Nagios. hence the phrase that is popular with many jffnms users:

'Adios Nagios'


hth,
James




http://www.gentoo.org/doc/en/jffnms.xml
[1] 

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: migrating to LVM

2007-10-19 Thread Don Jerman
On 10/19/07, Thufir [EMAIL PROTECTED] wrote:
 On Thu, 18 Oct 2007 10:26:49 +0200, Dirk Heinrichs wrote:

  hda1: Windows
  hda2: Linux (/boot)
  hda3: Linux (/)
  hda4: PV for LVM (PV = Physical Volume)
  hdb1: PV for LVM
 
  The two PVs will be assigned to one Volume Group (VG), inside which you
  want to create LVs (Logical Volumes) for /usr, /var, /home/user, swap,
  ...
 
  Is this correct?


 Yes.

 Looking at http://gentoo-wiki.com/
 HOWTO_Install_Gentoo_on_an_LVM2_root_partition, and the section of the
 Gentoo Handbook it points to, critical system files would be on /
 partition, the root partition?

Usually, yes.  If /boot and /root are not members of the LVM volume
group it's much simpler to manage and recover from problems.

It's possible to put everything on LV's (apparently grub even supports
/boot on LV) but it means you have to have an initrd that can perform
the LVM initialization from the ramdisk and swap all the critical
partitions before starting the real init process.  If that
initialization goes wrong somehow it's not going to boot at all (no
linux single rescue mode) so you're stuck going back to a non-LV
boot method (CD, or a  rescue partition or something).  Once you get
the juggling act right the risk is fairly small, but it does add more
complexity to the boot process so there's more errors that can break
it.

So / and /boot will be smallish physical partitions - I use the
minimum size for /boot and around 10G for root, and LVM manages
anything that gets dynamically large or uncertain like /home/, /opt/,
and application directories like /var/lib/mythtv/ or /var/spool/mail/.
 Anything that starts to eat up a large part of my root partition is a
candidate for copying over to a LV later on.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] memoir blocking tetex?

2007-10-19 Thread Jules Colding
On Fri, 2007-10-19 at 11:58 +0200, Bo Ørsted Andresen wrote:
 On Friday 19 October 2007 11:22:00 Jules Colding wrote:
  I'm trying to emerge memoir but it is blocking its own dependency -
  tetex:
 
  ##
  omc-2 ~ # emerge -va dev-tex/memoir
 
  These are the packages that would be merged, in order:
 
  Calculating dependencies... done!
  [ebuild  N] app-text/tetex-3.0_p1-r4  USE=X -Xaw3d -doc -lesstif
  -motif -neXt -tk 0 kB [ebuild  N] dev-tex/memoir-20060211  1,720 kB
  [blocks B ] dev-tex/memoir (is blocking app-text/tetex-3.0_p1-r4)
 
  Total: 2 packages (2 new, 1 block), Size of downloads: 1,720 kB
  ##
 
  What can I do about that?
 
 Theoretically you could downgrade tetex to 2.x and mask tetex 3.x. I doubt 
 you 
 want to do that though since the reason for the block is that memoir is part 
 of tetex 3.x...

Yes, I've just leaned that.

Sorry for the noise,
  jules


-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] memoir blocking tetex?

2007-10-19 Thread Bo Ørsted Andresen
On Friday 19 October 2007 11:22:00 Jules Colding wrote:
 I'm trying to emerge memoir but it is blocking its own dependency -
 tetex:

 ##
 omc-2 ~ # emerge -va dev-tex/memoir

 These are the packages that would be merged, in order:

 Calculating dependencies... done!
 [ebuild  N] app-text/tetex-3.0_p1-r4  USE=X -Xaw3d -doc -lesstif
 -motif -neXt -tk 0 kB [ebuild  N] dev-tex/memoir-20060211  1,720 kB
 [blocks B ] dev-tex/memoir (is blocking app-text/tetex-3.0_p1-r4)

 Total: 2 packages (2 new, 1 block), Size of downloads: 1,720 kB
 ##

 What can I do about that?

Theoretically you could downgrade tetex to 2.x and mask tetex 3.x. I doubt you 
want to do that though since the reason for the block is that memoir is part 
of tetex 3.x...

-- 
Bo Andresen


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


Re: [gentoo-user] How to make Opera or Firefox believe my location is the UK?

2007-10-19 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Dale wrote:
 I ask because I have seen other sites that do something similar  and
 they never seem to be correct for me.  Maybe it is because I live out in
 the sticks.  Heck, I'm still on dial-up but DSL is coming sometime soon.

It's something called GeoIP. Look it up in wikipedia. Even the webalizer 
(apache statistics
generator) package makes use of it.

- --
Arturo Buanzo Busleiman - Consultor Independiente en Seguridad Informatica
Servicios Ofrecidos: http://www.buanzo.com.ar/pro/
Unase a los Foros GNU/Buanzo - La palabra Comunidad en su maxima expresion.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHGHj5AlpOsGhXcE0RCi0xAJ9Y84cNKXdL7dcLp8C2UOZE0zNCkQCfUkB1
IQ3F4LykOYHZ/DdVcpqhoPU=
=dEBz
-END PGP SIGNATURE-
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] memoir blocking tetex?

2007-10-19 Thread Jules Colding
Hi,

I'm trying to emerge memoir but it is blocking its own dependency -
tetex:

##
omc-2 ~ # emerge -va dev-tex/memoir

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N] app-text/tetex-3.0_p1-r4  USE=X -Xaw3d -doc -lesstif -motif 
-neXt -tk 0 kB
[ebuild  N] dev-tex/memoir-20060211  1,720 kB
[blocks B ] dev-tex/memoir (is blocking app-text/tetex-3.0_p1-r4)

Total: 2 packages (2 new, 1 block), Size of downloads: 1,720 kB
##


What can I do about that?

Best regards,
  jules



-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] SSH: No X11 forwarding any longer

2007-10-19 Thread Alex Schuster
Mick writes:

 On Sunday 14 October 2007, Alex Schuster wrote:
  Then I looked at the configs again, and in the man page for ssh_config
  I finally found this:
   XAuthLocation
   Specifies the full pathname of the xauth(1) program.  The
   default is /usr/openwin/bin/xauth.
 
  /usr/openwin? I added XAuthLocation /usr/bin/xauth to the
  client's /etc/ssh/ssh_config, and now all was fine. Even without the X
  use flag.
 
  Looking at a gentoo box I did not update for a while, I see the man
  page there tells the default location is /usr/bin/xauth. Okay, now I
  know this change is responsible. But why aren't forum and this list
  flooded with people experiencing the same problem as me?

 Perhaps because most use vanilla ssh to manage servers?  I have every now
 and then used an ssh tunnel to forward VNC connections, but that is
 exceptional as far as my usage of ssh goes.

Well, my setup looks pretty vanilla to me, I did not talk about more 
sophisticated tunneling stuff. I just have a server and a client, and need 
to put the XAuthLocation line into the client's config when I want X 
forwarding.

I know found out what happened. The old boxes with working forwarding have 
a /usr/openwin symlink pointing to /usr/X11R6. This makes xauth being 
found. It belongs to x11-libs/xview, but the last xview update removed the 
symlink, now X forwarding fails.

Still no idea why you all do NOT have the problem.

Alex
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: migrating to LVM

2007-10-19 Thread Thufir
On Fri, 19 Oct 2007 08:11:55 -0400, Don Jerman wrote:


 So / and /boot will be smallish physical partitions - I use the minimum
 size for /boot and around 10G for root, and LVM manages anything that
 gets dynamically large or uncertain like /home/, /opt/, and application
 directories like /var/lib/mythtv/ or /var/spool/mail/.
  Anything that starts to eat up a large part of my root partition is a
 candidate for copying over to a LV later on.


Awesome, thanks for the background info.



-Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] new box: 2 small puzzles

2007-10-19 Thread Philip Webb
My new machine is working well  I'm starting to install the system.
So far, there are  2  things I would value advice on.

(1) The mobo (ASUS P5K-VM) manual has as default 'Configure SATA as IDE',
which I have left as is.  However, while the System Rescue CD finds the HDD
as '/dev/sda', neither the Gentoo Live CD nor Knoppix sees it:
should I change the mobo setting (the HDD is SATA) ?

(2) I've been using a  2 GB  USB memory stick to transfer material
from my present machine to the new one.  The space taken up on the stick
is much larger than that shown by 'df' or 'du' on either HDD :
is there some inefficiency in how data is written to a USB stick ?
is there some way of making it as efficient as an HDD ?
I've been using the command 'cp -a', which is slow but usually safe.

BTW I'm amazed that System Rescue doesn't seem to know re 'pppoe'.
I hope to install Gentoo from the copied files w/o using the I/net.

-- 
,,
SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
ELECTRIC   /] [] [] [] [] []|  Centre for Urban  Community Studies
TRANSIT`-O--O---'  University of Toronto
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] How many automake?

2007-10-19 Thread Daniel Barkalow
On Fri, 19 Oct 2007, econti wrote:

 Scrolling my package db I found I have installed many automakes. Here is the
 list:
 
 drwxr-xr-x  2 root root 664 16 ott 10:36 automake-1.10
 drwxr-xr-x  2 root root 936  9 feb  2006 automake-1.4_p6
 drwxr-xr-x  2 root root 936  9 feb  2006 automake-1.5
 drwxr-xr-x  2 root root 936  9 feb  2006 automake-1.6.3
 drwxr-xr-x  2 root root 936  9 feb  2006 automake-1.7.9-r1
 drwxr-xr-x  2 root root 936  9 feb  2006 automake-1.8.5-r3
 drwxr-xr-x  2 root root 936  9 feb  2006 automake-1.9.6-r1
 
 Should it be possible to unmerge the older ones?

I believe that automake is only needed at build time, not at runtime, so 
you could unmerge all of them and have the system work. Of course, the 
next time you emerged practically anything, it would have to build an 
automake. Also, the reason you have so many installed is that they're not 
generally compatible with each other. Various packages require different 
versions in order to build correctly, and a bunch of magic in portage 
deals with this. On the other hand, you probably won't need all of those 
versions. If you do:

emerge --depclean automake

It'll unmerge some of them (at a guess, 1.4_p6 and 1.9.6-r1, if not 
others). If you include --verbose, it'll tell you what packages wanted 
each version.

-Daniel
*This .sig left intentionally blank*
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Does gcc not distribute with distcc?

2007-10-19 Thread Michael Sullivan
On Fri, 2007-10-19 at 16:11 +0200, Alex Schuster wrote:
 Michael Sullivan writes:
 
  I have a really old PC that I use as a backup server if our main server
  goes down.  (This is a hobbyist network.)  I'm trying to update the
  software on it. (It hasn't been updated since last April).  I've set up
  distcc following the guide at http://www.gentoo.org/doc/en/distcc.xml
  I tried updating mysql on it and it seemed to distribute correctly, but
  gcc does not.  Does gcc not distribute?
 
 I just tried that, and it distributes fine. I also think it should, unless 
 there is a MAKEOPTS=${MAKEOPTS} -j1 or something similar in the ebuild.
 
 Do you have logging activated in /etc/conf.d/distccd on the host providing 
 the distcc service? Is there something in your syslog? There also is 
 distcc-mon, but I did not have success with that, so I just look at the 
 logs to see what's wrong.
 
   Alex

Is this correct?  I have three fast machines, 192.168.1.2 through
192.168.1.4 and a slow machine I want to distribute for at 192.168.1.5.
Here's /etc/conf.d/distccd on the slow one:

# /etc/conf.d/distccd: config file for /etc/init.d/distccd

DISTCCD_OPTS=

# this is the distccd executable 
DISTCCD_EXEC=/usr/bin/distccd

# this is where distccd will store its pid file
DISTCCD_PIDFILE=/var/run/distccd/distccd.pid

# set this option to run distccd with extra parameters
# Default port is 3632.  For most people the default is okay.
DISTCCD_OPTS=${DISTCCD_OPTS} --port 3632

# Logging
# You can change some logging options here:
# --log-file FILE
# --log-level LEVEL  [critical,error,warning, notice, info, debug]
#
# Leaving --log-file blank will log to syslog
# example: --log-file /dev/null --log-level warning
# example: --log-level critical

DISTCCD_OPTS=${DISTCCD_OPTS} --log-level info
--log-file /var/log/distccd

# SECURITY NOTICE:
# It is HIGHLY recomended that you use the --listen option
# for increased security. You can specify an IP to permit connections 
# from or a CIDR mask
# --listen accepts only a single IP
# --allow is now mandatory as of distcc-2.18.
# example:  --allow 192.168.0.0/24
# example:  --allow 192.168.0.5 --allow 192.168.0.150
# example:  --listen 192.168.0.2
DISTCCD_OPTS=${DISTCCD_OPTS} --allow 192.168.1.2 --allow 192.168.1.3
--allow 192.168.1.4
#DISTCCD_OPTS=${DISTCCD_OPTS} --listen 192.168.0.2

# set this for niceness
# Default is 15
DISTCCD_NICE=15

And here's what it says on the faster machines:

# /etc/conf.d/distccd: config file for /etc/init.d/distccd

DISTCCD_OPTS=

# this is the distccd executable 
DISTCCD_EXEC=/usr/bin/distccd

# this is where distccd will store its pid file
DISTCCD_PIDFILE=/var/run/distccd/distccd.pid

# set this option to run distccd with extra parameters
# Default port is 3632.  For most people the default is okay.
DISTCCD_OPTS=${DISTCCD_OPTS} --port 3632

# Logging
# You can change some logging options here:
# --log-file FILE
# --log-level LEVEL  [critical,error,warning, notice, info, debug]
#
# Leaving --log-file blank will log to syslog
# example: --log-file /dev/null --log-level warning
# example: --log-level critical

DISTCCD_OPTS=${DISTCCD_OPTS} --log-level info
--log-file /var/log/distccd

# SECURITY NOTICE:
# It is HIGHLY recomended that you use the --listen option
# for increased security. You can specify an IP to permit connections 
# from or a CIDR mask
# --listen accepts only a single IP
# --allow is now mandatory as of distcc-2.18.
# example:  --allow 192.168.0.0/24
# example:  --allow 192.168.0.5 --allow 192.168.0.150
DISTCCD_OPTS=${DISTCCD_OPTS} --allow 192.168.1.5
#DISTCCD_OPTS=${DISTCCD_OPTS} --listen 192.168.0.2

# set this for niceness
# Default is 15
DISTCCD_NICE=15


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] How many automake?

2007-10-19 Thread econti
Scrolling my package db I found I have installed many automakes. Here 
is the list:


drwxr-xr-x  2 root root 664 16 ott 10:36 automake-1.10
drwxr-xr-x  2 root root 936  9 feb  2006 automake-1.4_p6
drwxr-xr-x  2 root root 936  9 feb  2006 automake-1.5
drwxr-xr-x  2 root root 936  9 feb  2006 automake-1.6.3
drwxr-xr-x  2 root root 936  9 feb  2006 automake-1.7.9-r1
drwxr-xr-x  2 root root 936  9 feb  2006 automake-1.8.5-r3
drwxr-xr-x  2 root root 936  9 feb  2006 automake-1.9.6-r1

Should it be possible to unmerge the older ones?

Regards
emilio

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] [OT] UNIX authentication against AD

2007-10-19 Thread Vladimir Rusinov
On 10/17/07, pat [EMAIL PROTECTED] wrote:

 Sorry for of-topic post, but I think this place is full of people who
 knows :-)

 My question is about authentication of UNIX like system (Linux, Solaris,
 AIX,
 HP-UX, etc.) against MS Active Directory.

 Scenario:
 UNIX is set up to authenticate against AD, so the user has same login into
 UNIX systems and windows systems.

 My guess is to setup UNIX to authenticate using kerberos, where kerberos
 provider should be the AD.

 Please correct me if I'm wrong.


I'm using samba's winbind (and yes, it actually uses kerberos + have
nsswitch libs).

-- 
Vladimir Rusinov
GreenMice Solutions: IT-решения на базе Linux
http://greenmice.info/


Re: [gentoo-user] speakers have no sound but headphones have

2007-10-19 Thread Benno Schulenberg
Chuanwen Wu wrote:
 On 10/19/07, Benno Schulenberg [EMAIL PROTECTED]
 wrote: 
  https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3238
  https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2923
  https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2901

 The network here is very slow and I can't connect with the links
 you gave above.

Maybe the certificate acceptance question window is hiding somewhere 
underneath your mailer?

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] How many automake?

2007-10-19 Thread ??????


Scrolling my package db I found I have installed many automakes. 
Here is the list:


drwxr-xr-x  2 root root 664 16 ott 10:36 automake-1.10
drwxr-xr-x  2 root root 936  9 feb  2006 automake-1.4_p6
drwxr-xr-x  2 root root 936  9 feb  2006 automake-1.5
drwxr-xr-x  2 root root 936  9 feb  2006 automake-1.6.3
drwxr-xr-x  2 root root 936  9 feb  2006 automake-1.7.9-r1
drwxr-xr-x  2 root root 936  9 feb  2006 automake-1.8.5-r3
drwxr-xr-x  2 root root 936  9 feb  2006 automake-1.9.6-r1

Should it be possible to unmerge the older ones?

actually, removing them is a bad idea, because you need all these versions

regards, spring

Regards
emilio




Äåëüôèí – ïåðâîêëàññíûé Ñî÷è! Ïåðâîêëàññíûé Êðûì! Òóðàãåíòñòâà ìîãóò äàâàòü 
òóðèñòàì ÑÂÎÈ ïóòåâêè.


--
[EMAIL PROTECTED] mailing list



[gentoo-user] where is the unifont?

2007-10-19 Thread Ralf Stephan
Hello,
I have installed the unifont package but it doesn't show with
xlsfonts nor xfontsel, nor does an xterm find the font string.
I tried the commands mkfontsdir and xset fp rehash.

What am I missing?


ralf

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Online photo album software in Portage?

2007-10-19 Thread Martins
I use this one

www-apps/linpha
in webapp-experimental overlay

under linpha in album folder i make simlinks to actual photos folders, so i 
dont have to keep multiple copies


Martins

On Friday 19 October 2007 21:55:08 Grant wrote:
 Can anyone recommend a photo album package either in Portage or an
 overlay?  jalbum looks good but it doesn't seem to be in either:

 http://jalbum.net

 - Grant


-- 
[EMAIL PROTECTED] mailing list