[gentoo-user] Switching from X to textmode resets textmode to 25 lines

2010-06-13 Thread Walter Dnes
  I switch between the X gui and true textmode a lot.  To get the most
out of textmode, I set /etc/conf.d/consolefont to

CONSOLEFONT=lat1-10

  This puts the normal VGA console into 80 columns X 40 rows.  Setting

vga = 6

in /etc/lilo.conf (or equivalant GRUB config file), in combination with
lat1-10, gives 80 columns x 48 rows.  This does *NOT* require
SVGATextmode.  And because it uses a 10 pixel high font, it's much more
readable than the 50-row display from using CGA fonts (8 pixels high) on
a VGA.

  I've been doing this for years, but now I've run into a problem on one
machine.  It has an nVidia G72 [GeForce 7300 LE] card running the nvidia
driver.  When I switch from X to a text console ( either shut down X or
use {CTRL-ALT-F1} ), all text consoles get kicked back into 25 row
mode.  The bottom 15 or 23 rows are invisible.  I can blindly type
setfont lat1-10 at a command prompt, and get back to 40 or 48 row
mode.

  I now login on tty5 and type the setfont command first thing.  When
switching out of X, I can {CTRL-ALT-F5}, and hit up-arrow and enter
(bash history) but it's still a nuisance.  How can I stop this from
happening?

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Re: /var/tmp/portage not empty?

2010-06-13 Thread Mick
On Wednesday 09 June 2010 09:32:40 Neil Bothwick wrote:
 On Wed, 9 Jun 2010 06:03:51 +, Mick wrote:
  Thanks I used reiser4progs to check and repair the fs.  The weird
  thing is that I had to repeat this on the /var partition, after I
  zero'ed it, reformatted it and reinstalled gentoo on it.   O_O
 
  How is it possible that the same directory/file gets corrupted again
  after a reinstall?
 
 The first thing I'd do it set PORTAGE_TMPDIR to somewhere less important
 than /var. You don't want to risk corrupting system files while sorting
 this out. It would also show whether the problem was with an ebuild or
 the filesystem. Use a tmpfs filesystem if you have the memory.

I had to reinstall because I didn't catch this early enough the first time and 
it corrupted my other system partitions.  This corruption happened when I 
installed gcc-4.4.3-r2.

After I reinstalled and while still running the LiveCD I updated gcc to the 
same gcc-4.4.3-r2 version.  As I said, again I ended up with a corrupted  
'/var/tmp/portage/sys-devel/gcc-4.4.3-
r2/work/gcc-4.4.3/libjava/classpath/resource/gnu/java/locale' directory.

Running fsck.reiser4 --check and then --fix corrected the corruption and that 
was that.  Before I reinstalled, the corruption must have been more pervasive 
because fsck.reiser4 could not fix it - a simple reboot would bring it back.

So, my conclusion from this sad story is that on my system reiser4 was 
attacked by gcc!  O_O

I'd be interested to know if any other gentoo systems running a separate /var 
partition on reiser4 noticed this, in which case I'd file a bug for it.  If 
I'm alone in having this problem then I'll wait until it happens again before 
I open a bug report.
-- 
Regards,
Mick


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


[gentoo-user] Re: Pasting jacked up for mnths now... like a bugger

2010-06-13 Thread Harry Putnam
pk pete...@coolmail.se writes:

 On 2010-06-06 22:13, Harry Putnam wrote:

 I disagree that we all are accustomed to Cntl-v etc.  That is more a
 windows phenomena... long time linux (X) users are more accustomed to
 left mouse highlight... middle mouse paste, I think, at lest I am.

 I'm not alone then... :-D

 About your problem, does pasting work in other apps or terminals? What X
 version are you using (i.e. when did your problems start)? Could some
 setting in firefox be the problem (I remember needing to set
 middlemouse.contentLoadURL to false due to some problem with copy 
 paste but it might not be related)?

Focusing in and tracking experiments, it seems to be a problem mainly
related to pasting to/from emacs-24  / firefox-3.6.3.

