Re: [gentoo-user] Problem with resolv.conf

2009-01-08 Thread Redouane Boumghar
Hi everyone,

If you don't want dhcpcd to overwrite your resolv.conf
then tell it not to configure the DNS.

The configuration can be made through your /etc/conf.d/net file :

config_eth0=( dhcp )
dhcp_eth0=nodns nontp nonis


That's the nodns which take care of not touching your resolv.conf
file.

Hope this helps!

Have a nice day, and Happy New year everyone ;)
Red.


On Wed, Jan 07, 2009 at 09:47:39PM -0700, Hung Dang wrote:
 Eric Martin wrote:
  Hung Dang wrote:
  Hi all,
  I have a strange problem that the resolv.conf  file  is reset to the
  default file every time I reboot my computer.
  Does anyone has similar problem before?
 
  Thanks,
  Hung
 

  dhcpcd does this.  Are you running dhcp on the machine?
  # Generated by dhcpcd
  # /etc/resolv.conf.head can replace this line
 
 Eric: Thanks for a quick reply.
 
 You are correct. Every time I reboot my machine dhcpcd override
 resolv.conf file. I only use dhcpcd in my system and below is the
 content of the new resolv.conf
 
 # Generated by dhcpcd
 # /etc/resolv.conf.head can replace this line
 # /etc/resolv.conf.tail can replace this line
 
 
 I guest the head and tail of the resolv.conf can be replace by
 /etc/resolv.conf.head and /etc/resolv.conf.tail files.
 My question is I have several Gentoo machines, how ever this problem
 only happen with the new one. Do you have any suggestion for my problem?
 
 Thanks
 Hung
 
 
 
 



Re: [gentoo-user] Re: rsh failed : Connection reset by peer

2009-01-08 Thread Peter Humphrey
On Thursday 08 January 2009 04:51:27 Matt Harrison wrote:

 RSH was abandoned years ago and I'm surprised there are any applications
 still around that haven't moved to ssh. 

$ equery l rsh
[ Searching for package 'rsh' in all categories among: ]
 * installed packages
[I--] [  ] net-misc/netkit-rsh-0.17-r9 (0)

$ equery d netkit-rsh
[ Searching for packages depending on netkit-rsh... ]
x11-apps/xsm-1.0.1 (net-misc/netkit-rsh)

$ equery d xsm
[ Searching for packages depending on xsm... ]
x11-apps/xinit-1.0.5-r1 (!minimal? x11-apps/xsm)

$ equery d xinit
[ Searching for packages depending on xinit... ]
kde-base/kdm-3.5.9 (x11-apps/xinit)
x11-base/xorg-server-1.3.0.0-r6 (x11-apps/xinit)
x11-base/xorg-x11-7.2 (=x11-apps/xinit-1.0.3)

In other words, you can't have X without rsh (other than a minimal X 
installation, perhaps).

I was surprised too.

-- 
Rgds
Peter



Re: [gentoo-user] SSH login with both key AND password?

2009-01-08 Thread Norberto Bensa
On Wednesday January 7 2009 22:11:56 Dave Jones wrote:

 Entering a passphrase encrypts the private part of the key, which you keep
 only on the server. You only need the public part of the key on the client.

Try it the other way: private on the client. Public on the server. 

The private part is what you have: the key.

The public part is what you put on the server: the lock.

You can give the lock to whatever person you want, but only your key will 
unlock it.


Regards,
Norberto




Re: [gentoo-user] Re: rsh failed : Connection reset by peer

2009-01-08 Thread Eric Martin
Matt Harrison wrote:
 Chuanwen Wu wrote:
 I guess maybe rsh does not allow to login as root.

 Probably not, RSH was abandoned years ago and I'm surprised there are
 any applications still around that haven't moved to ssh.

 Exposing the root user to an already unsafe transmission is asking for
 trouble IMHO.

 Unfortunately I can't help with the configuration but I thought a
 brief warning should accompany any discussion on RSH.

 Matt


Doesn't ssh work as a drop in replacement for rsh?  Try ssh instead.  I
know in cvs, there's an environment variable CVS_RSH that you set to ssh
and everything works fine. 



signature.asc
Description: OpenPGP digital signature


[gentoo-user] Iozone on multiple nodes using ssh

2009-01-08 Thread Chuanwen Wu
Hi,
I am trying to use iozone to test my cluster with ssh but not rsh, but
I still can't running iozone on multiple nodes.

I have two nodes node73 and node74 in my LAN. And each node is able to
execute commands on another one without being challenged for a
password with user dnfs:
d...@node73 ~ $ ssh node74 date
Thu Jan  8 22:44:55 CST 2009

d...@gnode74 ~ $ ssh node73 date
Thu Jan  8 22:47:19 CST 2009

Iozone use rsh to execute commands on the clients, and now I use ssh
to replace rsh:
d...@node73 ~ $ cat ~/.bashrc
# /etc/skel/.bashrc
[...]
# Put your fun stuff here.
export RSH=ssh

Here is my clientlist, which contains the nodes' information:
d...@node73 ~ $ cat clientlist
node74 /home/dnfs /tmp/iozone

Then I run iozone on node73:
/***/
d...@node73 ~ $ iozone -s 1m -Rb log.xls  -t 1 -+m clientlist
Iozone: Performance Test of File I/O
Version $Revision: 3.242 $
Compiled for 64 bit mode.
Build: linux-AMD64

Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins
 Al Slater, Scott Rhine, Mike Wisner, Ken Goss
 Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR,
 Randy Dunlap, Mark Montague, Dan Million,
 Jean-Marc Zucconi, Jeff Blomberg,
 Erik Habbinga, Kris Strecker, Walter Wong.

Run began: Thu Jan  8 23:11:13 2009

File size set to 1024 KB
Excel chart generation enabled
Network distribution mode enabled.
Command line used: iozone -s 1m -Rb log.xls -t 1 -+m clientlist
Output is in Kbytes/sec
Time Resolution = 0.01 seconds.
Processor cache size set to 1024 Kbytes.
Processor cache line size set to 32 bytes.
File stride size set to 17 * record size.
Throughput test with 1 process
Each process writes a 1024 Kbyte file in 4 Kbyte records
/**/
Then iozone stoped here.

