Re: [gentoo-user] Removing PAM from my system, is it adviseable?

2009-01-24 Thread Neil Bothwick
On Fri, 23 Jan 2009 02:09:55 -0200, Norberto Bensa wrote:

 On the other hand, learning PAM has its benefits.

Yes, it allows you to make a more informed decision about whether to keep
or remove it.


-- 
Neil Bothwick

Don't forget that MS-Windows is just a temporary workaround until you can
switch to a GNU system.


signature.asc
Description: PGP signature


Re: [gentoo-user] Removing PAM from my system, is it adviseable?

2009-01-24 Thread Neil Bothwick
On Fri, 23 Jan 2009 00:58:20 -0500, James Homuth wrote:

 I heard there were some programs that won't be emerged or won't work
 properly if PAM is removed. An example given in the posted wiki article
 is Open Office. Is that still accurate?

There have been some OOo builds (mainly betas/rcs I think) that failed
configure if PAM was not present. Installing PAM then removing it
afterwards worked, but I don't think this is an issue with the stable
builds, just a bug that got fixed


-- 
Neil Bothwick

Top Oxymorons Number 5: Twelve-ounce pound cake


signature.asc
Description: PGP signature


Re: [gentoo-user] Deleted my kernel .config

2009-01-24 Thread Neil Bothwick
On Sat, 24 Jan 2009 06:38:50 +0530, Man Shankar wrote:

  mount -oremount,ro /boot solves that problem for me. It's the last
  command in the update script I mentioned before. And there's always
  GRML, just in case :-)  
 
 Since, /boot seldom requires work i have this in fstab
 
 /dev/sda1 /boot   ext2noauto  1 2

That leaves the opportunity to forget to mount /boot when you should.
Mounting it ro gives you a big fat warning if you try to do something
silly.

These days I rarely have a separate /boot, but I do have backups :)


-- 
Neil Bothwick

This screen intentionally left blank.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Howto share Linux swap partition with Windows XP

2009-01-24 Thread Peter Humphrey
On Friday 23 January 2009 14:58:32 Grant Edwards wrote:

 Mainly because I use ntfsclone to keep a bunch of backup copies of the
 NTFS partition, and having a 2GB swap file in every backup copy starts to
 eat up a lot of disk space. 

In the days when I ran Windows I used to have at least one partition other 
than C and force the swap file onto it, with fixed size. Then I could just 
omit that partition from the backup.

Perhaps it's still possible to do that; I don't know, but it might be worth 
a try.

-- 
Rgds
Peter



Re: [gentoo-user] Re: Howto share Linux swap partition with Windows XP

2009-01-24 Thread Stroller


On 23 Jan 2009, at 21:10, Paul Hartman wrote:

...
From memory it's just to delete it, which is perfect.

It would take too long to zero it out - I don't think that's the  
purpose.

...


After further googling, it appears it *does* fill the pagefile.sys
with zeros, and adds a significant delay to windows shutdown times. So
it won't do anything for the OP in this case.


I don't know why I said from memory before, I was surely just making  
the assumption.


ISTM a bit daft, under Windows, to zero out the pagefile. If you have  
physical access to the computer, most anything in the swapfile will be  
available elsewhere on the hard-drive anyway. About the only thing you  
*might* get out of it is passwords, but that's not something for a  
very amateur hacker.


I guess writing the whole routine to (free up swap memory, check the  
registry for this setting ) zero the swapfile not to have been a mere  
5 minute job. How hard would it have been to add an option _just_ to  
delete it? This just requires freeing the inode, is surely less work,  
and would have been more useful to far more people. *sigh* Microsoft.


Stroller.




Re: [gentoo-user] Tips/Tricks for Gentoo on low-spec computer?

2009-01-24 Thread Steven Lembark

 I'm in the process of installing Gentoo on a rather old
 machine. It's an old HP Pavilion with a 450MHz Celeron
 Mendocino and 256MB of PC133 SDRAM.  I'm using an nVidia PCI
 FX6200 video board instead of the i810 on-board chip, and it's
 got a decent hard drive (160GB).
 
 I was wondering if there were any particular tips/tricks for
 getting the best performance out of such a machine.  It's to be
 used for basic word processing and a few games.  Hopefully the
 nVidia 6200 will allow OpenGL to run fast enough for something
 like TuxRacer.
 
 I chose XFCE for the desktop along with both Abiword and
 OpenOffice. I probably should have installed OOo from a binary
 package, but I decided to build it just to see how long it
 would take (so far it's at about 26 hours and counting).

Fvwm is lightweight.

Make a point of compiling the kernel without anything
you don't need; if you might need something then make
it a module.

Don't run daemon's you don't really need. For example,
log into the command line and use startx or xinit
rather than having the thing boot into an X11 login.

Use a large amount of swap compared to ram (with your
drive maybe 2G) and avoid tmpfs for working storage.

If all you're using the thing for is surfing or basic
development then it should work fine. The old standard
for using X11 was a minimum 12MB of core and 40MB disk.
For a long time that was difficult, then IDE came along
and big disks got cheaper :-)

-- 
Steven Lembark85-09 90th St.
Workhorse Computing Woodhaven, NY, 11421
lemb...@wrkhors.com  +1 888 359 3508



Re: [gentoo-user] Tips/Tricks for Gentoo on low-spec computer?

2009-01-24 Thread Steven Lembark

 I believe he means that generally speaking, trying to build OO from
 source on a low-end (and especially low RAM) machine is ill-advised and
 can often be the cause of build failures as OO is well known to require
 a lot of RAM and hdd space while it compiles.

He has plenty of disk. It may use a lot of
virtual memory, but with sufficient swap it
will [eventually] get done.

-- 
Steven Lembark85-09 90th St.
Workhorse Computing Woodhaven, NY, 11421
lemb...@wrkhors.com  +1 888 359 3508



Re: [gentoo-user] Tips/Tricks for Gentoo on low-spec computer?

