Re: [gentoo-user] stage3/handbook mismatch

2012-09-10 Thread Alan McKinnon
On Sun, 9 Sep 2012 18:05:03 -0700
Chris Stankevitz chrisstankev...@gmail.com wrote:

 FYI,
 
   stage3-amd64-20120621.tar.bz2 creates a file /etc/make.conf
 
   handbook says to edit to /etc/portage/make.conf
 
 Chris
 

Either one will work. The software looks in both locations. You will
not notice a difference.

-- 
Alan McKinnon
alan.mckin...@gmail.com




[gentoo-user] Re: aligning SSD partitions

2012-09-10 Thread Nicolas Sebrecht
The 07/09/12, Dale wrote:

 The thing is tho, whether it is using the memory as cache or using it
 as
 tmpfs, it is the same memory.  There is no difference.  That's the
 whole
 point. 

Feel free to take your own assumptions as undeniable truth. The way the
kernel work with memory is the key, of course.

Now, as long as you blind yourself with statements like that, I'm not
going to respond anymore. I guess you need to make some basic research.

-- 
Nicolas Sebrecht



Re: [gentoo-user] Re: aligning SSD partitions

2012-09-10 Thread Dale
Nicolas Sebrecht wrote:
 The 07/09/12, Dale wrote:

 The thing is tho, whether it is using the memory as cache or using it
 as
 tmpfs, it is the same memory.  There is no difference.  That's the
 whole
 point. 
 Feel free to take your own assumptions as undeniable truth. The way the
 kernel work with memory is the key, of course.

 Now, as long as you blind yourself with statements like that, I'm not
 going to respond anymore. I guess you need to make some basic research.


I understand how the kernel uses memory.  That's why it doesn't matter
if you put portage's work directory on tmpfs or not.  I been using Linux
for a pretty good long while now.  I have a pretty good understanding of
it, especially the things that I use. 

Respond or not, I know what I tested and what the results were.  They
were not just my tests and results either. 

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




[gentoo-user] make.{conf,profile} move to /etc/portage

2012-09-10 Thread Doug Hunley
Just saw the eselect news item saying make.conf and make.profile are
moving to /etc/portage next week. Unfortunately, there's no link to a
page w/ more info in the news item. Does anyone know what version of
portage knows to look for them in this location? I don't want to move
mine prematurely :)

And yes, I read that we don't need to do anything. I *want* them in
/etc/portage. I've always felt they belonged there.

-- 
Douglas J Hunley (doug.hun...@gmail.com)
Twitter: @hunleyd   Web:
douglasjhunley.com
G+: http://goo.gl/sajR3



Re: [gentoo-user] make.{conf,profile} move to /etc/portage

2012-09-10 Thread lists
Zac wrote on gentoo-dev:

 Current portage supports it? Or is their a new version coming which I
 would need?  

It's been supported in stable portage since portage-2.1.9.24 stabilized
in November/December 2010:

https://bugs.gentoo.org/show_bug.cgi?id=346819
http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=d493a029add855e6ade95d60b57ec7b8f5aba067
http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=f15c724e6ea494c21e57289b0361614b6656ac35

--
aranea



Re: [gentoo-user] Re: aligning SSD partitions

2012-09-10 Thread Michael Mol
On Mon, Sep 10, 2012 at 7:13 AM, Dale rdalek1...@gmail.com wrote:

 Nicolas Sebrecht wrote:
  The 07/09/12, Dale wrote:
 
  The thing is tho, whether it is using the memory as cache or using it
  as
  tmpfs, it is the same memory.  There is no difference.  That's the
  whole
  point.
  Feel free to take your own assumptions as undeniable truth. The way the
  kernel work with memory is the key, of course.
 
  Now, as long as you blind yourself with statements like that, I'm not
  going to respond anymore. I guess you need to make some basic research.
 

 I understand how the kernel uses memory.  That's why it doesn't matter
 if you put portage's work directory on tmpfs or not.  I been using Linux
 for a pretty good long while now.  I have a pretty good understanding of
 it, especially the things that I use.

 Respond or not, I know what I tested and what the results were.  They
 were not just my tests and results either.


Nobody is disagreeing with your test results. In fact, they're not even
disagreeing with you that they mean what you think they mean within the
context you're testing. They're disagreeing with your extrapolation of your
results to other contexts. In short, all other things being equal, your
test results work out for someone in the exact same circumstances as
yourself...but there are a _lot_ of other things that need to be equal!

Filesystem mount options can have an impact. For example, let's say your
filesystem is configured to make writes synchronous, for general data
integrity purposes. That would slow PORTAGE_TMP down something _fierce_.

Someone might be tweaking any number of the knobs under 'vm' in /proc.
vm.swappiness, vm.dirty_* or vm.min_free_kbytes are ones that caught my
eye, but really most of them in there look relevant.

Or consider that someone else might be running drop_caches, or even sync()
while your code is running. (Heck, if there's a database, even an sqlite
database, on the same filesystem, that's almost a guarantee.)

These may seem to be obvious, but these are the kinds of things people were
trying to get you to be willing to acknowledge before you made blanket
assertions which covered them.

-- 
:wq


Re: [gentoo-user] make.{conf,profile} move to /etc/portage

2012-09-10 Thread Neil Bothwick
On Mon, 10 Sep 2012 07:59:41 -0400, Doug Hunley wrote:

 Just saw the eselect news item saying make.conf and make.profile are
 moving to /etc/portage next week. Unfortunately, there's no link to a
 page w/ more info in the news item. Does anyone know what version of
 portage knows to look for them in this location? I don't want to move
 mine prematurely :)

The current testing version, 2.2.0_alpha125, works with make.conf moved
to the new location. At least, emerge --info still shows the same
settings.
 
 And yes, I read that we don't need to do anything. I *want* them in
 /etc/portage. I've always felt they belonged there.

Agreed.


-- 
Neil Bothwick

To most people solutions mean finding the answers.  But to chemists
solutions are things that are still all mixed up.


signature.asc
Description: PGP signature


Re: [gentoo-user] make.{conf,profile} move to /etc/portage

2012-09-10 Thread Mark Knecht
On Mon, Sep 10, 2012 at 6:00 AM, Neil Bothwick n...@digimed.co.uk wrote:
 On Mon, 10 Sep 2012 07:59:41 -0400, Doug Hunley wrote:

 Just saw the eselect news item saying make.conf and make.profile are
 moving to /etc/portage next week. Unfortunately, there's no link to a
 page w/ more info in the news item. Does anyone know what version of
 portage knows to look for them in this location? I don't want to move
 mine prematurely :)

 The current testing version, 2.2.0_alpha125, works with make.conf moved
 to the new location. At least, emerge --info still shows the same
 settings.


I was hoping that this change meant that after 125 alpha versions
maybe portage-2.2 was finally going stable but I guess not if this
functionality was changed in 2.1.