I still use strace to see what happend:
/**/
d...@node73 ~ $ strace iozone -s 1m -Rb log.xls  -t 1 -+m clientlist
execve(/usr/bin/iozone, [iozone, -s, 1m, -Rb, log.xls,
-t, 1, -+m, clientlist], [/* 45 vars */]) = 0
brk(0)  = 0x7cb000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x7f67f3639000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x7f67f3638000
access(/etc/ld.so.preload, R_OK)  = -1 ENOENT (No such file or directory)
open(/etc/ld.so.cache, O_RDONLY)  = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=48606, ...}) = 0
mmap(NULL, 48606, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f67f362c000
close(3)= 0
open(/lib/librt.so.1, O_RDONLY)   = 3
read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0\300\\0\0\0\0\0\0...,
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=35688, ...}) = 0
mmap(NULL, 2132968, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x7f67f3217000
mprotect(0x7f67f321f000, 2093056, PROT_NONE) = 0
mmap(0x7f67f341e000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f67f341e000
close(3)= 0
open(/lib/libpthread.so.0, O_RDONLY)  = 3
read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0\240W\0\0\0\0\0\0...,
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=131577, ...}) = 0
mmap(NULL, 2204528, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x7f67f2ffc000
mprotect(0x7f67f3011000, 2097152, PROT_NONE) = 0
mmap(0x7f67f3211000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7f67f3211000
mmap(0x7f67f3213000, 13168, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f67f3213000
close(3)= 0
open(/lib/libc.so.6, O_RDONLY)= 3
read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0\220\334\1\0\0\0\0\0...,
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1293456, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x7f67f362b000
mmap(NULL, 3399928, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x7f67f2cbd000
mprotect(0x7f67f2df3000, 2093056, PROT_NONE) = 0
mmap(0x7f67f2ff2000, 20480, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x135000) = 0x7f67f2ff2000
mmap(0x7f67f2ff7000, 16632, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f67f2ff7000
close(3)= 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x7f67f362a000
arch_prctl(ARCH_SET_FS, 0x7f67f362a6f0) = 0
mprotect(0x7f67f2ff2000, 16384, PROT_READ) = 0
mprotect(0x7f67f3211000, 4096, PROT_READ) = 0
mprotect(0x7f67f341e000, 4096, PROT_READ) = 0
mprotect(0x62a000, 4096, PROT_READ) = 0
mprotect(0x7f67f363a000, 4096, PROT_READ) 

Re: [gentoo-user] Re: rsh failed : Connection reset by peer

2009-01-08 Thread Chuanwen Wu
Hi, thank all you guys!
I give up rsh and trying using ssh now.  I stiil find some problem and
have started a new thread.
On Thu, Jan 8, 2009 at 12:51 PM, Matt Harrison
iwasinnamuk...@genestate.com wrote:
 Chuanwen Wu wrote:

 I guess maybe rsh does not allow to login as root.

 Probably not, RSH was abandoned years ago and I'm surprised there are any
 applications still around that haven't moved to ssh.

 Exposing the root user to an already unsafe transmission is asking for
 trouble IMHO.

 Unfortunately I can't help with the configuration but I thought a brief
 warning should accompany any discussion on RSH.

 Matt






-- 
wcw



[gentoo-user] Re: Problem with resolv.conf

2009-01-08 Thread »Q«
In 49657ecd.7060...@gmail.com,
Hung Dang hungp...@gmail.com wrote:

 References:
 58965d8a0901071528u464c7aa7w8cd5bcfab7530...@mail.gmail.com
 496544cc.5050...@xs4all.nl 49656893.2040...@podgeweb.com

 Hi all,
 I have a strange problem that the resolv.conf  file  is reset to the
 default file every time I reboot my computer.
 Does anyone has similar problem before?

I think you're question's been answered.  But in the future, please
don't post new issues by replying to existing threads and changing the
Subject header -- just make a new post.

-- 
»Q«
 Kleeneness is next to Gödelness.





Re: [gentoo-user] SSH login with both key AND password?

2009-01-08 Thread Paul Hartman
On Wed, Jan 7, 2009 at 6:11 PM, Dave Jones dave.jo...@xs4all.nl wrote:
 Paul Hartman wrote on 08/01/09 00:28:
 Hi,

 Normally I'm using SSH with regular password login, and I've read
 about generating a keypair and having a password-less connection that
 way. Is there a way to require both the key AND a password? Basically
 if I put the key in my SSH client at work, I don't want a co-worker to
 be able to login to my home PC, or someone to grab my phone, etc.

 Is there a way to put a passphrase on the key (seperate from my user
 account password)? Maybe that would work... Otherwise I've thought
 about having a dummy SSH account and then su - realuser to get
 access, but that seems kind of messy.

 I've always used password login and IP-restricted it, but now I'm
 traveling more and never know what IP I might be connecting from, so
 using a key seems to be the best plan, or maybesome kind of
 portknocking (but that's difficult from restricted ssh environments
 such as a phone).

 By default ssh-keygen creates a key pair with a passphrase. It's your choice 
 to enter or omit a passphrase.

 If you've generated a key without a passphrase, you can add a passphrase 
 using ssh-keygen -p

 Entering a passphrase encrypts the private part of the key, which you keep 
 only on the server. You only need the public part of the key on the client.

 Cheers, Dave

It works great. Thanks everyone for your responses!

Paul



[gentoo-user] Please explain why this new 'emerge @preserved-rebuild' is good?

2009-01-08 Thread Mark Knecht
I've had this come up a few times over the last few weeks. Every time
I've done the command the emerge has failed somewhere along the way.

Is this adding some value that I don't understand? What does it do
that using revdep-rebuild doesn't?

Granted, I have no way of knowing whether revdep-rebuild would have
failed or not failed so maybe it's an issue with the quality of what's
in portage these days but I'm not grasping why things are getting to
be more work for fewer good results.

Thanks,
Mark



Re: [gentoo-user] Please explain why this new 'emerge @preserved-rebuild' is good?

2009-01-08 Thread Graham Murray
Mark Knecht markkne...@gmail.com writes:

 Is this adding some value that I don't understand? What does it do
 that using revdep-rebuild doesn't?

It allows the affected packages to continue working until the rebuild is
done. With the 'old' revdep-rebuild, a program using a library whose
version was incremented by an upgrade could not be started (or would
fail) until it was rebuilt to use the newer library version. With the
'new' @preserved-rebuild, the old version of the library is not actually
removed until all the dependent packages are rebuilt. 



Re: [gentoo-user] Please explain why this new 'emerge @preserved-rebuild' is good?

2009-01-08 Thread Neil Bothwick
On Thu, 8 Jan 2009 09:20:00 -0800, Mark Knecht wrote:

 Is this adding some value that I don't understand? What does it do
 that using revdep-rebuild doesn't?

revdep-rebuild fixes broken packages, @preserved-libs prevents the
breakage in the first place.


-- 
Neil Bothwick

Use the Force, Luke, Don't give in to the DOS side.- ObiWan Kenobi


signature.asc
Description: PGP signature


Re: [gentoo-user] Please explain why this new 'emerge @preserved-rebuild' is good?

2009-01-08 Thread Mark Knecht
On Thu, Jan 8, 2009 at 9:42 AM, Graham Murray gra...@gmurray.org.uk wrote:
 Mark Knecht markkne...@gmail.com writes:

 Is this adding some value that I don't understand? What does it do
 that using revdep-rebuild doesn't?

 It allows the affected packages to continue working until the rebuild is
 done. With the 'old' revdep-rebuild, a program using a library whose
 version was incremented by an upgrade could not be started (or would
 fail) until it was rebuilt to use the newer library version. With the
 'new' @preserved-rebuild, the old version of the library is not actually
 removed until all the dependent packages are rebuilt.



Thanks Graham. That *sounds* like it should be of value.

I guess then that the constant messages about doing an emerge
@preserved-rebuild aren't necessarily to be followed, or at least not
worried about if they fail as whatever program needs the libraries
still has the old versions?

- Mark



Re: [gentoo-user] Please explain why this new 'emerge @preserved-rebuild' is good?

2009-01-08 Thread Volker Armin Hemmann
On Donnerstag 08 Januar 2009, Neil Bothwick wrote:
 On Thu, 8 Jan 2009 09:20:00 -0800, Mark Knecht wrote:
  Is this adding some value that I don't understand? What does it do
  that using revdep-rebuild doesn't?

 revdep-rebuild fixes broken packages, @preserved-libs prevents the
 breakage in the first place.

it also prevents revdep-rebuilt from working correctly.



Re: [gentoo-user] Please explain why this new 'emerge @preserved-rebuild' is good?

2009-01-08 Thread Mark Knecht
On Thu, Jan 8, 2009 at 9:47 AM, Neil Bothwick n...@digimed.co.uk wrote:
 On Thu, 8 Jan 2009 09:20:00 -0800, Mark Knecht wrote:

 Is this adding some value that I don't understand? What does it do
 that using revdep-rebuild doesn't?

 revdep-rebuild fixes broken packages, @preserved-libs prevents the
 breakage in the first place.


 --
 Neil Bothwick

OK, so the programs aren't broken but in my case the libs aren't
rebuilding since the emerge step fails.

What to do? Just sit and wait until someone updates something in
portage and eventually it gets cleaned up well enough to build?

If that is the basic answer then when do the old libs get removed?
When the @preserved-rebuild finally passes?

Thanks,
Mark



Re: [gentoo-user] Please explain why this new 'emerge @preserved-rebuild' is good?

2009-01-08 Thread Neil Bothwick
On Thu, 8 Jan 2009 09:51:32 -0800, Mark Knecht wrote:

 I guess then that the constant messages about doing an emerge
 @preserved-rebuild aren't necessarily to be followed, or at least not
 worried about if they fail as whatever program needs the libraries
 still has the old versions?

They should be followed and the problem fixed. Not only is it untidy
leaving old copies of libraries around but, as Volker says, the old
versions can prevent revdep-rebuild working correctly.


-- 
Neil Bothwick

Accordion: a bagpipe with pleats.


signature.asc
Description: PGP signature


Re: [gentoo-user] Please explain why this new 'emerge @preserved-rebuild' is good?

2009-01-08 Thread Neil Bothwick
On Thu, 8 Jan 2009 09:53:18 -0800, Mark Knecht wrote:

 OK, so the programs aren't broken but in my case the libs aren't
 rebuilding since the emerge step fails.

It's the programs that need to be rebuilt, against the newer libraries.

 What to do? Just sit and wait until someone updates something in
 portage and eventually it gets cleaned up well enough to build?

Or file a bug on b.g.o.

 If that is the basic answer then when do the old libs get removed?
 When the @preserved-rebuild finally passes?

That's how I understand it works.


-- 
Neil Bothwick

You cannot really appreciate Dilbert unless you've read it in the
original Klingon.


signature.asc
Description: PGP signature


Re: [gentoo-user] Please explain why this new 'emerge @preserved-rebuild' is good?

2009-01-08 Thread Mark Knecht
On Thu, Jan 8, 2009 at 9:58 AM, Neil Bothwick n...@digimed.co.uk wrote:
 On Thu, 8 Jan 2009 09:51:32 -0800, Mark Knecht wrote:

 I guess then that the constant messages about doing an emerge
 @preserved-rebuild aren't necessarily to be followed, or at least not
 worried about if they fail as whatever program needs the libraries
 still has the old versions?

 They should be followed and the problem fixed. Not only is it untidy
 leaving old copies of libraries around but, as Volker says, the old
 versions can prevent revdep-rebuild working correctly.


 --
 Neil Bothwick

Right now I'm seeing that @preserved-rebuild and revdep-rebuild want
to do different things. revdep-rebuild is rebuilding nss which may or
may not fail. @preserved-rebuild wanted to rebuild eveolution which
did fail.

I'm somewhat unclear as to how to proceed. Using emerge is currently
telling me I should do an emerge -e world to fully take advantage of
new features in portage-2.2. I guess that message wouldn't be there
unless it was really a good thing to do but that's a lot of downtime
for me.

- Mark



Re: [gentoo-user] Please explain why this new 'emerge @preserved-rebuild' is good?

2009-01-08 Thread Mark Knecht
On Thu, Jan 8, 2009 at 10:00 AM, Neil Bothwick n...@digimed.co.uk wrote:
 On Thu, 8 Jan 2009 09:53:18 -0800, Mark Knecht wrote:

 OK, so the programs aren't broken but in my case the libs aren't
 rebuilding since the emerge step fails.

 It's the programs that need to be rebuilt, against the newer libraries.


OK, thanks. That makes sense as @preserved-rebuild wanted to emerge evolution.

 What to do? Just sit and wait until someone updates something in
 portage and eventually it gets cleaned up well enough to build?

 Or file a bug on b.g.o.

Seems I'm generally better off to wait a few days before I do that,
but it is an option.


 If that is the basic answer then when do the old libs get removed?
 When the @preserved-rebuild finally passes?

 That's how I understand it works.

Makes sense.

Thanks,
Mark


 --
 Neil Bothwick

 You cannot really appreciate Dilbert unless you've read it in the
 original Klingon.




Re: [gentoo-user] Please explain why this new 'emerge @preserved-rebuild' is good?

2009-01-08 Thread James Ausmus
On Thu, Jan 8, 2009 at 10:03 AM, Mark Knecht markkne...@gmail.com wrote:

 On Thu, Jan 8, 2009 at 9:58 AM, Neil Bothwick n...@digimed.co.uk wrote:
  On Thu, 8 Jan 2009 09:51:32 -0800, Mark Knecht wrote:
 
  I guess then that the constant messages about doing an emerge
  @preserved-rebuild aren't necessarily to be followed, or at least not
  worried about if they fail as whatever program needs the libraries
  still has the old versions?
 
  They should be followed and the problem fixed. Not only is it untidy
  leaving old copies of libraries around but, as Volker says, the old
  versions can prevent revdep-rebuild working correctly.
 
 
  --
  Neil Bothwick

 Right now I'm seeing that @preserved-rebuild and revdep-rebuild want
 to do different things. revdep-rebuild is rebuilding nss which may or
 may not fail. @preserved-rebuild wanted to rebuild eveolution which
 did fail.


I would suggest performing the revdep-rebuild first, then doing the
@preserved-rebuild - if revdep-rebuild is coming up with broken packages,
those broken packages can actually prevent other packages (such as
evolution) from building properly.

-James




 I'm somewhat unclear as to how to proceed. Using emerge is currently
 telling me I should do an emerge -e world to fully take advantage of
 new features in portage-2.2. I guess that message wouldn't be there
 unless it was really a good thing to do but that's a lot of downtime
 for me.

 - Mark




Re: [gentoo-user] SSH login with both key AND password?

2009-01-08 Thread Paul Hartman
On Thu, Jan 8, 2009 at 10:57 AM, Paul Hartman
paul.hartman+gen...@gmail.com wrote:
 On Wed, Jan 7, 2009 at 6:11 PM, Dave Jones dave.jo...@xs4all.nl wrote:
 Paul Hartman wrote on 08/01/09 00:28:
 Hi,

 Normally I'm using SSH with regular password login, and I've read
 about generating a keypair and having a password-less connection that
 way. Is there a way to require both the key AND a password? Basically
 if I put the key in my SSH client at work, I don't want a co-worker to
 be able to login to my home PC, or someone to grab my phone, etc.

 Is there a way to put a passphrase on the key (seperate from my user
 account password)? Maybe that would work... Otherwise I've thought
 about having a dummy SSH account and then su - realuser to get
 access, but that seems kind of messy.

 I've always used password login and IP-restricted it, but now I'm
 traveling more and never know what IP I might be connecting from, so
 using a key seems to be the best plan, or maybesome kind of
 portknocking (but that's difficult from restricted ssh environments
 such as a phone).

 By default ssh-keygen creates a key pair with a passphrase. It's your choice 
 to enter or omit a passphrase.

 If you've generated a key without a passphrase, you can add a passphrase 
 using ssh-keygen -p

 Entering a passphrase encrypts the private part of the key, which you keep 
 only on the server. You only need the public part of the key on the client.

 Cheers, Dave

 It works great. Thanks everyone for your responses!

 Paul


Well, almost great :)

I can't figure out how to get NXclient to connect. It says the key is
corrupt or has a passphrase (which it does). Has anyone used NX with a
key-based SSH with passphrase?

Thanks,
Paul



Re: [gentoo-user] Please explain why this new 'emerge @preserved-rebuild' is good?

2009-01-08 Thread Mark Knecht
On Thu, Jan 8, 2009 at 10:07 AM, James Ausmus james.aus...@gmail.com wrote:
SNIP

 Right now I'm seeing that @preserved-rebuild and revdep-rebuild want
 to do different things. revdep-rebuild is rebuilding nss which may or
 may not fail. @preserved-rebuild wanted to rebuild eveolution which
 did fail.

 I would suggest performing the revdep-rebuild first, then doing the
 @preserved-rebuild - if revdep-rebuild is coming up with broken packages,
 those broken packages can actually prevent other packages (such as
 evolution) from building properly.
 -James


We'll see how it works out. I've done the revdep-rebuild.
@preserved-rebuild failed last night but is running again. If it
continues to fail I'll file a bug report.

I don't use evolution. It's just caught up in the emerge gnome stuff
and the gnome-light construct stopped working a while back so
evolution has been there not causing trouble (other than build
time/disk space) until now.

- Mark



Re: [gentoo-user] Please explain why this new 'emerge @preserved-rebuild' is good?

2009-01-08 Thread Mark Knecht
On Thu, Jan 8, 2009 at 10:24 AM, Mark Knecht markkne...@gmail.com wrote:
 On Thu, Jan 8, 2009 at 10:07 AM, James Ausmus james.aus...@gmail.com wrote:
 SNIP

 Right now I'm seeing that @preserved-rebuild and revdep-rebuild want
 to do different things. revdep-rebuild is rebuilding nss which may or
 may not fail. @preserved-rebuild wanted to rebuild eveolution which
 did fail.

 I would suggest performing the revdep-rebuild first, then doing the
 @preserved-rebuild - if revdep-rebuild is coming up with broken packages,
 those broken packages can actually prevent other packages (such as
 evolution) from building properly.
 -James


 We'll see how it works out. I've done the revdep-rebuild.
 @preserved-rebuild failed last night but is running again. If it
 continues to fail I'll file a bug report.

 I don't use evolution. It's just caught up in the emerge gnome stuff
 and the gnome-light construct stopped working a while back so
 evolution has been there not causing trouble (other than build
 time/disk space) until now.

 - Mark

And the emerge of evolution failed as it did last night so in this
case the revdep-rebuild didn't matter.

Interesting that the evolution build fails for the package name (nss)
that revdep-rebuild just rebuilt:

/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld:
warning: libsoftokn3.so.11, needed by /usr/lib64/nss/libnss3.so.11,
not found (try using -rpath or -rpath-link)
/usr/lib64/nss/libnss3.so.11: undefined reference to
`fc_getfunctionl...@nss_3.4'
/usr/lib64/nss/libnss3.so.11: undefined reference to `nsc_moduledbf...@nss_3.4'
/usr/lib64/nss/libnss3.so.11: undefined reference to
`nsc_getfunctionl...@nss_3.4'
collect2: ld returned 1 exit status
make[4]: *** [contact-print-test] Error 1
make[4]: *** Waiting for unfinished jobs

and previously completed:

emerge --oneshot dev-libs/nss:0

Would there be any requirements to exit the terminal and log in again
(or source something) after the revdep-rebuild and before the emerge
@preserved-rebuild step?

I'm bothered that it seems to be asking for NSS_3.4 when all I see in
portage are 3.1/3.2 versions...

lightning ~ # eix -I dev-libs/nss
[I] dev-libs/nss
 Available versions:  3.11.9-r1 3.12.2_rc1 {utils}
 Installed versions:  3.12.2_rc1(10:00:56 AM 01/08/2009)(-utils)
 Homepage:http://www.mozilla.org/projects/security/pki/nss/
 Description: Mozilla's Network Security Services library
that implements PKI support

lightning ~ #
lightning ~ # emerge -pv evolution

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

Calculating dependencies... done!
[ebuild   R   ] mail-client/evolution-2.22.3.1  USE=crypt dbus hal
ipv6 ldap spell ssl -debug -kerberos -krb4 -mono -networkmanager -nntp
-pda -profile 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
lightning ~ #

Thanks,
Mark



[gentoo-user] help

2009-01-08 Thread Daryl Styrk



Re: [gentoo-user] help

2009-01-08 Thread Tence T. George
errr...what's seems to be the problem?

On Thu, Jan 8, 2009 at 1:59 PM, Daryl Styrk darylst...@gmail.com wrote:





Re: [gentoo-user] help

2009-01-08 Thread Dale
Daryl Styrk wrote:
   

Did you fall and you can't get up or what?  :-p

Dale

:-)  :-) 



Re: [gentoo-user] help

2009-01-08 Thread Daryl Styrk
Tence T. George wrote:
 errr...what's seems to be the problem?
 
 On Thu, Jan 8, 2009 at 1:59 PM, Daryl Styrk darylst...@gmail.com wrote:
 

 

Sorry I was looking for the list mailman.. I deleted the initial
Welcome to the list containing the usual (sometimes) commands for
manipulating the subscriptions.






Re: [gentoo-user] help

2009-01-08 Thread Qian Qiao
On Fri, Jan 9, 2009 at 03:05, Daryl Styrk darylst...@gmail.com wrote:
 Tence T. George wrote:
 errr...what's seems to be the problem?

 On Thu, Jan 8, 2009 at 1:59 PM, Daryl Styrk darylst...@gmail.com wrote:




 Sorry I was looking for the list mailman.. I deleted the initial
 Welcome to the list containing the usual (sometimes) commands for
 manipulating the subscriptions.

Such information is in the header of every message you get from the list.



Re: [gentoo-user] help

2009-01-08 Thread Daryl Styrk
Qian Qiao wrote:

 
 Such information is in the header of every message you get from the list.
 

Thank you for that.  I normally do not view headers detailed and had
overlooked it as an option.




Re: [gentoo-user] help

2009-01-08 Thread damian
On Thu, Jan 8, 2009 at 8:02 PM, Dale rdalek1...@gmail.com wrote:
 Daryl Styrk wrote:


 Did you fall and you can't get up or what?  :-p
ROFL!

 Dale

 :-)  :-)





Re: [gentoo-user] Please explain why this new 'emerge @preserved-rebuild' is good?

2009-01-08 Thread James Ausmus
On Thu, Jan 8, 2009 at 10:55 AM, Mark Knecht markkne...@gmail.com wrote:

 On Thu, Jan 8, 2009 at 10:24 AM, Mark Knecht markkne...@gmail.com wrote:
  On Thu, Jan 8, 2009 at 10:07 AM, James Ausmus james.aus...@gmail.com
 wrote:
  SNIP
 
  Right now I'm seeing that @preserved-rebuild and revdep-rebuild want
  to do different things. revdep-rebuild is rebuilding nss which may or
  may not fail. @preserved-rebuild wanted to rebuild eveolution which
  did fail.
 
  I would suggest performing the revdep-rebuild first, then doing the
  @preserved-rebuild - if revdep-rebuild is coming up with broken
 packages,
  those broken packages can actually prevent other packages (such as
  evolution) from building properly.
  -James
 
 
  We'll see how it works out. I've done the revdep-rebuild.
  @preserved-rebuild failed last night but is running again. If it
  continues to fail I'll file a bug report.
 
  I don't use evolution. It's just caught up in the emerge gnome stuff
  and the gnome-light construct stopped working a while back so
  evolution has been there not causing trouble (other than build
  time/disk space) until now.
 
  - Mark
 
 And the emerge of evolution failed as it did last night so in this
 case the revdep-rebuild didn't matter.

 Interesting that the evolution build fails for the package name (nss)
 that revdep-rebuild just rebuilt:


 /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld:
 warning: libsoftokn3.so.11, needed by /usr/lib64/nss/libnss3.so.11,
 not found (try using -rpath or -rpath-link)
 /usr/lib64/nss/libnss3.so.11: undefined reference to
 `fc_getfunctionl...@nss_3.4'
 /usr/lib64/nss/libnss3.so.11: undefined reference to
 `nsc_moduledbf...@nss_3.4'
 /usr/lib64/nss/libnss3.so.11: undefined reference to
 `nsc_getfunctionl...@nss_3.4'
 collect2: ld returned 1 exit status
 make[4]: *** [contact-print-test] Error 1
 make[4]: *** Waiting for unfinished jobs


Hmm, and the mystery deepens... It looks like the source of the issue is the
warning: libsoftokn3.so.11, needed by /usr/lib64/nss/libnss3.so.11, not
found message - libsoftokn3.so has the ModuleDBFunc symbol in it, and it is
owned by the nss package, so I'm not sure what is going on there. What does
a ls /usr/lib/nss/libsoft* return?

-James





 and previously completed:

 emerge --oneshot dev-libs/nss:0

 Would there be any requirements to exit the terminal and log in again
 (or source something) after the revdep-rebuild and before the emerge
 @preserved-rebuild step?

 I'm bothered that it seems to be asking for NSS_3.4 when all I see in
 portage are 3.1/3.2 versions...

 lightning ~ # eix -I dev-libs/nss
 [I] dev-libs/nss
 Available versions:  3.11.9-r1 3.12.2_rc1 {utils}
 Installed versions:  3.12.2_rc1(10:00:56 AM 01/08/2009)(-utils)
 Homepage:http://www.mozilla.org/projects/security/pki/nss/
 Description: Mozilla's Network Security Services library
 that implements PKI support

 lightning ~ #
 lightning ~ # emerge -pv evolution

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

 Calculating dependencies... done!
 [ebuild   R   ] mail-client/evolution-2.22.3.1  USE=crypt dbus hal
 ipv6 ldap spell ssl -debug -kerberos -krb4 -mono -networkmanager -nntp
 -pda -profile 0 kB

 Total: 1 package (1 reinstall), Size of downloads: 0 kB
 lightning ~ #

 Thanks,
 Mark




Re: [gentoo-user] help

2009-01-08 Thread Qian Qiao
On Fri, Jan 9, 2009 at 03:15, Daryl Styrk darylst...@gmail.com wrote:
 Qian Qiao wrote:


 Such information is in the header of every message you get from the list.


 Thank you for that.  I normally do not view headers detailed and had
 overlooked it as an option.


Many list softwares add those information to the header, so you know
where to look next time.



Re: [gentoo-user] Please explain why this new 'emerge @preserved-rebuild' is good?

2009-01-08 Thread Mark Knecht
On Thu, Jan 8, 2009 at 11:23 AM, James Ausmus james.aus...@gmail.com wrote:



 /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld:
 warning: libsoftokn3.so.11, needed by /usr/lib64/nss/libnss3.so.11,
 not found (try using -rpath or -rpath-link)
 /usr/lib64/nss/libnss3.so.11: undefined reference to
 `fc_getfunctionl...@nss_3.4'
 /usr/lib64/nss/libnss3.so.11: undefined reference to
 `nsc_moduledbf...@nss_3.4'
 /usr/lib64/nss/libnss3.so.11: undefined reference to
 `nsc_getfunctionl...@nss_3.4'
 collect2: ld returned 1 exit status
 make[4]: *** [contact-print-test] Error 1
 make[4]: *** Waiting for unfinished jobs

 Hmm, and the mystery deepens... It looks like the source of the issue is the
 warning: libsoftokn3.so.11, needed by /usr/lib64/nss/libnss3.so.11, not
 found message - libsoftokn3.so has the ModuleDBFunc symbol in it, and it is
 owned by the nss package, so I'm not sure what is going on there. What does
 a ls /usr/lib/nss/libsoft* return?
 -James


Version 12 apparently:

lightning ~ # ls /usr/lib/nss/libsoft*
/usr/lib/nss/libsoftokn.a /usr/lib/nss/libsoftokn3.so
/usr/lib/nss/libsoftokn3.chk  /usr/lib/nss/libsoftokn3.so.12
lightning ~ #



[gentoo-user] Re: [konqueror] Can't invoke and editor when `view source'

2009-01-08 Thread Phillip Sawbridge
Hi,

Just another workaround for this problem. The ones presented in that thread
didn't work for me.

I used the open with terminal option in konqueror to get around this emacs
probelm but didn't like the fact that there was always a extra terminal
window hanging around so I use dcop to hide that window.

So I configure konqueror to open files I want emacs to work with using this
script :

#!/bin/bash
# invokes emacs but hides the current konsole from which it was invoked.
# konsole should be killed automatically when emacs exits
# make sure that option is set in konqueror otherwise you will have a
million hidden windows.
# hack to work around bug in konqueror which requires you to invoke emacs
# through a terminal when double-clicking a file

# get invoking dcop konsole session id
KONSOLE_SESSION=$(echo $KONSOLE_DCOP | cut -d\( -f 2 | cut -d, -f1)
# hide the window
dcop $KONSOLE_SESSION konsole-mainwindow#1 setHidden true
# start emacs
emacs $1 

-- 
cheers,
phillip


Re: [gentoo-user] Please explain why this new 'emerge @preserved-rebuild' is good?

2009-01-08 Thread James Ausmus
On Thu, Jan 8, 2009 at 11:29 AM, Mark Knecht markkne...@gmail.com wrote:

 On Thu, Jan 8, 2009 at 11:23 AM, James Ausmus james.aus...@gmail.com
 wrote:

 
 
 
 /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld:
  warning: libsoftokn3.so.11, needed by /usr/lib64/nss/libnss3.so.11,
  not found (try using -rpath or -rpath-link)
  /usr/lib64/nss/libnss3.so.11: undefined reference to
  `fc_getfunctionl...@nss_3.4'
  /usr/lib64/nss/libnss3.so.11: undefined reference to
  `nsc_moduledbf...@nss_3.4'
  /usr/lib64/nss/libnss3.so.11: undefined reference to
  `nsc_getfunctionl...@nss_3.4'
  collect2: ld returned 1 exit status
  make[4]: *** [contact-print-test] Error 1
  make[4]: *** Waiting for unfinished jobs
 
  Hmm, and the mystery deepens... It looks like the source of the issue is
 the
  warning: libsoftokn3.so.11, needed by /usr/lib64/nss/libnss3.so.11, not
  found message - libsoftokn3.so has the ModuleDBFunc symbol in it, and it
 is
  owned by the nss package, so I'm not sure what is going on there. What
 does
  a ls /usr/lib/nss/libsoft* return?
  -James
 

 Version 12 apparently:

 lightning ~ # ls /usr/lib/nss/libsoft*
 /usr/lib/nss/libsoftokn.a /usr/lib/nss/libsoftokn3.so
 /usr/lib/nss/libsoftokn3.chk  /usr/lib/nss/libsoftokn3.so.12
 lightning ~ #


Very interesting - so you have the Evolution build using the .11 version of
libnss3, but you have ther .12 version of libsoftkn3 - what do you see from
a ls /usr/lib/nss/libnss3*?


Re: [gentoo-user] Please explain why this new 'emerge @preserved-rebuild' is good?

2009-01-08 Thread Mark Knecht
On Thu, Jan 8, 2009 at 11:36 AM, James Ausmus james.aus...@gmail.com wrote:


 On Thu, Jan 8, 2009 at 11:29 AM, Mark Knecht markkne...@gmail.com wrote:

 On Thu, Jan 8, 2009 at 11:23 AM, James Ausmus james.aus...@gmail.com
 wrote:

 
 
 
  /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld:
  warning: libsoftokn3.so.11, needed by /usr/lib64/nss/libnss3.so.11,
  not found (try using -rpath or -rpath-link)
  /usr/lib64/nss/libnss3.so.11: undefined reference to
  `fc_getfunctionl...@nss_3.4'
  /usr/lib64/nss/libnss3.so.11: undefined reference to
  `nsc_moduledbf...@nss_3.4'
  /usr/lib64/nss/libnss3.so.11: undefined reference to
  `nsc_getfunctionl...@nss_3.4'
  collect2: ld returned 1 exit status
  make[4]: *** [contact-print-test] Error 1
  make[4]: *** Waiting for unfinished jobs
 
  Hmm, and the mystery deepens... It looks like the source of the issue is
  the
  warning: libsoftokn3.so.11, needed by /usr/lib64/nss/libnss3.so.11, not
  found message - libsoftokn3.so has the ModuleDBFunc symbol in it, and
  it is
  owned by the nss package, so I'm not sure what is going on there. What
  does
  a ls /usr/lib/nss/libsoft* return?
  -James
 

 Version 12 apparently:

 lightning ~ # ls /usr/lib/nss/libsoft*
 /usr/lib/nss/libsoftokn.a /usr/lib/nss/libsoftokn3.so
 /usr/lib/nss/libsoftokn3.chk  /usr/lib/nss/libsoftokn3.so.12
 lightning ~ #

 Very interesting - so you have the Evolution build using the .11 version of
 libnss3, but you have ther .12 version of libsoftkn3 - what do you see from
 a ls /usr/lib/nss/libnss3*?

lightning ~ # ls /usr/lib/nss/libnss3*
/usr/lib/nss/libnss3.so  /usr/lib/nss/libnss3.so.11  /usr/lib/nss/libnss3.so.12
lightning ~ #



Re: [gentoo-user] Please explain why this new 'emerge @preserved-rebuild' is good?

2009-01-08 Thread James Ausmus
On Thu, Jan 8, 2009 at 11:39 AM, Mark Knecht markkne...@gmail.com wrote:

 On Thu, Jan 8, 2009 at 11:36 AM, James Ausmus james.aus...@gmail.com
 wrote:
 
 
  On Thu, Jan 8, 2009 at 11:29 AM, Mark Knecht markkne...@gmail.com
 wrote:
 
  On Thu, Jan 8, 2009 at 11:23 AM, James Ausmus james.aus...@gmail.com
  wrote:
 
  
  
  
  
 /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld:
   warning: libsoftokn3.so.11, needed by /usr/lib64/nss/libnss3.so.11,
   not found (try using -rpath or -rpath-link)
   /usr/lib64/nss/libnss3.so.11: undefined reference to
   `fc_getfunctionl...@nss_3.4'
   /usr/lib64/nss/libnss3.so.11: undefined reference to
   `nsc_moduledbf...@nss_3.4'
   /usr/lib64/nss/libnss3.so.11: undefined reference to
   `nsc_getfunctionl...@nss_3.4'
   collect2: ld returned 1 exit status
   make[4]: *** [contact-print-test] Error 1
   make[4]: *** Waiting for unfinished jobs
  
   Hmm, and the mystery deepens... It looks like the source of the issue
 is
   the
   warning: libsoftokn3.so.11, needed by /usr/lib64/nss/libnss3.so.11,
 not
   found message - libsoftokn3.so has the ModuleDBFunc symbol in it, and
   it is
   owned by the nss package, so I'm not sure what is going on there. What
   does
   a ls /usr/lib/nss/libsoft* return?
   -James
  
 
  Version 12 apparently:
 
  lightning ~ # ls /usr/lib/nss/libsoft*
  /usr/lib/nss/libsoftokn.a /usr/lib/nss/libsoftokn3.so
  /usr/lib/nss/libsoftokn3.chk  /usr/lib/nss/libsoftokn3.so.12
  lightning ~ #
 
  Very interesting - so you have the Evolution build using the .11 version
 of
  libnss3, but you have ther .12 version of libsoftkn3 - what do you see
 from
  a ls /usr/lib/nss/libnss3*?
 
 lightning ~ # ls /usr/lib/nss/libnss3*
 /usr/lib/nss/libnss3.so  /usr/lib/nss/libnss3.so.11
  /usr/lib/nss/libnss3.so.12
 lightning ~ #


Aha! And which of the versioned .so's is libnss3.so linking to?


Re: [gentoo-user] Please explain why this new 'emerge @preserved-rebuild' is good?

2009-01-08 Thread Mark Knecht
On Thu, Jan 8, 2009 at 11:45 AM, James Ausmus james.aus...@gmail.com wrote:


 On Thu, Jan 8, 2009 at 11:39 AM, Mark Knecht markkne...@gmail.com wrote:

 On Thu, Jan 8, 2009 at 11:36 AM, James Ausmus james.aus...@gmail.com
 wrote:
 
 
  On Thu, Jan 8, 2009 at 11:29 AM, Mark Knecht markkne...@gmail.com
  wrote:
 
  On Thu, Jan 8, 2009 at 11:23 AM, James Ausmus james.aus...@gmail.com
  wrote:
 
  
  
  
  
   /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld:
   warning: libsoftokn3.so.11, needed by /usr/lib64/nss/libnss3.so.11,
   not found (try using -rpath or -rpath-link)
   /usr/lib64/nss/libnss3.so.11: undefined reference to
   `fc_getfunctionl...@nss_3.4'
   /usr/lib64/nss/libnss3.so.11: undefined reference to
   `nsc_moduledbf...@nss_3.4'
   /usr/lib64/nss/libnss3.so.11: undefined reference to
   `nsc_getfunctionl...@nss_3.4'
   collect2: ld returned 1 exit status
   make[4]: *** [contact-print-test] Error 1
   make[4]: *** Waiting for unfinished jobs
  
   Hmm, and the mystery deepens... It looks like the source of the issue
   is
   the
   warning: libsoftokn3.so.11, needed by /usr/lib64/nss/libnss3.so.11,
   not
   found message - libsoftokn3.so has the ModuleDBFunc symbol in it,
   and
   it is
   owned by the nss package, so I'm not sure what is going on there.
   What
   does
   a ls /usr/lib/nss/libsoft* return?
   -James
  
 
  Version 12 apparently:
 
  lightning ~ # ls /usr/lib/nss/libsoft*
  /usr/lib/nss/libsoftokn.a /usr/lib/nss/libsoftokn3.so
  /usr/lib/nss/libsoftokn3.chk  /usr/lib/nss/libsoftokn3.so.12
  lightning ~ #
 
  Very interesting - so you have the Evolution build using the .11 version
  of
  libnss3, but you have ther .12 version of libsoftkn3 - what do you see
  from
  a ls /usr/lib/nss/libnss3*?
 
 lightning ~ # ls /usr/lib/nss/libnss3*
 /usr/lib/nss/libnss3.so  /usr/lib/nss/libnss3.so.11
  /usr/lib/nss/libnss3.so.12
 lightning ~ #

 Aha! And which of the versioned .so's is libnss3.so linking to?

lightning ~ # ls -l /usr/lib/nss/libnss3*
lrwxrwxrwx 1 root root  13 2009-01-08 10:00
/usr/lib/nss/libnss3.so - libnss3.so.12
-rwxr-xr-x 1 root root  560376 2008-11-25 17:02 /usr/lib/nss/libnss3.so.11
-rwxr-xr-x 1 root root 1337104 2009-01-08 10:00 /usr/lib/nss/libnss3.so.12
lightning ~ #



Re: [gentoo-user] Please explain why this new 'emerge @preserved-rebuild' is good?

2009-01-08 Thread James Ausmus
On Thu, Jan 8, 2009 at 11:49 AM, Mark Knecht markkne...@gmail.com wrote:

 On Thu, Jan 8, 2009 at 11:45 AM, James Ausmus james.aus...@gmail.com
 wrote:
 
 
  On Thu, Jan 8, 2009 at 11:39 AM, Mark Knecht markkne...@gmail.com
 wrote:
 
  On Thu, Jan 8, 2009 at 11:36 AM, James Ausmus james.aus...@gmail.com
  wrote:
  
  
   On Thu, Jan 8, 2009 at 11:29 AM, Mark Knecht markkne...@gmail.com
   wrote:
  
   On Thu, Jan 8, 2009 at 11:23 AM, James Ausmus 
 james.aus...@gmail.com
   wrote:
  
   
   
   
   
   
 /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld:
warning: libsoftokn3.so.11, needed by
 /usr/lib64/nss/libnss3.so.11,
not found (try using -rpath or -rpath-link)
/usr/lib64/nss/libnss3.so.11: undefined reference to
`fc_getfunctionl...@nss_3.4'
/usr/lib64/nss/libnss3.so.11: undefined reference to
`nsc_moduledbf...@nss_3.4'
/usr/lib64/nss/libnss3.so.11: undefined reference to
`nsc_getfunctionl...@nss_3.4'
collect2: ld returned 1 exit status
make[4]: *** [contact-print-test] Error 1
make[4]: *** Waiting for unfinished jobs
   
Hmm, and the mystery deepens... It looks like the source of the
 issue
is
the
warning: libsoftokn3.so.11, needed by
 /usr/lib64/nss/libnss3.so.11,
not
found message - libsoftokn3.so has the ModuleDBFunc symbol in it,
and
it is
owned by the nss package, so I'm not sure what is going on there.
What
does
a ls /usr/lib/nss/libsoft* return?
-James
   
  
   Version 12 apparently:
  
   lightning ~ # ls /usr/lib/nss/libsoft*
   /usr/lib/nss/libsoftokn.a /usr/lib/nss/libsoftokn3.so
   /usr/lib/nss/libsoftokn3.chk  /usr/lib/nss/libsoftokn3.so.12
   lightning ~ #
  
   Very interesting - so you have the Evolution build using the .11
 version
   of
   libnss3, but you have ther .12 version of libsoftkn3 - what do you see
   from
   a ls /usr/lib/nss/libnss3*?
  
  lightning ~ # ls /usr/lib/nss/libnss3*
  /usr/lib/nss/libnss3.so  /usr/lib/nss/libnss3.so.11
   /usr/lib/nss/libnss3.so.12
  lightning ~ #
 
  Aha! And which of the versioned .so's is libnss3.so linking to?
 
 lightning ~ # ls -l /usr/lib/nss/libnss3*
 lrwxrwxrwx 1 root root  13 2009-01-08 10:00
 /usr/lib/nss/libnss3.so - libnss3.so.12
 -rwxr-xr-x 1 root root  560376 2008-11-25 17:02 /usr/lib/nss/libnss3.so.11
 -rwxr-xr-x 1 root root 1337104 2009-01-08 10:00 /usr/lib/nss/libnss3.so.12
 lightning ~ #


Hmm - very odd - seems that the evolution build is specifically grabbing the
libnss3.so.11 version... Maybe try running ldconfig? If that doesn't work,
maybe try deleting (or renaming, if you're paranoid ;) ) libnss3.so.11 (and
all other .so.11's that you find in /usr/lib/nss).

Anyone else have any better ideas?

-James


Re: [gentoo-user] Best and most gentoo-compatible PC

2009-01-08 Thread Robert Bridge
On Thu, 8 Jan 2009 08:33:27 +0100
iprmaster iprmas...@gmail.com wrote:

 Hi everybody,
 
 I am going to buy a new desktop PC and, because of some reasons I
 cannot explain here in details, I have to choose among these
 configurations (ordered by increasing price ;-) ):
 
 1. FSC ESPRIMO P5625 E80+ uBTX: MCP78B Chipset AMD Phenom X3 8450
 (2,1 GHz) TripleCore(1,5MBSLC), 4*1024 MB DDR2 800, NVIDIA Geforce
 9500 512MB Dual DVI, SATA II 250 GB 7.2k, DVD RW SML. Price: 650 a.u.
 (arbitrary units)
 
 2. Dell Precision Workstation T 3400: Intel Core 2 Duo Processor
 E8200 (2.66GHz, 4MB Cache, 1066MHz FSB)375W,4GB (4 x 1024MB) 800 MHz
 ECC DDR2-SDRAM Memory, HD 250 GB SATA2 7.200,16x DVD+/-RW
 Dual 256MB nVidia Quadro FX 570. Price: 950 a.u.
 
 3. FSC Celsius W370: Core 2 Quad Q9400 4*2.66 GHz, 2 x 2GB DDR2 800, 
 NVIDIA Quadro FS 370 256 MB, 2xSATA II 500 GB 7.2k, DVD RW SML.
 Price: 900 a.u.
 
 4. Dell Precision Workstation T-5400: Single Quad Core Xeon 5410 
 (2,33GHz, 1333, 2x6MB), Intel 5000XChipset, 4GB (4 x 1024MB) Quad 
 Channel FBD 667Mhz Memory,250GB SATA Festplatte 7.2k, 16x DVD+/-RW,
 512 MB nVidia quadro FX1700(MRGA14L). Price: 1400 a.u.
 
 
 About my needs: I am a C-developer, have to compile/run/debug
 programs several tenths of time a day and analyse postprocessed,
 two-, three- and four-dimensional (space+time) results on the same
 PC. All under Gentoo, of course ;-) HD size is not a problem, there
 is a big NFS-Volume I can mount ;-)
 
 These are my questions:
 
 - is the most expensive PC (4.) worth to be considered? Does its 
 speed-up justify its price?
 
 - is there any compatibility problem with any of these configurations 
 and Gentoo? I do not want to run any other distribution! As far as I 
 know, nVidia and 2D acceleration issues should be solved by now...
 
 - additional ideas/comments are welcome, but on these configurations 
 only ;-).

Can you get Dell to spec a RHEL Precision workstation? Some of the
Precisions do have RHEL variants, which pretty much guarantees Linux
compatability.


signature.asc
Description: PGP signature


Re: [gentoo-user] Restricting Firefox website access

2009-01-08 Thread Kyle Bader
You could use iptables to block all traffic headed to port 80 with
exceptions for the domains you need.

-- 
kyle.ba...@gmail.com



Re: [gentoo-user] SSH login with both key AND password?

2009-01-08 Thread Paul Hartman
On Thu, Jan 8, 2009 at 12:12 PM, Paul Hartman
paul.hartman+gen...@gmail.com wrote:
 On Thu, Jan 8, 2009 at 10:57 AM, Paul Hartman
 paul.hartman+gen...@gmail.com wrote:
 On Wed, Jan 7, 2009 at 6:11 PM, Dave Jones dave.jo...@xs4all.nl wrote:
 Paul Hartman wrote on 08/01/09 00:28:
 Hi,

 Normally I'm using SSH with regular password login, and I've read
 about generating a keypair and having a password-less connection that
 way. Is there a way to require both the key AND a password? Basically
 if I put the key in my SSH client at work, I don't want a co-worker to
 be able to login to my home PC, or someone to grab my phone, etc.

 Is there a way to put a passphrase on the key (seperate from my user
 account password)? Maybe that would work... Otherwise I've thought
 about having a dummy SSH account and then su - realuser to get
 access, but that seems kind of messy.

 I've always used password login and IP-restricted it, but now I'm
 traveling more and never know what IP I might be connecting from, so
 using a key seems to be the best plan, or maybesome kind of
 portknocking (but that's difficult from restricted ssh environments
 such as a phone).

 By default ssh-keygen creates a key pair with a passphrase. It's your 
 choice to enter or omit a passphrase.

 If you've generated a key without a passphrase, you can add a passphrase 
 using ssh-keygen -p

 Entering a passphrase encrypts the private part of the key, which you keep 
 only on the server. You only need the public part of the key on the client.

 Cheers, Dave

 It works great. Thanks everyone for your responses!

 Paul


 Well, almost great :)

 I can't figure out how to get NXclient to connect. It says the key is
 corrupt or has a passphrase (which it does). Has anyone used NX with a
 key-based SSH with passphrase?

 Thanks,
 Paul

I figured it out. It was a two-part solution:

1) password logins must be enabled to use system authentication with
NX. Since I don't want password logins, I had to use NX's internal
user and password database instead. This requires maintaining separate
passwords for NX...

2) the nx user is locked and passwordless; I had to give it a
password in order to unlock it.

After doing that, NX now works!

*mental note: if I ever want to revoke someone's access to my machine
or change their password, I must remember to check for SSH keys  NX
user accounts (which are actually SSH keys as well) in addition to
changing the password on their system account.

Thanks again,
Paul



Re: [gentoo-user] Please explain why this new 'emerge @preserved-rebuild' is good?

2009-01-08 Thread Momesso Andrea
On Thu, Jan 08, 2009 at 05:47:15PM +, Neil Bothwick wrote:
 On Thu, 8 Jan 2009 09:20:00 -0800, Mark Knecht wrote:
 
  Is this adding some value that I don't understand? What does it do
  that using revdep-rebuild doesn't?
 
 revdep-rebuild fixes broken packages, @preserved-libs prevents the
 breakage in the first place.
 

Yes and no...

This is an interesting reading:
http://blog.flameeyes.eu/2008/06/30/a-few-risks-i-see-related-to-the-new-portage-2-2-preserve-libs-behaviour



TopperH

===
Momesso Andrea
http://topperh.blogspot.com
===


pgpBxbGYRVUlJ.pgp
Description: PGP signature


Re: [gentoo-user] Please explain why this new 'emerge @preserved-rebuild' is good?

2009-01-08 Thread Mark Knecht
On Thu, Jan 8, 2009 at 12:02 PM, James Ausmus james.aus...@gmail.com wrote:
NIP
   a ls /usr/lib/nss/libnss3*?
  
  lightning ~ # ls /usr/lib/nss/libnss3*
  /usr/lib/nss/libnss3.so  /usr/lib/nss/libnss3.so.11
   /usr/lib/nss/libnss3.so.12
  lightning ~ #
 
  Aha! And which of the versioned .so's is libnss3.so linking to?
 
 lightning ~ # ls -l /usr/lib/nss/libnss3*
 lrwxrwxrwx 1 root root  13 2009-01-08 10:00
 /usr/lib/nss/libnss3.so - libnss3.so.12
 -rwxr-xr-x 1 root root  560376 2008-11-25 17:02 /usr/lib/nss/libnss3.so.11
 -rwxr-xr-x 1 root root 1337104 2009-01-08 10:00 /usr/lib/nss/libnss3.so.12
 lightning ~ #

 Hmm - very odd - seems that the evolution build is specifically grabbing the
 libnss3.so.11 version... Maybe try running ldconfig? If that doesn't work,
 maybe try deleting (or renaming, if you're paranoid ;) ) libnss3.so.11 (and
 all other .so.11's that you find in /usr/lib/nss).
 Anyone else have any better ideas?
 -James


Do I just run ldconfig or are there options/paths I have to give it.
Should I run ldconfig -p and post anything back or is it safe to run.
It looks like /etc/ls.so.conf is a list of libraries.

Would I kill the machine with an emerge -C nss and then emerge it again?

Thanks much,
Mark



Re: [gentoo-user] Please explain why this new 'emerge @preserved-rebuild' is good?

2009-01-08 Thread James Ausmus
On Thu, Jan 8, 2009 at 2:35 PM, Mark Knecht markkne...@gmail.com wrote:

 On Thu, Jan 8, 2009 at 12:02 PM, James Ausmus james.aus...@gmail.com
 wrote:
 NIP
a ls /usr/lib/nss/libnss3*?
   
   lightning ~ # ls /usr/lib/nss/libnss3*
   /usr/lib/nss/libnss3.so  /usr/lib/nss/libnss3.so.11
/usr/lib/nss/libnss3.so.12
   lightning ~ #
  
   Aha! And which of the versioned .so's is libnss3.so linking to?
  
  lightning ~ # ls -l /usr/lib/nss/libnss3*
  lrwxrwxrwx 1 root root  13 2009-01-08 10:00
  /usr/lib/nss/libnss3.so - libnss3.so.12
  -rwxr-xr-x 1 root root  560376 2008-11-25 17:02
 /usr/lib/nss/libnss3.so.11
  -rwxr-xr-x 1 root root 1337104 2009-01-08 10:00
 /usr/lib/nss/libnss3.so.12
  lightning ~ #
 
  Hmm - very odd - seems that the evolution build is specifically grabbing
 the
  libnss3.so.11 version... Maybe try running ldconfig? If that doesn't
 work,
  maybe try deleting (or renaming, if you're paranoid ;) ) libnss3.so.11
 (and
  all other .so.11's that you find in /usr/lib/nss).
  Anyone else have any better ideas?
  -James
 

 Do I just run ldconfig or are there options/paths I have to give it.
 Should I run ldconfig -p and post anything back or is it safe to run.
 It looks like /etc/ls.so.conf is a list of libraries.


You should just be able to run ldconfig by itself with no options - it's
safe to run.




 Would I kill the machine with an emerge -C nss and then emerge it again?


Hmm - there are a lot of things that wouldn't run while nss was demerged,
but, I *believe* it would be OK, as long as you ensure you have all the nss
source packages downloaded prior to the emerge -C nss - easy way to make
sure is to emerge -f nss first, then you're guaranteed that it's fully
downloaded (unless the nss build system itself does any downloading, but I
believe nss doesn't have any wonkiness in it's build system - just standard
autotools).

-James




 Thanks much,
 Mark




Re: [gentoo-user] SSH login with both key AND password?

2009-01-08 Thread Eric Martin
Paul Hartman wrote:
 On Thu, Jan 8, 2009 at 12:12 PM, Paul Hartman
 paul.hartman+gen...@gmail.com wrote:
   
 On Thu, Jan 8, 2009 at 10:57 AM, Paul Hartman
 paul.hartman+gen...@gmail.com wrote:
 
 On Wed, Jan 7, 2009 at 6:11 PM, Dave Jones dave.jo...@xs4all.nl wrote:
   
 Paul Hartman wrote on 08/01/09 00:28:
 
 Hi,

 Normally I'm using SSH with regular password login, and I've read
 about generating a keypair and having a password-less connection that
 way. Is there a way to require both the key AND a password? Basically
 if I put the key in my SSH client at work, I don't want a co-worker to
 be able to login to my home PC, or someone to grab my phone, etc.

 Is there a way to put a passphrase on the key (seperate from my user
 account password)? Maybe that would work... Otherwise I've thought
 about having a dummy SSH account and then su - realuser to get
 access, but that seems kind of messy.

 I've always used password login and IP-restricted it, but now I'm
 traveling more and never know what IP I might be connecting from, so
 using a key seems to be the best plan, or maybesome kind of
 portknocking (but that's difficult from restricted ssh environments
 such as a phone).

   
 By default ssh-keygen creates a key pair with a passphrase. It's your 
 choice to enter or omit a passphrase.

 If you've generated a key without a passphrase, you can add a passphrase 
 using ssh-keygen -p

 Entering a passphrase encrypts the private part of the key, which you keep 
 only on the server. You only need the public part of the key on the client.

 Cheers, Dave
 
 It works great. Thanks everyone for your responses!

 Paul

   
 Well, almost great :)

 I can't figure out how to get NXclient to connect. It says the key is
 corrupt or has a passphrase (which it does). Has anyone used NX with a
 key-based SSH with passphrase?

 Thanks,
 Paul
 

 I figured it out. It was a two-part solution:

 1) password logins must be enabled to use system authentication with
 NX. Since I don't want password logins, I had to use NX's internal
 user and password database instead. This requires maintaining separate
 passwords for NX...

 2) the nx user is locked and passwordless; I had to give it a
 password in order to unlock it.

 After doing that, NX now works!

 *mental note: if I ever want to revoke someone's access to my machine
 or change their password, I must remember to check for SSH keys  NX
 user accounts (which are actually SSH keys as well) in addition to
 changing the password on their system account.

 Thanks again,
 Paul

   
You could also use ssh-agent to unlock the key if you don't want to use
a null-passphrase key



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Please explain why this new 'emerge @preserved-rebuild' is good?

2009-01-08 Thread Mark Knecht
On Thu, Jan 8, 2009 at 3:21 PM, James Ausmus james.aus...@gmail.com wrote:


 On Thu, Jan 8, 2009 at 2:35 PM, Mark Knecht markkne...@gmail.com wrote:

 On Thu, Jan 8, 2009 at 12:02 PM, James Ausmus james.aus...@gmail.com
 wrote:
 NIP
a ls /usr/lib/nss/libnss3*?
   
   lightning ~ # ls /usr/lib/nss/libnss3*
   /usr/lib/nss/libnss3.so  /usr/lib/nss/libnss3.so.11
/usr/lib/nss/libnss3.so.12
   lightning ~ #
  
   Aha! And which of the versioned .so's is libnss3.so linking to?
  
  lightning ~ # ls -l /usr/lib/nss/libnss3*
  lrwxrwxrwx 1 root root  13 2009-01-08 10:00
  /usr/lib/nss/libnss3.so - libnss3.so.12
  -rwxr-xr-x 1 root root  560376 2008-11-25 17:02
  /usr/lib/nss/libnss3.so.11
  -rwxr-xr-x 1 root root 1337104 2009-01-08 10:00
  /usr/lib/nss/libnss3.so.12
  lightning ~ #
 
  Hmm - very odd - seems that the evolution build is specifically grabbing
  the
  libnss3.so.11 version... Maybe try running ldconfig? If that doesn't
  work,
  maybe try deleting (or renaming, if you're paranoid ;) ) libnss3.so.11
  (and
  all other .so.11's that you find in /usr/lib/nss).
  Anyone else have any better ideas?
  -James
 

 Do I just run ldconfig or are there options/paths I have to give it.
 Should I run ldconfig -p and post anything back or is it safe to run.
 It looks like /etc/ls.so.conf is a list of libraries.

 You should just be able to run ldconfig by itself with no options - it's
 safe to run.


 Would I kill the machine with an emerge -C nss and then emerge it again?

 Hmm - there are a lot of things that wouldn't run while nss was demerged,
 but, I *believe* it would be OK, as long as you ensure you have all the nss
 source packages downloaded prior to the emerge -C nss - easy way to make
 sure is to emerge -f nss first, then you're guaranteed that it's fully
 downloaded (unless the nss build system itself does any downloading, but I
 believe nss doesn't have any wonkiness in it's build system - just standard
 autotools).
 -James


 Thanks much,
 Mark



Same results emerging evolution after running ldconfig.

Other than curl which I don't know much about it seems that remving
nss wouldn't be that likely to cause horrific problems:

lightning ~ # equery depends nss
[ Searching for packages depending on nss... ]
gnome-extra/evolution-data-server-2.22.3-r1 (ssl? =dev-libs/nss-3.9)
mail-client/evolution-2.22.3.1 (ssl? =dev-libs/nss-3.11)
net-libs/xulrunner-1.8.1.19 (=dev-libs/nss-3.11.5)
net-libs/xulrunner-1.9.0.5 (=dev-libs/nss-3.12)
net-misc/curl-7.18.2 (nss  !gnutls? dev-libs/nss)
net-www/netscape-flash-10.0.15.3 (x86? dev-libs/nss)
www-client/mozilla-firefox-3.0.5 (=dev-libs/nss-3.12)
lightning ~ #

Even with respect to curl I'm guessing it doesn't matter as I have the
flag turned off and it's the only package with that flag:

lightning ~ # equery hasuse nss
[ Searching for USE flag nss in all categories among: ]
 * installed packages
[I--] [  ] net-misc/curl-7.18.2 (0)
lightning ~ #


lightning ~ # emerge -pv curl

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

Calculating dependencies... done!
[ebuild   R   ] net-misc/curl-7.18.2  USE=ipv6 ldap ssl -ares -gnutls
-idn -kerberos -libssh2 -nss -test 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
lightning ~ #

I actually did an emerge -ef world already just to ensure everything
is here. I'm considering the emerge -C nss, remove any links left over
by hand, and then emerging evolution again and letting it pull it in
and build it in one step.

Comments?

Thanks,
Mark



Re: [gentoo-user] Please explain why this new 'emerge @preserved-rebuild' is good?

2009-01-08 Thread Mark Knecht
On Thu, Jan 8, 2009 at 3:56 PM, Mark Knecht markkne...@gmail.com wrote:
SNIP

 I actually did an emerge -ef world already just to ensure everything
 is here. I'm considering the emerge -C nss, remove any links left over
 by hand, and then emerging evolution again and letting it pull it in
 and build it in one step.

 Comments?

 Thanks,
 Mark


OK, this worked for me. I removed nss and the nss directory and all
links were gone. I then emerged evolution which pulled in nss and
everything was built correctly.

There's a bug in there somewhere I suppose but I won't be reporting it.

Thanks to all for your help and explanation about what the purpose of
the new commands are. I appreciate it.

Cheers,
Mark



Re: [gentoo-user] Re: Problem with resolv.conf

2009-01-08 Thread Hung Dang
»Q« wrote:
 In 49657ecd.7060...@gmail.com,
 Hung Dang hungp...@gmail.com wrote:

   
 References:
 58965d8a0901071528u464c7aa7w8cd5bcfab7530...@mail.gmail.com
 496544cc.5050...@xs4all.nl 49656893.2040...@podgeweb.com
 

   
 Hi all,
 I have a strange problem that the resolv.conf  file  is reset to the
 default file every time I reboot my computer.
 Does anyone has similar problem before?
 

 I think you're question's been answered.  But in the future, please
 don't post new issues by replying to existing threads and changing the
 Subject header -- just make a new post.

   
Thanks all of you for the help. I found out that I have two internet
connections but only have the dhcp config for eth0 in /etc/conf.d/net.
When I add the
config for eth1 everything went fine :).

Thanks a lot and Happy New Year :)

Hung



Re: [gentoo-user] Best and most gentoo-compatible PC

2009-01-08 Thread Pariksheet Nanda
Hi Max,

I'll say a few things about the T3400 and nVidia graphics support
since that's what I have personal experience with-

On Thu, Jan 8, 2009 at 2:33 AM, iprmaster iprmas...@gmail.com wrote:
 2. Dell Precision Workstation T 3400: Intel Core 2 Duo Processor E8200
 (2.66GHz, 4MB Cache, 1066MHz FSB)375W,4GB (4 x 1024MB) 800 MHz ECC
 DDR2-SDRAM Memory, HD 250 GB SATA2 7.200,16x DVD+/-RW
 Dual 256MB nVidia Quadro FX 570. Price: 950 a.u.

My company bundles our systems with the T3400, mostly because we have
found the motherboard to be very robust.
It can handle the high data bandwidth requirement of our PCI cards,
and has stable enough voltages.

Having run SystemRescueCD a few times, it was able to work with the
hardware without issue including being able to mount the Intel ICH9
BIOS softRAID.
I admit I haven't tried to do a thorough compatibility test though.


 About my needs: I am a C-developer, have to compile/run/debug programs
 several tenths of time a day and analyse postprocessed, two-, three- and
 four-dimensional (space+time) results on the same PC. All under Gentoo,
 of course ;-) HD size is not a problem, there is a big NFS-Volume I can
 mount ;-)

The only trouble we've face with the T3400 is quite a few of our
RAID-0 drives have crashed in the 4 years our company has sold them
(well the T3400 and its predecessor).
I can't believe it's all due to the HDD model and/or our system
thrashing the drive: it could be an issue with the Intel BIOS RAID, so
you may want to stay away from that.

Since HDD speed is usually the bottle neck of system performance you
may want to set it up with ZFS (maybe in RAID-Z?)
Additionally the combination of ZFS and the ECC RAM should guard you
well against data corruption.


 About my needs: I am a C-developer, have to compile/run/debug programs
 several tenths of time a day and analyse postprocessed, two-, three- and
 four-dimensional (space+time) results on the same PC. All under Gentoo,
 of course ;-)
---snip
 These are my questions:

 - is the most expensive PC (4.) worth to be considered? Does its
 speed-up justify its price?

Maybe the -list can contribute the difference of:
qlop -tH pkgname
Between the C2D and Xeon to help you decide?


 - is there any compatibility problem with any of these configurations
 and Gentoo? I do not want to run any other distribution! As far as I
 know, nVidia and 2D acceleration issues should be solved by now...

I have a very similar Quatro card on my home desktop.
I had two nVidia related driver crashes of xorg-server 9 months ago,
but that was resolved in a driver update and I have had no issues
since.


 - additional ideas/comments are welcome, but on these configurations
 only ;-).

* Pariksheet points at ZFS idea ;)


 Thanks
 Max

Pariksheet