Re: [gentoo-user] crazy KDE4 panel

2009-05-02 Thread Andrew Gaydenko
On Saturday 02 May 2009 06:21:20 Stroller wrote:
 On 1 May 2009, at 20:49, Andrew Gaydenko wrote:
  There is a shot of my screen (1.4MB, look at bottom and right panels):
 
  http://gaydenko.com/tmp/shot01.png
 
  which I get periodically after few hours working under KDE - at some
  moment
  crazy things happen :-) There is very long software chain from
  kernel video
  driver (intel in my case for on-board G965) to KDE4 itself (~amd64).
  As a
  result, I'm not sure where to dig in.

 Looks like an overheating GPU to me.

 Do you have accelerated graphics on for those panels?
 I'll bet if you turn it off the problem will disappear.

Say, bottom panel hasn't something special: std menu, lancelot, tasks, tray 
and clock. Can overheating be such selectable? - I mean only KDE4 panels- 
related problem takes place (say, my sone plays few games without any 
problems, as well as, say, OOo/Qt/KDE and so on emerging ). And I didn't 
overclocked something. But have added few additional silent coolers inside a 
case :-)

 The graphics card failed here on my Mac a year or two ago, and rather
 than pay £200 for an Apple-branded replacement, I found a regular PC
 graphics card on which a hacked firmware could be flashed. I have to
 under-clock it a little, and if I'm not careful I get a very similar
 effect to that in your pictures, but all over the screen.

 If you're able to boot to Windows it might be worth playing an FPS -
 if it crashes with graphical glitches then you may be able to get the
 card (or m/board?) replaced under warranty.

 Stroller.




[gentoo-user] Re: Mysql and utf8: Can't initialize character set utf-8

2009-05-02 Thread Galevsky
2009/4/30 Galevsky galev...@gmail.com:
 Hi, I have a problem with mysql 5.0.71-r1 and utf8 charset.
snip
 and now my web sites can't connect to the DBs and I face the
 following error:

 Can't initialize character set utf-8 (path: /usr/share/mysql/charsets/)

Well can someone tell me if a utf-8 gentoo box shoud have the file
/usr/share/mysql/charsets/utf-8.xml ? I could be sure that the matter
comes from Portage/flags/whatever else during the installation
stage

Thank you

Galevsky



Re: [gentoo-user] Re: Mysql and utf8: Can't initialize character set utf-8

2009-05-02 Thread Arttu V.
On 5/2/09, Galevsky galev...@gmail.com wrote:
 Well can someone tell me if a utf-8 gentoo box shoud have the file
 /usr/share/mysql/charsets/utf-8.xml ?

AFAICT no and AFAICT nor should any other MySQL instance on any platform.

According to sql/share/charsets/README those files are only for simple
charsets, e.g., with single-byte characters. UTF-8 is multi-byte and
thus should be compiled in the strings library.

-- 
Arttu V.



Re: [gentoo-user] Question about making a tarball

2009-05-02 Thread Stroller


On 2 May 2009, at 03:55, Dale wrote:

...

[1] http://en.gentoo-wiki.com/wiki/Custom_Stage4#The_TAR_system




I'm wanting to print this page, from the link above.  Is it me or does
some of the lines run off the edge of the margins and get lost?  I  
have

tried this in both Seamonkey and Konqueror with the same results.  I
also tried to copy and paste it to OOo and Kwrite and it cuts it off
too.  One line that seems consistent is the line about options not  
being

used with tar, the -p option.  It looks ok on the website but not when
printed.


Works fine here using Safari's print then Save as PDF, but a bit  
whacky when you right-click  choose export to PDF. The latter would  
normally print the whole lot as a single page of unrestrained length,  
but it is blank after the end of the first paragraph (However, there  
may be problems with this alternate method if you use the stage4 on  
systems with different hardware configurations.). I would have  
expected the latter to be the more reliable print method, TBH.


Stroller.





Re: [gentoo-user] crazy KDE4 panel

2009-05-02 Thread Stroller


On 2 May 2009, at 09:39, Andrew Gaydenko wrote:

...
Looks like an overheating GPU to me.

Do you have accelerated graphics on for those panels?
I'll bet if you turn it off the problem will disappear.


Say, bottom panel hasn't something special: std menu, lancelot,  
tasks, tray
and clock. Can overheating be such selectable? - I mean only KDE4  
panels-

related problem takes place (say, my sone plays few games without any
problems, as well as, say, OOo/Qt/KDE and so on emerging ). And I  
didn't
overclocked something. But have added few additional silent coolers  
inside a

case :-)



Can overheating be so selective? I can't say for sure, but I can't see  
it having so much work to do when displaying the wallpaper as if those  
panels fade or slide. I presume they can be auto-hidden one way or the  
other when not in use, and that effects would be enabled by default if  
you have GPU acceleration available.


Speckles are somewhat characteristic, and most any videogamer will  
recognise them - once you've had a graphics card or a Playstation  
(type) console die on you, they are very recognisable.


The emerging won't have any effect on speckles, only GPU-related  
activity. It depends on the particular games that your son plays  
whether I'd say they're relevant. I'm no expert on Linux graphics (I  
don't use it on the desktop myself), but I'd guess TuxRacer probably  
does use the GPU whereas Frozen Bubble does not.


If you're able to turn the GPU's acceleration features off in X11 (or  
the kernel?) and just treat it as a framebuffer device, then please  
prove me wrong!


Stroller.




[gentoo-user] gentoo older versions

2009-05-02 Thread Nitin Kanaskar
hi All

I am looking for older versions
of gentoo - 1.x, 2.x,...

I browsed source repositories - gentoo,
gentoo-src, gentoo-x86 - could not find/identify it.

Will appreciate any help in this.

Nitin



Re: [gentoo-user] Question about making a tarball

2009-05-02 Thread Dale
Stroller wrote:

 On 2 May 2009, at 03:55, Dale wrote:
 ...

 [1] http://en.gentoo-wiki.com/wiki/Custom_Stage4#The_TAR_system



 I'm wanting to print this page, from the link above.  Is it me or does
 some of the lines run off the edge of the margins and get lost?  I have
 tried this in both Seamonkey and Konqueror with the same results.  I
 also tried to copy and paste it to OOo and Kwrite and it cuts it off
 too.  One line that seems consistent is the line about options not being
 used with tar, the -p option.  It looks ok on the website but not when
 printed.

 Works fine here using Safari's print then Save as PDF, but a bit
 whacky when you right-click  choose export to PDF. The latter would
 normally print the whole lot as a single page of unrestrained length,
 but it is blank after the end of the first paragraph (However, there
 may be problems with this alternate method if you use the stage4 on
 systems with different hardware configurations.). I would have
 expected the latter to be the more reliable print method, TBH.

 Stroller.


I was just curious if it was a setting or something on my end.  Usually
when both Seamonkey and Konqueror do the same thing then it is not a bad
setting but it does look like the page should be printable as well.  Is
this a bug that should be reported?  I also wonder if this is the only
page like this?

Dale

:-)  :-) 



Re: [gentoo-user] gentoo older versions

2009-05-02 Thread Florian Philipp
Nitin Kanaskar schrieb:
 hi All
 
 I am looking for older versions
 of gentoo - 1.x, 2.x,...
 
 I browsed source repositories - gentoo,
 gentoo-src, gentoo-x86 - could not find/identify it.
 
 Will appreciate any help in this.
 
 Nitin
 

I suppose with gentoo you mean portage, right? In that case you might
find older versions by looking at the corresponding subversion/cvs/git
repository.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Question about making a tarball

2009-05-02 Thread Dale
Stroller wrote:

 On 2 May 2009, at 03:55, Dale wrote:
 ...

 [1] http://en.gentoo-wiki.com/wiki/Custom_Stage4#The_TAR_system



 I'm wanting to print this page, from the link above.  Is it me or does
 some of the lines run off the edge of the margins and get lost?  I have
 tried this in both Seamonkey and Konqueror with the same results.  I
 also tried to copy and paste it to OOo and Kwrite and it cuts it off
 too.  One line that seems consistent is the line about options not being
 used with tar, the -p option.  It looks ok on the website but not when
 printed.

 Works fine here using Safari's print then Save as PDF, but a bit
 whacky when you right-click  choose export to PDF. The latter would
 normally print the whole lot as a single page of unrestrained length,
 but it is blank after the end of the first paragraph (However, there
 may be problems with this alternate method if you use the stage4 on
 systems with different hardware configurations.). I would have
 expected the latter to be the more reliable print method, TBH.

 Stroller.


I just noticed something on the pdf you sent offlist.  It has a
horizontal scroll thingy and doesn't print the whole line either.  It
also looked to me like the script sections that were more than a page
long got cut off on the bottom.  I think someone needs a better plan for
those pages. 

I also clicked the link on the left to make the page printable, it
didn't work either.  It seems there is no way to print this page and it
not cut off the longer lines. 


Weird.

Dale

:-)  :-) 



[gentoo-user] Re: gentoo older versions

2009-05-02 Thread Grant Edwards
On 2009-05-02, Nitin Kanaskar nitinv...@gmail.com wrote:

 I am looking for older versions of gentoo - 1.x, 2.x,...