;-(

- Mark



Re: [gentoo-user] Re: aligning SSD partitions

2012-09-10 Thread Dale
Michael Mol wrote:
 On Mon, Sep 10, 2012 at 7:13 AM, Dale rdalek1...@gmail.com
 mailto:rdalek1...@gmail.com wrote:

 Nicolas Sebrecht wrote:
  The 07/09/12, Dale wrote:
 
  The thing is tho, whether it is using the memory as cache or
 using it
  as
  tmpfs, it is the same memory.  There is no difference.  That's the
  whole
  point.
  Feel free to take your own assumptions as undeniable truth. The
 way the
  kernel work with memory is the key, of course.
 
  Now, as long as you blind yourself with statements like that,
 I'm not
  going to respond anymore. I guess you need to make some basic
 research.
 

 I understand how the kernel uses memory.  That's why it doesn't matter
 if you put portage's work directory on tmpfs or not.  I been using
 Linux
 for a pretty good long while now.  I have a pretty good
 understanding of
 it, especially the things that I use.

 Respond or not, I know what I tested and what the results were.  They
 were not just my tests and results either.


 Nobody is disagreeing with your test results. In fact, they're not
 even disagreeing with you that they mean what you think they mean
 within the context you're testing. They're disagreeing with your
 extrapolation of your results to other contexts. In short, all other
 things being equal, your test results work out for someone in the
 exact same circumstances as yourself...but there are a _lot_ of other
 things that need to be equal!

 Filesystem mount options can have an impact. For example, let's say
 your filesystem is configured to make writes synchronous, for general
 data integrity purposes. That would slow PORTAGE_TMP down something
 _fierce_.

 Someone might be tweaking any number of the knobs under 'vm' in /proc.
 vm.swappiness, vm.dirty_* or vm.min_free_kbytes are ones that caught
 my eye, but really most of them in there look relevant.

 Or consider that someone else might be running drop_caches, or even
 sync() while your code is running. (Heck, if there's a database, even
 an sqlite database, on the same filesystem, that's almost a guarantee.)

 These may seem to be obvious, but these are the kinds of things people
 were trying to get you to be willing to acknowledge before you made
 blanket assertions which covered them.

 -- 
 :wq


Someone could be getting rays from Mars but I am not testing that.  What
I tested was this,  Run emerge with portages work directory on disk. 
Then run same command with portage's work directory on tmpfs.  Then
compare the results.  No other changes except for where portage's work
directory is located, hard drive or ram.  This was done on a NORMAL
system that most ANY user would be using.  I'm not concerned with some
rare or exotic setup, just a normal setup.  If someone is running some
exotic setup, then they need to test that to see whether it helps or not
because I did not test for that sort of system.  I didn't test for rays
from Mars either.  LOL

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!



Re: [gentoo-user] Re: aligning SSD partitions

2012-09-10 Thread Michael Mol
On Mon, Sep 10, 2012 at 9:52 AM, Dale rdalek1...@gmail.com wrote:

  Michael Mol wrote:

 On Mon, Sep 10, 2012 at 7:13 AM, Dale rdalek1...@gmail.com wrote:

  Nicolas Sebrecht wrote:
  The 07/09/12, Dale wrote:
 
  The thing is tho, whether it is using the memory as cache or using it
  as
  tmpfs, it is the same memory.  There is no difference.  That's the
  whole
  point.
  Feel free to take your own assumptions as undeniable truth. The way the
  kernel work with memory is the key, of course.
 
  Now, as long as you blind yourself with statements like that, I'm not
  going to respond anymore. I guess you need to make some basic research.
 

  I understand how the kernel uses memory.  That's why it doesn't matter
 if you put portage's work directory on tmpfs or not.  I been using Linux
 for a pretty good long while now.  I have a pretty good understanding of
 it, especially the things that I use.

 Respond or not, I know what I tested and what the results were.  They
 were not just my tests and results either.


  Nobody is disagreeing with your test results. In fact, they're not even
 disagreeing with you that they mean what you think they mean within the
 context you're testing. They're disagreeing with your extrapolation of your
 results to other contexts. In short, all other things being equal, your
 test results work out for someone in the exact same circumstances as
 yourself...but there are a _lot_ of other things that need to be equal!

  Filesystem mount options can have an impact. For example, let's say your
 filesystem is configured to make writes synchronous, for general data
 integrity purposes. That would slow PORTAGE_TMP down something _fierce_.

  Someone might be tweaking any number of the knobs under 'vm' in /proc.
 vm.swappiness, vm.dirty_* or vm.min_free_kbytes are ones that caught my
 eye, but really most of them in there look relevant.

  Or consider that someone else might be running drop_caches, or even
 sync() while your code is running. (Heck, if there's a database, even an
 sqlite database, on the same filesystem, that's almost a guarantee.)

  These may seem to be obvious, but these are the kinds of things people
 were trying to get you to be willing to acknowledge before you made blanket
 assertions which covered them.

  --
 :wq



 Someone could be getting rays from Mars but I am not testing that.  What I
 tested was this,  Run emerge with portages work directory on disk.  Then
 run same command with portage's work directory on tmpfs.  Then compare the
 results.  No other changes except for where portage's work directory is
 located, hard drive or ram.  This was done on a NORMAL system that most ANY
 user would be using.  I'm not concerned with some rare or exotic setup,
 just a normal setup.  If someone is running some exotic setup, then they
 need to test that to see whether it helps or not because I did not test for
 that sort of system.  I didn't test for rays from Mars either.  LOL


Running databases on the same filesystem as PORTAGE_TMP is not a rare or
exotic setup. Anyone who doesn't use a separate /home or separate portage
temp is in a circumstance like that.


-- 
:wq


Re: [gentoo-user] make.{conf,profile} move to /etc/portage

2012-09-10 Thread Alan McKinnon
On Mon, 10 Sep 2012 06:43:12 -0700
Mark Knecht markkne...@gmail.com wrote:

 On Mon, Sep 10, 2012 at 6:00 AM, Neil Bothwick n...@digimed.co.uk
 wrote:
  On Mon, 10 Sep 2012 07:59:41 -0400, Doug Hunley wrote:
 
  Just saw the eselect news item saying make.conf and make.profile
  are moving to /etc/portage next week. Unfortunately, there's no
  link to a page w/ more info in the news item. Does anyone know
  what version of portage knows to look for them in this location? I
  don't want to move mine prematurely :)
 
  The current testing version, 2.2.0_alpha125, works with make.conf
  moved to the new location. At least, emerge --info still shows the
  same settings.
 
 
 I was hoping that this change meant that after 125 alpha versions
 maybe portage-2.2 was finally going stable but I guess not if this
 functionality was changed in 2.1.

fat chance :-)

portage-2.2 has had 100+ rc versions and 125 alpha versions. What's
the odds of it ever getting released?

e17 and Duke Nukem Forever; meet the software that toppled you from
your throne



-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Re: aligning SSD partitions

2012-09-10 Thread Dale
Michael Mol wrote:
 On Mon, Sep 10, 2012 at 9:52 AM, Dale rdalek1...@gmail.com
 mailto:rdalek1...@gmail.com wrote:

 Michael Mol wrote:
 On Mon, Sep 10, 2012 at 7:13 AM, Dale rdalek1...@gmail.com
 mailto:rdalek1...@gmail.com wrote:

 Nicolas Sebrecht wrote:
  The 07/09/12, Dale wrote:
 
  The thing is tho, whether it is using the memory as cache
 or using it
  as
  tmpfs, it is the same memory.  There is no difference.
  That's the
  whole
  point.
  Feel free to take your own assumptions as undeniable truth.
 The way the
  kernel work with memory is the key, of course.
 
  Now, as long as you blind yourself with statements like
 that, I'm not
  going to respond anymore. I guess you need to make some
 basic research.
 

 I understand how the kernel uses memory.  That's why it
 doesn't matter
 if you put portage's work directory on tmpfs or not.  I been
 using Linux
 for a pretty good long while now.  I have a pretty good
 understanding of
 it, especially the things that I use.

 Respond or not, I know what I tested and what the results
 were.  They
 were not just my tests and results either.


 Nobody is disagreeing with your test results. In fact, they're
 not even disagreeing with you that they mean what you think they
 mean within the context you're testing. They're disagreeing with
 your extrapolation of your results to other contexts. In short,
 all other things being equal, your test results work out for
 someone in the exact same circumstances as yourself...but there
 are a _lot_ of other things that need to be equal!

 Filesystem mount options can have an impact. For example, let's
 say your filesystem is configured to make writes synchronous, for
 general data integrity purposes. That would slow PORTAGE_TMP down
 something _fierce_.

 Someone might be tweaking any number of the knobs under 'vm' in
 /proc. vm.swappiness, vm.dirty_* or vm.min_free_kbytes are ones
 that caught my eye, but really most of them in there look relevant.

 Or consider that someone else might be running drop_caches, or
 even sync() while your code is running. (Heck, if there's a
 database, even an sqlite database, on the same filesystem, that's
 almost a guarantee.)

 These may seem to be obvious, but these are the kinds of things
 people were trying to get you to be willing to acknowledge before
 you made blanket assertions which covered them.

 -- 
 :wq


 Someone could be getting rays from Mars but I am not testing
 that.  What I tested was this,  Run emerge with portages work
 directory on disk.  Then run same command with portage's work
 directory on tmpfs.  Then compare the results.  No other changes
 except for where portage's work directory is located, hard drive
 or ram.  This was done on a NORMAL system that most ANY user would
 be using.  I'm not concerned with some rare or exotic setup, just
 a normal setup.  If someone is running some exotic setup, then
 they need to test that to see whether it helps or not because I
 did not test for that sort of system.  I didn't test for rays from
 Mars either.  LOL


 Running databases on the same filesystem as PORTAGE_TMP is not a rare
 or exotic setup. Anyone who doesn't use a separate /home or separate
 portage temp is in a circumstance like that.


 -- 
 :wq


Well, I have /home on its own partition, like most likely everyone
does.  At the time, I was not using LVM either.  At the time, I had a
pretty much default install except that the portage tree was on its own
partition since I wanted to keep it from fragmenting all of /usr with
all those constantly changing little files. 

I also use defaults when mounting file systems too.  Nothing exotic or
weird or anything. 

So again, just testing on as normal a system as there could be to get
some real world results.  

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!



Re: [gentoo-user] Pacific vs Pacific-New

2012-09-10 Thread Paul Hartman
On Sun, Sep 9, 2012 at 8:19 PM, Chris Stankevitz
chrisstankev...@gmail.com wrote:
 Hello,

 Following the handbook, I am now setting my timezone.  I am in Los Angeles.

 Should I select:
 a) /usr/share/zoneinfo/US/Pacific
 b) /usr/share/zoneinfo/US/Pacific-New
 c) [your answer here]

 man Pacific didn't help.

This report from 1992 tells the story of pacific-new:
http://catless.ncl.ac.uk/Risks/13.87.html#subj1

US/Pacific-New' stands for 'Pacific Presidential Election Time',
which was passed by the House in April 1989 but never signed into law.
 In presidential election years, this rule would have delayed the
PDT-to-PST switchover until after the election, to lessen the effect
of broadcast news election projections on last-minute west-coast
voters. 

So it seems you would use Pacific instead of Pacific-new, however I
believe both of those are deprecated and it is preferred to use
America/Los Angeles instead.



Re: [gentoo-user] make.{conf,profile} move to /etc/portage

2012-09-10 Thread Hinnerk van Bruinehsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10.09.2012 13:59, Doug Hunley wrote:
 Just saw the eselect news item saying make.conf and make.profile
 are moving to /etc/portage next week. Unfortunately, there's no
 link to a page w/ more info in the news item. Does anyone know what
 version of portage knows to look for them in this location? I don't
 want to move mine prematurely :)
 
 And yes, I read that we don't need to do anything. I *want* them
 in /etc/portage. I've always felt they belonged there.
 

Why not copy them over and create a symlink for legacy-reasons? I'd
guess that every stable version of portage will support it, because
that change (to the stage 3) wouldn't make sense otherwise.

WKR
Hinnerk
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQEcBAEBAgAGBQJQTgHAAAoJEJwwOFaNFkYcnXsH/0tW9SlYHhHbvfYKOKu6Ntyh
Ryd7IR0DGjeOPxJRGjfzsVrEyWs7xaC0la1EyagTbfjXEBrd6wVpPNTBGEukTZei
qwB/ljOIM6yk/Fl7LQ1i50u5ORduiWc3M0/51JZWZfSG0iG6BSi/Zbe0ycawPjIc
G7LAc5rnrwLHzEvA+QiT02LZj4Kog2ZxlTDWy9S2lqCT6jD2kImdWAheY8pX+0sK
y7PDihmFWddTpivoesTepgCLvcV7WsobdmngpWLgJ5rClaUfdJA3xGJO+JuwGjLW
y5i533uS8J6rivI62OusByaAkXtB+g0NU5+UyGtJ6e6ZW9ZgewAcbg7WmEtpGrE=
=cNmq
-END PGP SIGNATURE-



Re: [gentoo-user] Heads-up; bash now uses readline USE flag

2012-09-10 Thread Willie WY Wong
On Sun, Sep 09, 2012 at 12:00:15PM +0200, Penguin Lover Alan McKinnon squawked:
  Or, when previewing what
 emerge world wants to do, note that a new flag is enabled, remove it
 yourself and let emerge world proceed when you are happy with it.

s/remove/add 
and your advice works equally well for us -*'ers :-)

W



[gentoo-user] Reinstall + switch to KDE

2012-09-10 Thread Samuraiii
Hello,
because I broke me PC and I need to reinstall it I'm going ask what
should I preserve to make install faster:

1. I presume that /home can be left intact.
2. I plan to backup /etc and after reinstall I'm going to diff
/etc.old with /etc to see what changed and to keep my previous changes
in config.(not to forget to change make.conf according to switch to KDE)
3. Also I'm going to keep kernel .config and /boot intact.
4. World file will be also backed-up and during reinstall I'm going to
strip it of unnecessary Gnome packages to switch to KDE.

Did I missed something? Should I take care of something else?

Thank you for your advices in advance
S


-- 
Samuraiii
e-mail: samurai.no.d...@gmail.com mailto:samurai.no.d...@gmail.com
GnuPG key ID: 0x80C752EA
http://pgp.mit.edu:11371/pks/lookup?search=0x80C752EAop=vindexfingerprint=onexact=on
(obtainable on http://pgp.mit.edu)
Full copy of public timestamp block http://publictimestamp.org
signatures id-15745 (from 2012-09-10 12:00:06) is included in header of
html.



signature.asc
Description: OpenPGP digital signature


[gentoo-user] emergefied message bubble... ;)

2012-09-10 Thread meino . cramer
Hi,

I dont understand this output of emerge:



  The following REQUIRED_USE flag constraints are unsatisfied:
dvdnav? ( dvd )

  The above constraints are a subset of the following complete expression:
bindist? ( !win32codecs ) cdio? ( !cdparanoia ) cddb? ( any-of ( cdio 
cdparanoia ) network ) dvdnav? ( dvd ) libass? ( truetype ) truetype? ( iconv ) 
radio? ( any-of ( dvb v4l ) ) dxr3? ( X ) ggi? ( X ) opengl? ( X ) vdpau? ( X ) 
xinerama? ( X ) xscreensaver? ( X ) xv? ( X )


I would be very happy if someone of the inner circle of the brethren
of the Gentoo could translate this for me...

Best regards,
mcc





Re: [gentoo-user] emergefied message bubble... ;)

2012-09-10 Thread Andrey Moshbear
On Mon, Sep 10, 2012 at 12:36 PM,  meino.cra...@gmx.de wrote:

   The following REQUIRED_USE flag constraints are unsatisfied:
 dvdnav? ( dvd )

It means the following: If USE flag dvdnav is enabled, then dvd
must be, too.

Essentially, it enforces a dependency of certain USE flags for sanity reasons.



[gentoo-user] Re: Reinstall + switch to KDE

2012-09-10 Thread Nikos Chantziaras

On 10/09/12 19:12, Samuraiii wrote:

Hello,
because I broke me PC and I need to reinstall it I'm going ask what
should I preserve to make install faster:

1. I presume that /home can be left intact.
2. I plan to backup /etc and after reinstall I'm going to diff
/etc.old with /etc to see what changed and to keep my previous changes
in config.(not to forget to change make.conf according to switch to KDE)
3. Also I'm going to keep kernel .config and /boot intact.
4. World file will be also backed-up and during reinstall I'm going to
strip it of unnecessary Gnome packages to switch to KDE.

Did I missed something? Should I take care of something else?


From your problem description, you don't seem to need to install from 
scratch.  You say your /home isn't broken, your /etc isn't broken, your 
/boot isn't broken, your world file isn't broken.


So what *is* broken?  The hardware?  If you have a new PC, you simply 
need to transfer your Gentoo install to a new hard disk using rsync.





Re: [gentoo-user] Re: Reinstall + switch to KDE

2012-09-10 Thread Andrey Moshbear
On Mon, Sep 10, 2012 at 12:43 PM, Nikos Chantziaras rea...@gmail.com wrote:
 On 10/09/12 19:12, Samuraiii wrote:

 Hello,
 because I broke me PC and I need to reinstall it I'm going ask what
 should I preserve to make install faster:

 So what *is* broken?  The hardware?  If you have a new PC, you simply need
 to transfer your Gentoo install to a new hard disk using rsync.