2009-01-24 Thread Steven Lembark

 OK folks, all have a seat please.  I ran a full blown KDE on a 133Mhz
 machine with 256Mbs of ram.  A friend if mine played Solitaire on it and
 it worked well.  It even had sound on it. 

I started running fvwm on a 486 w/ 16MB of core and
a pair of 20MB disk drives (one RLL one MFM). Face
it: we've all become addicted to amounts of RAM that
didn't even exist on the planet 25 years ago, let
alone disk :-)

-- 
Steven Lembark85-09 90th St.
Workhorse Computing Woodhaven, NY, 11421
lemb...@wrkhors.com  +1 888 359 3508



Re: [gentoo-user] Any good instructions for creating a Live CD?

2009-01-24 Thread Steven Lembark

In Google Books I found something called Linux Live CDs:Building
 and Customizing Bootables. It had the following link which is dead.
 Did it move somewhere? I cannot find it yet.

The book does a decent job of describing how to
use gentookit to get a working CD -- they worked
for me.

-- 
Steven Lembark85-09 90th St.
Workhorse Computing Woodhaven, NY, 11421
lemb...@wrkhors.com  +1 888 359 3508



Re: [gentoo-user] Re: Why isn't sshd blocking repeated failed login attempts?

2009-01-24 Thread Steven Lembark
 How can I accomplish this?:

Use a non-standard port for yourself (e.g., ,
34567). A port entry in your .ssh/config will
handle that. With that back door you can set up
any remaining rules on port 22.

-- 
Steven Lembark85-09 90th St.
Workhorse Computing Woodhaven, NY, 11421
lemb...@wrkhors.com  +1 888 359 3508



Re: [gentoo-user] Error: circular dependencies

2009-01-24 Thread Grant
 This ebuild is from the java-overlay.  Is it just a bad ebuild or can
 I fix this?  I tried disabling the nsplugin USE flag with the same
 result.

 57  DEPEND=${RDEPEND}
 58  || ( =virtual/gnu-classpath-jdk-1.5
 59   dev-java/icedtea6
 60   dev-java/icedtea6-bin
 61  )
 It comes from that line. It looks like it's for bootstrapping icedtea6,
 which apparently can be done by itself or the two other alternatives.
 emerging icedtea6-bin should fix this. It can then be unemerged when
 you've emerged icedtea6 and from then on you can bootstrap updates with
 the existing installation.

Thank you, that worked.

- Grant



[gentoo-user] Re: Howto share Linux swap partition with Windows XP

2009-01-24 Thread Grant Edwards
On 2009-01-24, Peter Humphrey pe...@humphrey.ukfsn.org wrote:
 On Friday 23 January 2009 14:58:32 Grant Edwards wrote:

 Mainly because I use ntfsclone to keep a bunch of backup copies of the
 NTFS partition, and having a 2GB swap file in every backup copy starts to
 eat up a lot of disk space. 

 In the days when I ran Windows I used to have at least one
 partition other than C and force the swap file onto it, with
 fixed size. Then I could just omit that partition from the
 backup.

 Perhaps it's still possible to do that; I don't know, but it
 might be worth a try.

Yes, it's still possible to do that.  I didn't figure out I
_should_ do that until it was too late and the disk was
partitioned and several OSes installed -- I didn't have a spare
primary parition to put the swap file on.  I had a bunch of
spare extended partitions but all the docs say you can't put
the XP swap file on en extended paritition (unless you use
something like swapfs, which will work with an extended
partition).

-- 
Grant





[gentoo-user] Re: Tips/Tricks for Gentoo on low-spec computer?

2009-01-24 Thread Grant Edwards
On 2009-01-24, Steven Lembark lemb...@wrkhors.com wrote:

 OK folks, all have a seat please.  I ran a full blown KDE on a 133Mhz
 machine with 256Mbs of ram.  A friend if mine played Solitaire on it and
 it worked well.  It even had sound on it. 

 I started running fvwm on a 486 w/ 16MB of core and
 a pair of 20MB disk drives (one RLL one MFM).

:)

That sounds like my first linux setup, except I started with
8MB of RAM and both of the 20MB drives were MFM ST506-style
drives. RLL was leading edge back then.  I remember running
SunOS and X on 68000 machines with 4MB of RAM.

 Face it: we've all become addicted to amounts of RAM that
 didn't even exist on the planet 25 years ago, let alone disk

Yup.  When I first started running Linux The only people who
talked about a gigbyte of RAM worked at places like DEC setting
up large clusters of machines that had resources a mere mortal
couldn't even dream of.

-- 
Grant





Re: [gentoo-user] Re: Howto share Linux swap partition with Windows XP

2009-01-24 Thread Peter Humphrey
On Saturday 24 January 2009 15:35:32 Grant Edwards wrote:

 I didn't have a spare primary parition to put the swap file on.  I had a
 bunch of spare extended partitions but all the docs say you can't put the
 XP swap file on en extended paritition...

Ah, I didn't know that. In Win98, I think it was, I used to put it on drive 
E, which was a logical disk in the extended partition.

-- 
Rgds
Peter



Re: [gentoo-user] Tips/Tricks for Gentoo on low-spec computer?

2009-01-24 Thread Dale
Steven Lembark wrote:
 OK folks, all have a seat please.  I ran a full blown KDE on a 133Mhz
 machine with 256Mbs of ram.  A friend if mine played Solitaire on it and
 it worked well.  It even had sound on it. 
 

 I started running fvwm on a 486 w/ 16MB of core and
 a pair of 20MB disk drives (one RLL one MFM). Face
 it: we've all become addicted to amounts of RAM that
 didn't even exist on the planet 25 years ago, let
 alone disk :-)

   

But when was this?  Mine was about a year ago or so.

Dale

:-)  :-)



Re: [gentoo-user] Laptop Lid Close...

2009-01-24 Thread Brandon Vargo
On Fri, 2009-01-23 at 02:14 -0500, Joshua Murphy wrote:
 if radeontool or something will allow you to disable the display even
 when you aren't in X, or without proper access to the display (like
 xset requires) you might be able to even escape needing that xhost
 setting. No way of testing it at all myself though.