Gentoo doesn't have versions.  Individual packages have
versions.  

 I browsed source repositories - gentoo, gentoo-src, gentoo-x86
 - could not find/identify it.

You're going to have to explain what it is.

-- 
Grant





Re: [gentoo-user] Re: gentoo older versions

2009-05-02 Thread Dale
Grant Edwards wrote:
 On 2009-05-02, Nitin Kanaskar nitinv...@gmail.com wrote:

   
 I am looking for older versions of gentoo - 1.x, 2.x,...
 

 Gentoo doesn't have versions.  Individual packages have
 versions.  

   
 I browsed source repositories - gentoo, gentoo-src, gentoo-x86
 - could not find/identify it.
 

 You're going to have to explain what it is.

   

Since he is going back to some really old stuff, several years it looks
like, wouldn't he have trouble with some stuff even existing any more? 
Doesn't the really old stuff get removed from the tree?  Would he be
able to get the correct ebuilds to even tell portage how to install the
old versions?

I'm not sure I get the reason for this. 

Dale

:-)  :-) 



[gentoo-user] any gentoo mutt users?

2009-05-02 Thread James
I've recently discovered the awesomeness of mutt. (I may be a little
late, but better late than never!)

I'm use it for my work email. I have a rather complex and lengthy set
of folders, and an equally complex procmail to go along with it. Mutt
is blazing fast at opening mail folders and sorting things, but I'm
wondering how to check when a new messages comes into a folder and
skips the inbox.

I've heard of xbuffy and gbuffy, but xbuffy isn't in portage and
gbuffy fails to compile every time (and it's masked)

Any other suggestions? Something very lightweight would be awesome --
even text based would be okay. What are you mutt users to check email
in all your folders?

Thoughts? Ideas? :)

-j



[gentoo-user] Re: gentoo older versions

2009-05-02 Thread Grant Edwards
On 2009-05-02, Grant Edwards gra...@visi.com wrote:
 On 2009-05-02, Nitin Kanaskar nitinv...@gmail.com wrote:

 I am looking for older versions of gentoo - 1.x, 2.x,...

 Gentoo doesn't have versions.  Individual packages have
 versions.  

After a bit of googling, it looks like the snapshots/CDs did
have version numbers prior to about 5 years ago.  After that
they were just labelled according to year.  [Still, they're not
really versions the way that other distros have versions.]

 I browsed source repositories - gentoo, gentoo-src, gentoo-x86
 - could not find/identify it.

Old versions of packages aren't kept in the portage tree
forever.  If you're looking for old versions of the CD images,
it looks like they're only kept around for a couple years.

-- 
Grant





[gentoo-user] Moving an installed system to RAID10

2009-05-02 Thread Jim Cunning
I have a well-running AMD64 system running on a 250G disk that is beginning to 
show some SMART errors.  I have purchased and partitioned two 1T disks into 
RAID10 arrays and would like to move everything to the new arrays, make them 
bootable and abandon booting from the 250G disk.  

I know I'll need to change /boot/grub/grub.conf, /etc/fstab and any other 
files that refer to my current drive partitions, /dev/sda{1,2,3,4}. I am 
concerned whether my current kernel will recognize the /dev/md{1,2,3,4} 
arrays on booting, and before switching from the initrd root disk.  How can I 
check the parameters and contents of the initrd I'm currently using and/or 
generate a new one to permit booting from the RAID disks?
-- 
Jim


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


[gentoo-user] Re: any gentoo mutt users?

2009-05-02 Thread Grant Edwards
On 2009-05-02, James j...@nc.rr.com wrote:
 I've recently discovered the awesomeness of mutt. (I may be a little
 late, but better late than never!)

 I'm use it for my work email. I have a rather complex and lengthy set
 of folders, and an equally complex procmail to go along with it. Mutt
 is blazing fast at opening mail folders and sorting things, but I'm
 wondering how to check when a new messages comes into a folder and
 skips the inbox.

 I've heard of xbuffy and gbuffy, but xbuffy isn't in portage
 and gbuffy fails to compile every time (and it's masked)

 Any other suggestions? Something very lightweight would be
 awesome -- even text based would be okay. What are you mutt
 users to check email in all your folders?

I used gbuffy for years, but finally gave up on it -- it was
unmaintained and just wouldn't build any longer.

After that, I switched to gkrellm for a while, but had to make
a _lot_ of modifications to the mail-indicator program to get
it to work with multiple folders/servers.

I've recently switched to XFCE's mailwatch panel plugin.  I
have a separate panel for nothing but mailwatch instances. If
you're already using XFCE, it's pretty lightweight.  It does
have some problems with instances randomly vanishing
(permanently) and taking configuration files with them.  To
solve that problem, I've created some bash/sed scripts I use to
re-create the instances and config files after they've
vanished. :/

It's also a PITA to configure it so that it displays folder
names. I ended up creating a set of svg/png icons containing
the folder names (one in red when there's new mail, and one in
black when there isn't).

-- 
Grant





Re: [gentoo-user] Re: gentoo older versions

2009-05-02 Thread Nitin Kanaskar
Ok - I am not clear about the terminology -
packages, versions...
But i need to install gentoo 2004/2005 - if this
is right. I am a graduate student doing research on
vulnerabilities, exploits and IDS. Hence I am looking
for older gentoo installations which i know have
some vulnerabilities.
If i have to build whole OS from source, I am willing
to do that - but could not find any resource on that
old stuff.

Hope I am clear about why I am looking for
such old stuff.

Nitin

On Sat, May 2, 2009 at 9:47 AM, Grant Edwards gra...@visi.com wrote:
 On 2009-05-02, Grant Edwards gra...@visi.com wrote:
 On 2009-05-02, Nitin Kanaskar nitinv...@gmail.com wrote:

 I am looking for older versions of gentoo - 1.x, 2.x,...

 Gentoo doesn't have versions.  Individual packages have
 versions.

 After a bit of googling, it looks like the snapshots/CDs did
 have version numbers prior to about 5 years ago.  After that
 they were just labelled according to year.  [Still, they're not
 really versions the way that other distros have versions.]

 I browsed source repositories - gentoo, gentoo-src, gentoo-x86
 - could not find/identify it.

 Old versions of packages aren't kept in the portage tree
 forever.  If you're looking for old versions of the CD images,
 it looks like they're only kept around for a couple years.

 --
 Grant







Re: [gentoo-user] Re: gentoo older versions

2009-05-02 Thread William Hubbs
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sat, May 02, 2009 at 10:14:45AM -0700, Nitin Kanaskar wrote:
 Ok - I am not clear about the terminology -
 packages, versions...
 But i need to install gentoo 2004/2005 - if this
 is right. I am a graduate student doing research on
 vulnerabilities, exploits and IDS. Hence I am looking
 for older gentoo installations which i know have
 some vulnerabilities.
 If i have to build whole OS from source, I am willing
 to do that - but could not find any resource on that
 old stuff.

Gentoo, as a distribution, is versionless.  The 2004/2005 you are
referring to are versions of our release media.  What you would have to
do is find out which packages and which versions of the packages you
want to work with and see if we still have them in the tree.

William
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.11 (GNU/Linux)

iEYEARECAAYFAkn8gawACgkQblQW9DDEZThqXwCgs9ZSKvDZbRgd9bzmDxe9wA36
ccUAoIrd1uKpHzEvlRXRbBEzearyYKYS
=cPF9
-END PGP SIGNATURE-



[gentoo-user] emerge --oneshot gcc-4.1.2

2009-05-02 Thread Hung Dang

Hi all
I have to emerge gcc-4.1.2 to use with CUDA. However, I receive the 
following message.


!!! 'gcc-4.1.2' is not a valid package atom.
!!! Please check ebuild(5) for full details.

What should I do to avoid of this problem?

Thanks a lot
Hung



[gentoo-user] Re: gentoo older versions

2009-05-02 Thread Nikos Chantziaras

Nitin Kanaskar wrote:

Ok - I am not clear about the terminology -
packages, versions...
But i need to install gentoo 2004/2005 - if this
is right. I am a graduate student doing research on
vulnerabilities, exploits and IDS. Hence I am looking
for older gentoo installations which i know have
some vulnerabilities.
If i have to build whole OS from source, I am willing
to do that - but could not find any resource on that
old stuff.

Hope I am clear about why I am looking for
such old stuff.


That's not really feasible.  You should look into older versions of 
something like Debian, Fedora, (open)SUSE or something else instead.





Re: [gentoo-user] crazy KDE4 panel

2009-05-02 Thread Andrew Gaydenko
On Saturday 02 May 2009 16:23:48 Stroller wrote:
 On 2 May 2009, at 09:39, Andrew Gaydenko wrote:
  ...
  Looks like an overheating GPU to me.
 
  Do you have accelerated graphics on for those panels?
  I'll bet if you turn it off the problem will disappear.
 
  Say, bottom panel hasn't something special: std menu, lancelot,
  tasks, tray
  and clock. Can overheating be such selectable? - I mean only KDE4
  panels-
  related problem takes place (say, my sone plays few games without any
  problems, as well as, say, OOo/Qt/KDE and so on emerging ). And I
  didn't
  overclocked something. But have added few additional silent coolers
  inside a
  case :-)

 Can overheating be so selective? I can't say for sure, but I can't see
 it having so much work to do when displaying the wallpaper as if those
 panels fade or slide. I presume they can be auto-hidden one way or the
 other when not in use, and that effects would be enabled by default if
 you have GPU acceleration available.

 Speckles are somewhat characteristic, and most any videogamer will
 recognise them - once you've had a graphics card or a Playstation
 (type) console die on you, they are very recognisable.

 The emerging won't have any effect on speckles, only GPU-related
 activity. It depends on the particular games that your son plays
 whether I'd say they're relevant. I'm no expert on Linux graphics (I
 don't use it on the desktop myself), but I'd guess TuxRacer probably
 does use the GPU whereas Frozen Bubble does not.

 If you're able to turn the GPU's acceleration features off in X11 (or
 the kernel?) and just treat it as a framebuffer device, then please
 prove me wrong!

 Stroller.


OK, as Stroller has suggested, I have cleaned heatsink, replaced heat-
conducting paste and so on. Now it would be nice to have something for quick 
GPU load testing (instead of long-long KDE session). Can anybody suggest an 
appropriate sw or, may be, some game with hard and heavy (wrt GPU load) 
demo?




[gentoo-user] Re: emerge --oneshot gcc-4.1.2

2009-05-02 Thread Nikos Chantziaras

Hung Dang wrote:

Hi all
I have to emerge gcc-4.1.2 to use with CUDA. However, I receive the 
following message.


!!! 'gcc-4.1.2' is not a valid package atom.
!!! Please check ebuild(5) for full details.

What should I do to avoid of this problem?


Try:

  emerge --oneshot =gcc-4.1.2

(that is, you need an = in front.)

Or simply just:

  emerge --oneshot gcc

if you're not using an ~arch (testing) GCC.




Re: [gentoo-user] emerge --oneshot gcc-4.1.2

2009-05-02 Thread Ivan Kazbanov
On Sat, 02 May 2009 11:27:11 -0600
Hung Dang hungp...@gmail.com wrote:

 Hi all
 I have to emerge gcc-4.1.2 to use with CUDA. However, I receive the
 following message.
 
 !!! 'gcc-4.1.2' is not a valid package atom.
 !!! Please check ebuild(5) for full details.
 
 What should I do to avoid of this problem?
 
 Thanks a lot
 Hung
 

Try to use the following command
emerge  =gcc-4.1.2



Re: [gentoo-user] emerge --oneshot gcc-4.1.2

2009-05-02 Thread Xavier Parizet
Hung Dang a écrit :
 Hi all
 I have to emerge gcc-4.1.2 to use with CUDA. However, I receive the
 following message.
 
 !!! 'gcc-4.1.2' is not a valid package atom.
 !!! Please check ebuild(5) for full details.
 
 What should I do to avoid of this problem?

emerge --oneshot =sys-devel/gcc-4.1.2
Check man 5 ebuild to have more information about package atom syntax :)