He borked his /usr/include due to an improperly-written uninstall rule
in a Makefile.



Re: [gentoo-user] Re: Reinstall + switch to KDE

2012-09-10 Thread Volker Armin Hemmann
Am Montag, 10. September 2012, 12:53:41 schrieb Andrey Moshbear:
 On Mon, Sep 10, 2012 at 12:43 PM, Nikos Chantziaras rea...@gmail.com 
wrote:
  On 10/09/12 19:12, Samuraiii wrote:
  Hello,
  because I broke me PC and I need to reinstall it I'm going ask what
  
  should I preserve to make install faster:
  So what *is* broken?  The hardware?  If you have a new PC, you simply need
  to transfer your Gentoo install to a new hard disk using rsync.
 
 He borked his /usr/include due to an improperly-written uninstall rule
 in a Makefile.

if he learnt from that episode he now creates packages so he can easily repair 
any damage to his system.

buildpkg FTW!

-- 
#163933



Re: [gentoo-user] Pacific vs Pacific-New

2012-09-10 Thread Chris Stankevitz
On Sun, Sep 9, 2012 at 6:42 PM, Mark Knecht markkne...@gmail.com wrote:
  I use America/Los-Angeles myself.

Mark, Paul:

Thank you, I went with America/Los_Angeles

Chris



Re: [gentoo-user] stage3/handbook mismatch

2012-09-10 Thread Chris Stankevitz
On Sun, Sep 9, 2012 at 6:41 PM, Mark Knecht markkne...@gmail.com wrote:
 That's a very new change just announced globally today and only for
 new installs. Take a look at eselect news for more info.

What a coincidence!  I went with the older stage3 approach.

Thank you,

Chris



Re: [gentoo-user] Having the possibility to set the system-wide locale settings

2012-09-10 Thread Chris Stankevitz
On Sun, Sep 9, 2012 at 8:24 PM, Dale rdalek1...@gmail.com wrote:
 LANG=en_US.UTF8
 LC_ALL=en_US.UTF8

Dale,

Thank you, I used the same.

 P. S.  Welcome to Gentoo and the world of constantly learning.  Just
 when you learn something, something changes and you get to learn it all
 over again.  :/

:)

Chris



Re: [gentoo-user] make.{conf,profile} move to /etc/portage

2012-09-10 Thread Doug Hunley
On Mon, Sep 10, 2012 at 11:05 AM, Hinnerk van Bruinehsen
h.v.bruineh...@fu-berlin.de wrote:
 Why not copy them over and create a symlink for legacy-reasons? I'd
 guess that every stable version of portage will support it, because
 that change (to the stage 3) wouldn't make sense otherwise.

I did that a long time ago, actually :)
I was hoping to remove the symlinks now and it looks like I can based
on the -dev post by Zac

-- 
Douglas J Hunley (doug.hun...@gmail.com)
Twitter: @hunleyd   Web:
douglasjhunley.com
G+: http://goo.gl/sajR3



Re: [gentoo-user] Having the possibility to set the system-wide locale settings

2012-09-10 Thread Chris Stankevitz
On Sun, Sep 9, 2012 at 10:05 PM, Joshua Murphy poiso...@gmail.com wrote:
 A 'locale' is a collection of character set, language, date/time
 format, currency format, etc

Josh,

Thank you.  I now understand what a locale is.  It is surprising to
me that the string en_US.UTF8 tells the OS about currency,
date/time, etc.  I always thought UTF8 was just a character
encoding (not really sure what that is either but I would not have
guessed that UTF8 describes where the commas go in a currency).

Thanks again,

Chris



[gentoo-user] Re: Reinstall + switch to KDE

2012-09-10 Thread Nikos Chantziaras

On 10/09/12 19:53, Andrey Moshbear wrote:

On Mon, Sep 10, 2012 at 12:43 PM, Nikos Chantziaras rea...@gmail.com wrote:

On 10/09/12 19:12, Samuraiii wrote:


Hello,
because I broke me PC and I need to reinstall it I'm going ask what
should I preserve to make install faster:


So what *is* broken?  The hardware?  If you have a new PC, you simply need
to transfer your Gentoo install to a new hard disk using rsync.


He borked his /usr/include due to an improperly-written uninstall rule
in a Makefile.


Oh.  That's pretty easy to fix though.  Install a new Gentoo in a 
chroot, and then rsync its /usr/include into the real one.





Re: [gentoo-user] Heads-up; bash now uses readline USE flag

2012-09-10 Thread Walter Dnes
On Sun, Sep 09, 2012 at 08:41:36AM +0100, Neil Bothwick wrote
 On Sat, 8 Sep 2012 23:42:45 -0400, Walter Dnes wrote:
 
   Isn't readline enabled by default on all reasonable profiles? Do
   you have USE=-* in make.conf? If so, it's just bitten you.  
  
Yup.  I did that to avoid further surprises after the developers in
  their infinite wisdom had IPV6 enabled by default on all reasonable
  profiles.  Watching Firefox and mplayer spinning their wheels for 45
  seconds at a time till IPV6 lookups timed out was not fun.
 
 I'd rather have that that an unusable shell. As was noted elsewhere
 this weekend, even if a USE flag is set but renamed, -* screws it up.

  So no matter what I do or don't do, a developer can find a way to
screw me up.  Next thing you know, I'll have to re-partition my system
or else replace udev with mdev, to boot up... oops.  

  I do get the occasional message about...
foo requires bar to be built with USE flag oogabooga
when running emerge.  I can handle that.  Sometimes I even uncover an
obscure ebuild bug, e.g. https://bugs.gentoo.org/show_bug.cgi?id=401651

-- 
Walter Dnes waltd...@waltdnes.org
I don't run desktop environments; I run useful applications



Re: [gentoo-user] Re: Reinstall + switch to KDE

2012-09-10 Thread Alan McKinnon
On Mon, 10 Sep 2012 12:53:41 -0400
Andrey Moshbear andrey@gmail.com wrote:

 On Mon, Sep 10, 2012 at 12:43 PM, Nikos Chantziaras
 rea...@gmail.com wrote:
  On 10/09/12 19:12, Samuraiii wrote:
 
  Hello,
  because I broke me PC and I need to reinstall it I'm going ask what
  should I preserve to make install faster:
 
  So what *is* broken?  The hardware?  If you have a new PC, you
  simply need to transfer your Gentoo install to a new hard disk
  using rsync.
 
 He borked his /usr/include due to an improperly-written uninstall rule
 in a Makefile.
 

if emerge -e world runs, it will fix that little oopsie

-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] make.{conf,profile} move to /etc/portage

2012-09-10 Thread Alan McKinnon
On Mon, 10 Sep 2012 14:20:04 -0400
Doug Hunley doug.hun...@gmail.com wrote:

 On Mon, Sep 10, 2012 at 11:05 AM, Hinnerk van Bruinehsen
 h.v.bruineh...@fu-berlin.de wrote:
  Why not copy them over and create a symlink for legacy-reasons?
  I'd guess that every stable version of portage will support it,
  because that change (to the stage 3) wouldn't make sense otherwise.
 
 I did that a long time ago, actually :)
 I was hoping to remove the symlinks now and it looks like I can based
 on the -dev post by Zac
 

My test VMs all run stable and all have make.conf in /etc/portage. They
all range from 12 - 18 months old

-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] GCC : another trap for the unwary

2012-09-10 Thread Walter Dnes
On Sat, Sep 08, 2012 at 10:47:47AM -0400, Philip Webb wrote

 Incidentally, I've found out why the system creates many TTYs :
 they're the equivalent of GUI workspaces = desktops,
 allowing someone working without X to view different files etc.
 I'm continually struck by the genius of those who created UNIX in 1969 ...

  From my slightly modified /etc/inittab

# TERMINALS
c1:12345:respawn:/sbin/agetty 38400 tty1 linux
c2:2345:respawn:/sbin/agetty 38400 tty2 linux
c3:2345:respawn:/sbin/agetty 38400 tty3 linux
c4:2345:respawn:/sbin/agetty 38400 tty4 linux
c5:2345:respawn:/sbin/agetty 38400 tty5 linux
c6:2345:respawn:/sbin/agetty 38400 tty6 linux
c7:2345:respawn:/sbin/agetty 38400 tty7 linux
c8:2345:respawn:/sbin/agetty 38400 tty8 linux
c9:2345:respawn:/sbin/agetty 38400 tty9 linux

  This gives me 8 working ttys.  I run startx from tty9, so various
logging gets spewed to tty9.  It's usable in a pinch, but not for normal
use.  I run X in tty10, and sometimes as a second user in tty11, even
with a different resolution and bit depth.  tty12 gets kernel logging
stuff spewed to it

-- 
Walter Dnes waltd...@waltdnes.org
I don't run desktop environments; I run useful applications



Re: [gentoo-user] Re: Reinstall + switch to KDE

2012-09-10 Thread Canek Peláez Valdés
On Mon, Sep 10, 2012 at 2:36 PM, Alan McKinnon alan.mckin...@gmail.com wrote:
 On Mon, 10 Sep 2012 12:53:41 -0400
 Andrey Moshbear andrey@gmail.com wrote:

 On Mon, Sep 10, 2012 at 12:43 PM, Nikos Chantziaras
 rea...@gmail.com wrote:
  On 10/09/12 19:12, Samuraiii wrote:
 
  Hello,
  because I broke me PC and I need to reinstall it I'm going ask what
  should I preserve to make install faster:
 
  So what *is* broken?  The hardware?  If you have a new PC, you
  simply need to transfer your Gentoo install to a new hard disk
  using rsync.

 He borked his /usr/include due to an improperly-written uninstall rule
 in a Makefile.


 if emerge -e world runs, it will fix that little oopsie

No, it won't; if enough files from /usr/include are gone/borked, most
packages will fail compilation. glibc alone has ~450 files under
/usr/include; and basically everything depends on glibc.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



[gentoo-user] Weird hibernate problem

2012-09-10 Thread Timur Aydin
After corrupting my gentoo root filesystem system during hibernate 
experiments, I have finally finished the reinstallation. But hibernate 
still doesn't seem to work correctly. The symptoms are the same as 
during the experiments leading to the root fs corruption, but this time 
the root seems to remain intact.


Here is what happened during the first experiment. I had an 8G swap 
partition as /dev/sda5 and a data partition as /dev/sda6. Thinking that 
pm-hibernate requires a dedicated, separate partition, I backed up 
/dev/sda6, turned off swap at /dev/sda5, deleted /dev/sda[56] and then 
created /dev/sda5 (8G), /dev/sda6 (8G) and /dev/sda7 (remaining size) 
Then I specified /dev/sda6 as the resume partition on the kernel command 
line.


But when I did the pm-hibernate, the system powered off, and after 
reboot, the system seemed to have restored itself to the state it was at 
when I ran pm-hibernate. So it seemed to have worked, but the system 
was strangely unstable. There were many filesystem errors in the root 
partition and when I did a ps ax, I saw hundreds of kworker kernel 
threads lingering around. It was as if the hibernate image was slightly 
corrupted, but not enough to cause a complete lockup, but enough to 
cause there strange symptoms.


I first thought this was related to using the swap partition as the 
resume destination. But after reinstalling gentoo, I again used a 
separate partition for hibernate, but I am still seeing the same 
symtoms. Many kworker kernel threads are sleeping. But this time, the 
root filesystem didn't have any error. Concerned that a filesystem 
corruption is imminent, I immediately turned off power.


So, what could be causing these strange problems? Based on what I have 
read so far, the resume partition needs to be an active swap partition. 
This seems rather strange, because linux is using the swap partition for 
memory management as well. So shouldn't these be well separated to 
prevent corrupting each other?


Hope someone can help me make sense of all of this...

--
Timur



Re: [gentoo-user] Weird hibernate problem

2012-09-10 Thread Timur Aydin
I have just tried again using pm-suspend and the same thing happens. 
Everything looks like it has worked, but when I do a ps ax, there are 
many (currently around 50) sleeping kernel threads. There are also a few 
extraneous migration, ksoftirq threads intermixed.