I use the dpms feature of sys-apps/vbetool to control the state of the
display from a shell script called by acpid. It works even when X is not
running and does not need access to the X display if X is running. Also,
it works with graphics cards from multiple vendors, as it uses VESA
extensions. From personal experience, I know it works with the Intel
graphics chipset in my laptop (x86) and also with the Nvidia graphics
card in my desktop (amd64). The latter does not have a lid to close, of
course, but vbetool can still turn off the display.

--Brandon Vargo




[gentoo-user] Any ideas on this compile failure?

2009-01-24 Thread Grant
Does anyone have any ideas on this compile failure?  It's for icedtea6
from the java-overlay:

make[7]: Leaving directory
`/var/tmp/portage/dev-java/icedtea6-1.3.1-r2/work/icedtea6-1.3.1/openjdk/control/build/linux-amd64/hotspot/outputdir/linux_amd64_compiler2/product'
make[6]: Leaving directory
`/var/tmp/portage/dev-java/icedtea6-1.3.1-r2/work/icedtea6-1.3.1/openjdk/control/build/linux-amd64/hotspot/outputdir/linux_amd64_compiler2/product'
All done.
make[5]: Leaving directory
`/var/tmp/portage/dev-java/icedtea6-1.3.1-r2/work/icedtea6-1.3.1/openjdk/control/build/linux-amd64/hotspot/outputdir/linux_amd64_compiler2/product'
cd linux_amd64_compiler2/product  ./test_gamma
./test_gamma: line 10: 10518 Killed  ./${gamma:-gamma}
-Xbatch -showversion Queens  /dev/null
make[4]: *** [product] Error 137
make[4]: Leaving directory
`/var/tmp/portage/dev-java/icedtea6-1.3.1-r2/work/icedtea6-1.3.1/openjdk/control/build/linux-amd64/hotspot/outputdir'
make[3]: *** [generic_build2] Error 2
make[3]: Leaving directory
`/var/tmp/portage/dev-java/icedtea6-1.3.1-r2/work/icedtea6-1.3.1/openjdk/hotspot/make'
make[2]: *** [product] Error 2
make[2]: Leaving directory
`/var/tmp/portage/dev-java/icedtea6-1.3.1-r2/work/icedtea6-1.3.1/openjdk/hotspot/make'
make[1]: *** [hotspot-build] Error 2
make[1]: Leaving directory
`/var/tmp/portage/dev-java/icedtea6-1.3.1-r2/work/icedtea6-1.3.1/openjdk/control/make'
make: *** [stamps/icedtea.stamp] Error 2

- Grant



[gentoo-user] Re: Howto share Linux swap partition with Windows XP

2009-01-24 Thread Grant Edwards
On 2009-01-24, Peter Humphrey pe...@humphrey.ukfsn.org wrote:
 On Saturday 24 January 2009 15:35:32 Grant Edwards wrote:

 I didn't have a spare primary parition to put the swap file
 on.  I had a bunch of spare extended partitions but all the
 docs say you can't put the XP swap file on en extended
 paritition...

 Ah, I didn't know that. In Win98, I think it was, I used to
 put it on drive E, which was a logical disk in the extended
 partition.

I didn't actually try it, so maybe I was wrong -- but I swear I
read that somewhere (and it sounded like the sort of
restriction one would run into under Windows).

[some googling]

I can't find any confirmation for what I claimed about swap
files on logical paritions.  I must have mis-read something or
conflated it with the restriction that XP itself can't be
installed on a logical partition. :/

It looks like I could have created a small logical partition
for an NTFS filesystem in which I could have placed the swap
file.

I still can't believe that Windows does it's swapping using a
normal filesystem -- and by default it's the same filesystem
used for system and application files.  It seems like the
filesystem code would end up being a serious bottleneck. But I
long ago stopped trying to figure out why Windows does things...

-- 
Grant





[gentoo-user] Hugin, autopano-sift-C and it's not working anymore.

2009-01-24 Thread Dale
Hi,

I recently installed Hugin and autopano-sift-C and the first couple
times, it worked like a champ.  Now, it gives me a error like this when
I load images or tell it to try to match up my pics:

 command: autopano-sift-c --maxmatches 10 /tmp/ap_res0eoHtu 
 /data/Camera-pics/2009/PANORAMIC_Pics/Source-pics/2009-01-23-0011.jpeg
 /data/Camera-pics/2009/PANORAMIC_Pics/Source-pics/2009-01-23-0012.jpeg
 /data/Camera-pics/2009/PANORAMIC_Pics/Source-pics/2009-01-23-0013.jpeg
 /data/Camera-pics/2009/PANORAMIC_Pics/Source-pics/2009-01-23-0014.jpeg
 /data/Camera-pics/2009/PANORAMIC_Pics/Source-pics/2009-01-23-0015.jpeg
 /data/Camera-pics/2009/PANORAMIC_Pics/Source-pics/2009-01-23-0016.jpeg
 /data/Camera-pics/2009/PANORAMIC_Pics/Source-pics/2009-01-23-0017.jpeg
 failed with error code: 255

What I have done:

1: delete the .hugin file in my home directory.
2: emerge -C hugin and autopano-sift-C
3: re-emerge hugin, then re-emerge hugin and autopano-sift-C
4: tried to use the autopano-sift package with all its children.
5: emerge -C autopano-sift and go back to autopano-sift-C
6: pestered the stew out of Google.  Tried other settings they
recommended with no help.

As I said, it worked the first couple times.  Anybody have a clue why it
stopped?  I would think if it was a bad setting on my part that deleting
the .hugin file would fix that.

In preferences I have autopano-sift-c for the command and --maxmatches
%p %o %i for the options.  That is the default values. 

Ideas?  Thanks.

Dale

:-)  :-) 



[gentoo-user] mail server

2009-01-24 Thread laurent

Hi Gentoos,

I want to install an e-mail server solution, based on postfix.
I'm reading this how-to:
http://www.gentoo.org/doc/en/virt-mail-howto.xml

From a level simple to complexe I would like a solution that is not to 
hard at first to have time, to understand the basics, and have it 
working, and that could then be easy to extend to a more complex 
situation like multi domain hosting. I first just need my apache to send 
mails via mod_php and mod_neko.


Thanks for advices.
Laurent



[gentoo-user] Re: Howto share Linux swap partition with Windows XP

2009-01-24 Thread ABCD
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Grant Edwards wrote:
 I still can't believe that Windows does it's swapping using a
 normal filesystem -- and by default it's the same filesystem
 used for system and application files.  It seems like the
 filesystem code would end up being a serious bottleneck. But I
 long ago stopped trying to figure out why Windows does things...

There actually is a good reason (oddly enough) for Windows using a file
on the filesystem for its swap space.  Because it is a simple file on
disk, if Windows realizes that the swap file is almost full, it can
expand your swap without having to do things like repartition.  This
makes the swap is full - out of memory-type problems less likely to
occur (unless it is filesystem is full as well :) ).

- --
ABCD
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkl7Za8ACgkQOypDUo0oQOp8egCgwWyB4db6ZYJ9YwgvG/dq70Rq
64cAn3laOOtlhh7zN7ni85WpBYZDyLz6
=T1za
-END PGP SIGNATURE-




[gentoo-user] {OT} Remote image editing (crop rotate)

2009-01-24 Thread Grant
Each ripped CD in my music collection is accompanied by a high
resolution scan of the album's cover.  There is a new plugin for gmpc
that displays that cover art at full screen on my HDTV.  As the huge
cover art images appear on the TV, I notice one or more sides that
need to be cropped, or that the cover needs to be slightly rotated.
I'd like to be able to edit those images as I notice problems with
them, but I wonder if there is an easier way than scp'ing each image
to my laptop, opening it in gimp, editing it, saving it, and scp'ing
it back to the HDTV system (especially sshd_config AllowUsers only
allows my user and the user running gmpc is different).

Any ideas?  imagemagick comes to mind.  Is there a script or even a
GUI I could run on the HDTV system that might be able to crop and/or
rotate quickly and easily?

- Grant



[gentoo-user] evince won't open PDFs

2009-01-24 Thread Grant
For some reason, evince won't open PDFs anymore.  I've tried different
versions of evince, poppler, and shared-mime-info, but evince says:

File type PDF document (application/pdf) is not supported

epdfview works, but it segfaults when trying to open shipping labels
from usps.com.  Does anyone have any ideas on getting evince back to
normal?  I did try deleting .gnome2/evince.

- Grant



[gentoo-user] Re: Howto share Linux swap partition with Windows XP

2009-01-24 Thread Grant Edwards
On 2009-01-24, ABCD en.a...@gmail.com wrote:

 There actually is a good reason (oddly enough) for Windows
 using a file on the filesystem for its swap space.  Because it
 is a simple file on disk, if Windows realizes that the swap
 file is almost full, it can expand your swap without having to
 do things like repartition.  This makes the swap is full -
 out of memory-type problems less likely to occur

While that's a valid point in theory, I've never had a swap is
full - out of memory problem in all the years I've been
running Unixes that swapped to dedicated partitions.  In my
experience the system usually slows to a standstill and
requires drastic action long before swap fills up.

 (unless it is filesystem is full as well :) ).

That, on the other hand, I do run into quite regularly.

So it seems to me that using a swap file rather than a
paritition is increasing the liklehood of problems rather than
decreasing it while at the same time adding both system
overhead and instability.  Surely it's easier to corrupt a
swapfile that's in a normal, heavily-used filesystem than it is
to corrupt a dedicated swap partition?

The code that prevents one partition from spilling over into
another is much, much simpler and more bullet-proof than the
code that manages blocks/clusters within a filesystems.

If I were to guess why Windows doesn't use a swap partition, it
would be because floppy disks didn't have partitions.

-- 
Grant





[gentoo-user] Trying to get Spamassassin Working

2009-01-24 Thread Jason Carson
Greetings,

I am trying to get Spamassassin working. I am following this guide...
http://www.hurring.com/scott/howto/postfix_spamd/

The configuration on that page is very minimalist and that's how I want to
start off. I can get progressively more complex as I learn more but I want
to keep it as simple as possible for now.

According to that guide I only need to add 5 lines to my
/etc/postfix/master.cf file

smtp inet n - - - - smtpd
-o content_filter=spamassassin

spamassassin unix - n n - - pipe
user=nobody argv=/usr/bin/spamc -f -e
/usr/sbin/sendmail -oi -f ${sender} ${recipient}

okay, I will break it down one line at a time and state the problem with
that line.
---
1)This doesn't work...
smtp inet n - - - - smtpd

I need to use the default setting in the file...
smtp inet n - n - - smtpd
---
2)This doesn't work...
-o content_filter=spamassassin

My log says...
Jan 24 12:18:09 penguin postfix/master[11431]: fatal:
/etc/postfix/master.cf: line 24: bad transport type:
content_filter=spamassassin
---
3)I see no problems with this line...
spamassassin unix - n   n   -   -   pipe
---
4)This doesn't work...
user=nobody argv=/usr/bin/spamc -f -e

My log says...
Jan 24 12:21:41 penguin postfix/master[11770]: fatal:
/etc/postfix/master.cf: line 107: bad transport type: argv=/usr/bin/spamc
---
5)This doesn't work...
/usr/sbin/sendmail -oi -f ${sender} ${recipient}

My log says
Jan 24 12:23:31 penguin postfix/master[11919]: fatal:
/etc/postfix/master.cf: line 108: bad transport type: -oi
---

Anyone know what to do?





Re: [gentoo-user] mail server

2009-01-24 Thread Stroller


On 24 Jan 2009, at 18:54, laurent wrote:
... I first just need my apache to send mails via mod_php and  
mod_neko.


If it's just for _outgoing_ email you'll probably get away with ssmtp.  
It's very easy to configure - look at /etc/ssmtp


Stroller.




Re: [gentoo-user] evince won't open PDFs

2009-01-24 Thread Allan Gottlieb
At Sat, 24 Jan 2009 12:09:32 -0800 Grant emailgr...@gmail.com wrote:

 For some reason, evince won't open PDFs anymore.  I've tried different
 versions of evince, poppler, and shared-mime-info, but evince says:

 File type PDF document (application/pdf) is not supported

 epdfview works, but it segfaults when trying to open shipping labels
 from usps.com.  Does anyone have any ideas on getting evince back to
 normal?  I did try deleting .gnome2/evince.

Have you recently emerged evince/poppler/poppler-bindings ?

To test if perhaps the version on the gentoo servers is currently bad
I just now remerged them and did the suggested revdep-rebuild, which as
expected rebuilt nothing.  Everything worked fine; in particular,
   evince file.pdf
worked.

Perhaps you should remerge them in case one of yours is corrupted.

Here is the beginning of my emerge showing the use flags

  allan gottlieb # emerge evince poppler poppler-bindings

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

  Calculating dependencies... done!
  [ebuild   R   ] app-text/evince-2.22.2-r1  USE=dbus doc gnome gnome-keyring 
tiff -debug -djvu -dvi -t1lib 1,592 kB
  [ebuild   R   ]  app-text/poppler-bindings-0.8.7  USE=cairo gtk -qt3 -qt4 
-test 1,436 kB
  [ebuild   R   ]   app-text/poppler-0.8.7  USE=jpeg zlib -cjk 0 kB

  Total: 3 packages (3 reinstalls), Size of downloads: 3,027 kB

  Would you like to merge these packages? [Yes/No] 

Good luck!

allan



Re: [gentoo-user] evince won't open PDFs

2009-01-24 Thread Saphirus Sage
Grant wrote:
 For some reason, evince won't open PDFs anymore.  I've tried different
 versions of evince, poppler, and shared-mime-info, but evince says:

 File type PDF document (application/pdf) is not supported

 epdfview works, but it segfaults when trying to open shipping labels
 from usps.com.  Does anyone have any ideas on getting evince back to
 normal?  I did try deleting .gnome2/evince.

 - Grant

   
I've always preferred xpdf just for simplicity, but be sure you have
'pdf' in your USE flags for make.conf either way. That would probably
handle the error of pdf being an unsupported file type.



Re: [gentoo-user] {OT} Remote image editing (crop rotate)

2009-01-24 Thread Stroller


On 24 Jan 2009, at 19:08, Grant wrote:

... I wonder if there is an easier way than scp'ing each image
to my laptop, opening it in gimp, editing it, saving it, and scp'ing
it back to the HDTV system (especially sshd_config AllowUsers only
allows my user and the user running gmpc is different).


The obvious thing that springs to mind is to export the folder  
(containing the music / images) on the HDTV system via NFS or Samba   
mount it on the laptop.


I think there's a fuse implementation which allows you to virtually  
mount over sftp.


But really you need to tell us more before we're able to help.

Stroller.




Re: [gentoo-user] Re: Howto share Linux swap partition with Windows XP

2009-01-24 Thread Stroller


On 24 Jan 2009, at 17:22, Grant Edwards wrote:

I still can't believe that Windows does it's swapping using a
normal filesystem -- and by default it's the same filesystem
used for system and application files.  It seems like the
filesystem code would end up being a serious bottleneck.


3. Does creating the swapfile on a journaled filesystem (e.g.
ext3 or reiser) incur a significant performance hit?

   None at all. The kernel generates a map of swap offset - disk
   blocks at swapon time and from then on uses that map to perform
   swap I/O directly against the underlying disk queue, bypassing all
   caching, metadata and filesystem code.

   http://lkml.org/lkml/2005/7/7/326

Stroller.




Re: [gentoo-user] Trying to get Spamassassin Working

2009-01-24 Thread Jason Carson
 Greetings,

 I am trying to get Spamassassin working. I am following this guide...
 http://www.hurring.com/scott/howto/postfix_spamd/

 The configuration on that page is very minimalist and that's how I want to
 start off. I can get progressively more complex as I learn more but I want
 to keep it as simple as possible for now.

 According to that guide I only need to add 5 lines to my
 /etc/postfix/master.cf file

ok, got it working, these two lines below need to be all one line...

 smtp inet n - - - - smtpd
 -o content_filter=spamassassin

These 3 lines below need to be all one line.

 spamassassin unix - n n - - pipe
 user=nobody argv=/usr/bin/spamc -f -e
 /usr/sbin/sendmail -oi -f ${sender} ${recipient}

 okay, I will break it down one line at a time and state the problem with
 that line.
 ---
 1)This doesn't work...
 smtp inet n - - - - smtpd

 I need to use the default setting in the file...
 smtp inet n - n - - smtpd
 ---
 2)This doesn't work...
 -o content_filter=spamassassin

 My log says...
 Jan 24 12:18:09 penguin postfix/master[11431]: fatal:
 /etc/postfix/master.cf: line 24: bad transport type:
 content_filter=spamassassin
 ---
 3)I see no problems with this line...
 spamassassin unix - n   n   -   -   pipe
 ---
 4)This doesn't work...
 user=nobody argv=/usr/bin/spamc -f -e

 My log says...
 Jan 24 12:21:41 penguin postfix/master[11770]: fatal:
 /etc/postfix/master.cf: line 107: bad transport type: argv=/usr/bin/spamc
 ---
 5)This doesn't work...
 /usr/sbin/sendmail -oi -f ${sender} ${recipient}

 My log says
 Jan 24 12:23:31 penguin postfix/master[11919]: fatal:
 /etc/postfix/master.cf: line 108: bad transport type: -oi
 ---

 Anyone know what to do?









[gentoo-user] Re: Howto share Linux swap partition with Windows XP

2009-01-24 Thread Grant Edwards
On 2009-01-24, Stroller strol...@stellar.eclipse.co.uk wrote:

  3. Does creating the swapfile on a journaled filesystem (e.g.
  ext3 or reiser) incur a significant performance hit?

 None at all. The kernel generates a map of swap offset - disk
 blocks at swapon time and from then on uses that map to perform
 swap I/O directly against the underlying disk queue, bypassing all
 caching, metadata and filesystem code.

I supposed that the NT kernel does something similar.

One implication of that is that the filesystem is then not
allowed to move blocks around if they are part of an active
swap file?  Not that I'm aware of filesystems that shuffle
blocks around while they're part of an open file, but one might
imagine something like that happening as part of some sort of
balancing algorithm.

-- 
Grant




Re: [gentoo-user] Re: No /dev entries in recent stage3 snapshots?

2009-01-24 Thread Neil Bothwick
On Fri, 23 Jan 2009 05:55:10 +0100, Volker Armin Hemmann wrote:

 I have a server running that hets that null/console missing message
 every boot 
 - and it does not hurt it at any way.

A missing /dev/console stops the boot process here. It boots
without /dev/null, but only after udev spews out a load of messages.


-- 
Neil Bothwick

Procrastinate now!


signature.asc
Description: PGP signature


[gentoo-user] ltmain.sh version 1.5.22

2009-01-24 Thread Rod
  I'm getting the following error too much, many packages are no longer 
insalling with this problem ;o(


 Emerging   dev-libs/libmcrypt-2.5.8-r1
* libmcrypt-2.5.8.tar.gz RMD160 SHA1 SHA256 size ;-) 
... 
[ ok ]
* checking ebuild checksums ;-) 
...  
[ ok ]
* checking auxfile checksums ;-) 
... 
[ ok ]
* checking miscfile checksums ;-) 
...
[ ok ]

 Unpacking source...
 Unpacking libmcrypt-2.5.8.tar.gz to 
/var/tmp/portage/dev-libs/libmcrypt-2.5.8-r1/work
* Applying libmcrypt-2.5.8-rotate-mask.patch 
...  
[ ok ]

* Running elibtoolize in: libmcrypt-2.5.8
*   Applying install-sh-1.5.patch ...

* Portage patch failed to apply (ltmain.sh version 1.5.22)!
* Please bug azarah or vapier to add proper patch.
*
* ERROR: dev-libs/libmcrypt-2.5.8-r1 failed.
* Call stack:
*   ebuild.sh, line   49:  Called src_unpack
* environment, line 2364:  Called elibtoolize
* environment, line  943:  Called die
* The specific snippet of code:
*   die Portage patch failed to apply!;
*  The die message:
*   Portage patch failed to apply!
*
* If you need support, post the topmost build error, and the call stack 
if relevant.
* A complete build log is located at 
'/var/log/portage/dev-libs:libmcrypt-2.5.8-r1:20081226-103235.log'.
* The ebuild environment file is located at 
'/var/tmp/portage/dev-libs/libmcrypt-2.5.8-r1/temp/environment'.

*

  Searching the Gentoo Forums, I get most posts about this from 
2005...   this is upgrading a currently working install.




Re: [gentoo-user] {OT} Remote image editing (crop rotate)

2009-01-24 Thread Grant
 ... I wonder if there is an easier way than scp'ing each image
 to my laptop, opening it in gimp, editing it, saving it, and scp'ing
 it back to the HDTV system (especially sshd_config AllowUsers only
 allows my user and the user running gmpc is different).

 The obvious thing that springs to mind is to export the folder (containing
 the music / images) on the HDTV system via NFS or Samba  mount it on the
 laptop.

Sounds like a good idea.  Would one be better than the other?

 I think there's a fuse implementation which allows you to virtually mount
 over sftp.

 But really you need to tell us more before we're able to help.

What else would you like to know?

- Grant



[gentoo-user] Re: No /dev entries in recent stage3 snapshots?

2009-01-24 Thread Grant Edwards
On 2009-01-24, Neil Bothwick n...@digimed.co.uk wrote:
 On Fri, 23 Jan 2009 05:55:10 +0100, Volker Armin Hemmann wrote:

 I have a server running that hets that null/console missing
 message every boot - and it does not hurt it at any way.

 A missing /dev/console stops the boot process here. It boots
 without /dev/null, but only after udev spews out a load of
 messages.

Ah, not to worry: I've been assured in the gentoo forum thread
that the problems we see when the root filesystem doesn't have
proper /dev/null and /dev/console nodes aren't really
happening:

  Neither /dev/null nor /dev/console are needed at boot-time,
  therefore their absence doesn't cause problems.

[You must admit the argument is flawless -- though I still
question the premise.]

In order to get rid of my problems that weren't happening, I
initially tried the mount -bind and cp -a commands that
show up in /etc/issue when your /dev directory is hosed.  That
didn't help: after setting /etc/issue back to the default file
and rebooting all the same problems still weren't happening
(and /etc/issue was again modified to tell me to do mount -bind
and cp -a to fix them).

Then I tried booting with root in rw mode and init=/bin/bash
and then doing a MAKEDEV generic-i386.  (I found that recipe in
an old mailing list somewhere.) MAKEDEV complained a lot about
not being able to read /proc/devices. When I rebooted, I still
had the all same problems not happening as before.

I finally booted from a minimal install CD, mounted my root
partition, removed its /dev directory completely and then
re-created it by untaring ./dev from a good stage3 tarball. Now
the system boots up smoothly. I feel like a bit of a fool
expending so much effort getting rid of problems that weren't
happening -- but, now the problems that weren't happening are
gone, so I'm happy.

;)

-- 
Grant





[gentoo-user] Re: No /dev entries in recent stage3 snapshots?

2009-01-24 Thread Grant Edwards
On 2009-01-25, Grant Edwards gra...@visi.com wrote:
 On 2009-01-24, Neil Bothwick n...@digimed.co.uk wrote:
 On Fri, 23 Jan 2009 05:55:10 +0100, Volker Armin Hemmann wrote:

 I have a server running that hets that null/console missing
 message every boot - and it does not hurt it at any way.

 A missing /dev/console stops the boot process here. It boots
 without /dev/null, but only after udev spews out a load of
 messages.

 Ah, not to worry: I've been assured in the gentoo forum thread
 that the problems we see when the root filesystem doesn't have
 proper /dev/null and /dev/console nodes aren't really
 happening:

   Neither /dev/null nor /dev/console are needed at boot-time,
   therefore their absence doesn't cause problems.

For posterity's sake, one of the problems that wasn't happening
was that my root partition always had to be recovered at
startup -- it apparently wasn't getting properly unmounted
during shutdown.  After re-creating the root partition's /dev
tree, that was cured.

This leads one to suspect that the block device node for the
root partition (/dev/hda3 in my case) is also required along
with /dev/null and /dev/console for proper start-up and
shut-down.

-- 
Grant





[gentoo-user] Apply a patch to an emerge from the command line

2009-01-24 Thread Grant
I could have sworn there was a way to specify a patch to be applied to
an emerge from the command line, something like:

EPATCH=file.patch emerge packagename

I've been searching Google and the mailing list but I can't find
mention of it anywhere.  Was it a figment of my imagination?

- Grant



[gentoo-user] Re: Howto share Linux swap partition with Windows XP

2009-01-24 Thread ABCD
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Grant Edwards wrote:
 One implication of that is that the filesystem is then not
 allowed to move blocks around if they are part of an active
 swap file?  Not that I'm aware of filesystems that shuffle
 blocks around while they're part of an open file, but one might
 imagine something like that happening as part of some sort of
 balancing algorithm.
 

I'm not sure if the swap can be moved around during normal use, but I do
know that it shows up as an unmovable block in XP's defragmentation
tool, suggesting that nothing is allowed to move it on disk at all,
while it is in use (which, on Windows, means the OS is running).

- --
ABCD
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkl70wsACgkQOypDUo0oQOqDPgCfc78Ejvm96lonhVA581xCftXu
c9UAoL+YzrNHQ8iJL+fCmAUlD5WG9s5w
=KeKc
-END PGP SIGNATURE-




Re: [gentoo-user] mail server

2009-01-24 Thread Mike Kazantsev
On Sat, 24 Jan 2009 19:54:05 +0100
laurent laur...@logiquefloue.org wrote:

 I first just need my apache to send mails via mod_php and mod_neko.

I'd also suggest using lite smtp client, like msmtp, which I find a
bit more feature-packed and stable than ssmtp, while being just as easy
to set up.

And if you're still going to choose full-fledged MTA, keep in mind
that you'll need a non-firewalled connection (at least to some ports)
and reverse DNS record - so that if you type host Your_IP (or
dig -x IP) you'll get the correct domain name, otherwise nearly
every mail service will consider you to be anonymous spammer and won't
deliver any mail from your MTA.

-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature


Re: [gentoo-user] evince won't open PDFs

2009-01-24 Thread Chris Thomas
Without looking it up, I'm pretty sure there's no pdf use flag. Make
sure Evince is listed as the default application for pdfs in your web
browser.

-Chris

On Sat, Jan 24, 2009 at 4:32 PM, Saphirus Sage saphirus...@gmail.com wrote:
 Grant wrote:
 For some reason, evince won't open PDFs anymore.  I've tried different
 versions of evince, poppler, and shared-mime-info, but evince says:

 File type PDF document (application/pdf) is not supported

 epdfview works, but it segfaults when trying to open shipping labels
 from usps.com.  Does anyone have any ideas on getting evince back to
 normal?  I did try deleting .gnome2/evince.

 - Grant


 I've always preferred xpdf just for simplicity, but be sure you have
 'pdf' in your USE flags for make.conf either way. That would probably
 handle the error of pdf being an unsupported file type.





Re: [gentoo-user] evince won't open PDFs

2009-01-24 Thread Saphirus Sage
Chris Thomas wrote:
 Without looking it up, I'm pretty sure there's no pdf use flag. Make
 sure Evince is listed as the default application for pdfs in your web
 browser.

 -Chris

 On Sat, Jan 24, 2009 at 4:32 PM, Saphirus Sage saphirus...@gmail.com wrote:
   
 Grant wrote:
 
 For some reason, evince won't open PDFs anymore.  I've tried different
 versions of evince, poppler, and shared-mime-info, but evince says:

 File type PDF document (application/pdf) is not supported

 epdfview works, but it segfaults when trying to open shipping labels
 from usps.com.  Does anyone have any ideas on getting evince back to
 normal?  I did try deleting .gnome2/evince.

 - Grant


   
 I've always preferred xpdf just for simplicity, but be sure you have
 'pdf' in your USE flags for make.conf either way. That would probably
 handle the error of pdf being an unsupported file type.


 

   
Consult /usr/portage/profiles/use.desc and tell me that again.



Re: [gentoo-user] evince won't open PDFs

2009-01-24 Thread Grant
 For some reason, evince won't open PDFs anymore.  I've tried different
 versions of evince, poppler, and shared-mime-info, but evince says:

 File type PDF document (application/pdf) is not supported

 epdfview works, but it segfaults when trying to open shipping labels
 from usps.com.  Does anyone have any ideas on getting evince back to
 normal?  I did try deleting .gnome2/evince.

 Have you recently emerged evince/poppler/poppler-bindings ?

 To test if perhaps the version on the gentoo servers is currently bad
 I just now remerged them and did the suggested revdep-rebuild, which as
 expected rebuilt nothing.  Everything worked fine; in particular,
   evince file.pdf
 worked.

 Perhaps you should remerge them in case one of yours is corrupted.

 Here is the beginning of my emerge showing the use flags

  allan gottlieb # emerge evince poppler poppler-bindings

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

  Calculating dependencies... done!
  [ebuild   R   ] app-text/evince-2.22.2-r1  USE=dbus doc gnome gnome-keyring 
 tiff -debug -djvu -dvi -t1lib 1,592 kB
  [ebuild   R   ]  app-text/poppler-bindings-0.8.7  USE=cairo gtk -qt3 -qt4 
 -test 1,436 kB
  [ebuild   R   ]   app-text/poppler-0.8.7  USE=jpeg zlib -cjk 0 kB

  Total: 3 packages (3 reinstalls), Size of downloads: 3,027 kB

  Would you like to merge these packages? [Yes/No]

It turns out evince, xpdf, and epdfview all segfault on the PDF
shipping labels produced by usps.com.  The latest stable evince does
open other PDF files, although newer evince versions give me the not
supported problem.

Has anyone successfully opened a usps.com shipping label?

- Grant



[gentoo-user] Strange local connection requests from my laptop

2009-01-24 Thread Grant
My network's firewall is rejecting a bunch of attempts by my laptop to
reach 192.168.x.x systems which don't exist.  The requests are from
and to very high port numbers.  This must have to do with the p2p
software I'm running (transmission), but I thought it was pretty
creepy.  Is that sort of thing expected from p2p software?

- Grant



Re: [gentoo-user] evince won't open PDFs

2009-01-24 Thread David
On Sunday 25 January 2009 05:49:31 Grant wrote:
  For some reason, evince won't open PDFs anymore.  I've tried different
  versions of evince, poppler, and shared-mime-info, but evince says:
 
  File type PDF document (application/pdf) is not supported
 
  epdfview works, but it segfaults when trying to open shipping labels
  from usps.com.  Does anyone have any ideas on getting evince back to
  normal?  I did try deleting .gnome2/evince.
 
  Have you recently emerged evince/poppler/poppler-bindings ?
 
  To test if perhaps the version on the gentoo servers is currently bad
  I just now remerged them and did the suggested revdep-rebuild, which as
  expected rebuilt nothing.  Everything worked fine; in particular,
evince file.pdf
  worked.
 
  Perhaps you should remerge them in case one of yours is corrupted.
 
  Here is the beginning of my emerge showing the use flags
 
   allan gottlieb # emerge evince poppler poppler-bindings
 
   These are the packages that would be merged, in reverse order:
 
   Calculating dependencies... done!
   [ebuild   R   ] app-text/evince-2.22.2-r1  USE=dbus doc gnome
  gnome-keyring tiff -debug -djvu -dvi -t1lib 1,592 kB [ebuild   R   ] 
  app-text/poppler-bindings-0.8.7  USE=cairo gtk -qt3 -qt4 -test 1,436 kB
  [ebuild   R   ]   app-text/poppler-0.8.7  USE=jpeg zlib -cjk 0 kB
 
   Total: 3 packages (3 reinstalls), Size of downloads: 3,027 kB
 
   Would you like to merge these packages? [Yes/No]

 It turns out evince, xpdf, and epdfview all segfault on the PDF
 shipping labels produced by usps.com.  The latest stable evince does
 open other PDF files, although newer evince versions give me the not
 supported problem.

 Has anyone successfully opened a usps.com shipping label?

 - Grant

The problem is the stable version of poppler (app-text/poppler-0.8.7). I have 
upgrade it to app-text/poppler-0.10.3 and it is working fine now. You will 
have to run revdep-rebuild after updrading poppler.


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


Re: [gentoo-user] Re: No /dev entries in recent stage3 snapshots?

2009-01-24 Thread Dale
Grant Edwards wrote:
 On 2009-01-25, Grant Edwards gra...@visi.com wrote:
   
 On 2009-01-24, Neil Bothwick n...@digimed.co.uk wrote:
 
 On Fri, 23 Jan 2009 05:55:10 +0100, Volker Armin Hemmann wrote:

   
 I have a server running that hets that null/console missing
 message every boot - and it does not hurt it at any way.
 
 A missing /dev/console stops the boot process here. It boots
 without /dev/null, but only after udev spews out a load of
 messages.
   
 Ah, not to worry: I've been assured in the gentoo forum thread
 that the problems we see when the root filesystem doesn't have
 proper /dev/null and /dev/console nodes aren't really
 happening:

   Neither /dev/null nor /dev/console are needed at boot-time,
   therefore their absence doesn't cause problems.
 

 For posterity's sake, one of the problems that wasn't happening
 was that my root partition always had to be recovered at
 startup -- it apparently wasn't getting properly unmounted
 during shutdown.  After re-creating the root partition's /dev
 tree, that was cured.

 This leads one to suspect that the block device node for the
 root partition (/dev/hda3 in my case) is also required along
 with /dev/null and /dev/console for proper start-up and
 shut-down.

   


Well just to confirm that this is not happening, I ran into the same
thing a good while back when I was transferring my system from one disk
to another.  I didn't copy /dev, /sys, /proc and something else.  I had
to reboot from the CD and copy all the /dev/stuff so I could boot.  At
the time I didn't know what I didn't have to have.

Note there is a bit of sarcasm there.  It appears that they are needed
but some just think we don't.  My rig, Abit NF7 mobo with a AMD 2500+
rig using udev like I guess everybody else is.

Weird.

Dale

:-)  :-)





Re: [gentoo-user] Re: No /dev entries in recent stage3 snapshots?

2009-01-24 Thread Dirk Heinrichs
Am Freitag, 23. Januar 2009 15:48:48 schrieb Grant Edwards:
 On 2009-01-23, Volker Armin Hemmann volkerar...@googlemail.com wrote:
  On Freitag 23 Januar 2009, Grant Edwards wrote:
  You are still able to see the output from all the init scripts?
 
  yes

 That's interesting, because on my systems, if /dev/console is
 missing, then there is no non-kernel console output until most
 of the way through the startup-process when udev starts.

That reminds me of one thing: Are you still running baselayout 1? On a 
baselayout 2/openrc box udev is started at the very beginning of the userland 
boot process. Maybe that's the difference between Volker's and your system.

Bye...

Dirk


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