HTH

 Thanks a lot
 Hung
 


-- 
  Xavier Parizet
YaGB :   http://gentooist.com
GPG  :DC81 6FEE 6EBE FCE4
1C18 202F E575 4A5D 036D 1408




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: gentoo older versions

2009-05-02 Thread Alan McKinnon
On Saturday 02 May 2009 19:14:45 Nitin Kanaskar wrote:
 Ok - I am not clear about the terminology -
 packages, versions...
 But i need to install gentoo 2004/2005 - if this
 is right. I am a graduate student doing research on
 vulnerabilities, exploits and IDS. Hence I am looking
 for older gentoo installations which i know have
 some vulnerabilities.
 If i have to build whole OS from source, I am willing
 to do that - but could not find any resource on that
 old stuff.

I may have a copy of the 2005.0 livecd lying around somewhere. If I find it, 
I'll put a copy on my ftp server for you.

But I see some problems with what you are trying to do:

1. source repositories for code changes over time. 2004/2005 ebuilds may have 
SRC_URIs that simply do not exist any more. Major packages (such as most of 
system) will likely not be a problem, but minor packages may well be 
problematic.

2. All gentoo ebuilds ever shipped are in cvs or svn somewhere. It was Neil 
Bothwick or Iain Buchanan who recently posted a URL, with luck the right man 
will see this and report. However, I do not know of a way to extract the 
entire portage tree as it was at a point in time. This too will be 
problematic.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] emerge --oneshot gcc-4.1.2

2009-05-02 Thread Hung Dang

Thanks all of you for the quick help. Thing seem to be OK now

Have a nice weekend
Hung

Xavier Parizet wrote:

Hung Dang a écrit :
  

Hi all
I have to emerge gcc-4.1.2 to use with CUDA. However, I receive the
following message.

!!! 'gcc-4.1.2' is not a valid package atom.
!!! Please check ebuild(5) for full details.

What should I do to avoid of this problem?



emerge --oneshot =sys-devel/gcc-4.1.2
Check man 5 ebuild to have more information about package atom syntax :)

HTH

  

Thanks a lot
Hung





  





Re: [gentoo-user] Re: gentoo older versions

2009-05-02 Thread Nitin Kanaskar
I just noticed gentoo linux security site -
- www.gentoo.org/security/en/
which mentions some very recent vulnerability
reports in latest gentoo packages.
That means i can play with these new gentoo
packages for vulnerability and exploit analysis.
Nikos - please correct me if you think i am going
wrong.

On Sat, May 2, 2009 at 10:30 AM, Nikos Chantziaras rea...@arcor.de wrote:
 Nitin Kanaskar wrote:

 Ok - I am not clear about the terminology -
 packages, versions...
 But i need to install gentoo 2004/2005 - if this
 is right. I am a graduate student doing research on
 vulnerabilities, exploits and IDS. Hence I am looking
 for older gentoo installations which i know have
 some vulnerabilities.
 If i have to build whole OS from source, I am willing
 to do that - but could not find any resource on that
 old stuff.

 Hope I am clear about why I am looking for
 such old stuff.

 That's not really feasible.  You should look into older versions of
 something like Debian, Fedora, (open)SUSE or something else instead.






Re: [gentoo-user] any gentoo mutt users?

2009-05-02 Thread Willie Wong
On Sat, May 02, 2009 at 12:24:00PM -0400, Penguin Lover James squawked:
 I've recently discovered the awesomeness of mutt. (I may be a little
 late, but better late than never!)

7 year user of Mutt, and I cannot agree more. 

 I'm use it for my work email. I have a rather complex and lengthy set
 of folders, and an equally complex procmail to go along with it. Mutt
 is blazing fast at opening mail folders and sorting things, but I'm
 wondering how to check when a new messages comes into a folder and
 skips the inbox.

 Any other suggestions? Something very lightweight would be awesome --
 even text based would be okay. What are you mutt users to check email
 in all your folders?

In your .bashrc (if you you bash) insert

unset MAIL
export MAILCHECK=15
export MAILPATH='colon separated list of Mailboxes'

This will make bash check for new mail in your MAILPATH every 15
seconds, and will display something about you having new mail before
showing the next primary prompt.

If you want to get fancier, try something like mine

export MAILPATH='~/Mail/inbox?You have mail from unknown 
sender.:~/Mail/gentoo-ml?New mail from Gentoo Mailing List.:~/Mail/work?New 
mail from office mates.:~/Mail/family?New mail from a family member.'