--
Timur



Re: [gentoo-user] Weird hibernate problem

2012-09-10 Thread Timur Aydin
One unusual property of this system is that it has 5 additional SATA 
disks to be used for RAID experiments, in addition to the disk holding 
gentoo. So there are a total of 6 disks. But during these experiments, 
these 5 additional disks are not mounted.


The motherboard is an Asus P8V68Z-VPRO/GEN3 with 8G RAM and a i7-2600K 
CPU, running 32bit gentoo. There are no peripherals attached to any of 
the motherboard expansion slots.


--
Timur



[gentoo-user] WM that does not require policykit, consolekit, and gudev

2012-09-10 Thread Chris Stankevitz
Hello,

I installed twm to test my xorg as per the gentoo install docs.  Works great!

Then I decided to install what I thought would be a lightweight WM:
xfce4 with emerge -vat xfce4-meta.  Unfortunately emerge didn't want
to continue without some changes from me involving USE flags gudev,
policykit, and consolekit.

At this point I see three options:

1. Understand gudev, policykit, and consolekit and not be frightened
of them (a tall order given the google results I am getting).  Then
enable the USE flags and install xfce4-meta

2. Do not attempt to understand the USE flags and enable them anyway
(frightening given all the polictykit and consolekit chatter I see on
google)

3. Select another WM that is more lightweight and doesn't require
these USE flags.

I'm leaning towards (3).

Can you recommend a WM that will not require me to enable gudev,
policykit, and consolekit?

Thank you,

Chris



Re: [gentoo-user] WM that does not require policykit, consolekit, and gudev

2012-09-10 Thread Canek Peláez Valdés
On Mon, Sep 10, 2012 at 4:19 PM, Chris Stankevitz
chrisstankev...@gmail.com wrote:
[snip]
 1. Understand gudev, policykit, and consolekit and not be frightened
 of them (a tall order given the google results I am getting).  Then
 enable the USE flags and install xfce4-meta

FWIW, the idea behind gudev, polkit and (soon to be deprecated)
consolekit, is that you don't need to understand them; they should
just work. In my experience, that is the case.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



[gentoo-user] Gentoo is the best linux distro

2012-09-10 Thread Chris Stankevitz
Gentoo is the best distribution I have used (I haven't used too many:
ubuntu, fedora, gentoo).  I love the USE flags.  I love watching (and
questioning) what is going to be installed.  I love emerge.
Supposedly gentoo lacks being able to have a system just work
without thinking about anything.  But in my experience on linux, this
simply isn't the case anywhere.  With ubuntu, for example, I had
trouble with sound and ethernet cards that I could never figure out...
and the kind of answers I get on their forums drive me insane (my
uncle once said that his cousin typed this magical command and it
worked fine for a little while so maybe try that).

And what's the deal with these major release versions of the other
distros?  Why do that?

Thank you to all the people who contribute to it... and to those who
are giving great advice/solutions on this list!

Chris



Re: [gentoo-user] WM that does not require policykit, consolekit, and gudev

2012-09-10 Thread G.Wolfe Woodbury
On 09/10/2012 05:19 PM, Chris Stankevitz wrote:
 3. Select another WM that is more lightweight and doesn't require
 these USE flags.

 I'm leaning towards (3).

 Can you recommend a WM that will not require me to enable gudev,
 policykit, and consolekit?

When I want a real barebones desktop (say for a VM test) without all the
cruft of
GNOMNE or KDE, I generally use LXDE

  emerge ldxe-meta lxdm
  (two packages, the meta package does not include the desktop manager)

then config /etc/conf.d/xdm to start lxdm

Gets most of the useful stuff without committing to all of GNOME or KDE
LXDE will run most of the gtk based tools found in the app and x11-*
categories

Happy installing!

-- 
G.Wolfe Woodbury




Re: [gentoo-user] Gentoo is the best linux distro

2012-09-10 Thread Dale
Chris Stankevitz wrote:
 Gentoo is the best distribution I have used (I haven't used too many:
 ubuntu, fedora, gentoo).  I love the USE flags.  I love watching (and
 questioning) what is going to be installed.  I love emerge.
 Supposedly gentoo lacks being able to have a system just work
 without thinking about anything.  But in my experience on linux, this
 simply isn't the case anywhere.  With ubuntu, for example, I had
 trouble with sound and ethernet cards that I could never figure out...
 and the kind of answers I get on their forums drive me insane (my
 uncle once said that his cousin typed this magical command and it
 worked fine for a little while so maybe try that).

 And what's the deal with these major release versions of the other
 distros?  Why do that?

 Thank you to all the people who contribute to it... and to those who
 are giving great advice/solutions on this list!

 Chris




You should turn off the quiet build feature and watch all the stuff
scroll by.  Maybe just do that when you got some spare time.  Brownie
points if you can read and understand it all too.  lol

My brother has recently converted to Linux, with a LOT of my help.  I
put Kubuntu on his rig.  When I need help, I google then I ask here.  So
far, the folks here seem to know more about *ubuntu than the people that
actually have been using it for a while.  Sort of funny in a way.  Than
again, so sad.  :/ 

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] Heads-up; bash now uses readline USE flag

2012-09-10 Thread Volker Armin Hemmann
Am Montag, 10. September 2012, 15:19:38 schrieb Walter Dnes:
 On Sun, Sep 09, 2012 at 08:41:36AM +0100, Neil Bothwick wrote
 
  On Sat, 8 Sep 2012 23:42:45 -0400, Walter Dnes wrote:
Isn't readline enabled by default on all reasonable profiles? Do
you have USE=-* in make.conf? If so, it's just bitten you.

 Yup.  I did that to avoid further surprises after the developers in
   
   their infinite wisdom had IPV6 enabled by default on all reasonable
   profiles.  Watching Firefox and mplayer spinning their wheels for 45
   seconds at a time till IPV6 lookups timed out was not fun.
  
  I'd rather have that that an unusable shell. As was noted elsewhere
  this weekend, even if a USE flag is set but renamed, -* screws it up.
 
   So no matter what I do or don't do, a developer can find a way to
 screw me up.  Next thing you know, I'll have to re-partition my system
 or else replace udev with mdev, to boot up... oops.

wtf are you talking about? Just because you are unable to look at changed 
useflags when glancing over the output of emerge -a is not an excuse for using 
something idiotic like -*.

Doing so and then complaining is just vile.

-- 
#163933



Re: [gentoo-user] stage3/handbook mismatch

2012-09-10 Thread Mark Knecht
On Mon, Sep 10, 2012 at 11:13 AM, Chris Stankevitz
chrisstankev...@gmail.com wrote:
 On Sun, Sep 9, 2012 at 6:41 PM, Mark Knecht markkne...@gmail.com wrote:
 That's a very new change just announced globally today and only for
 new installs. Take a look at eselect news for more info.

 What a coincidence!  I went with the older stage3 approach.

 Thank you,

 Chris


I just switched 3 machines over to the new way. It works fine. eselect
profile set will create the new link in /etc/portage. I figure the
biggest issue for me is that I won't be able to mindlessly type vi
/etc/make.conf anymore. ;-)

Cheers,
Mark



Re: [gentoo-user] Gentoo is the best linux distro

2012-09-10 Thread Alan McKinnon
On Mon, 10 Sep 2012 14:46:14 -0700
Chris Stankevitz chrisstankev...@gmail.com wrote:

 Gentoo is the best distribution I have used (I haven't used too many:
 ubuntu, fedora, gentoo).  I love the USE flags.  I love watching (and
 questioning) what is going to be installed.  I love emerge.
 Supposedly gentoo lacks being able to have a system just work
 without thinking about anything.  But in my experience on linux, this
 simply isn't the case anywhere.  With ubuntu, for example, I had
 trouble with sound and ethernet cards that I could never figure out...
 and the kind of answers I get on their forums drive me insane (my
 uncle once said that his cousin typed this magical command and it
 worked fine for a little while so maybe try that).
 
 And what's the deal with these major release versions of the other
 distros?  Why do that?

They are binary distros so they have no choice. For the duration of
that version's life, all the packages shipped must all work together
and that is only possible if the ABI does not change.

The major version number is a way of recording what the hell you got:
look up the distro version somewhere and see what it says.

For the release to use new packages with their new magic features,
every other package using those packages must also be recompiled and
re-released to. You know about the current level of cluelessness on the
forums, imagine what would happen if there were 6 versions of every
package for every release.


I don't mean foo-1.2.3-ubuntu-1 vs foo-1.2.3-ubuntu-2 (which will
always be forward and backwards compatible), I mean foo-1.2.3 vs
foo-2.3.4 and a few bar packages that don't use foo anymore but do
use baz.

It would be a nightmare. The only sane way to deal with this is to peg
the packages at version levels and stick with it. Windows does this,
Mac OS does it, Solaris does it. And they do it because that's the only
thing that could work.

Gentoo has no need of major version numbers. It is source-based,
so it can do rolling releases. For any new package foo that changes
it's ABI, portage will find all packages bar that now need to be
updated, and then update them. This could never possibly work for
Ubuntu. Nothing else could possibly work for Gentoo.

Often when trying to understand why Gentoo works a certain way, it
helps to remember who exactly is the distro maintainer. Ubuntu has
maintainers that build packages for their Ubuntu versions and put the
binaries in a repo somewhere. 

Gentoo also has such people: You


 
 Thank you to all the people who contribute to it... and to those who
 are giving great advice/solutions on this list!
 
 Chris
 



-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] WM that does not require policykit, consolekit, and gudev

2012-09-10 Thread Alan McKinnon
On Mon, 10 Sep 2012 16:31:28 -0500
Canek Peláez Valdés can...@gmail.com wrote:

 On Mon, Sep 10, 2012 at 4:19 PM, Chris Stankevitz
 chrisstankev...@gmail.com wrote:
 [snip]
  1. Understand gudev, policykit, and consolekit and not be frightened
  of them (a tall order given the google results I am getting).  Then
  enable the USE flags and install xfce4-meta
 
 FWIW, the idea behind gudev, polkit and (soon to be deprecated)
 consolekit, is that you don't need to understand them; they should
 just work. In my experience, that is the case.

It's my experience that most of the features (or something
equivalent) offered by gudev, policykit and consolekit have to be
present anyway for things to work at all. Where are these features?
They are implemented in many various packages in many different ways
(often poorly).

It's a good idea to rip all of that out of the many places it's hiding
and put one implementation in one place where it can be understood.
Yes, these packages can be chatty. the lack of chattyness in other
packages doesn't mean they don't attempt the same function, it just
means they don't announce they do.

dbus is similar. Whichever way code is written, some kind of IPC is
going to be needed. It might as well be on a bus and it might as well be
dbus.

Now, if only way can get around to doing the same for regular
expressions. last time I looked I had at least 5 implementations of
regex, all different...


-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Gentoo is the best linux distro

2012-09-10 Thread G.Wolfe Woodbury
On 09/10/2012 05:46 PM, Chris Stankevitz wrote:
 Gentoo is the best distribution I have used (I haven't used too many:
 ubuntu, fedora, gentoo).  I love the USE flags.  I love watching (and
 questioning) what is going to be installed.  I love emerge.
 Supposedly gentoo lacks being able to have a system just work
 without thinking about anything.  But in my experience on linux, this
 simply isn't the case anywhere.  With ubuntu, for example, I had
 trouble with sound and ethernet cards that I could never figure out...
 and the kind of answers I get on their forums drive me insane (my
 uncle once said that his cousin typed this magical command and it
 worked fine for a little while so maybe try that).

 And what's the deal with these major release versions of the other
 distros?  Why do that?
Most of the binary based distributions have tied their stars to the
major desktop
environments. [For example Fedora is heavily tied to RedHat and the GNOME
desktop, and many RedHat employees are major GNOME developers.]

Fedora/GNOME is very nice for modern hardware and mostly just works
because
a lot of effort goes into testing each major release.  But the GNOME
philosophy has
become one of hiding the inner workings of GNU/Linux in much the same
manner that
Microsoft hides all the innards of Windows.  But Fedora is also the most
'bleeding edge
distribution, getting the latest and greatest every six monthe or so.

