Re: [gentoo-user] OT: How to make mutt open files by *EXTENSION*?

2012-07-24 Thread Henry Gebhardt
On Mon, Jul 23, 2012 at 06:13:45PM -0400, Todd Goodman wrote:
 * Walter Dnes waltd...@waltdnes.org [120723 17:48]:
My ISP emails invoices+receipts as PDF files.  Thay made a change in
  the mime type earlier this year that makes things more difficult...
  
  Before
  ==
  [-- Attachment #2: blah_blah_blah.pdf --]
  [-- Type: application/pdf, Encoding: base64, Size: 47K --]
  
  [-- application/pdf is unsupported (use 'v' to view this part) --]
  
  After
  =
  [-- Attachment #2: blah_blah_blah.pdf --]
  [-- Type: application/octet-stream, Encoding: base64, Size: 79K --]
  
  [-- application/octet-stream is unsupported (use 'v' to view this part) --]
  
With Type: application/pdf I hit v and epdfview brought up the
  document.  With Type: application/octet-stream I have to save the
  attachment and manually open with epdfview.  Mime-type is useless in
  this situation.  Is there a way to force the file to be opened based on
  extension rather than mime type?
 
 I think you could use something like mutt.octet.filter (There's a perl
 version at http://www.davep.org/mutt/mutt.octet.filter.pl) to handle
 application/octet-stream mime types.
 
 It uses file to try to determine the proper type and can then use
 whatever is in your mailcap to determine what to run.
 
 It should be pretty easy to extend it to match on filename if you really
 wanted to.

There is also stuff in portage to handle it, like
dev-perl/File-MimeInfo, with which your mailcap can look like this:

application/octet-stream; mimeopen %s

It uses the file extension by default, but can use magic, too.


Cheers,

Henry



Re: [gentoo-user] Strangeness in dep calculation

2011-07-04 Thread Henry Gebhardt
On Mon, Jul 04, 2011 at 11:59:23PM +0200, Roman Zilka wrote:
 Roman Zilka (Mon, 4 Jul 2011 23:34:01 +0200):
  Neil Bothwick (Mon, 4 Jul 2011 22:16:18 +0100):
   On Mon, 4 Jul 2011 22:48:44 +0200, Roman Zilka wrote:
   
Not quite. This is how I'm thinking: if '-ep world' says virtual/pam
needs to be installed, then it either
* is in the world file, or
* is in the system set, or
* is a buildtime or runtime dependency (immediate or deep) of one of the
packages in the world set (i.e., world file and system set combined).
   
   There's another possibility, that it is one of a number of packages that
   satisfy a particular dependency, the first listed one. If you have
   another package installed that fulfils this dependency, emerge -u world
   won't need to do anything, but with emerge -e world you are telling
   portage that the other package is not installed, so it picks the first
   dependency from the list.
  
  I checked that - in this case, there are no alternatives.
 
 Ah, I see. I'm sorry, I wasn't thinking enough. Yeah, virtual/pam may
 be one of a list. But if nothing else, I have openssh and openssh says:
 RDEPEND=pam? ( virtual/pam )
 No alternatives there. And I don't have virtual/pam, but do have
 openssh. So why does '-uDN world' not pull virtual/pam in?

My guess is that when virtual/pam was introduced, the openssh ebuild was
changed to depend on it without a rev bump. Then while upgrading emerge
will use the old ebuild of the installed openssh, and when you use
--emptytree it will use the new one in the portage tree.

You can test the theory by comparing the ebuild in portage with the one
in /var/db/pkg/net-misc/.


Henry



Re: [gentoo-user] time issue

2011-05-30 Thread Henry Gebhardt
On Mon, May 30, 2011 at 10:15:59AM +0200, András Csányi wrote:
 
 So my question is that, what should I do to have the current time
 automatically (I'm in Hungary/Budapest)? Should I make a new clock
 file?

You should probably customize /etc/conf.d/hwclock, search for Clock in
http://www.gentoo.org/doc/en/openrc-migration.xml.

 
 [1] - http://www.gentoo.org/doc/en/guide-localization.xml

That looks like a bug in the documentation.


H



Re: [gentoo-user] time issue

2011-05-30 Thread Henry Gebhardt
On Mon, May 30, 2011 at 10:57:51AM +0200, Florian Philipp wrote:
 Am 30.05.2011 10:15, schrieb András Csányi:
 
 The localization guide seems to be in a poor state. Copying the zoneinfo
 file from /usr/share... to /etc/localtime is not the best way to do it
 because then you miss updates. It is better to create a symlink between
 the two.

Copying is just fine. The timezone-data ebuild will update
/etc/localtime for you on the next update, and replace the symlink if
you have one there. The reason, IIRC, being that /usr might not yet be
mounted during early boot.


H



Re: [gentoo-user] Converting time formats

2011-05-29 Thread Henry Gebhardt
On Sat, May 28, 2011 at 09:28:47PM -0500, Dale wrote:
 
 I went back to the man page, it sort of left the @ out on mine:
 
 -d, --date=STRING
display time described by STRING, not `now'
 
 No mention of the @ sign there.  It does say to read the info file but I 
 very rarely get into those.  I never have had any good luck with them.  

May I suggest sending a patch upstream? That'd be pretty cool. Just fix
it in the right place where everyone will find it. I bet other people
would appreciate it, too.


Thanks,

H



Re: [gentoo-user] acpid problems

2008-05-19 Thread Henry Gebhardt
On Sun, May 18, 2008 at 11:43 PM, Mick [EMAIL PROTECTED] wrote:
 On Sunday 18 May 2008, Henry Gebhardt wrote:
 On Sun, May 18, 2008 at 9:16 PM, Mick [EMAIL PROTECTED] wrote:
 
  acpid: can't open /proc/acpi/event

 Does the file exist? If not, try enabling some kernel options, e.g.

 CONFIG_ACPI_PROC_EVENT=y

 Thanks Henry,

 Yes the file exists.  I can't cat it because it is busy.  Some process (acpid,
 or someone else?) is trying to access it seems and I can't look at its
 contents.

With lsof (emerge sys-process/lsof) you can check if a process is
accessing a file.
Run it like so:

# lsof /proc/acpi/event
COMMAND  PID USER   FD   TYPE DEVICE SIZE   NODE NAME
acpid   2230 root3r   REG0,30 4026531935 /proc/acpi/event

 --
 Regards,
 Mick


~Henry
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] acpid problems

2008-05-18 Thread Henry Gebhardt
On Sun, May 18, 2008 at 9:16 PM, Mick [EMAIL PROTECTED] wrote:
 Hi All,

 I keep having acpid problems with a box of mine.  I noticed that when hald
 starts at bootup it takes around 11 to 12 seconds!  acpid never starts.  If I
 try to start it manually it fails with the error:

 acpid: can't open /proc/acpi/event

Does the file exist? If not, try enabling some kernel options, e.g.

CONFIG_ACPI_PROC_EVENT=y


 Trying to put the machine into hibernation causes a crash (freezes completely
 until I give it the 3 finger salute).

 Any ideas how I could troubleshoot this?
 --
 Regards,
 Mick


Good luck,
Henry
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Force an ebuild in DEPEND to be merged

2008-05-03 Thread Henry Gebhardt
On Sat, May 3, 2008 at 1:10 PM, Alan McKinnon [EMAIL PROTECTED] wrote:
  Reason: I use cvs-e17 and all ebuilds have version - but they change
  daily. To update e17, one must checkout and rebuild everything as
  portage has no way of knowing what must be updated. So I have a script
  with 92 emerge commands in it... This clutters world unnecessarily.

Hm, --oneshot comes to mind... Anything against using that?

  I would rather create a -meta ebuild, list all 92 packages in DEPEND
  and 'emerge metapackage' will rebuild the whole lot. With the added
  benefit that 'emerge --resume --skipfirst' will actually work properly
  when a build fails (as they do on an almost daily basis...)

If you put them all on a single emerge, --resume should work.

  Is this possible?

I've never heard of such a thing. I think paludis can automatically
rebuild live ebuilds daily or once a week. However, not sure if it
works with - version numbers, or if it needs them as -scm.

~Henry
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Would emerge --sync remove old profiles?

2008-04-27 Thread Henry Gebhardt
On Sun, Apr 27, 2008 at 8:33 PM, Mark Knecht [EMAIL PROTECTED] wrote:

 On Sat, Apr 26, 2008 at 1:00 PM, Alan McKinnon [EMAIL PROTECTED]
 wrote:
  On Saturday 26 April 2008, Mark Knecht wrote:

(...)


   default so it's really slow). I'm thinking of these things:
 
   - Install every currently installed ebuild to an overlay, or install
   specific ebuilds or specific categories to an overlay.
   - Copy an installed ebuild and it's entire installed DEPEND tree to an
   overlay - this is for cases where arb_lib is not in world but is
   required as a deep dependency of something that is. The user will
   probably not be aware of this dependency and not having that ebuild
   will break stuff.


It hasn't been mentioned yet, but ebuilds of all installed packages can be
found in /var/db/pkg/category/pkg-ver/pkg-ver.ebuild. emerge
--sync can mess around with /usr/portage all it wants, your ebuilds will
still be there until you unmerge the package. Right?


   - Copy an entire profile to an overlay


Could one integrate that with eselect profile? How about copying the current
profile to /var/db/profile?



   - Copy everything in an installed ebuild's SRC_URI (or all installed
   ebuilds) to a different DISTDIR for safety (think ATI driver downloads
   or kernels here)


   - Remove old ebuilds and profiles from the overlay that you have since
   upgraded
   - Possibly more
 

(...)


   Here's my idea: How hard would it be to have eix-test-obsolete
 verify against the global database instead of the local database? If I
 ran it that way  *before* I ran emerge --sync then it would tell me
 effectively which packages would be removed after syncing. I could
 then move what I need to move by hand, run emerge --sync, and I'd
 still be clean because I've saved my files into my private overlay
 before the sync operation can delete them.


This is about losing ebuilds? See comment about /var/db/pkg/...




   If an enhancement like that is fairly simple - I have no idea -
 then that would be a great start. Still, it's not protection against
 the root cause of the problem, but it's a simple way to see ahead of
 time what might happen.

 Cheers,
 Mark


~Henry


Re: [gentoo-user] Old machine update - libexpat upgrade instructions?

2008-04-07 Thread Henry Gebhardt
On Mon, Apr 7, 2008 at 7:29 PM, Mark Knecht [EMAIL PROTECTED] wrote:
  Am I correct that revdep-rebuild -p --library=libexpat.so.0 will take
  care of finding all the right stuff?

Even better yet, a plain

revdep-rebuild -p

will also find other breakages, not only those related to expat. My
update procedure has looked like this for a couple years now (found it
in the forums way back), and I didn't really notice that expat problem
back whenever :-) :

eix-sync
emerge -vDuN world
emerge --depclean
revdep-rebuild -v
etc-update


~Henry
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] version of different apps in gentoo portage

2008-03-21 Thread Henry Gebhardt
On Fri, Mar 21, 2008 at 3:42 PM, Marcin Niśkiewicz [EMAIL PROTECTED] wrote:
  mod_security for apache
  on official page there is stable version 2.5.1 and in portage :

  [ebuild   R   ] www-apache/mod_security-2.1.2  USE=-doc 0 kB

See http://bugs.gentoo.org/show_bug.cgi?id=209632

  amavisd
  officialy - stable version 2.5.4 - there is even RC for 2.6 version and in 
 portage:

  [ebuild  N] mail-filter/amavisd-new-2.4.1  USE=mysql -ldap -milter 
 -postgres 823 kB

Seems like version 2.5.2 has been marked stable since Jan 08 on x86,
Feb 05 on ppc64, Feb 17 alpha/sparc, Feb 22 ppc. Try syncing your
portage tree.

~Henry


Re: [gentoo-user] NEURAL NET SOFTWARE

2008-03-20 Thread Henry Gebhardt
On Thu, Mar 20, 2008 at 8:57 AM,  [EMAIL PROTECTED] wrote:

  SNNS (sorry for shouting) is excellent.The only version in portage testing
  (4.2.r7) is deprecated and has been replaced by JavaNNS for 3/4 years. 
 Download
  sources from
   http://www.ra.cs.uni-tuebingen.de/downloads/JavaNNS/
  compile and use. It works great on my Athlon X2 computer.


sci-mathematics/javanns-1.1 is in the sunrise overlay available via
layman -a sunrise.

~Henry
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] wireless problem

2008-03-19 Thread Henry Gebhardt
On Wed, Mar 19, 2008 at 12:42 PM, Dani Crisan [EMAIL PROTECTED] wrote:
  (...)
  modules_wlan0=( dhcp iwconfig wpa_supplicant)
  wpa_supplicant_wlan0=-Dwext -c /etc/wpa_supplicant/wpa_supplicant.conf
  config_wlan0=(dhcp)

  (...)

  How can I make it to authenticate to my baladei-wifi?


 preferred_aps='baladei-wifi' 'dlink'
 associate_order=forcepreferred

That way it will first try baladei-wifi, and only if that doesn't
work, dlink. Notice that 'baladei-wifi' and 'dlink' are in single
quotes. See /etc/conf.d/net.example for more details.

~Henry
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Setting LINGUAS seperately for some packages

2008-03-12 Thread Henry Gebhardt
On Wed, Mar 12, 2008 at 5:08 PM, Willie Wong [EMAIL PROTECTED] wrote:
 On Wed, Mar 12, 2008 at 04:07:16PM +0100, Penguin Lover Dirk Heinrichs 
 squawked:
  
   Put this in /etc/portage/package.use:
  
   sys-apps/man-pages -nls

  Does this work for other packages? For example, I don't think acroread
  has the nls USE flag.

Howabout

  sys-apps/man-pages -linguas_de

I haven't tested it with that particular package, thou.

~Henry
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] How do I get the x11-drivers/nvidia-drivers-1.0.8776-r1 back?

2008-03-06 Thread Henry Gebhardt
On Wed, Mar 5, 2008 at 4:17 PM, Willie Wong [EMAIL PROTECTED] wrote:
 On Wed, Mar 05, 2008 at 01:17:03PM +0100, Penguin Lover Henry Gebhardt 
 squawked:

   I also have a nVidia 440 Go with the same problem. I fixed by
   including the line
  
   Option UseDisplayDevice DFP
  
   in the Screen section of /etc/X11/xorg.xonf. However, now I can't
   use an external Monitor/Beamer.

  Ah! That could be it. Sounds familiar.

  I've never tried connecting an external monitor or beamer, but have
  you tried connecting the monitor, either commenting out the above line or
  change it to CRT instead of DFP, and starting x? From my
  understanding, the problem is probably the driver trying to output, by
  default, to the non-existing beamer/extern monitor. Your fix
  effectively tells the driver to ignore all CRT devices and just output
  to the DFP...

Yes, indeed, commenting out that line starts the display on an external monitor.

With a bit of experimenting I now have instead

Option TwinView true
Option TwinViewOrientation clone

in my xorg.conf. Now I can switch between the external monitor and my
LCD by pressing the Fn-CRT/LCD key. However, I need to issue the
command xrandr -s 1024x768, since the external monitor doesn't
support my default of 1400x1050. Does anyone know how to make the
virtual screen size default to one supported by both monitors?

Also, when connecting the external monitor I need to restart X. Would
be nicer if that weren't necessary. Ideas?

Henry
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] How do I get the x11-drivers/nvidia-drivers-1.0.8776-r1 back?

2008-03-05 Thread Henry Gebhardt
Hi,

On Wed, Mar 5, 2008 at 4:05 AM, Daevid Vincent [EMAIL PROTECTED] wrote:

I emerge again, and it gives me 96.43.05.
Now when I start X, I have a blank/black screen.
   
This driver is NOT working with my card.

  Okay I followed the Wiki as instructed to the letter. Same EXACT problem. It
  all seems to go fine, but I get a black screen when X starts. Not like a
  back-lit one either. Like power off black. I know X is running, I can see
  the processes, and it doesn't seem locked up either. I just can't see
  anything.
 I also have a nVidia 440 Go with the same problem. I fixed by
including the line

Option UseDisplayDevice DFP

in the Screen section of /etc/X11/xorg.xonf. However, now I can't
use an external Monitor/Beamer.


  Thanks for the ideas, I think it's just this P.O.S. card and the fact that
  nVidia is screwing me by not supporting it anymore in these later drivers.
  Not sure why Willie's works though. That is curious, hopeful and frustrating
  at the same time.

I think nVidia is to blame! It once worked flawlessly.

Regards,
Henry
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] emerge can not work !

2008-02-21 Thread Henry Gebhardt
On Thu, Feb 21, 2008 at 3:13 AM, Joseph [EMAIL PROTECTED] wrote:
 (...)
   * checking Python-2.4.4.tar.bz2 ;-) ...[ ok ]
   * checking python-gentoo-patches-2.4.4-r4.tar.bz2 ;-) ...[ ok ]
  /usr/bin/env: python: No such file or directory
  /usr/bin/env: python: No such file or directory
  /usr/bin/env: python: No such file or directory


/usr/bin/env is part of sys-apps/coreutils.

~Henry
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Question about library with undfined refs

2008-02-20 Thread Henry Gebhardt
On Wed, Feb 20, 2008 at 12:53 AM, Michael Sullivan [EMAIL PROTECTED]
wrote:

 I tried to run make on my project today and it came back with a lot of
 errors that are very similar to this one:

 /usr/local/lib/libmysqlpp.so: undefined reference to `typeinfo for
 [EMAIL PROTECTED]'


/usr/local? It seems you are not using mysql++ from portage but one you
installed yourself? Just a guess.

~Henry


Re: [gentoo-user] evince and letter size paper

2008-02-17 Thread Henry Gebhardt
  Nonetheless, whenever evince starts up it defaults to A4 paper.
  Any help would be appreciated.


What size are your PDFs? In particular the output from

pdfinfo pdffile.pdf | grep 'Page size'

 might be interesting.


~Henry


Re: [gentoo-user] Is it sefe to unmerge?

2008-02-14 Thread Henry Gebhardt
2008/2/14, Willie Wong [EMAIL PROTECTED]:

 On Thu, Feb 14, 2008 at 12:58:03AM +0100, Penguin Lover Henry Gebhardt
 squawked:
 
  Holy shit, what's going on? The ebuild in the portage tree is different
 than
  the one in /var/db/pkg/. Is it normal to update an ebuild but not its
  revision number? Here is the diff:
 

 ---snipped---

 Damn, I spoke too soon. Just re-synced, and now this pops in the
 Changelog for pam

   10 Feb 2008; Diego PettenC3B2 [EMAIL PROTECTED]
 pam-0.99.8.1-r1.ebuild, pam-0.99.9.0.ebuild:
   Remove dependency over pwdb, pam_pwdb is no more present in PAM 0.99,
 so the dependency was bogus.

 So, yeah, pwdb is not a dependency anymore and people can safely
 remove it.


I agree.

It seems that ebuilds do change quite frequently without a revision bump. I
wrote a tiny script to see all changed ebuilds. I could'nt make it just one
script, but had to make two: one for makeing the diff (ebuilddifff.sh), and
one to search for the ebuilds and call the former script (findebuildiffs.sh).
Just put them in the same directory, and run ./findebuildiffs.sh | less in
case you are interested in what has changed.

From what I can see, it seems most changes are quite trivial and indeed not
worth a revision bump. But sometimes, I am not so sure... For instances,
glibc-2.7-r1 is now using a different patchset (version 1.6 instead of 1.4).

Does anyone know what the policy is on changing ebuilds like that?

~Henry


findebuildiffs.sh
Description: Bourne shell script


ebuilddifff.sh
Description: Bourne shell script


Re: [gentoo-user] Is it sefe to unmerge?

2008-02-14 Thread Henry Gebhardt
2008/2/14, Neil Bothwick [EMAIL PROTECTED]:

 On Thu, 14 Feb 2008 12:17:03 +0100, Henry Gebhardt wrote:

  It seems that ebuilds do change quite frequently without a revision
  bump.


  Does anyone know what the policy is on changing ebuilds like that?


 http://devmanual.gentoo.org/general-concepts/ebuild-revisions/index.html


-- snip --

Thanks, that cleared it up.

~Henry


Re: [gentoo-user] Is it sefe to unmerge?

2008-02-13 Thread Henry Gebhardt
  # equery depends pwdb
  [ Searching for packages depending on pwdb... ]
  sys-libs/pam-0.99.9.0 (sys-libs/pwdb)


Where does equery get that from? emerge -e pam doesn't show pwdb as a
dependency. In fact, the ebuild checks whether you are using the pam_pwdb
module, and if you do, warns you about it. I for my part just removed pwdb,
and I can still log in as if nothing happend. (Also after a reboot.)

Also, I'd thought that emerge --depclean has matured enough so that
 you don't get weird stuff like depclean telling you pwdb is save to
 remove, while equery tells you there's a hard dependency.


I think emerge --depclean is safe after emerge -DuN world, if you run
revdep-rebuild afterwards.

~Henry


Re: [gentoo-user] Is it sefe to unmerge?

2008-02-13 Thread Henry Gebhardt
2008/2/13, Willie Wong [EMAIL PROTECTED]:

 On Wed, Feb 13, 2008 at 10:03:42PM +0100, Henry Gebhardt wrote:
  Where does equery get that from? emerge -e pam doesn't show pwdb as a
  dependency. In fact, the ebuild checks whether you are using the
 pam_pwdb
  module, and if you do, warns you about it. I for my part just removed
 pwdb,
  and I can still log in as if nothing happend. (Also after a reboot.)


 [04:18 PM]wwong pam $ emerge --pretend --emptytree pam | grep pwdb
 [ebuild   R   ] sys-libs/pwdb-0.62

 Also,

 [04:20 PM]wwong pam $ grep -C 3 pwdb pam-0.99.9.0.ebuild
 RDEPEND=nls? ( virtual/libintl )
 cracklib? ( =sys-libs/cracklib-2.8.3 )
 audit? ( sys-process/audit )
 sys-libs/pwdb
 selinux? ( =sys-libs/libselinux-1.28 )

 So, yes, pwdb is a runtime dependency. I don't actually run pam, so can't
 confirm what would happen if I remove pwdb.


Holy shit, what's going on? The ebuild in the portage tree is different than
the one in /var/db/pkg/. Is it normal to update an ebuild but not its
revision number? Here is the diff:

[EMAIL PROTECTED] ~ $ diff -Naur /var/db/pkg/sys-libs/pam-
0.99.9.0/pam-0.99.9.0.ebuild /usr/portage/sys-libs/pam/pam-0.99.9.0.ebuild
--- /var/db/pkg/sys-libs/pam-0.99.9.0/pam-0.99.9.0.ebuild2007-12-19
07:25:45.0 +0100
+++ /usr/portage/sys-libs/pam/pam-0.99.9.0.ebuild2008-02-10 19:07:
14.0 +0100
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.99.9.0.ebuild,v
1.112007/11/24 11:27:34 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.99.9.0.ebuild,v
1.162008/02/10 17:59:34 flameeyes Exp $

 WANT_AUTOCONF=latest
 WANT_AUTOMAKE=latest
@@ -17,15 +17,15 @@

 LICENSE=PAM
 SLOT=0
-KEYWORDS=alpha amd64 ~arm hppa ia64 ~m68k ppc ppc64 ~s390 ~sh sparc x86
+KEYWORDS=alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86
 IUSE=cracklib nls elibc_FreeBSD selinux vim-syntax audit test elibc_glibc

 RDEPEND=nls? ( virtual/libintl )
 cracklib? ( =sys-libs/cracklib-2.8.3 )
 audit? ( sys-process/audit )
-sys-libs/pwdb
 selinux? ( =sys-libs/libselinux-1.28 )
 DEPEND=${RDEPEND}
+sys-devel/flex
 test? ( elibc_glibc? ( =sys-libs/glibc-2.4 ) )
 nls? ( sys-devel/gettext )
 PDEPEND=vim-syntax? ( app-vim/pam-syntax )
@@ -37,7 +37,7 @@
 check_old_modules() {
 local retval=0

-if sed -e 's:#.*::' /etc/pam.d/* | fgrep -q pam_stack.so; then
+if sed -e 's:#.*::' ${ROOT}/etc/pam.d/* 2/dev/null | fgrep -q
pam_stack.so; then
 eerror 
 eerror Your current setup is using the pam_stack module.
 eerror This module is deprecated and no longer supported, and
since version
@@ -53,7 +53,7 @@
 retval=1
 fi

-if sed -e 's:#.*::' /etc/pam.d/* | egrep -q
'pam_(pwdb|radius|timestamp|console)'; then
+if sed -e 's:#.*::' ${ROOT}/etc/pam.d/* 2/dev/null | egrep -q
'pam_(pwdb|radius|timestamp|console)'; then
 eerror 
 eerror Your current setup is using one or more of the following
modules,
 eerror that are not built or supported anymore:
@@ -75,7 +75,7 @@
 # This works only for those modules that are moved to sys-auth/$module,
or the
 # message will be wrong.
 for module in pam_chroot pam_userdb; do
-if sed -e 's:#.*::' /etc/pam.d/* | fgrep -q ${module}.so; then
+if sed -e 's:#.*::' ${ROOT}/etc/pam.d/* 2/dev/null | fgrep -q
${module}.so; then
 ewarn 
 ewarn Your current setup is using the ${module} module.
 ewarn Since version 0.99, ${CATEGORY}/${PN} does not provide
this module


Thanks for your response W.

~Henry


Re: [gentoo-user] Re: load too high

2008-02-12 Thread Henry Gebhardt
 Any ideas?


No.But do you also see this without X running, without most daemons running,
in single user mode...?