(I trimmed it a bit, so you don't get the names of all my friends.)
The idea is simple, and I think the syntax is self-evident. 

Also, in your .muttrc, you should set (if you use mbox type boxes. For
maildirs the syntax is similar, but your should check the mutt manual
to be sure) something like the following snip

set mbox_type=mbox
set folder=/home/wwong/Mail
set spoolfile=/home/wwong/Mail/inbox
unset mbox
mailboxes =gentoo-ml =work =family 

This way mutt will know about your mailboxes. The spoolfile will be
the default box that mutt opens. If you have bash-completion enabled,
you can just type 'mutt -f =mailbox name' for any mailbox listed
under mailboxes in .muttrc to open that mailbox. 

While in mutt, hitting 'c' will now first check all your mailboxes
listed under the mailboxes entry in order to see if there are any new
mails in those boxes, if so, it will default to the box, and you can
just hit Return to open the box and read your new mail. If no
mailbox has new mail, 'c' will bring up a prompt for the mailbox you
want to change to as usual. 

I hope my explanation is clear enough... if you need more help, feel
free to ask!

Best, 

W
-- 
Pages one and two [of Zaphod's presidential speech] had 
been salvaged by a Damogran Frond Crested Eagle and had 
already become incorporated into an extraordinary new form 
of nest which the eagle had invented. It was constructed 
largely of papier mache and it was virtually impossible for 
a newly hatched baby eagle to break out of it. The Damogran 
Frond Crested Eagle had heard of the notion of survival of 
the species but wanted no truck with it. 

- An example of Damogran wildlife. 
Sortir en Pantoufles: up 876 days, 16:33



Re: [gentoo-user] Re: gentoo older versions

2009-05-02 Thread Nitin Kanaskar
Looking at all replies - I think working on
older gentoo would most likely cause problems.
I am thinking of going for latest livecd - 2008 release.

On Sat, May 2, 2009 at 10:45 AM, Alan McKinnon alan.mckin...@gmail.com wrote:
 On Saturday 02 May 2009 19:14:45 Nitin Kanaskar wrote:
 Ok - I am not clear about the terminology -
 packages, versions...
 But i need to install gentoo 2004/2005 - if this
 is right. I am a graduate student doing research on
 vulnerabilities, exploits and IDS. Hence I am looking
 for older gentoo installations which i know have
 some vulnerabilities.
 If i have to build whole OS from source, I am willing
 to do that - but could not find any resource on that
 old stuff.

 I may have a copy of the 2005.0 livecd lying around somewhere. If I find it,
 I'll put a copy on my ftp server for you.

 But I see some problems with what you are trying to do:

 1. source repositories for code changes over time. 2004/2005 ebuilds may have
 SRC_URIs that simply do not exist any more. Major packages (such as most of
 system) will likely not be a problem, but minor packages may well be
 problematic.

 2. All gentoo ebuilds ever shipped are in cvs or svn somewhere. It was Neil
 Bothwick or Iain Buchanan who recently posted a URL, with luck the right man
 will see this and report. However, I do not know of a way to extract the
 entire portage tree as it was at a point in time. This too will be
 problematic.


 --
 alan dot mckinnon at gmail dot com





Re: [gentoo-user] Moving an installed system to RAID10

2009-05-02 Thread Simon

 I know I'll need to change /boot/grub/grub.conf, /etc/fstab and any other
 files that refer to my current drive partitions, /dev/sda{1,2,3,4}. I am
 concerned whether my current kernel will recognize the /dev/md{1,2,3,4}
 arrays on booting, and before switching from the initrd root disk.  How can
 I
 check the parameters and contents of the initrd I'm currently using and/or
 generate a new one to permit booting from the RAID disks?

On my eeepc I use raid a lot (i bundle old usb keys together, dont laugh!)
I dont use initrd and here is a typical grub line with my raid:
(hd0,0)/boot/bzImage-2.6.29.1 root=/dev/md64 delay=10

The delay is useful to give time to the kernel to recognize my usb keys
before loading init.
Make sure the partitions are 'fd' type in fdisk (raid autodetect or
something like that)

One important thing:  the kernel that gets booted from grub (the bzimage) it
is best when it is sitting outside the raid since grub does not support raid
(iirc).  So, back to my example, (hd0,0) actually is a ext2 (not raid)
partition.

Good luck!


Re: [gentoo-user] Re: gentoo older versions

2009-05-02 Thread Simon
On Sat, May 2, 2009 at 1:14 PM, Nitin Kanaskar nitinv...@gmail.com wrote:

 Ok - I am not clear about the terminology -
 packages, versions...
 But i need to install gentoo 2004/2005 - if this
 is right. I am a graduate student doing research on
 vulnerabilities, exploits and IDS. Hence I am looking
 for older gentoo installations which i know have
 some vulnerabilities.
 If i have to build whole OS from source, I am willing
 to do that - but could not find any resource on that
 old stuff.

 Hope I am clear about why I am looking for
 such old stuff.


i hope you are already a subscriber of the great mailing list:
full-disclosure
i dont think gentoo/portage is the easiest software to look at for old
vulnerabilities, reason is, portage will syncronise with current 'version'
so you probably want to look at older version of the portage package or
older version of some other software.

if you prefer to go toward some other software, checkout
insecure.org(nmap's former official website) there is a section for
mailing lists and
links to that full disclosure list with archives.  High volume list,
vulnerabilites are disclosed about all kinds of software (90% linux software
and some of other OSes).

Good luck!


Re: [gentoo-user] Re: gentoo older versions

2009-05-02 Thread Sebastian Günther
* Nitin Kanaskar (nitinv...@gmail.com) [02.05.09 19:15]:
 Ok - I am not clear about the terminology -
 packages, versions...
 But i need to install gentoo 2004/2005 - if this
 is right. I am a graduate student doing research on
 vulnerabilities, exploits and IDS. Hence I am looking
 for older gentoo installations which i know have
 some vulnerabilities.

 If i have to build whole OS from source, I am willing
 to do that - but could not find any resource on that
 old stuff.
 

Are you totally aware of what gentoo is about?

You always build the Gentoo OS from source. From upstream source! That's 
the hole point of gentoo. And since you are able to do a vast amount of 
choices, I think there is no gentoo installation alike in the world, 
especially when it comes to binaries.

Also there is no defined set of software versions, which could make a 
version of gentoo, as the binary dist have. Everything is in fluent 
change and update. So there are no old installations exept those 
someone forgot over the time.

 Hope I am clear about why I am looking for
 such old stuff.
 

Gentoo could be helpful to build such old stuff, the ebuilds are all in 
the cvs and if you have got the upstream tarball, you can easily rebuild 
the vulnerable software. But beware of some nasty depandency problems.

Sebastian

-- 
  Religion ist das Opium des Volkes.   |   _   ASCII ribbon campaign 
  Karl Marx  |  ( )   against HTML e-mail  
 s...@sti@N GÜNTHER   |   X   against M$ attachments
  mailto:sam...@guenther-roetgen.de  |  / \   www.asciiribbon.org  


pgpkmlzA8HpQn.pgp
Description: PGP signature


Re: [gentoo-user] Re: gentoo older versions

2009-05-02 Thread KH
Nitin Kanaskar schrieb:
 Ok - I am not clear about the terminology -
 packages, versions...
 But i need to install gentoo 2004/2005 - if this
 is right. I am a graduate student doing research on
 vulnerabilities, exploits and IDS. Hence I am looking
 for older gentoo installations which i know have
 some vulnerabilities.
 If i have to build whole OS from source, I am willing
 to do that - but could not find any resource on that
 old stuff.
 
 Hope I am clear about why I am looking for
 such old stuff.
 
 Nitin
 

hi,

there should be the iso of xbox gentoo from 2005 available.


http://ftp.uni-erlangen.de/pub/mirrors/gentoo/experimental/x86/xbox/livecd/

Also the old ebuilds (not the sources) should be somewhere to find. I
read that they are kept.

I might also  have a 2005 iso from an minimal cd left but I am not
absolutly sure about that.

kh



Re: [gentoo-user] Re: gentoo older versions

2009-05-02 Thread Dale
KH wrote:
 Nitin Kanaskar schrieb:
   
 Ok - I am not clear about the terminology -
 packages, versions...
 But i need to install gentoo 2004/2005 - if this
 is right. I am a graduate student doing research on
 vulnerabilities, exploits and IDS. Hence I am looking
 for older gentoo installations which i know have
 some vulnerabilities.
 If i have to build whole OS from source, I am willing
 to do that - but could not find any resource on that
 old stuff.

 Hope I am clear about why I am looking for
 such old stuff.

 Nitin

 

 hi,

 there should be the iso of xbox gentoo from 2005 available.


 http://ftp.uni-erlangen.de/pub/mirrors/gentoo/experimental/x86/xbox/livecd/

 Also the old ebuilds (not the sources) should be somewhere to find. I
 read that they are kept.

 I might also  have a 2005 iso from an minimal cd left but I am not
 absolutly sure about that.

 kh


   
I !may! have a Gentoo 1.4 CD somewhere.  I would have to look around and
see if I can find it tho.  Let me know if you want me to look.  I would
have to copy it and mail it tho, if you are in the USA of course.  I
don't have a way to upload it or serve it up.

Dale

:-)  :-)



Re: [gentoo-user] Moving an installed system to RAID10

2009-05-02 Thread Volker Armin Hemmann
On Samstag 02 Mai 2009, Jim Cunning wrote:
 I have a well-running AMD64 system running on a 250G disk that is beginning
 to show some SMART errors.  I have purchased and partitioned two 1T disks
 into RAID10 arrays and would like to move everything to the new arrays,
 make them bootable and abandon booting from the 250G disk.

 I know I'll need to change /boot/grub/grub.conf, /etc/fstab and any other
 files that refer to my current drive partitions, /dev/sda{1,2,3,4}. I am
 concerned whether my current kernel will recognize the /dev/md{1,2,3,4}
 arrays on booting, and before switching from the initrd root disk.  How can
 I check the parameters and contents of the initrd I'm currently using
 and/or generate a new one to permit booting from the RAID disks?

how do you do 10 with only two disks? You need four!
the kernel is able to autoassemble - so you don't need an initrd - me I hate 
initrds.





Re: [gentoo-user] trouble with alsa sound

2009-05-02 Thread Allan Gottlieb
At Fri, 01 May 2009 17:25:14 -0500 Paul Hartman paul.hartman+gen...@gmail.com 
wrote:

 On Fri, May 1, 2009 at 4:43 PM, Allan Gottlieb gottl...@nyu.edu wrote:
 I have two machines desktop (x86_64) and laptop (i686), both with HDA Intel.
 On the laptop all is well.
 On the desktop playback is fine, but recording is not, e.g., when using
 skype my son cannot hear me, but I can hear him.

 On the (working) laptop alsa mixer shows two (stereo) volumes,
 capture and digital.  The nonworking desktop has only digital

 If you have not already done so, check out the HDA documentation at:

 /usr/src/linux/Documentation/sound/alsa/HD-Audio.txt and HD-Audio-Models.txt

I don't have either of those files.  The only close match is

/usr/src/linux/Documentation/sound/alsa/hda_codec.txt but that doesn't
seem to have what you describe.  For example it does not contain the
string 6stack.

allan

 Sometimes (usually?) alsa fails to detect the exact configuration of
 your audio chipset. You can force it to use a certain configuration
 when the alsa modules are loaded. For example, I have to use
 6stack-digout on mine.



[gentoo-user] sync'ing two computers (not related to emerge)

2009-05-02 Thread Simon
hi there!
  I've been using unison to synchronise and backup my computers.  unison is
based on rsync IIRC but with the difference that it 'remembers' the state of
the folder that was synchronised.  This way, if I delete a file on A, when
sync'ing it will be deleted on B.  While rsync would leave the file on B...

  I see rsync as a very good 'cp' program, but I need something that can
deal with conflicts (file changed on both hosts/directories) and can
propagate changes like deletes properly.  Is there a way to get this
behavior with rsync (maybe i missed something)?

  The reason i'm asking is that unison has been having problems recently in
sync'ing two pc...  On my laptop, when i start the sync, it first checks it
for changes against the 'unison snapshot'.  Changes done since last sync are
those that will be propagated.  But it takes so long to check for changes
(disk input rate is too slow i think) that once it finished, when it's time
to send the changes to the remote server, the remote end has already
disconnected!

Thanks for the help/suggestions!


Re: [gentoo-user] Moving an installed system to RAID10

2009-05-02 Thread Jim Cunning
On Saturday 02 May 2009 13:43:27 Volker Armin Hemmann wrote:
 On Samstag 02 Mai 2009, Jim Cunning wrote:
  I have a well-running AMD64 system running on a 250G disk that is
  beginning to show some SMART errors.  I have purchased and partitioned
  two 1T disks into RAID10 arrays and would like to move everything to the
  new arrays, make them bootable and abandon booting from the 250G disk.
 
  I know I'll need to change /boot/grub/grub.conf, /etc/fstab and any other
  files that refer to my current drive partitions, /dev/sda{1,2,3,4}. I am
  concerned whether my current kernel will recognize the /dev/md{1,2,3,4}
  arrays on booting, and before switching from the initrd root disk.  How
  can I check the parameters and contents of the initrd I'm currently using
  and/or generate a new one to permit booting from the RAID disks?

 how do you do 10 with only two disks? You need four!
 the kernel is able to autoassemble - so you don't need an initrd - me I
 hate initrds.

RAID10 = RAID1+0. It works fine with 2 disks.  I was able to create it first 
with one drive missing and then add the second, which sync'ed without 
problems.

I'm glad I don't need any special initrd.
-- 
Jim


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


Re: [gentoo-user] Moving an installed system to RAID10

2009-05-02 Thread Anthony Metcalf
Jim Cunning wrote:
 On Saturday 02 May 2009 13:43:27 Volker Armin Hemmann wrote:
   
 how do you do 10 with only two disks? You need four!
 the kernel is able to autoassemble - so you don't need an initrd - me I
 hate initrds.
 

 RAID10 = RAID1+0. It works fine with 2 disks.  I was able to create it first 
 with one drive missing and then add the second, which sync'ed without 
 problems.
Theoretically, for RAID 10, you need 4 disks, two raid 1's then used to
make a RAID 0 (or the other way round, I forget)

BUT, mdadm will use partitions instead of disks.So you can make a
RAID 10 where each stripe takes up half the disk, and the stripes are
mirrored on each diskOr each disk is mirrored on itself, and the two
disks strippedOr something

Won't give you the performance advantages of RAID 10 though, but will
still waste half your space.

I would prefer a mirror over the complexity of RAID10 with two disks.


Re: [gentoo-user] any gentoo mutt users?

2009-05-02 Thread James
Thanks for the response Grant and Willie!

I'm not sure that the xfce4 mail watch plugin is going to be helpful.
I currently have mutt configured as an IMAP client and I have yet to
find a tool that can poll individual folders (or mailboxes) on a
remote IMAP system.

Because everything is remote, I can't tell bash to check for mail
locally. Not to mention I'm a zsh user. ;)

I actually configured mutt with a list of mailboxes, but because I
have so many mailboxes mutt actually became completely unresponsive
and would take over 5 minutes to actually load completely. Bummer.

I must admit that Thunderbird is pretty good about keeping tabs on the
many mailboxes I have and updating me when something new pops up.

From what I've been told, gbuffy is one of the few tools that actually
does what I'm looking for, but as Grant mentioned it won't compile
successfully (at least not using the ebuild in the portage tree).

Any thoughts on how to do this when using IMAP and lots of folders? :)