Debian and Ubuntu are also dedicated to producing desktop ready
distributions
that hide everything under the hood.  The try to provide a more stable
environment as well.

All the binary distributions will have trouble getting the hardware
environment correct.
They just can't move fast enough to deal with the latest and greatest,
or  even the tried
and true older stuff.  Their Linux kernels have to try to please
everybody and deal in
a reasonable manner with what comes from the computer system makers. 
This requires
them to put everything (and the kitchen sink!) in the mix, and hope it
holds together.
Gentoo, encouraging the building of a customized kernel for the hardware
being used,
gets the advantages of clean and lean and best speed available.

Gentoo has become my favorite distribution since it is the most
customizeable and doesn't
force the users to accept too much crap along with the most useable
bits. The documentation
provides relatively clear explanations of why in addition to the
how  The Gentoo Handbook
is one of the most accessible install documents around.

I've been using UNIX since 1977, and Linux/GNU from its invention. 
Gentoo provies the
right balance between having the good stuff easily installable, and
being able to configure
exactly what is wanted.

Have fun with Gentoo.

-- 
G.Wolfe Woodbury
aka redwolfe (fedora proventester :-)



Re: [gentoo-user] Heads-up; bash now uses readline USE flag

2012-09-10 Thread Alan McKinnon
On Tue, 11 Sep 2012 00:07:08 +0200
Volker Armin Hemmann volkerar...@googlemail.com wrote:

 Am Montag, 10. September 2012, 15:19:38 schrieb Walter Dnes:
  On Sun, Sep 09, 2012 at 08:41:36AM +0100, Neil Bothwick wrote
  
   On Sat, 8 Sep 2012 23:42:45 -0400, Walter Dnes wrote:
 Isn't readline enabled by default on all reasonable profiles?
 Do you have USE=-* in make.conf? If so, it's just bitten you.
 
  Yup.  I did that to avoid further surprises after the
developers in

their infinite wisdom had IPV6 enabled by default on all
reasonable profiles.  Watching Firefox and mplayer spinning
their wheels for 45 seconds at a time till IPV6 lookups timed
out was not fun.
   
   I'd rather have that that an unusable shell. As was noted
   elsewhere this weekend, even if a USE flag is set but renamed, -*
   screws it up.
  
So no matter what I do or don't do, a developer can find a way to
  screw me up.  Next thing you know, I'll have to re-partition my
  system or else replace udev with mdev, to boot up... oops.
 
 wtf are you talking about? Just because you are unable to look at
 changed useflags when glancing over the output of emerge -a is not an
 excuse for using something idiotic like -*.
 
 Doing so and then complaining is just vile.
 

He seems to have reacted badly to a singular bad experience with a
dodgy ebuild.

It's a classic case of seeing the one occasion where something went
wrong and not see the 999 cases where it didn't. Then truing to deal
with the 1 for the future just in case

I get a similar kind of thing often at work. Someone makes a mistake
and a chunk of the network goes down. The next day I might get a
draconian mail from some manager demanding that vast sweeping changes
to login rules be implemented just in case this ever happens again.

Lucky for the company I have some cajones and just say no. Then I
investigate and 3 times out of 4 I find the broken router is running
some weird version of Cisco IOS which does something completely
unexpected with a perfectly ordinary command. The other 1 time I always
find a bat-shit crazy business customization that no sane engineer
would ever have signed off on.

The solution is never to try change the behaviour of all the humans.
The solution is to change the behaviour of the one faulty machine when
it breaks, and have many smart humans around with brains that can spot
the busted machine quickly. 


-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Heads-up; bash now uses readline USE flag

2012-09-10 Thread Neil Bothwick
On Mon, 10 Sep 2012 15:19:38 -0400, Walter Dnes wrote:

  I'd rather have that that an unusable shell. As was noted elsewhere
  this weekend, even if a USE flag is set but renamed, -* screws it
  up.  
 
   So no matter what I do or don't do, a developer can find a way to
 screw me up.

Yes, but since the devs know far more about the workings of the system
and the interrelationships of its components than I do, I prefer to work
with them than against them.

I prefer to start with a known, working profile and tweak it. Rather than
deliberately break everything and then apply my own fixes just to avoid
the odd chance anyone else accidentally breaking it for me.


-- 
Neil Bothwick

.-Stealth Tagline


signature.asc
Description: PGP signature


[gentoo-user] USB automount

2012-09-10 Thread Chris Stankevitz
Hello,

Can someone refer me to a source that explains how when I plug in a
USB thumb drive it appears on my XFCE4 desktop (or any other WM)?
Ideally the answer will use words like:
daemon
hal
udev
policykit
consolekit
/etc/init.d/*
hotplug
gvfs
mount
automount
pmount
gnome-volume-manager
udisks
fstab
mtab

Also, ideally after I know about it I'd like to be able to
understand and derive on my own the answer to this question: is it
possible for TWM to recognize when I plug in a USB thumbdrive and
display it for me to use.

Thank you!

Chris



Re: [gentoo-user] Having the possibility to set the system-wide locale settings

2012-09-10 Thread Paul Hartman
On Mon, Sep 10, 2012 at 1:20 PM, Chris Stankevitz
chrisstankev...@gmail.com wrote:
 On Sun, Sep 9, 2012 at 10:05 PM, Joshua Murphy poiso...@gmail.com wrote:
 A 'locale' is a collection of character set, language, date/time
 format, currency format, etc

 Josh,

 Thank you.  I now understand what a locale is.  It is surprising to
 me that the string en_US.UTF8 tells the OS about currency,
 date/time, etc.  I always thought UTF8 was just a character
 encoding (not really sure what that is either but I would not have
 guessed that UTF8 describes where the commas go in a currency).


It doesn't, really. :) The locale code is typically composed of the format:

language_region.encoding

So for en_US.UTF8, language (en = English), region (US = United
States), and encoding (UTF8 = Unicode). In this case the region code
is where it will get the information about currency format etc.

Some places also have an additional script identifier (languages which
can be written in both Latin and Cyrillic, for example), and other
modifiers are allowed to specify currencies, calendar formats, number
system, etc. which might not be easily implied simply by knowing the
language and country.



Re: [gentoo-user] WM that does not require policykit, consolekit, and gudev

2012-09-10 Thread Jorge Almeida
On Mon, Sep 10, 2012 at 10:19 PM, Chris Stankevitz
chrisstankev...@gmail.com wrote:

 3. Select another WM that is more lightweight and doesn't require
 these USE flags.

 I'm leaning towards (3).

 Can you recommend a WM that will not require me to enable gudev,
 policykit, and consolekit?

I think openbox doesn't require any of that crap. I'm sure openbox is an
excellent WM. If you're a keyboard person, it's easily customizable.

Jorge Almeida



Re: [gentoo-user] WM that does not require policykit, consolekit, and gudev

2012-09-10 Thread Michael Mol
On Sep 10, 2012 7:14 PM, Chris Stankevitz chrisstankev...@gmail.com
wrote:

 Hello,

 I installed twm to test my xorg as per the gentoo install docs.  Works
great!

 Then I decided to install what I thought would be a lightweight WM:
 xfce4 with emerge -vat xfce4-meta.  Unfortunately emerge didn't want
 to continue without some changes from me involving USE flags gudev,
 policykit, and consolekit.

 At this point I see three options:

 1. Understand gudev, policykit, and consolekit and not be frightened
 of them (a tall order given the google results I am getting).  Then
 enable the USE flags and install xfce4-meta

 2. Do not attempt to understand the USE flags and enable them anyway
 (frightening given all the polictykit and consolekit chatter I see on
 google)

 3. Select another WM that is more lightweight and doesn't require
 these USE flags.

 I'm leaning towards (3).

 Can you recommend a WM that will not require me to enable gudev,
 policykit, and consolekit?

 Thank you,

 Chris

I'm very fond of 'awesome'. It has a steep learning curve, but, once
climbed, it lives up to its name.


Re: [gentoo-user] Gentoo is the best linux distro

2012-09-10 Thread Paul Hartman
On Mon, Sep 10, 2012 at 4:46 PM, Chris Stankevitz
chrisstankev...@gmail.com wrote:
 Gentoo is the best distribution I have used (I haven't used too many:
 ubuntu, fedora, gentoo).  I love the USE flags.  I love watching (and
 questioning) what is going to be installed.  I love emerge.
 Supposedly gentoo lacks being able to have a system just work
 without thinking about anything.  But in my experience on linux, this
 simply isn't the case anywhere.  With ubuntu, for example, I had
 trouble with sound and ethernet cards that I could never figure out...
 and the kind of answers I get on their forums drive me insane (my
 uncle once said that his cousin typed this magical command and it
 worked fine for a little while so maybe try that).

That's how I felt, too, in 2003 or 2004 when I first installed Gentoo,
and I've been using it ever since and still feel the same way. I've
tried other distros but Gentoo feels the most natural to me. I'm okay
with more responsibility in exchange for more control over my system.

Yeah, sometimes it makes you think about what you're doing more than
some other distros, but I don't see that as a bad thing. Thinking is
fun.



Re: [gentoo-user] Re: Reinstall + switch to KDE

2012-09-10 Thread Frank Steinmetzger
On Mon, Sep 10, 2012 at 09:36:25PM +0200, Alan McKinnon wrote:
 On Mon, 10 Sep 2012 12:53:41 -0400
 Andrey Moshbear andrey@gmail.com wrote:
 
  On Mon, Sep 10, 2012 at 12:43 PM, Nikos Chantziaras
  rea...@gmail.com wrote:
   On 10/09/12 19:12, Samuraiii wrote:
  
   Hello,
   because I broke me PC and I need to reinstall it I'm going ask what
   should I preserve to make install faster:
  
   So what *is* broken?  The hardware?  If you have a new PC, you
   simply need to transfer your Gentoo install to a new hard disk
   using rsync.
  
  He borked his /usr/include due to an improperly-written uninstall rule
  in a Makefile.

What about a script that looks for all installed packages, looks at what they
installed into /usr/include, and extracts those files from the sources?

Just some basic thoughts:

Get all file lists for installed packages:
find /var/db/pkg/ -type f -name CONTENTS

# extract package name and version from path of the file, e.g.
/var/db/pkg/kde-base/kdelibs-4.9.1/CONTENT
would yield name = kde-base/kdelibs, version = 4.9.1

Find out the source archive file from the ebuild (there's probably a nice
python way for this. As a last resort, some one-liner like
emerge -pvfO =$name-$version|sed -n '1s_.*/\(.*\) .*_\1_gp'
which gets the filename of the first URL that emerge spits out.

Now extract all those files from the source archive whose path starts with
/usr/include in the CONTENTS file.
-- 
Gruß | Greetings | Qapla'
Please do not share anything from, with or about me with any Facebook service.

The situation is hopeless, but not serious.


signature.asc
Description: Digital signature


Re: [gentoo-user] Gentoo is the best linux distro

2012-09-10 Thread Mark Knecht
On Mon, Sep 10, 2012 at 2:46 PM, Chris Stankevitz
chrisstankev...@gmail.com wrote:
 Gentoo is the best distribution I have used (I haven't used too many:
 ubuntu, fedora, gentoo).  I love the USE flags.  I love watching (and
 questioning) what is going to be installed.  I love emerge.
 Supposedly gentoo lacks being able to have a system just work
 without thinking about anything.  But in my experience on linux, this
 simply isn't the case anywhere.  With ubuntu, for example, I had
 trouble with sound and ethernet cards that I could never figure out...
 and the kind of answers I get on their forums drive me insane (my
 uncle once said that his cousin typed this magical command and it
 worked fine for a little while so maybe try that).

 And what's the deal with these major release versions of the other
 distros?  Why do that?

 Thank you to all the people who contribute to it... and to those who
 are giving great advice/solutions on this list!

 Chris


Like Paul and many others I've never looked back. I'm no power user,
and contrary to a lot of the press out there I don't think you need to
be to use this distro. Just be careful and red a bit. I've been
helping a long time trading partner friend of mine with his move to
Gentoo over the last year. He's hardly using native Windows anymore.
He just runs a bunch of VMs like I do.