But also it appears cmdline (Xterm version 256)  to firefox as well

I don't really use hardly any other apps.  Xterm, firefox, emacs, and
X, usually several frames of each (except X) and maybe several virtual
terminals provided in the X desktop pager.  Where I'll have several
bunches of xterms and maybe several instances of  emacs running.




Re: [gentoo-user] openrc conf.d/modules

2010-06-13 Thread Neil Bothwick
On Sat, 12 Jun 2010 19:27:20 +1000, Adam wrote:

 My modules file contains;
 modules=vmmon vmnet vmblock vmci vsock

 But the vm modules arent loaded. dmesg has nothing. What am i missing?

I have no vmware modules in that file, the modules are loaded by the
vmware init script.


-- 
Neil Bothwick

For security reasons, all text in this mail is double-rot13 encrypted.


signature.asc
Description: PGP signature


[gentoo-user] Cannot copy directories into webdav

2010-06-13 Thread Mick
Hi All,

I have set up a directory to have webdav access like so using 
/etc/apache2/vhosts.d/00_default_vhost.conf:

VirtualHost *:80
ServerName mydomain.com
ServerAlias demo-site
DocumentRoot /var/www/mydomain.com/htdocs
Location /
   Dav On
   AuthType Basic
   AuthUserFile /var/www/.basic_password
   AuthName WeDav Site Admin Access Only!
   Require user fred
/Location
/VirtualHost


I can access and read files.  I cannot create files:

Access was denied whilst attempting to upload webdav://mydomain.com/blah-
blah/test.txt

I cannot create directories:

A resource cannot be created at the destination until one or more 
intermediate collections (folders) have been created.

Any idea what I'm missing here?  The directory I am trying to write into is 
owned by apache:

drwxr-xr-x 3 apache apache  72 Jan 24 17:26 themes
-- 
Regards,
Mick


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


[gentoo-user] Re: openrc conf.d/modules

2010-06-13 Thread walt

On 06/12/2010 05:56 PM, Adam wrote:

My modules file contains;


Which 'modules' file do you mean?


/etc/conf.d/modules


modules=vmmon vmnet vmblock vmci vsock

modules_2_6=${modules_2_6} acpi-cpufreq
module_acpi_cpufreq_args_2_6=

modules_2_6=${modules_2_6} fuse
module_fuse_args_2_6=

modules_2_6=${modules_2_6} usbhid
module_usbhid_args_2_6=quirks=0x05ac:0x1294:0x04


But the vm modules arent loaded. dmesg has nothing. What am i missing?