-j

On Sat, May 2, 2009 at 2:00 PM, Willie Wong ww...@princeton.edu wrote:
 On Sat, May 02, 2009 at 12:24:00PM -0400, Penguin Lover James squawked:
 I've recently discovered the awesomeness of mutt. (I may be a little
 late, but better late than never!)

 7 year user of Mutt, and I cannot agree more.

 I'm use it for my work email. I have a rather complex and lengthy set
 of folders, and an equally complex procmail to go along with it. Mutt
 is blazing fast at opening mail folders and sorting things, but I'm
 wondering how to check when a new messages comes into a folder and
 skips the inbox.

 Any other suggestions? Something very lightweight would be awesome --
 even text based would be okay. What are you mutt users to check email
 in all your folders?

 In your .bashrc (if you you bash) insert

 unset MAIL
 export MAILCHECK=15
 export MAILPATH='colon separated list of Mailboxes'

 This will make bash check for new mail in your MAILPATH every 15
 seconds, and will display something about you having new mail before
 showing the next primary prompt.

 If you want to get fancier, try something like mine

 export MAILPATH='~/Mail/inbox?You have mail from unknown 
 sender.:~/Mail/gentoo-ml?New mail from Gentoo Mailing List.:~/Mail/work?New 
 mail from office mates.:~/Mail/family?New mail from a family member.'

 (I trimmed it a bit, so you don't get the names of all my friends.)
 The idea is simple, and I think the syntax is self-evident.

 Also, in your .muttrc, you should set (if you use mbox type boxes. For
 maildirs the syntax is similar, but your should check the mutt manual
 to be sure) something like the following snip

 set mbox_type=mbox
 set folder=/home/wwong/Mail
 set spoolfile=/home/wwong/Mail/inbox
 unset mbox
 mailboxes =gentoo-ml =work =family

 This way mutt will know about your mailboxes. The spoolfile will be
 the default box that mutt opens. If you have bash-completion enabled,
 you can just type 'mutt -f =mailbox name' for any mailbox listed
 under mailboxes in .muttrc to open that mailbox.

 While in mutt, hitting 'c' will now first check all your mailboxes
 listed under the mailboxes entry in order to see if there are any new
 mails in those boxes, if so, it will default to the box, and you can
 just hit Return to open the box and read your new mail. If no
 mailbox has new mail, 'c' will bring up a prompt for the mailbox you
 want to change to as usual.

 I hope my explanation is clear enough... if you need more help, feel
 free to ask!

 Best,

 W
 --
 Pages one and two [of Zaphod's presidential speech] had
 been salvaged by a Damogran Frond Crested Eagle and had
 already become incorporated into an extraordinary new form
 of nest which the eagle had invented. It was constructed
 largely of papier mache and it was virtually impossible for
 a newly hatched baby eagle to break out of it. The Damogran
 Frond Crested Eagle had heard of the notion of survival of
 the species but wanted no truck with it.

 - An example of Damogran wildlife.
 Sortir en Pantoufles: up 876 days, 16:33





-- 
Do not meddle in the affairs of wizards, for they are subtle and
quick to anger.
   -Tolkien



Re: [gentoo-user] Moving an installed system to RAID10

2009-05-02 Thread Volker Armin Hemmann
On Samstag 02 Mai 2009, Anthony Metcalf wrote:
 Jim Cunning wrote:
  On Saturday 02 May 2009 13:43:27 Volker Armin Hemmann wrote:
  how do you do 10 with only two disks? You need four!
  the kernel is able to autoassemble - so you don't need an initrd - me I
  hate initrds.
 
  RAID10 = RAID1+0. It works fine with 2 disks.  I was able to create it
  first with one drive missing and then add the second, which sync'ed
  without problems.

 Theoretically, for RAID 10, you need 4 disks, two raid 1's then used to
 make a RAID 0 (or the other way round, I forget)

 BUT, mdadm will use partitions instead of disks.So you can make a
 RAID 10 where each stripe takes up half the disk, and the stripes are
 mirrored on each diskOr each disk is mirrored on itself, and the two
 disks strippedOr something

 Won't give you the performance advantages of RAID 10 though, but will
 still waste half your space.

even worse - performance will be even more reduced because the harddisk not 
only have to write the own stripe but the mirrored one too. Results in more 
seeking. Seeking = bad.

Simple Raid1 would be a lot better. And since Raid1 is 'striping' the read 
accesses two you have a nice little improvement there.



Re: [gentoo-user] any gentoo mutt users?

2009-05-02 Thread Alan McKinnon
On Sunday 03 May 2009 00:00:13 James wrote:
 I must admit that Thunderbird is pretty good about keeping tabs on the
 many mailboxes I have and updating me when something new pops up.

 From what I've been told, gbuffy is one of the few tools that actually
 does what I'm looking for, but as Grant mentioned it won't compile
 successfully (at least not using the ebuild in the portage tree).

 Any thoughts on how to do this when using IMAP and lots of folders? :)

How about this, thinking slightly out the box:

Pop your mail to a local maildir, but do not delete mails from the server. Run 
a local IMAP server with that maildir as it's source and point your mail 
client at it

Getmail is excellent at popping like this, it works in the background and you 
can use whatever filtering tool you fancy. If you need mails more immediately 
than within three minutes you really should be using jabber instead :-) With 
local IMAP you can change mail clients in an instant without mucking about 
with all that tedious import/export stuff. And every mailbox monitoring tool 
out there will monitor local maildirs and do it well.