Don't go doing anything crazy with your use flags. Yeah, they are
cool, but my experience, especially in the beginning, is that less is
more. I only have about 10 in make.conf on any of the 10 or so
machines we have in our family now. I add a few in package.use when
I'm forced to. Other than that KISS.

Good luck  welcome to the family.

Cheers,
Mark



Re: [gentoo-user] Gentoo is the best linux distro

2012-09-10 Thread Chris Stankevitz
On Mon, Sep 10, 2012 at 3:12 PM, Alan McKinnon alan.mckin...@gmail.com wrote:
 For the release to use new packages with their new magic features,
 every other package using those packages must also be recompiled

I see now.

 The only sane way to deal with this is to peg
 the packages at version levels and stick with it.

I see

 that's the only
 thing that could work.

I completely get it now.  Great explanation, thank you!  I'm a little
embarrassed though that I didn't consider there was a technical reason
for the major versions.  I just assumed it was done for marketing
reasons.

Chris



[gentoo-user] emerge xfce-base/thunar: lobotomy needed

2012-09-10 Thread Chris Stankevitz
I installed xfce4-meta and was a little surprised to see it did not
come with thunar.   When I tried to install it, portage became upset.

Question: is it normal that I would have to ~amd64 a bunch of packages
and deal with slot conflicts and static-libs to install a file
manager?  FYI I am running a stable (non-~AMD64) system.

Thank you,

Chris

===

# emerge -pv xfce-base/thunar

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

Calculating dependencies... done!

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-libs/libgcrypt:0

  (dev-libs/libgcrypt-1.5.0-r2::gentoo, ebuild scheduled for merge) pulled in by
dev-libs/libgcrypt[static-libs] required by
(sys-fs/cryptsetup-1.4.1::gentoo, ebuild scheduled for merge)

  (dev-libs/libgcrypt-1.5.0-r2::gentoo, installed) pulled in by