Are there any references to those modules in /etc/modprobe.d/*conf or
/etc/modules.d/*conf ? If not, there should be.  If yes, did you run
update-modules?


There's no reference to the modules in either of those locations before
or after running update-modules (so no i hadnt run it because the openrc
update guide doesnt mention that its required, so I had assumed that its
no longer required).


I missed your reference to openrc last time.  Do you see any interesting
messages when you run /etc/init.d/modules restart?

Where do those vm* modules come from?






[gentoo-user] emerge gnome fail

2010-06-13 Thread Jose Juan Montiel

Hi,

yesterday i finally decide to try Gentoo (I came from debian).

I follow all step of 
http://www.gentoo.org/doc/en/gentoo-x86-quickinstall.xml but when i 
finally go to install gnome...  in the latests package (mailclient or 
something similar) fail...


I would like to know how to skip a failed package of metapackage 
gnome... or how to update to other version (2.28 - 2.30)...


Sorry for this trivial question ;)

Thanks.



Re: [gentoo-user] Anything better than procmail?

2010-06-13 Thread Tanstaafl
On 2010-06-12 5:17 PM, David W Noon wrote:
 On 12 Jun 2010, at 12:35, David W Noon wrote:
 ... Dovecot, but quickly replaced by dbmail.

 Can I ask you why?

 Certainly.
 
 I wanted the messages to be stored in a single, dedicated logical
 volume in my DASD farm.  Dovecot always stored them in each user's
 ~/Mail/ directory, so they were all over the /home L.V.

Dovecot will store them where you tell it to. You could have easily
stored them all in a single directory like /var/virtual/mail/user, or
even used a hashed directory scheme (which might be desirable for very
large installations like ISPs)...

 In contrast, dbmail uses a database, in my case PostgreSQL, so it is
 up to the database administrator to decide where they go; but it is
 always in the one place. This makes for easy backup and restore: a
 cron jobs runs pg_dump every night on the dbmail database..

Storing mail in a database sounds interesting, but it *will* introduce a
very noticeable performance hit, there is simply no way around it...

 I have found the author of Dovecot to be wonderfully responsive,  
 pushing out a fix for a deal-breaker issue for my site within hours
 of me reporting it.

+5 Timo is coding madman... ;)

 Sieve is also integrated into dbmail.

And dovecot... and 2.0 will have even better integration.

 The reject syntax [for sieve] seems nice and clear, but if the MX 
 server (for your email's domain name) has already accepted the
 message then it's not really much good rejecting it. In fact, doing
 so is surely frowned upon, isn't it?

 I use a quarantine folder in my IMAP4 account, and my sieve script
 places spam and infected messages there.  Since the physical location
 is on a logical volume that holds a PostgreSQL tablespace, any malware
 is not executable, as that L.V. is mounted with noexec.  This is
 another advantage over placing mail in the /home L.V., in each user's
 home directory.

While dovecot+sieve does require a 'home' directory for sieve to work,
it doesn't have to be the users real home directory, and with
dovecot-LDA+sieve, you can safely reject at smtp time, and its vacation
message system is very sane (doesn't send vacation messages when it
shouldn't, like to mail lists, etc)...



Re: [gentoo-user] emerge gnome fail

2010-06-13 Thread Alex Schuster
Jose Juan Montiel writes:

 yesterday i finally decide to try Gentoo (I came from debian).

Welcome!

 I follow all step of 
 http://www.gentoo.org/doc/en/gentoo-x86-quickinstall.xml but when i 
 finally go to install gnome...  in the latests package (mailclient or 
 something similar) fail...
 
 I would like to know how to skip a failed package of metapackage 
 gnome... or how to update to other version (2.28 - 2.30)...
 
 Sorry for this trivial question ;)

Use emerge --resume --skipfirst to continue where you were, skipping
this package.
Or simply emerge --keep-going package, this will continue
automatically even if a package fails.
To compile the package that faileed, there is often a bug report on
bugs.gentoo.org already. Just google for the error message, and if
you're lucky, you will find the solution. If not, just open a new bug
report :)

Oh, and please open a new thread the next time. This one appears under
the openrc thread.

Wonko



Re: [gentoo-user] emerge gnome fail

2010-06-13 Thread David Abbott
On Sun, Jun 13, 2010 at 1:32 PM, Jose Juan Montiel
josejuan.mont...@gmail.com wrote:
 Hi,

 yesterday i finally decide to try Gentoo (I came from debian).

 I follow all step of
 http://www.gentoo.org/doc/en/gentoo-x86-quickinstall.xml but when i finally
 go to install gnome...  in the latests package (mailclient or something
 similar) fail...

 I would like to know how to skip a failed package of metapackage gnome... or
 how to update to other version (2.28 - 2.30)...

 Sorry for this trivial question ;)

 Thanks.


Hi Jose and welcome to Gentoo, check out man emerge and some useful
parameters like --skip-first,  --resume and --keep-going.
Have Fun
-- 
David Abbott (dabbott)



Re: [gentoo-user] Anything better than procmail?

2010-06-13 Thread David W Noon
On Sun, 13 Jun 2010 20:20:02 +0200, Tanstaafl wrote about Re:
[gentoo-user] Anything better than procmail?:

On 2010-06-12 5:17 PM, David W Noon wrote:
 I wanted the messages to be stored in a single, dedicated logical
 volume in my DASD farm.  Dovecot always stored them in each user's
 ~/Mail/ directory, so they were all over the /home L.V.

Dovecot will store them where you tell it to. You could have easily
stored them all in a single directory like /var/virtual/mail/user, or
even used a hashed directory scheme (which might be desirable for very
large installations like ISPs)...

IIRC, that means that I have to give universal write access, perhaps
with a sticky bit, on that directory.  The database approach makes
much more sense from a security point of view, as nobody accesses the
filesystem directly, except the database manager.

 In contrast, dbmail uses a database, in my case PostgreSQL, so it is
 up to the database administrator to decide where they go; but it is
 always in the one place. This makes for easy backup and restore: a
 cron jobs runs pg_dump every night on the dbmail database..

Storing mail in a database sounds interesting, but it *will* introduce
a very noticeable performance hit, there is simply no way around it...

Actually, it doesn't.  The caching of PostgreSQL is very good, and it
performs better than ext3 or ReiserFS or JFS or ..., particularly for
random access patterns such as reading email messages.  The only
additional overhead is the cross-memory transfer through a UNIX socket
from PostgreSQL to dbmail, which is much less than the caching benefits
of PostgreSQL.

 I have found the author of Dovecot to be wonderfully responsive,  
 pushing out a fix for a deal-breaker issue for my site within hours
 of me reporting it.

+5 Timo is coding madman... ;)

But this is Gentoo.  We get new releases when the Gentoo dev's allow
the new package through.

 Sieve is also integrated into dbmail.

And dovecot... and 2.0 will have even better integration.

But I have that now. ... :-)

You sound like a Microsoft zealot from the 1990's, where the next
release of your favourite product will have every feature imaginable --
and totally debugged too!

 The reject syntax [for sieve] seems nice and clear, but if the MX 
 server (for your email's domain name) has already accepted the
 message then it's not really much good rejecting it. In fact, doing
 so is surely frowned upon, isn't it?

 I use a quarantine folder in my IMAP4 account, and my sieve script
 places spam and infected messages there.  Since the physical location
 is on a logical volume that holds a PostgreSQL tablespace, any
 malware is not executable, as that L.V. is mounted with noexec.
 This is another advantage over placing mail in the /home L.V., in
 each user's home directory.

While dovecot+sieve does require a 'home' directory for sieve to work,
it doesn't have to be the users real home directory, and with
dovecot-LDA+sieve, you can safely reject at smtp time, and its vacation
message system is very sane (doesn't send vacation messages when it
shouldn't, like to mail lists, etc)...

What's a vacation? ... :-))
-- 
Regards,

Dave  [RLU #314465]
==
dwn...@ntlworld.com (David W Noon)
==


signature.asc
Description: PGP signature


Re: [gentoo-user] dual booting windows 7, extended partitions, and the mbr

2010-06-13 Thread Allan Gottlieb
At Sat, 12 Jun 2010 09:05:43 +0100 Mick michaelkintz...@gmail.com wrote:

 On Tuesday 08 June 2010 12:47:37 Allan Gottlieb wrote:
 At Tue, 08 Jun 2010 10:52:14 +0100 Neil Bothwick n...@digimed.co.uk wrote:
  On Mon, 07 Jun 2010 22:10:06 -0400, Allan Gottlieb wrote:
  I am now ready to install linux (and grub).
  Can I have all of linux on extended partitions?  Something like
 
  4.  Extended
  5.  linux / (a logical partition inside the extended partition)
  6.  linux swap (another logical partition)
  7.  linux lvm2 partition (another logical partition)
  8.  linux small vfat partition (logical)
 
  I am mainly concerned about #5.  Googling reveals that you can boot
  from a logical partition but the authors seem to recommend against
  it (without saying why in detail).
 
  Yes. My Linux only computers have no primary partitions, everything is on
  logical partitions and has worked that way for many years without a
  single issue.
 
 Thank you.  That is just the endorsement I needed to go ahead.

 The first partition has FreeDOS I think and a couple of recovery tools.

 The second partition *should* have a backup of the MSWindows OS _and_ the 
 boot 
 files.  If you less about with it you will probably find that your MSWindows 
 OS does not boot anymore.

 The third partition should have the MSWindows OS.

 A quick check for finding a file called BCD and perhaps BCD_backup will show 
 you which is the boot partition.


 If you are still under warranty you may want to install GRUB in your Linux 
 /boot partition not in the MBR and then copy an image of the boot partition 
 record from the Linux /boot partition to a file in your MSWindows OS 
 partition.  I have detailed how to chainload Linux from MSWindows in this 
 thread:

 http://thread.gmane.org/gmane.linux.gentoo.user/226452/focus=226560

 HTH.

Thanks.  Currently I am successfully chainloading windows from grub
loaded in the MBR.  My only problem is with the network under linux, but
that is another thread.

thanks again,
allan



[gentoo-user] Some log stuff shows up on text console after recent emerge

2010-06-13 Thread Walter Dnes
  Any time I insert/remove a USB key, or when iptables has something to
say, it shows up on all text consoles, not just number 12.  This seems
to be happening after a recent update.  I'm running syslog-ng 3.0.6.  I
have not manually touched any config files.

  Searching through Google turned up answers for various other distros,
directing me to various config files that don't exist in Gentoo.  Here
is my config for syslog-ng.

@version: 3.0

options { 
chain_hostnames(no); 
stats_freq(43200); 
};

source src {
unix-stream(/dev/log max-connections(256));
internal();
file(/proc/kmsg);
};

destination messages { file(/var/log/messages); };

destination console_all { file(/dev/tty12); };

log { source(src); destination(messages); };
log { source(src); destination(console_all); };


-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Cannot copy directories into webdav

2010-06-13 Thread Walter Dnes
On Sun, Jun 13, 2010 at 04:06:26PM +0100, Mick wrote

 Any idea what I'm missing here?  The directory I am trying to write
 into is owned by apache:

  What user are you when trying to write into the directory?

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] emerge gnome fail

2010-06-13 Thread Stroller

Hi Jose,

Please don't hijack threads. Previous discussion  explanation:

http://www.mail-archive.com/gentoo-user@lists.gentoo.org/msg71515.html


On 13 Jun 2010, at 18:32, Jose Juan Montiel wrote:

yesterday i finally decide to try Gentoo (I came from debian).

I follow all step of http://www.gentoo.org/doc/en/gentoo-x86-quickinstall.xml


The quick install guide is for users who are already experienced with  
Gentoo. With a Debian background, you'll probably be fine, but you  
might find it worth keeping the full install guide handy.


but when i finally go to install gnome... in the latests package  
(mailclient or something similar) fail...


Have you rebooted the system yet? Don't bother about installing Gnome  
until you've done so. Be absolutely minimal in your steps, if they're  
not directly related to having a working system. A DE is eyecandy -  
just get the disks prepared, the files copied, the kernel installed  
and the bootloader going. When the system boots for the first time to  
a plain console you can then log in as root and add ~jose, cron,  
syslog, GUI (although you'll probably want to install GNU screen a  
little bit earlier).


I would like to know how to skip a failed package of metapackage  
gnome... or how to update to other version (2.28 - 2.30)...


Once you have the system booting you'll be able to copy  paste the  
full output of the error.  Note that most install CDs also offer SSH,  
if you have another, fully-working system.


Stroller.




Re: [gentoo-user] Re: openrc conf.d/modules

2010-06-13 Thread Adam
 I missed your reference to openrc last time.  Do you see any interesting
 messages when you run /etc/init.d/modules restart?

sphinx adam # /etc/init.d/modules restart
 * WARNING: you are stopping a boot service
 * Loading module acpi-cpufreq ...
  [ ok ]
 * Loading module fuse ...
  [ ok ]
 * Loading module usbhid ...
  [ ok ]
 * Autoloaded 3 module(s)

So they're just being missed. I've changed it to
modules_2_6=${modules_2_6} vmmon vmnet vmblock vmci vsock

And it now works ok.

 Where do those vm* modules come from?

VMware 7.1 (used the vmware installer... messy i know)