With this you get all the benefits of IMAP, albeit in a sort of disconnected 
fashion, and you only suffer the bandwidth hit with large mails once. Your 
mails are still on the server, so you can still connect to them with IMAP if 
you wish.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] sync'ing two computers (not related to emerge)

2009-05-02 Thread Alan McKinnon
On Saturday 02 May 2009 23:33:38 Simon wrote:
 hi there!
   I've been using unison to synchronise and backup my computers.  unison is
 based on rsync IIRC but with the difference that it 'remembers' the state
 of the folder that was synchronised.  This way, if I delete a file on A,
 when sync'ing it will be deleted on B.  While rsync would leave the file on
 B...

I assume you are syncing from A to B? In that case you should look at the 
various --delete* options to rsync 

   I see rsync as a very good 'cp' program, but I need something that can
 deal with conflicts (file changed on both hosts/directories) and can
 propagate changes like deletes properly.  Is there a way to get this
 behavior with rsync (maybe i missed something)?

This cannot be done with rsync. It's very much an efficient scp replacement 
that works with deltas. And there is a definite source and destination, what 
you are describing is like how source repos work

   The reason i'm asking is that unison has been having problems recently in
 sync'ing two pc...  On my laptop, when i start the sync, it first checks it
 for changes against the 'unison snapshot'.  Changes done since last sync
 are those that will be propagated.  But it takes so long to check for
 changes (disk input rate is too slow i think) that once it finished, when
 it's time to send the changes to the remote server, the remote end has
 already disconnected!

Surely unison has a --timeout or similar option?
rsync has it, and it's such an obviously needed config option


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: gentoo older versions

2009-05-02 Thread Nitin Kanaskar
Thanks a lot Dale for your help.
But I would go for other OS - debian, opensuse, fedora...-
or recent gentoo releases.
Thanks a lot all of you for your inputs.

On Sat, May 2, 2009 at 1:25 PM, Dale rdalek1...@gmail.com wrote:
 KH wrote:
 Nitin Kanaskar schrieb:

 Ok - I am not clear about the terminology -
 packages, versions...
 But i need to install gentoo 2004/2005 - if this
 is right. I am a graduate student doing research on
 vulnerabilities, exploits and IDS. Hence I am looking
 for older gentoo installations which i know have
 some vulnerabilities.
 If i have to build whole OS from source, I am willing
 to do that - but could not find any resource on that
 old stuff.

 Hope I am clear about why I am looking for
 such old stuff.

 Nitin



 hi,

 there should be the iso of xbox gentoo from 2005 available.


 http://ftp.uni-erlangen.de/pub/mirrors/gentoo/experimental/x86/xbox/livecd/

 Also the old ebuilds (not the sources) should be somewhere to find. I
 read that they are kept.

 I might also  have a 2005 iso from an minimal cd left but I am not
 absolutly sure about that.

 kh



 I !may! have a Gentoo 1.4 CD somewhere.  I would have to look around and
 see if I can find it tho.  Let me know if you want me to look.  I would
 have to copy it and mail it tho, if you are in the USA of course.  I
 don't have a way to upload it or serve it up.

 Dale

 :-)  :-)





Re: [gentoo-user] Re: gentoo older versions

2009-05-02 Thread Neil Bothwick
On Sat, 2 May 2009 10:14:45 -0700, Nitin Kanaskar wrote:

 Ok - I am not clear about the terminology -
 packages, versions...
 But i need to install gentoo 2004/2005 - if this
 is right. I am a graduate student doing research on
 vulnerabilities, exploits and IDS. Hence I am looking
 for older gentoo installations which i know havecover 
 some vulnerabilities.

I  have Gentoo 1.4 on a DVD somewhere, complete with portage tree and
distfiles, and a couple of other versions. They are Linux Format cover
DVDs but I could remove the copyrighted material from them.


-- 
Neil Bothwick

WinErr 010: Reserved for future mistakes by our developers


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: gentoo older versions

2009-05-02 Thread Neil Bothwick
On Sat, 2 May 2009 19:45:53 +0200, Alan McKinnon wrote:

 2. All gentoo ebuilds ever shipped are in cvs or svn somewhere. It was
 Neil Bothwick or Iain Buchanan who recently posted a URL, with luck the
 right man will see this and report.

There's a CVS link on the Gentoo home page, and you can get into the
attic from there.

 However, I do not know of a way to
 extract the entire portage tree as it was at a point in time. This too
 will be problematic.

As it's a CVS repository, it should be possible to do exactly that.


-- 
Neil Bothwick

Yes, I've heard of decaf. What's your point?


signature.asc
Description: PGP signature


Re: [gentoo-user] sync'ing two computers (not related to emerge)

2009-05-02 Thread Brandon Vargo
On Sat, 2009-05-02 at 17:33 -0400, Simon wrote:
 hi there!
   I've been using unison to synchronise and backup my computers.
 unison is based on rsync IIRC but with the difference that it
 'remembers' the state of the folder that was synchronised.  This way,
 if I delete a file on A, when sync'ing it will be deleted on B.  While
 rsync would leave the file on B...
 
   I see rsync as a very good 'cp' program, but I need something that
 can deal with conflicts (file changed on both hosts/directories) and
 can propagate changes like deletes properly.  Is there a way to get
 this behavior with rsync (maybe i missed something)?

No. Unison implements the rsync protocol for transferring files, but it
does not actually use rsync itself. You can make rsync transfer files
that are not in either the destination or a reference location with
the --compare-dest option, for example if doing an incremental backup,
but this will not propagate the deletion of a file or directory. The
delete file will come back on the next synchronization.

   The reason i'm asking is that unison has been having problems
 recently in sync'ing two pc...  On my laptop, when i start the sync,
 it first checks it for changes against the 'unison snapshot'.  Changes
 done since last sync are those that will be propagated.  But it takes
 so long to check for changes (disk input rate is too slow i think)
 that once it finished, when it's time to send the changes to the
 remote server, the remote end has already disconnected!
 
 Thanks for the help/suggestions!

If you are using ssh with unison, are you using the KeepAlive yes
option in your ssh configuration? If not, add it, and your connection
should not close from inactivity. If you are using direct sockets,
unison will use a keepalive so it can timeout if the communication link
is broken.

How long is unison taking to check for changes? I can usually reconcile
changes in my home directory (approximately 45G, 125,000 files) in less
than 10-15 seconds between my slow laptop drive and a remote machine.
However, if you are syncing with a Windows machine, expect the sync to
be much slower. Fast checking is not safe on Windows, as unison can miss
changes, so it scans every file every time unless you tell it otherwise.

Regards,

Brandon Vargo




Re: [gentoo-user] Re: gentoo older versions

2009-05-02 Thread Dale
Nitin Kanaskar wrote:
 Thanks a lot Dale for your help.
 But I would go for other OS - debian, opensuse, fedora...-
 or recent gentoo releases.
 Thanks a lot all of you for your inputs.

   

How about a Mandrake 9.1?  I may have that as well.  LOL  It's just a
thought.  I'm a pack rat so I keep everything, some time to much
everything.  I do flush tho.  o_O

Dale

:-)  :-) 



Re: [gentoo-user] Re: gentoo older versions

2009-05-02 Thread Nitin Kanaskar
Thank you so much Dale again - but i
would try to follow links given by Neil -
thank you Neil - and chk in the cvs repositories.
Really appreciate your willingness to help.

On Sat, May 2, 2009 at 3:44 PM, Dale rdalek1...@gmail.com wrote:
 Nitin Kanaskar wrote:
 Thanks a lot Dale for your help.
 But I would go for other OS - debian, opensuse, fedora...-
 or recent gentoo releases.
 Thanks a lot all of you for your inputs.



 How about a Mandrake 9.1?  I may have that as well.  LOL  It's just a
 thought.  I'm a pack rat so I keep everything, some time to much
 everything.  I do flush tho.  o_O

 Dale

 :-)  :-)