(no parents that aren't satisfied by other packages in this slot)

sys-libs/zlib:0

  (sys-libs/zlib-1.2.5.1-r2::gentoo, installed) pulled in by
(no parents that aren't satisfied by other packages in this slot)

  (sys-libs/zlib-1.2.7::gentoo, ebuild scheduled for merge) pulled in by
=sys-libs/zlib-1.2.6 required by (sys-apps/kmod-10::gentoo,
ebuild scheduled for merge)

dev-libs/popt:0

  (dev-libs/popt-1.16-r1::gentoo, ebuild scheduled for merge) pulled in by
=dev-libs/popt-1.16-r1[static-libs] required by
(sys-fs/cryptsetup-1.4.1::gentoo, ebuild scheduled for merge)

  (dev-libs/popt-1.16-r1::gentoo, installed) pulled in by
(no parents that aren't satisfied by other packages in this slot)

dev-libs/glib:2

  (dev-libs/glib-2.32.4::gentoo, ebuild scheduled for merge) pulled in by
=dev-libs/glib-2.32.4:2 required by
(dev-util/gdbus-codegen-2.32.4::gentoo, ebuild scheduled for merge)
(and 3 more with the same problem)

  (dev-libs/glib-2.30.3::gentoo, installed) pulled in by
(no parents that aren't satisfied by other packages in this slot)


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously. You may want to try a larger value of
the --backtrack option, such as --backtrack=30, in order to see if
that will solve this conflict automatically.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.


The following keyword changes are necessary to proceed:
#required by sys-fs/udisks-1.99.0-r1, required by
gnome-base/gvfs-1.12.3[udisks], required by
xfce-base/thunar-1.4.0[dbus,xfce_plugins_trash], required by
xfce-base/thunar (argument)
=sys-auth/polkit-0.107 ~amd64
#required by dev-util/gdbus-codegen-2.32.4, required by
sys-fs/udisks-1.99.0-r1, required by gnome-base/gvfs-1.12.3[udisks],
required by xfce-base/thunar-1.4.0[dbus,xfce_plugins_trash], required
by xfce-base/thunar (argument)
=dev-libs/glib-2.32.4 ~amd64
#required by sys-fs/udev-init-scripts-16
=sys-fs/udev-189 ~amd64
#required by sys-fs/udev-189[openrc], required by
dev-libs/libatasmart-0.19, required by sys-fs/udisks-1.99.0-r1,
required by gnome-base/gvfs-1.12.3[udisks], required by
xfce-base/thunar-1.4.0[dbus,xfce_plugins_trash], required by
xfce-base/thunar (argument)
=sys-fs/udev-init-scripts-16 ~amd64
#required by sys-fs/udev-189, required by sys-fs/udev-init-scripts-16
=sys-apps/kmod-10 ~amd64
#required by sys-apps/kmod-10[zlib], required by sys-fs/udev-189,
required by sys-fs/udev-init-scripts-16
=sys-libs/zlib-1.2.7 ~amd64
#required by xfce-base/thunar-1.4.0[dbus,xfce_plugins_trash], required
by xfce-base/thunar (argument)
=gnome-base/gvfs-1.12.3 ~amd64
#required by gnome-base/gvfs-1.12.3[udisks], required by
xfce-base/thunar-1.4.0[dbus,xfce_plugins_trash], required by
xfce-base/thunar (argument)
=sys-fs/udisks-1.99.0-r1 ~amd64
#required by sys-fs/udisks-1.99.0-r1, required by
gnome-base/gvfs-1.12.3[udisks], required by
xfce-base/thunar-1.4.0[dbus,xfce_plugins_trash], required by
xfce-base/thunar (argument)
=dev-util/gdbus-codegen-2.32.4 ~amd64
#required by sys-fs/udev-189[hwdb], required by sys-fs/udev-init-scripts-16
=sys-apps/hwids-20120831 ~amd64
#required by sys-auth/polkit-0.107, required by
sys-fs/udisks-1.99.0-r1, required by gnome-base/gvfs-1.12.3[udisks],
required by xfce-base/thunar-1.4.0[dbus,xfce_plugins_trash], required
by xfce-base/thunar (argument)
=dev-lang/spidermonkey-1.8.5-r1 ~amd64

The following USE changes are necessary to proceed:
#required by xfce-base/thunar-1.4.0[dbus,xfce_plugins_trash], required
by xfce-base/thunar (argument)
=gnome-base/gvfs-1.12.3 udisks
#required by sys-fs/cryptsetup-1.4.1[static], required by
sys-fs/udisks-1.99.0-r1[crypt], required by
gnome-base/gvfs-1.12.3[udisks], required by

Re: [gentoo-user] emerge xfce-base/thunar: lobotomy needed

2012-09-10 Thread Mark Knecht
On Mon, Sep 10, 2012 at 5:53 PM, Chris Stankevitz
chrisstankev...@gmail.com wrote:
 I installed xfce4-meta and was a little surprised to see it did not
 come with thunar.   When I tried to install it, portage became upset.

 Question: is it normal that I would have to ~amd64 a bunch of packages
 and deal with slot conflicts and static-libs to install a file
 manager?  FYI I am running a stable (non-~AMD64) system.

 Thank you,

 Chris

My wife uses XFCE with none of that confusion going on. I don't have
anything much on the machine in terms of controlling XFCE. It just
works. The machine was updated a few days ago so unless something got
messed up in portage it sounds like a config issue on your end to me.

HTH,
Mark

k2 ~ # eix -Ic xfce
[U] x11-themes/gtk-engines-xfce (3.0.0-r200{tbz2}@05/17/12 -
3.0.0-r200{tbz2} 3.0.0-r300(3)): A port of Xfce engine to GTK+-3.x
[I] xfce-base/libxfce4ui (4.10.0{tbz2}@05/22/12): Unified widgets and
session management libraries for the Xfce desktop environment
[I] xfce-base/libxfce4util (4.10.0{tbz2}@05/22/12): A basic utility
library for the Xfce desktop environment
[I] xfce-base/libxfcegui4 (4.10.0{tbz2}@05/22/12): A compability
library for unported Xfce 4.6 plugins
[I] xfce-base/xfce4-appfinder (4.10.0{tbz2}@05/22/12): A tool to find
and launch installed applications for the Xfce desktop environment
[I] xfce-base/xfce4-meta (4.10{tbz2}@05/22/12): The Xfce Desktop
Environment (meta package)
[I] xfce-base/xfce4-panel (4.10.0{tbz2}@05/22/12): Panel for the Xfce
desktop environment
[I] xfce-base/xfce4-session (4.10.0{tbz2}@05/22/12): A session manager
for the Xfce desktop environment
[I] xfce-base/xfce4-settings (4.10.0{tbz2}@05/22/12): Configuration
system for the Xfce desktop environment
[I] xfce-extra/xfce4-datetime-plugin (0.6.1{tbz2}@05/22/12): A panel
plug-in with date, time and embedded calender
[I] xfce-extra/xfce4-mixer (4.8.0{tbz2}@05/22/12): A volume control
application (and panel plug-in) for the Xfce desktop environment
[I] xfce-extra/xfce4-notes-plugin (1.7.7{tbz2}@05/22/12): Xfce4 panel
sticky notes plugin
[I] xfce-extra/xfce4-timer-plugin (0.6.4{tbz2}@05/22/12): A simple
timer plug-in for the Xfce desktop environment
Found 13 matches.
k2 ~ # eix -Ic thunar
[I] xfce-base/thunar (1.4.0{tbz2}@06/12/12): File manager for the Xfce
desktop environment
k2 ~ # cat /etc/portage/package.keywords | grep xfce
k2 ~ # cat /etc/portage/package.use | grep xfce
k2 ~ #



Re: [gentoo-user] emerge xfce-base/thunar: lobotomy needed

2012-09-10 Thread Canek Peláez Valdés
On Mon, Sep 10, 2012 at 7:53 PM, Chris Stankevitz
chrisstankev...@gmail.com wrote:
 I installed xfce4-meta and was a little surprised to see it did not
 come with thunar.   When I tried to install it, portage became upset.

 Question: is it normal that I would have to ~amd64 a bunch of packages
 and deal with slot conflicts and static-libs to install a file
 manager?  FYI I am running a stable (non-~AMD64) system.

 Thank you,

The problem seems to be the use of static libraries (which I firmly
believe are completely useless in a modern Linux system). I don't have
enabled *any* static nor static-libs flag in my whole system (a full
fledged GNOME 3 desktop), and neither in my server.

Try reemerging world with USE=-static -static-libs, and then try to
emerge thunar also with USE=-static -static-libs.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] emerge xfce-base/thunar: lobotomy needed

2012-09-10 Thread Chris Stankevitz
On Mon, Sep 10, 2012 at 6:08 PM, Canek Peláez Valdés can...@gmail.com wrote:
 Try reemerging world with USE=-static -static-libs, and then try to
 emerge thunar also with USE=-static -static-libs.

Canek,

Thank you for your help.  I
1. added -static -static-libs to /etc/make.conf USE.
2. emerge --newuse --deep world (rebuilt only glib)
3. emerge -pv thunar (also with the use flag enabled although thunar
seems to not use that USE flag?).

I got farther this time, but it seems that emerge is still asking a lot of me.

Eventhough I think it's odd (and a sign that I screwed up somewhere),
I can satisfy the USE flag requests and the ~amd64 requests.

I do not know how to solve the slot conflicts.

Thanks again for your help,

Chris

PS: This is a new install without anything fancy AFAIK.  I synced
portage about 10 hours ago.

===

drg ~ # emerge -pv thunar

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

Calculating dependencies... done!
[ebuild  N~] sys-apps/hwids-20120831  360 kB
[ebuild U ~] sys-libs/zlib-1.2.7 [1.2.5.1-r2] USE=-minizip
-static-libs 548 kB
[ebuild  N ] dev-libs/icu-49.1.2  USE=-debug -doc -examples
-static-libs 18,566 kB
[ebuild  N ] sys-apps/gptfdisk-0.8.4  179 kB
[ebuild  N ] app-arch/zip-3.0  USE=bzip2 crypt unicode 1,258 kB
[ebuild  N ] dev-libs/libtasn1-2.12  USE=-doc -static-libs 1,906 kB
[ebuild  NS] sys-devel/autoconf-2.13 [2.68] 434 kB
[ebuild  N ] dev-libs/nspr-4.9.2  USE=-debug 1,145 kB
[ebuild  N ] dev-libs/nettle-2.4  USE=gmp 1,051 kB
[ebuild  N ] gnome-base/orbit-2.14.19-r1  USE=-debug -doc -test 747 kB
[ebuild  N~] dev-lang/spidermonkey-1.8.5-r1  USE=-debug
-static-libs -test 6,021 kB
[ebuild  N ] dev-libs/elfutils-0.149  USE=bzip2 nls zlib -lzma 1,780 kB
[ebuild  N ] net-libs/gnutls-2.12.18  USE=cxx nettle nls zlib
-bindist -doc -examples -guile -lzo -pkcs11 -static-libs -test 7,040
kB
[ebuild  N ] sys-block/parted-3.1  USE=debug nls readline
-device-mapper (-selinux) -static-libs -test 1,489 kB
[ebuild  N ] sys-block/eject-2.1.5-r2  USE=nls 121 kB
[ebuild U ~] dev-libs/glib-2.32.4 [2.30.3] USE=-debug -doc (-fam)
(-selinux) -static-libs -systemtap -test -utils -xattr 6,034 kB
[ebuild  N ] gnome-base/gsettings-desktop-schemas-3.2.0-r1  152 kB
[ebuild  N ] virtual/eject-0  0 kB
[ebuild  N ] net-libs/libproxy-0.4.7  USE=python -gnome -kde
-mono -networkmanager -perl -test 89 kB
[ebuild  N ] net-libs/glib-networking-2.30.2  USE=gnome libproxy
ssl 291 kB
[ebuild  N ] net-libs/libsoup-2.36.1-r1  USE=introspection ssl
-debug -doc -samba -test 595 kB
[ebuild  N~] dev-util/gdbus-codegen-2.32.4
PYTHON_TARGETS=python2_7 python3_2 -python2_5 -python2_6 -python3_1
0 kB
[ebuild  N ] gnome-base/gconf-2.32.4  USE=introspection -debug
-doc -ldap -policykit 1,296 kB
[ebuild  N ] gnome-base/gnome-keyring-2.32.1-r1  USE=pam -debug
-doc -test 1,582 kB
[ebuild  N ] gnome-base/libgnome-keyring-2.32.0  USE=-debug -doc
-test 403 kB
[ebuild  N ] net-libs/libsoup-gnome-2.36.1  USE=introspection
-debug -doc 0 kB
[ebuild  N~] sys-apps/kmod-10  USE=tools zlib -debug -doc -lzma
-static-libs 1,100 kB
[uninstall ] sys-apps/module-init-tools-3.16-r1  USE=-static
[blocks b  ] sys-apps/kmod (sys-apps/kmod is blocking
sys-apps/module-init-tools-3.16-r1)
[blocks b  ] sys-apps/module-init-tools
(sys-apps/module-init-tools is blocking sys-apps/kmod-10)
[ebuild U ~] sys-auth/polkit-0.107 [0.104-r1] USE=introspection
nls pam -examples -gtk -kde (-selinux) -systemd (-debug%) (-doc%)
1,351 kB
[ebuild U ~] sys-fs/udev-189 [171-r6] USE=acl%* gudev hwdb*
openrc%* -doc% -introspection -keymap (-selinux) -static-libs%
(-action_modeswitch%) (-build%) (-debug%) (-edd%) (-extras%)
(-floppy%) (-rule_generator%*) (-test%) 1,341 kB
[blocks b  ] sys-fs/udev-186 (sys-fs/udev-186 is blocking
sys-fs/udev-init-scripts-16)
[ebuild  N~] sys-fs/udev-init-scripts-16  5 kB
[ebuild  N ] dev-libs/libatasmart-0.19  USE=-static-libs 246 kB
[ebuild  N ] sys-fs/lvm2-2.02.88  USE=lvm1 readline (-clvm)
(-cman) (-selinux) -static -static-libs 1,006 kB
[ebuild  N ] sys-fs/cryptsetup-1.4.1  USE=nls (-selinux) -static 755 kB
[ebuild  N~] sys-fs/udisks-1.99.0-r1  USE=crypt gptfdisk
introspection -debug -systemd 713 kB
[ebuild  N~] gnome-base/gvfs-1.12.3  USE=http udev udisks -afp
-archive -avahi -bluetooth -bluray -cdda -doc -fuse -gdu
-gnome-keyring -gphoto2 -ios -samba 1,332 kB
[ebuild  N ] xfce-base/thunar-1.4.0  USE=dbus pcre udev -debug
-exif -libnotify -startup-notification -test XFCE_PLUGINS=trash
1,871 kB
[blocks B  ] sys-apps/pciutils-3.1.9-r2
(sys-apps/pciutils-3.1.9-r2 is blocking sys-apps/hwids-20120831)
[blocks B  ] sys-apps/portage-2.1.10.58
(sys-apps/portage-2.1.10.58 is blocking
dev-util/gdbus-codegen-2.32.4)
[blocks B  ] sys-apps/openrc-0.9.9 (sys-apps/openrc-0.9.9 is
blocking sys-fs/udev-189)


Total: 36 packages (4 upgrades, 31 new, 1 in new slot, 1 

Re: [gentoo-user] stage3/handbook mismatch

2012-09-10 Thread Pandu Poluan
On Sep 11, 2012 5:19 AM, Mark Knecht markkne...@gmail.com wrote:

 On Mon, Sep 10, 2012 at 11:13 AM, Chris Stankevitz
 chrisstankev...@gmail.com wrote:
  On Sun, Sep 9, 2012 at 6:41 PM, Mark Knecht markkne...@gmail.com
wrote:
  That's a very new change just announced globally today and only for
  new installs. Take a look at eselect news for more info.
 
  What a coincidence!  I went with the older stage3 approach.
 
  Thank you,
 
  Chris
 

 I just switched 3 machines over to the new way. It works fine. eselect
 profile set will create the new link in /etc/portage. I figure the
 biggest issue for me is that I won't be able to mindlessly type vi
 /etc/make.conf anymore. ;-)


Ahh... the curse of muscle memory... I bet I'll experience some dumbfounded
moments for at least one week, staring at an empty vi screen due to muscle
memory typing /etc/make.conf instead of /etc/portage/make.conf ... :-P

Rgds,


Re: [gentoo-user] emerge xfce-base/thunar: lobotomy needed

2012-09-10 Thread Canek Peláez Valdés
On Mon, Sep 10, 2012 at 8:26 PM, Chris Stankevitz
chrisstankev...@gmail.com wrote:
[snip]

 I got farther this time, but it seems that emerge is still asking a lot of me.

 Eventhough I think it's odd (and a sign that I screwed up somewhere),
 I can satisfy the USE flag requests and the ~amd64 requests.

 I do not know how to solve the slot conflicts.

This is weird. xfce-base/thunar-1.4.0 (the only available version) is
stable; every one of its dependencies should be stable. You should not
require to keyword any package.

Can I see your  USE variable in /etc/make.conf (or
/etc/portage/make.conf, if you use the new recommended location)?
Also, if you have it, your /etc/portage/package.use file or files?

I have an old server running without nothing X-related, and portage
allows me to merge thunar by just setting X and gudev to my USE
flags.

Also, your xfce-meta installation didn't pull thunar because you
didn't set the (surprise) thunar USE flag. Before merging something,
do a:

emerge -pv xfce-meta

You will see the possible USE flags, and which ones are set.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] emerge xfce-base/thunar: lobotomy needed

2012-09-10 Thread Chris Stankevitz
On Mon, Sep 10, 2012 at 6:08 PM, Canek Peláez Valdés can...@gmail.com wrote:
 The problem seems to be the use of static libraries

I temporarily worked around by adding xfce-base/thunar -udev to
package.use.  Somehow building thunar with udev introduced the mess.

Chris



Re: [gentoo-user] stage3/handbook mismatch

2012-09-10 Thread Mark Knecht
On Mon, Sep 10, 2012 at 6:49 PM, Pandu Poluan pa...@poluan.info wrote:

 On Sep 11, 2012 5:19 AM, Mark Knecht markkne...@gmail.com wrote:

 On Mon, Sep 10, 2012 at 11:13 AM, Chris Stankevitz
 chrisstankev...@gmail.com wrote:
  On Sun, Sep 9, 2012 at 6:41 PM, Mark Knecht markkne...@gmail.com
  wrote:
  That's a very new change just announced globally today and only for
  new installs. Take a look at eselect news for more info.
 
  What a coincidence!  I went with the older stage3 approach.
 
  Thank you,
 
  Chris
 

 I just switched 3 machines over to the new way. It works fine. eselect
 profile set will create the new link in /etc/portage. I figure the
 biggest issue for me is that I won't be able to mindlessly type vi
 /etc/make.conf anymore. ;-)


 Ahh... the curse of muscle memory... I bet I'll experience some dumbfounded
 moments for at least one week, staring at an empty vi screen due to muscle
 memory typing /etc/make.conf instead of /etc/portage/make.conf ... :-P

 Rgds,

Someone else suggested (or I think they suggested) putting a link at
/etc/make.conf pointing at the new location. That might help with that
problem. I'm just gonna force myself to learn the new location but
like you're worried about I've already done it a couple of times
today!

- Mark



Re: [gentoo-user] emerge xfce-base/thunar: lobotomy needed

2012-09-10 Thread Chris Stankevitz
On Mon, Sep 10, 2012 at 6:53 PM, Canek Peláez Valdés can...@gmail.com wrote:
 Can I see your  USE

Canek,

Thank you for your help.  My USE flags are pretty benign.  I'm
beginning to suspect something is grossly wrong with my setup.  Below
I will post my USE line from make.conf and my entire package.use.

# make.conf
#
# 2012-09-10: Added udev, X, python to appease xorg
# 2012-09-10: Added -gnome dbus to appease the xfce configuration guide
USE=mmx sse sse2 udev X python -gnome dbus

# package.use
# 2012-09-10: appease xfce4-meta
sys-fs/udev gudev
sys-auth/consolekit policykit
sys-auth/pambase consolekit

# 2012-09-10: appease thunar
xfce-base/thunar -udev

 Also, your xfce-meta installation didn't pull thunar because you
 didn't set the (surprise) thunar USE flag.

Ahh.  It's coming back to me now.  I believe I had it set originally
but dropped it when I discovered the mess it created.

Thank you,

Chris



Re: [gentoo-user] Gentoo is the best linux distro

2012-09-10 Thread Pandu Poluan
On Sep 11, 2012 6:40 AM, Paul Hartman paul.hartman+gen...@gmail.com
wrote:

 On Mon, Sep 10, 2012 at 4:46 PM, Chris Stankevitz
 chrisstankev...@gmail.com wrote:
  Gentoo is the best distribution I have used (I haven't used too many:
  ubuntu, fedora, gentoo).  I love the USE flags.  I love watching (and
  questioning) what is going to be installed.  I love emerge.
  Supposedly gentoo lacks being able to have a system just work
  without thinking about anything.  But in my experience on linux, this
  simply isn't the case anywhere.  With ubuntu, for example, I had
  trouble with sound and ethernet cards that I could never figure out...
  and the kind of answers I get on their forums drive me insane (my
  uncle once said that his cousin typed this magical command and it
  worked fine for a little while so maybe try that).

 That's how I felt, too, in 2003 or 2004 when I first installed Gentoo,
 and I've been using it ever since and still feel the same way. I've
 tried other distros but Gentoo feels the most natural to me. I'm okay
 with more responsibility in exchange for more control over my system.

 Yeah, sometimes it makes you think about what you're doing more than
 some other distros, but I don't see that as a bad thing. Thinking is
 fun.


This thread reminds me of a page I've posted here quite some times ago:

http://mark.orbum.net/2011/11/15/the-pan-pipes-of-gentoo-linux-always-at-the-source/

I can't put it better than that guy. Although he finally settled for
a-linux-distro-named-after-a-headwear, he still longs to be with The Source.

The Source, Luke! Use The Source!

Rgds,


Re: [gentoo-user] emerge xfce-base/thunar: lobotomy needed

2012-09-10 Thread Canek Peláez Valdés
On Mon, Sep 10, 2012 at 9:37 PM, Chris Stankevitz
chrisstankev...@gmail.com wrote:
[snip]
 # 2012-09-10: appease thunar
 xfce-base/thunar -udev

This makes no sense; the udev flag in thunar only asks for
=sys-fs/udev-171, which is stable. Are you sure you don't have
anything in /etc/portage/package.keywords?

By the way, it will be difficult for you to find a stronger supporter
of udev/systemd than myself; and I don't have the global udev flag
set.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] emerge xfce-base/thunar: lobotomy needed