Re: [gentoo-user] sync'ing two computers (not related to emerge)

2009-05-02 Thread Simon
 If you are using ssh with unison, are you using the KeepAlive yes
 option in your ssh configuration? If not, add it, and your connection
 should not close from inactivity. If you are using direct sockets,
 unison will use a keepalive so it can timeout if the communication link
 is broken.

Well i was using it, but i found out the option was commented out on
my host's config...  i set it to yes and trying again now...  will
have results in a few mins

 How long is unison taking to check for changes? I can usually reconcile
 changes in my home directory (approximately 45G, 125,000 files) in less
 than 10-15 seconds between my slow laptop drive and a remote machine.
 However, if you are syncing with a Windows machine, expect the sync to
 be much slower. Fast checking is not safe on Windows, as unison can miss
 changes, so it scans every file every time unless you tell it otherwise.

Well, the problem seems to be with my /usr/portage that had not been
sync'ed for a long time (i guess it has to make thorough difference
checking?).  So there is lots of files to check.  It really takes
minutes to scan for changes, i'm timing this run, if it fails i'll
post how long it takes to do the whole scan until it starts
transfering and finds out it got timed out.
Sync'ing is done from linux to linux.  The problem is really hardware
related; i'm thinking on getting a new portable HD, but since i'm
about to loose my job,i might want to wait!  ;)

Thanks!



Re: [gentoo-user] crazy KDE4 panel

2009-05-02 Thread Paul Hartman
On Sat, May 2, 2009 at 12:30 PM, Andrew Gaydenko a...@gaydenko.com wrote:
 On Saturday 02 May 2009 16:23:48 Stroller wrote:
 On 2 May 2009, at 09:39, Andrew Gaydenko wrote:
  ...
  Looks like an overheating GPU to me.
 
  Do you have accelerated graphics on for those panels?
  I'll bet if you turn it off the problem will disappear.
 
  Say, bottom panel hasn't something special: std menu, lancelot,
  tasks, tray
  and clock. Can overheating be such selectable? - I mean only KDE4
  panels-
  related problem takes place (say, my sone plays few games without any
  problems, as well as, say, OOo/Qt/KDE and so on emerging ). And I
  didn't
  overclocked something. But have added few additional silent coolers
  inside a
  case :-)

 Can overheating be so selective? I can't say for sure, but I can't see
 it having so much work to do when displaying the wallpaper as if those
 panels fade or slide. I presume they can be auto-hidden one way or the
 other when not in use, and that effects would be enabled by default if
 you have GPU acceleration available.

 Speckles are somewhat characteristic, and most any videogamer will
 recognise them - once you've had a graphics card or a Playstation
 (type) console die on you, they are very recognisable.

 The emerging won't have any effect on speckles, only GPU-related
 activity. It depends on the particular games that your son plays
 whether I'd say they're relevant. I'm no expert on Linux graphics (I
 don't use it on the desktop myself), but I'd guess TuxRacer probably
 does use the GPU whereas Frozen Bubble does not.

 If you're able to turn the GPU's acceleration features off in X11 (or
 the kernel?) and just treat it as a framebuffer device, then please
 prove me wrong!

 Stroller.


 OK, as Stroller has suggested, I have cleaned heatsink, replaced heat-
 conducting paste and so on. Now it would be nice to have something for quick
 GPU load testing (instead of long-long KDE session). Can anybody suggest an
 appropriate sw or, may be, some game with hard and heavy (wrt GPU load)
 demo?

use the overclocking tweaks in nvidia-settings to blow it up :P



Re: [gentoo-user] crazy KDE4 panel

2009-05-02 Thread Dale
Paul Hartman wrote:
 On Sat, May 2, 2009 at 12:30 PM, Andrew Gaydenko a...@gaydenko.com wrote:
   
 OK, as Stroller has suggested, I have cleaned heatsink, replaced heat-
 conducting paste and so on. Now it would be nice to have something for quick
 GPU load testing (instead of long-long KDE session). Can anybody suggest an
 appropriate sw or, may be, some game with hard and heavy (wrt GPU load)
 demo?
 

 use the overclocking tweaks in nvidia-settings to blow it up :P


   

You may can use glxgears or some other test program for your card.  I
know glxgears works mine pretty good here.  Even about maxes out my CPU.

Dale

:-)  :-) 



Re: [gentoo-user] crazy KDE4 panel

2009-05-02 Thread Volker Armin Hemmann
On Sonntag 03 Mai 2009, Dale wrote:
 Paul Hartman wrote:
  On Sat, May 2, 2009 at 12:30 PM, Andrew Gaydenko a...@gaydenko.com wrote:
  OK, as Stroller has suggested, I have cleaned heatsink, replaced heat-
  conducting paste and so on. Now it would be nice to have something for
  quick GPU load testing (instead of long-long KDE session). Can anybody
  suggest an appropriate sw or, may be, some game with hard and heavy
  (wrt GPU load) demo?
 
  use the overclocking tweaks in nvidia-settings to blow it up :P

 You may can use glxgears or some other test program for your card.  I
 know glxgears works mine pretty good here.  Even about maxes out my CPU.

 Dale

 :-)  :-)

that is pretty much the only thing it does - maxing the cpu.

There are the ut demos in portage. They stress the card. Or some other fps. 
Vegastrike, not in portage, installed from svn is an incredible load for every 
card.




[gentoo-user] Re: crazy KDE4 panel

2009-05-02 Thread Nikos Chantziaras

Andrew Gaydenko wrote:

OK, as Stroller has suggested, I have cleaned heatsink, replaced heat-
conducting paste and so on. Now it would be nice to have something for quick 
GPU load testing (instead of long-long KDE session). Can anybody suggest an 
appropriate sw or, may be, some game with hard and heavy (wrt GPU load) 
demo?


Look into the Phoronix Test suite.  It has graphics benchmarks too.  So 
pick your poison and hope it won't fry (which is something NVidias 
sometimes love to do, heh heh.)





Re: [gentoo-user] crazy KDE4 panel

2009-05-02 Thread Dale
Volker Armin Hemmann wrote:
 On Sonntag 03 Mai 2009, Dale wrote:
   
 Paul Hartman wrote:
 
 On Sat, May 2, 2009 at 12:30 PM, Andrew Gaydenko a...@gaydenko.com wrote:
   
 OK, as Stroller has suggested, I have cleaned heatsink, replaced heat-
 conducting paste and so on. Now it would be nice to have something for
 quick GPU load testing (instead of long-long KDE session). Can anybody
 suggest an appropriate sw or, may be, some game with hard and heavy
 (wrt GPU load) demo?
 
 use the overclocking tweaks in nvidia-settings to blow it up :P
   
 You may can use glxgears or some other test program for your card.  I
 know glxgears works mine pretty good here.  Even about maxes out my CPU.

 Dale

 :-)  :-)
 

 that is pretty much the only thing it does - maxing the cpu.

 There are the ut demos in portage. They stress the card. Or some other fps. 
 Vegastrike, not in portage, installed from svn is an incredible load for 
 every 
 card.


   

I thought glxgears was a GPU test not a CPU test. 

Dale

:-)  :-) 



[gentoo-user] unable to login to user account or do su - username

2009-05-02 Thread Valmor de Almeida


Hello,

After a system/world update my user account dealmeida cannot be logged 
to or root cannot su to it. When su - dealmeida is issued at the root 
command prompt, it immediately returns to root. When login is at the 
console the motd appears (twice; why?) and then the session is closed. 
In the /var/log/messages I get


May  2 20:42:35 xeon0 su[29286]: Successful su for dealmeida by root
May  2 20:42:35 xeon0 su[29286]: + pts/1 root:dealmeida
May  2 20:42:35 xeon0 su[29286]: pam_unix(su:session): session opened 
for user dealmeida by root(uid=0)
May  2 20:42:35 xeon0 su[29286]: pam_unix(su:session): session closed 
for user dealmeida


No other account has this problem.

Any ideas?

Thanks,

--
Valmor



Re: [gentoo-user] crazy KDE4 panel

2009-05-02 Thread Volker Armin Hemmann
On Sonntag 03 Mai 2009, Dale wrote:
 Volker Armin Hemmann wrote:
  On Sonntag 03 Mai 2009, Dale wrote:
  Paul Hartman wrote:
  On Sat, May 2, 2009 at 12:30 PM, Andrew Gaydenko a...@gaydenko.com 
  wrote:
  OK, as Stroller has suggested, I have cleaned heatsink, replaced heat-
  conducting paste and so on. Now it would be nice to have something for
  quick GPU load testing (instead of long-long KDE session). Can anybody
  suggest an appropriate sw or, may be, some game with hard and heavy
  (wrt GPU load) demo?
 
  use the overclocking tweaks in nvidia-settings to blow it up :P
 
  You may can use glxgears or some other test program for your card.  I
  know glxgears works mine pretty good here.  Even about maxes out my CPU.
 
  Dale
 
  :-)  :-)
 
  that is pretty much the only thing it does - maxing the cpu.
 
  There are the ut demos in portage. They stress the card. Or some other
  fps. Vegastrike, not in portage, installed from svn is an incredible load
  for every card.

 I thought glxgears was a GPU test not a CPU test.


it tests almost nothing from the gpu - and the resulting fps are very depent 
on the CPU.. so...





Re: [gentoo-user] unable to login to user account or do su - username

2009-05-02 Thread Paul Hartman
On Sat, May 2, 2009 at 7:52 PM, Valmor de Almeida val.gen...@gmail.com wrote:

 Hello,

 After a system/world update my user account dealmeida cannot be logged to or
 root cannot su to it. When su - dealmeida is issued at the root command
 prompt, it immediately returns to root. When login is at the console the
 motd appears (twice; why?) and then the session is closed. In the
 /var/log/messages I get

 May  2 20:42:35 xeon0 su[29286]: Successful su for dealmeida by root
 May  2 20:42:35 xeon0 su[29286]: + pts/1 root:dealmeida
 May  2 20:42:35 xeon0 su[29286]: pam_unix(su:session): session opened for
 user dealmeida by root(uid=0)
 May  2 20:42:35 xeon0 su[29286]: pam_unix(su:session): session closed for
 user dealmeida

 No other account has this problem.

 Any ideas?

 Thanks,

Is the user's shell set properly?



Re: [gentoo-user] unable to login to user account or do su - username

2009-05-02 Thread Valmor de Almeida

Paul Hartman wrote:

On Sat, May 2, 2009 at 7:52 PM, Valmor de Almeida val.gen...@gmail.com wrote:

Hello,

After a system/world update my user account dealmeida cannot be logged to or
root cannot su to it. When su - dealmeida is issued at the root command
prompt, it immediately returns to root. When login is at the console the
motd appears (twice; why?) and then the session is closed. In the
/var/log/messages I get

May  2 20:42:35 xeon0 su[29286]: Successful su for dealmeida by root
May  2 20:42:35 xeon0 su[29286]: + pts/1 root:dealmeida
May  2 20:42:35 xeon0 su[29286]: pam_unix(su:session): session opened for
user dealmeida by root(uid=0)
May  2 20:42:35 xeon0 su[29286]: pam_unix(su:session): session closed for
user dealmeida

No other account has this problem.

Any ideas?

Thanks,


Is the user's shell set properly?



I made no changes in the account and looked over the . startup files; 
they look okay. Also, the output of password -S dealmeida are fine. 
Still puzzled why motd appears twice even at root login.


Thanks

--
Valmor



[gentoo-user] Re: any gentoo mutt users?

2009-05-02 Thread Grant Edwards
On 2009-05-02, James j...@nc.rr.com wrote:
 Thanks for the response Grant and Willie!

 I'm not sure that the xfce4 mail watch plugin is going to be
 helpful. I currently have mutt configured as an IMAP client
 and I have yet to find a tool that can poll individual
 folders (or mailboxes) on a remote IMAP system.

Gbuffy, gkrellm, and the XFCE mailwatch plugin can all do that.

One more complaint about the XFCE mailwatch plugin is that it
opens/closes a new connection every time it polls the mailbox.
It would be way less load on the network (and both hosts
involved) if it kept the connection open and used the idle
command.

-- 
Grant




Re: [gentoo-user] unable to login to user account or do su - username

2009-05-02 Thread Mike Kazantsev
On Sat, 02 May 2009 20:52:39 -0400
Valmor de Almeida val.gen...@gmail.com wrote:

 After a system/world update my user account dealmeida cannot be logged 
 to or root cannot su to it. When su - dealmeida is issued at the root 
 command prompt, it immediately returns to root. When login is at the 
 console the motd appears (twice; why?) and then the session is closed. 
 In the /var/log/messages I get
 
 May  2 20:42:35 xeon0 su[29286]: Successful su for dealmeida by root
 May  2 20:42:35 xeon0 su[29286]: + pts/1 root:dealmeida
 May  2 20:42:35 xeon0 su[29286]: pam_unix(su:session): session opened 
 for user dealmeida by root(uid=0)
 May  2 20:42:35 xeon0 su[29286]: pam_unix(su:session): session closed 
 for user dealmeida
 
 No other account has this problem.
 
 Any ideas?

I don't know about motd, but the rest looks like pam problem to me, if
you're using pam, of course. Try 'euse -i pam' to see if it's enabled.

If that's the case, first of all I'd suggest to check etc-update.
Then look through /etc/pam.d, especially system-* files. There you can
remove some of the required (for successfull authentication) modules,
so their failure won't affect the process.

-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature


Re: [gentoo-user] sync'ing two computers (not related to emerge)

2009-05-02 Thread Stroller


On 2 May 2009, at 22:33, Simon wrote:

...
  I've been using unison to synchronise and backup my computers.   
unison is based on rsync IIRC but with the difference that it  
'remembers' the state of the folder that was synchronised.  This  
way, if I delete a file on A, when sync'ing it will be deleted on  
B.  While rsync would leave the file on B...


  I see rsync as a very good 'cp' program, but I need something that  
can deal with conflicts (file changed on both hosts/directories) and  
can propagate changes like deletes properly.  ...



http://www.linuxjournal.com/article/5976
http://kitenet.net/~joey/svnhome/

http://www.google.com/search?q=homedir+version+control

Stroller.






Re: [gentoo-user] any gentoo mutt users?

2009-05-02 Thread James
Alan,

Thanks for the response. :)

I've thought about doing something similar to this, but it's a last
resort. I end up using mutt on various different workstations and it'd
be nice to run everything locally. Obviously a solution where I'm
fetching mail on every machine where I'm using mutt doesn't scale very
well.

It's certainly an alternative, however, if I can't find anything else
that works.

-j

On Sat, May 2, 2009 at 6:14 PM, Alan McKinnon alan.mckin...@gmail.com wrote:
 On Sunday 03 May 2009 00:00:13 James wrote:
 I must admit that Thunderbird is pretty good about keeping tabs on the
 many mailboxes I have and updating me when something new pops up.

 From what I've been told, gbuffy is one of the few tools that actually
 does what I'm looking for, but as Grant mentioned it won't compile
 successfully (at least not using the ebuild in the portage tree).

 Any thoughts on how to do this when using IMAP and lots of folders? :)

 How about this, thinking slightly out the box:

 Pop your mail to a local maildir, but do not delete mails from the server. Run
 a local IMAP server with that maildir as it's source and point your mail
 client at it

 Getmail is excellent at popping like this, it works in the background and you
 can use whatever filtering tool you fancy. If you need mails more immediately
 than within three minutes you really should be using jabber instead :-) With
 local IMAP you can change mail clients in an instant without mucking about
 with all that tedious import/export stuff. And every mailbox monitoring tool
 out there will monitor local maildirs and do it well.

 With this you get all the benefits of IMAP, albeit in a sort of disconnected
 fashion, and you only suffer the bandwidth hit with large mails once. Your
 mails are still on the server, so you can still connect to them with IMAP if
 you wish.

 --
 alan dot mckinnon at gmail dot com




Re: [gentoo-user] Re: any gentoo mutt users?

2009-05-02 Thread James
Grant,

I've tried gbuffy but something breaks during the emerge. I've been
tinkering with it but gave up a bit earlier (likely out of sheer
laziness ;)). I don't really use gkrellm so I'd rather not start
mucking with it.

I actually do use xfce4, so I may give the mailwatch plugin a try.
Certainly lame that it opens a new connection every time it polls, but
maybe that's something I can tweak in the code if I settle.

What do you use to poll, Grant? Gbuffy?

-j

On Sat, May 2, 2009 at 9:48 PM, Grant Edwards gra...@visi.com wrote:
 On 2009-05-02, James j...@nc.rr.com wrote:
 Thanks for the response Grant and Willie!

 I'm not sure that the xfce4 mail watch plugin is going to be
 helpful. I currently have mutt configured as an IMAP client
 and I have yet to find a tool that can poll individual
 folders (or mailboxes) on a remote IMAP system.

 Gbuffy, gkrellm, and the XFCE mailwatch plugin can all do that.

 One more complaint about the XFCE mailwatch plugin is that it
 opens/closes a new connection every time it polls the mailbox.
 It would be way less load on the network (and both hosts
 involved) if it kept the connection open and used the idle
 command.

 --
 Grant





Re: [gentoo-user] Moving an installed system to RAID10

2009-05-02 Thread Jarry

Jim Cunning wrote:

RAID10 = RAID1+0. It works fine with 2 disks.  I was able to create it first 
with one drive missing and then add the second, which sync'ed without 
problems.


Question is not does it work, question is does it make any sense?

You can either create raid0 strip with two partitions on the same
disk (e.g. sda1+sda2) and mirror that rai0-strip on the second drive,
but where is then your performance gain you'd expect from raid0?

Or you can create raid0 with partitions on both drives (sda1+sdb1)
and mirror it on the second set of partitions on the same drives.
But then you do not have any protection from total disk failure
you'd normally expect from raid1. Only some very little protection
against a sector failure.

Plus two equally strange configurations where you first create
raid1-mirrors and then strip them to raid0. Doing raid10 (or raid01)
with only 2 disks is imho not a good idea...

Jarry

--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.