2012-09-10 Thread Canek Peláez Valdés
On Mon, Sep 10, 2012 at 9:57 PM, Canek Peláez Valdés can...@gmail.com wrote:
 On Mon, Sep 10, 2012 at 9:37 PM, Chris Stankevitz
 chrisstankev...@gmail.com wrote:
 [snip]
 # 2012-09-10: appease thunar
 xfce-base/thunar -udev

 This makes no sense; the udev flag in thunar only asks for
=sys-fs/udev-171, which is stable. Are you sure you don't have
 anything in /etc/portage/package.keywords?

 By the way, it will be difficult for you to find a stronger supporter
 of udev/systemd than myself; and I don't have the global udev flag
 set.

One more thing; which profile (/etc/make.profile or
/etc/portage/make.profile) do you have?

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] stage3/handbook mismatch

2012-09-10 Thread Pandu Poluan
On Sep 11, 2012 9:31 AM, Mark Knecht markkne...@gmail.com wrote:

 On Mon, Sep 10, 2012 at 6:49 PM, Pandu Poluan pa...@poluan.info wrote:
 
  On Sep 11, 2012 5:19 AM, Mark Knecht markkne...@gmail.com wrote:
 
  On Mon, Sep 10, 2012 at 11:13 AM, Chris Stankevitz
  chrisstankev...@gmail.com wrote:
   On Sun, Sep 9, 2012 at 6:41 PM, Mark Knecht markkne...@gmail.com
   wrote:
   That's a very new change just announced globally today and only for
   new installs. Take a look at eselect news for more info.
  
   What a coincidence!  I went with the older stage3 approach.
  
   Thank you,
  
   Chris
  
 
  I just switched 3 machines over to the new way. It works fine. eselect
  profile set will create the new link in /etc/portage. I figure the
  biggest issue for me is that I won't be able to mindlessly type vi
  /etc/make.conf anymore. ;-)
 
 
  Ahh... the curse of muscle memory... I bet I'll experience some
dumbfounded
  moments for at least one week, staring at an empty vi screen due to
muscle
  memory typing /etc/make.conf instead of /etc/portage/make.conf ... :-P
 
  Rgds,

 Someone else suggested (or I think they suggested) putting a link at
 /etc/make.conf pointing at the new location. That might help with that
 problem. I'm just gonna force myself to learn the new location but
 like you're worried about I've already done it a couple of times
 today!

 - Mark


:q! is the menu if the week, if not month, then ;-)

Rgds,


Re: [gentoo-user] Heads-up; bash now uses readline USE flag

2012-09-10 Thread Pandu Poluan
On Sep 11, 2012 5:58 AM, Neil Bothwick n...@digimed.co.uk wrote:

 On Mon, 10 Sep 2012 15:19:38 -0400, Walter Dnes wrote:

   I'd rather have that that an unusable shell. As was noted elsewhere
   this weekend, even if a USE flag is set but renamed, -* screws it
   up.
 
So no matter what I do or don't do, a developer can find a way to
  screw me up.

 Yes, but since the devs know far more about the workings of the system
 and the interrelationships of its components than I do, I prefer to work
 with them than against them.

 I prefer to start with a known, working profile and tweak it. Rather than
 deliberately break everything and then apply my own fixes just to avoid
 the odd chance anyone else accidentally breaking it for me.


+1 to this.

In my previous employment, I used Gentoo in production environment. There's
a gaggle of USE flags in make.conf, mostly of the - variety.

But I stay clear of -* ... that thing's too eeevil for me... :-)

Rgds,


Re: [gentoo-user] Weird hibernate problem

2012-09-10 Thread W.Kenworthy
Hi Timur, we need a lot more information:

what kernel version
in kernel or ToI hibernation
are you using genkernel
separate /usr
lvm

and anything else applicable.

Hibernation can be a pig to get going.

BillK



-Original Message-
From: Timur Aydin t...@taydin.org
Reply-to: gentoo-user@lists.gentoo.org
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Weird hibernate problem
Date: Mon, 10 Sep 2012 23:06:17 +0300

After corrupting my gentoo root filesystem system during hibernate 
experiments, I have finally finished the reinstallation. But hibernate 
still doesn't seem to work correctly. The symptoms are the same as 
during the experiments leading to the root fs corruption, but this time 
the root seems to remain intact.

Here is what happened during the first experiment. I had an 8G swap 
partition as /dev/sda5 and a data partition as /dev/sda6. Thinking that 
pm-hibernate requires a dedicated, separate partition, I backed up 
/dev/sda6, turned off swap at /dev/sda5, deleted /dev/sda[56] and then 
created /dev/sda5 (8G), /dev/sda6 (8G) and /dev/sda7 (remaining size) 
Then I specified /dev/sda6 as the resume partition on the kernel command 
line.

But when I did the pm-hibernate, the system powered off, and after 
reboot, the system seemed to have restored itself to the state it was at 
when I ran pm-hibernate. So it seemed to have worked, but the system 
was strangely unstable. There were many filesystem errors in the root 
partition and when I did a ps ax, I saw hundreds of kworker kernel 
threads lingering around. It was as if the hibernate image was slightly 
corrupted, but not enough to cause a complete lockup, but enough to 
cause there strange symptoms.

I first thought this was related to using the swap partition as the 
resume destination. But after reinstalling gentoo, I again used a 
separate partition for hibernate, but I am still seeing the same 
symtoms. Many kworker kernel threads are sleeping. But this time, the 
root filesystem didn't have any error. Concerned that a filesystem 
corruption is imminent, I immediately turned off power.

So, what could be causing these strange problems? Based on what I have 
read so far, the resume partition needs to be an active swap partition. 
This seems rather strange, because linux is using the swap partition for 
memory management as well. So shouldn't these be well separated to 
prevent corrupting each other?

Hope someone can help me make sense of all of this...





Re: [gentoo-user] Heads-up; bash now uses readline USE flag

2012-09-10 Thread Walter Dnes
On Tue, Sep 11, 2012 at 10:15:47AM +0700, Pandu Poluan wrote

 But I stay clear of -* ... that thing's too eeevil for me... :-)

  I realize -* requires extra work, and I'm willing to do it.  That
includes finding solutions to obscure problems.  Maybe it's because I'm a
control freak.

-- 
Walter Dnes waltd...@waltdnes.org
I don't run desktop environments; I run useful applications



Re: [gentoo-user] WM that does not require policykit, consolekit, and gudev

2012-09-10 Thread Walter Dnes
On Mon, Sep 10, 2012 at 02:19:51PM -0700, Chris Stankevitz wrote

 3. Select another WM that is more lightweight and doesn't require
 these USE flags.
 
 I'm leaning towards (3).
 
 Can you recommend a WM that will not require me to enable gudev,
 policykit, and consolekit?

  See my sig.  I use ICEWM.  Runs fine without the above flags.  Not
only does it not require gudev, it works fine without udev (I use mdev).
The only extra item I added was to build it with imlib USE flag.
Without imlib, it only supports .xpm icons (e.g. on the launchbar).
imlib adds support for png/gif/etc.

-- 
Walter Dnes waltd...@waltdnes.org
I don't run desktop environments; I run useful applications



Re: [gentoo-user] USB automount

2012-09-10 Thread Walter Dnes
On Mon, Sep 10, 2012 at 03:56:20PM -0700, Chris Stankevitz wrote

 Also, ideally after I know about it I'd like to be able to
 understand and derive on my own the answer to this question:
 is it possible for TWM to recognize when I plug in a USB thumbdrive
 and display it for me to use.

  A GUI is not necessary.  TWM by itself is not only not enough, it's
not relevant.  Every time that a USB device is inserted or removed, an
event is triggered by the kernel.  What's required is an event
handler that reacts appropriately to those events.  This is usually
udev, but mdev will also work.  I've replaced udev with mdev on my
machine ( see https://wiki.gentoo.org/wiki/Mdev ) and I've implemented
USB automounting under mdev, using scripts.  It works even in text
console mode.  See https://wiki.gentoo.org/wiki/Mdev/Automount_USB

  My approach may not be appropriate for a Gentoo newbie.  In GNOME/KDE
etc, automounting is one of a ton of extra goodies in the kitchen sink
and it just works.  My approach requires doing some manual setting up
before it works.  However, if you want an idea of the mechanics involved
my USB automount page provides the background... because I had to ask a
question similar to yours, and spend a few weeks searching for answers
on the web.  It helps that I'm retired, and have the necessary time.

-- 
Walter Dnes waltd...@waltdnes.org
I don't run desktop environments; I run useful applications



Re: [gentoo-user] WM that does not require policykit, consolekit, and gudev

2012-09-10 Thread Bill Kenworthy

On Tue, 2012-09-11 at 00:20 +0100, Jorge Almeida wrote:
 On Mon, Sep 10, 2012 at 10:19 PM, Chris Stankevitz
 chrisstankev...@gmail.com wrote:
 
  3. Select another WM that is more lightweight and doesn't require
  these USE flags.
 
  I'm leaning towards (3).
 
  Can you recommend a WM that will not require me to enable gudev,
  policykit, and consolekit?
 
 I think openbox doesn't require any of that crap. I'm sure openbox is an
 excellent WM. If you're a keyboard person, it's easily customizable.
 
 Jorge Almeida
 

LXDE is based on openbox.

I am using LXDE on a new install - excellent.  I have also converted
three other systems from gnome.  Vastly increased productivity, no more
crashes, much faster (esp on older hardware), and just plain nicer to
use.

When I get time I'll have to look into removing as much of gnome as
possible ... are there any guides on how to do this?

BillK





Re: [gentoo-user] emerge xfce-base/thunar: lobotomy needed

2012-09-10 Thread Chris Stankevitz
On Mon, Sep 10, 2012 at 7:57 PM, Canek Peláez Valdés can...@gmail.com wrote:
=sys-fs/udev-171, which is stable. Are you sure you don't have
 anything in /etc/portage/package.keywords?

I know it sounds absurd, but... I have no package.keywords file.  My
package.use is small and benign.  My make.conf is also benign.  I am
using the default profile ([1] default/linux/amd64/10.10 *)

Emerge output is pretty clear:
- thunar (argument) is pulling in
- xfce-base/thunar-1.4.0[udev], which is pulling in
- gnome-base/gvfs-1.12.3 ~amd64
- which pulls in all kinds of stuff

This sure makes it look like I have gvfs in my package.keywords, but I
do not.  I promise!

This command:
find /usr/portage -name \*.ebuild | xargs grep gvfs-1.12

Returns these files:
/usr/portage/gnome-base/gnome-core-libs/gnome-core-libs-3.4.1.ebuild
/usr/portage/gnome-base/gnome/gnome-3.4.1.ebuild
/usr/portage/gnome-base/gnome-light/gnome-light-3.4.1.ebuild
/usr/portage/gnome-base/gvfs/gvfs-1.12.*.ebuild

Weird.  I have no idea where the gvfs-1.12 dependency is coming in.
And emerge -t won't even tell me.  Portage is so upset about this it
will not even show me a tree (see original post in this thread).

 By the way, it will be difficult for you to find a stronger supporter
 of udev/systemd than myself; and I don't have the global udev flag
 set.

I don't really know what udev is (I know it holds actions to take when
certain USB devices are plugged... that's all I know).  I just added
global udev to obey the gentoo xfce install guide.  If I remove it
from make.conf, I can install thunar... but if I try to install
thunar-volman the problem returns (thunar-volman requires thunar with
udev)

Thank you,

Chris