Re: [gentoo-user] Numpad keys behaving strange after system-wide update

2008-08-03 Thread Roy Wright
Mark David Dumlao wrote:
 Hi, I noticed my numpad keys stopped working after doing a system update.
 The thing is I can't pinpoint what exacly I changed since I did an emerge
 -uDnav world. I'm sure its some file somewhere...
 
 Pressing numpad keys in X doesnt seem to produce results or nothing at all.
 However, presisng numpad keys seems to work fine on the (non xterm) command
 line. Did anyone else's numpad appear to break? What do you think I should
 look up?
 

This is the symptom I see when I try evdev driver and am using a MS
Natural Pro keyboard.  Briefly the keyboard is handled as two USB
devices.  The keys that work are on the first device, the ones that
don't on the second device.  Following gentoo-wiki howtos it looks like
you have to hack the kernel.  At that point I simply reverted to using
the kbd driver.  Maybe some year evdev will mature...

Quick check, look in your xorg.conf ServerLayout section, identify
which keyboard InputDevice, then check to see which driver it is using.

HTH,
Roy




Re: [gentoo-user] Python blockage problem.

2008-08-03 Thread Robert Cernansky
On Sat, 2 Aug 2008 18:24:32 -0400 David Corbin [EMAIL PROTECTED] wrote:

 On Saturday 02 August 2008 05:54:35 pm Qian Qiao wrote:
  On Sat, Aug 2, 2008 at 9:14 PM, David Corbin [EMAIL PROTECTED] 
 wrote:
   python-updater says it is blocked by an old version of python.
   Yet I have an up-to-date version of python installed.  This is
   keeping me from upgrading. Any help appreciated.
  
   [snip]
 
  Please search the list for previous discussions of this.
 
 I found such a thread, and I've been done what they said, except for
 removing the old one.
 
 I tried this:
 [EMAIL PROTECTED] /home/dcorbin]# emerge -C =dev-lang/python-2.3.6-r2
 
 --- Couldn't find '=dev-lang/python-2.3.6-r2' to unmerge.

Your blocking version of python is probably not exactly 2.3.6-r2. Try:

emerge -C =dev-lang/python-2.3.6-r2

Robert


-- 
Robert Cernansky
E-mail: [EMAIL PROTECTED]
Jabber: [EMAIL PROTECTED]




[gentoo-user] Sharing of wine drives between different users of same machine

2008-08-03 Thread Mark David Dumlao
After an (in?)convenient crash of a particular operating system which I have
dual-booted with Gentoo for a while; I am going to reinstall it. My main
issue though, for that particular operating system is that the shared
c_drive of different wine users was shared there, and it annoys me that
certain games now need some reinstalling (fortunately, the save files are in
a safe place).

Well since I'm going to go and do something a bit tedious anyway, I might as
well do it right.

I was wondering what strategies you guys use for sharing wine drives between
different users. I have 3 kids using the same box for games; wine was one of
the main features of using that box. I have previously done some of the
following:
(1) Everyone's .wine - c:\wine (ntfs drive)
which makes some sense, but the bad thing is that usernames are preserved
across users.
(2) Everyone's c_drive - c:\wine (ntfs drive)
Which also makes some sense, but I wonder if registry issues that are user
specific point to the wrong places.
(3) Everyone's program files - c:\wine (ntfs drive)
Which does solve the issue of saving space; but the problem is that registry
entries from installing programs don't get shared.

What's the proper way to multi-seat wine to make it behave like a multi-user
Windows environment?


Re: [gentoo-user] Numpad keys behaving strange after system-wide update

2008-08-03 Thread Daniel Pielmeier

Roy Wright schrieb am 03.08.2008 08:10:

Mark David Dumlao wrote:

Hi, I noticed my numpad keys stopped working after doing a system update.
The thing is I can't pinpoint what exacly I changed since I did an emerge
-uDnav world. I'm sure its some file somewhere...

Pressing numpad keys in X doesnt seem to produce results or nothing at all.
However, presisng numpad keys seems to work fine on the (non xterm) command
line. Did anyone else's numpad appear to break? What do you think I should
look up?



This is the symptom I see when I try evdev driver and am using a MS
Natural Pro keyboard.  Briefly the keyboard is handled as two USB
devices.  The keys that work are on the first device, the ones that
don't on the second device.  Following gentoo-wiki howtos it looks like
you have to hack the kernel.  At that point I simply reverted to using
the kbd driver.  Maybe some year evdev will mature...

Quick check, look in your xorg.conf ServerLayout section, identify
which keyboard InputDevice, then check to see which driver it is using.

HTH,
Roy



The new hal version converts the InputDevice section for the keyboard
from xorg.conf to a fdi rule file (/etc/hal/fdi/policy/10-x11-input.fdi)
for hal. Even if you use the kbd driver in xorg.conf it is converted to
use evdev in the fdi file. Now when you use =xorg-server-1.4 and have
the hal use-flag enabled it will use the evdev driver for the keyboard.

However a bug in the hal-0.5.11 ebuild prevents the conversion to the
fdi file. The ebuild states it has done the conversion but actually has
done nothing, and recommends to remove the InputDevice section in
xorg.conf. So there are chances that there is no rule file and no entry
in xorg.conf. Maybe evdev then does some guessing and guesses wrong.

Regards,

Daniel



[gentoo-user] unable to compile cups while doing world update

2008-08-03 Thread John covici
Hi.  I was doing a world update on my laptop and I was trying to
compile ghostscript, but in the middle of doing that -- it compiled
cups and the compile of cups is not working.  Here is the error I get
while trying to emerge cups which I think will fix the problem with
ghostscript also:

Making all in scheduler...
Compiling auth.c...
Compiling banners.c...
auth.c: In function 'cupsdAuthorize':
auth.c:484: error: storage size of 'peercred' isn't known
auth.c:484: warning: unused variable 'peercred'
make[1]: *** [auth.o] Error 1
make[1]: *** Waiting for unfinished jobs
make: *** [all] Error 1
 *
 * ERROR: net-print/cups-1.3.7-r1 failed.
 * Call stack:
 *   ebuild.sh, line   49:  Called src_compile
 * environment, line 3017:  Called die
 * The specific snippet of code:
 *   emake || die emake failed
 *  The die message:
 *   emake failed
 *
 * 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/net-print:cups-1.3.7-r1:20080803-104657.log'.
 * The ebuild environment file is located at
   '/var/tmp/portage/net-print/cups-1.3.7-r1/temp/environment'.
 
I even tried to re emerge the old version of cups, but it is now
masked off.

Any assistance on this would be appreciated.

My emerge --info is below.

Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.3.1, 
glibc-2.8_p20080602-r0, 2.6.20-suspend2-r6 i686)
=
System uname: 2.6.20-suspend2-r6 i686 Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz
Timestamp of tree: Fri, 01 Aug 2008 15:06:01 +
app-shells/bash: 3.2_p33
dev-lang/python: 2.4.3-r4, 2.5.2-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9
sys-apps/sandbox:1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS=x86
ALSA_CARDS=ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 
emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m 
maestro3 trident usb-audio via82xx via82xx-modem ymfpci
ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty extplug file 
hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route 
share shm softvol
APACHE2_MODULES=actions alias auth_basic authn_alias authn_anon authn_dbm 
authn_default authn_file authz_dbm authz_default authz_groupfile authz_host 
authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir 
disk_cache env expires ext_filter file_cache filter headers include info 
log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling 
status unique_id userdir usertrack vhost_alias
ARCH=x86
AUTOCLEAN=yes
BASH_ENV=/root/.bashrc
CBUILD=i686-pc-linux-gnu
CFLAGS=-O2 -mtune=i686 -pipe
CHOST=i686-pc-linux-gnu
CLEAN_DELAY=5
CONFIG_PROTECT=/etc
CONFIG_PROTECT_MASK=/etc/env.d /etc/fonts/fonts.conf /etc/gconf 
/etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d
CVS_RSH=ssh
CXXFLAGS=-O2 -mtune=i686 -pipe
DISTDIR=/usr/portage/distfiles
EDITOR=/usr/bin/emacs
ELIBC=glibc
EMERGE_DEFAULT_OPTS=--ask --color=n --verbose --nospinner
EMERGE_WARNING_DELAY=10
FEATURES=distlocks metadata-transfer sandbox sfperms strict unmerge-orphans 
userfetch
FETCHCOMMAND=/usr/bin/wget -t 5 -T 60 --passive-ftp -O ${DISTDIR}/${FILE} 
${URI}
GCC_SPECS=
GDK_USE_XFT=1
GENTOO_MIRRORS=ftp://mirror.iawnet.sandia.gov/pub/gentoo/ 
http://distfiles.gentoo.org;
G_BROKEN_FILENAMES=1
G_FILENAME_ENCODING=UTF-8
HOME=/root
INFOPATH=/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.18/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.3.1/info:/usr/share/info/emacs-22
INPUT_DEVICES=keyboard mouse evdev
KERNEL=linux
LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses 
text
LESS=-R -M --shift 5
LESSOPEN=|lesspipe.sh %s
LOGNAME=root
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.yuv=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32

[gentoo-user] Re: unable to compile cups while doing world update

2008-08-03 Thread Nikos Chantziaras

John covici wrote:

Hi.  I was doing a world update on my laptop and I was trying to
compile ghostscript, but in the middle of doing that -- it compiled
cups and the compile of cups is not working.


Try cups-1.3.8.  This should build fine with GCC 4.3.1 (at least it does 
here.)





Re: [gentoo-user] KDE 4.1 ebuild

2008-08-03 Thread Rev. Ferris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I did it already.
I solved emerging first qt and when it finished with its depends (about 
12 qt libraries) I tried to install kde again; it worked.
After about 20 compiling hours, I can try now my new desktop!
Thanks a lot,
Luigi

 Am Samstag, 2. August 2008 11:43:57 schrieb Rev. Ferris:
  I tried this night to build the 4.1 trees using layman and this
  guide: http://gentoo-wiki.com/KDE4
  but I can't start the emerge operation because I found 2 blocking
  packages:
 
  [blocks B ] x11-libs/qt-core (is blocking x11-libs/qt-4.3.5)
  [blocks B ] =x11-libs/qt-4.4.0_alpha:4 (is blocking
  x11-libs/qt-script-4.4.0, x11-libs/qt-dbus-4.4.0,
  x11-libs/qt-sql-4.4.0, x11-libs/qt-gui-4.4.0,
  x11-libs/qt-qt3support-4.4.0, x11-libs/qt-svg-4.4.0,
  x11-libs/qt-test-4.4.0, x11-libs/qt-opengl-4.4.0,
  x11-libs/qt-core-4.4.0, x11-libs/qt-webkit-4.4.0)
 
  How can I solve this conflict?

 emerge -C =x11-libs/qt-4.3.5

 Bye...

   Dirk
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkiVguMACgkQYoDKzgS2pLOiLACeK/IXfwsDxu4LDBXo8cFQWaMQ
TjYAnR2+DeA5PbZheC1pwUFxgnxdSxgc
=doOD
-END PGP SIGNATURE-



[gentoo-user] Re: unable to compile cups while doing world update

2008-08-03 Thread John covici
on Sunday 08/03/2008 Nikos Chantziaras([EMAIL PROTECTED]) wrote
  John covici wrote:
   Hi.  I was doing a world update on my laptop and I was trying to
   compile ghostscript, but in the middle of doing that -- it compiled
   cups and the compile of cups is not working.
  
  Try cups-1.3.8.  This should build fine with GCC 4.3.1 (at least it does 
  here.)

OK, thanks-- that did the trick.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 [EMAIL PROTECTED]



[gentoo-user] Advice about setting up split home directory

2008-08-03 Thread Alan E. Davis
Thanks to advice on this list I have a reasonably stable system now, and
it's time to get hands dirty.   I have more GB of collected files than I can
fit into my ~/ home directory, so I am planning to link several partitions
to ~/ in an effort to organize this mass.

1.  How could one reasonably link a subdir of a partition as a subdir or
folder of one's ~/, for example, /dev/sdd3/VIDEO (partition on that
partition called VIDEO) as a subdirectory, ~/VIDEO?  I want ~/VIDEO to
behave identically as it would if it were on the same partition as ~/ .  At
least to the greatest extent possible.  I have seen some arcane arrangement
somewhere, but to what extent is that necessary to do?  I would rather avoid
having to mount the entire parition as a subdir, and then have to access,
for example, ~/ARCHIVE/VIDEO.

2.  As an aside, Nautllus (~/amd64 Gnome overlay, version 2.23.5.1) behavior
differs from that in Ubuntu. I have resisted the use of a GUI file manager
for a long time, except for a few tasks, and especially I have avoided
nautilus as a tool for moving files around the system.  The availability of
bookmarks in the sidepane is highly useful, however, and I've gotten used
to it.  Can I remove the display of ~/media/* from the sidepanel?  This has
enabled me to organize my system much more effectively.  Thunar is more to
my taste in this way, but nautilus has other useful features, including it
is integrated with gnome.

Thank you for any advice.  Also thanks to the list for past helpful advice.


Alan

-- 
Alan Davis

It's never a matter of liking or disliking ...
---Santa Ynez Chumash Medicine Man


Re: [gentoo-user] Advice about setting up split home directory

2008-08-03 Thread b.n.

Alan E. Davis ha scritto:
Thanks to advice on this list I have a reasonably stable system now, and 
it's time to get hands dirty.   I have more GB of collected files than I 
can fit into my ~/ home directory, so I am planning to link several 
partitions to ~/ in an effort to organize this mass.


1.  How could one reasonably link a subdir of a partition as a subdir or 
folder of one's ~/, for example, /dev/sdd3/VIDEO (partition on that 
partition called VIDEO) as a subdirectory, ~/VIDEO?  I want ~/VIDEO to 
behave identically as it would if it were on the same partition as ~/ .  
At least to the greatest extent possible.  I have seen some arcane 
arrangement somewhere, but to what extent is that necessary to do?  I 
would rather avoid having to mount the entire parition as a subdir, and 
then have to access, for example, ~/ARCHIVE/VIDEO.


What's wrong with using symbolic links?

m.




Re: [gentoo-user] Advice about setting up split home directory

2008-08-03 Thread Volker Armin Hemmann
On Sonntag, 3. August 2008, Alan E. Davis wrote:
 Thanks to advice on this list I have a reasonably stable system now, and
 it's time to get hands dirty.   I have more GB of collected files than I
 can fit into my ~/ home directory, so I am planning to link several
 partitions to ~/ in an effort to organize this mass.

 1.  How could one reasonably link a subdir of a partition as a subdir or
 folder of one's ~/, for example, /dev/sdd3/VIDEO (partition on that
 partition called VIDEO) as a subdirectory, ~/VIDEO?  I want ~/VIDEO to
 behave identically as it would if it were on the same partition as ~/ .  At
 least to the greatest extent possible.  I have seen some arcane arrangement
 somewhere, but to what extent is that necessary to do?  I would rather
 avoid having to mount the entire parition as a subdir, and then have to
 access, for example, ~/ARCHIVE/VIDEO.

man mount, also google for 'bind' mounting. 


 2.  As an aside, Nautllus (~/amd64 Gnome overlay, version 2.23.5.1)
 behavior differs from that in Ubuntu. 

because ubuntu patches A LOT. Ubuntu-gnome is not gnome.



Re: [gentoo-user] Advice about setting up split home directory

2008-08-03 Thread Alan E. Davis
On Sun, Aug 3, 2008 at 11:17 PM, Volker Armin Hemmann 
[EMAIL PROTECTED] wrote:



 man mount, also google for 'bind' mounting.


Thank you.  That was it.  IN answer to another query, as to why not symlink,
I cannot point to a particular behavior, but I have found that symlinks do
not behave in all situations like real hardlinks.  What I want it something
like a hardlink to a directory.

I think this may be possible with bind mounting.

One major problem with nautilus or any other GUI file manager---in fact
many, many GUI programs that rely on mouse input primarily---has been the
loss of subtler capabilities like hard link.  I've been looking at using
hardlinks to organize my literature collection.  A single paper may belong
equally in several categories.  Or for photos, to go beyond, say, catalogs
in gthumbs: catalogs are possibly lost in an upgrade or minor accident.

 I'd be interested in seeing particular examples of the use of bind mounts
for the purposes I propose.  Reiterating:

   - mounting a directory from another tree with a full status in all
respects as a directory on the current tree.
   - mounting a directory in several places.   (A subdirectory of
microscopical images and another subdirectory of notes can be linked
together in the same directory under the specific project or organism under
study).

Perhaps a more skilled approach to the use of symlinks would serve the same
purpose more directly?

Thank you again for the input.

Alan



-- 
Alan Davis

It's never a matter of liking or disliking ...
---Santa Ynez Chumash Medicine Man


Re: [gentoo-user] Advice about setting up split home directory

2008-08-03 Thread Josh Cepek

Alan E. Davis wrote:
Thanks to advice on this list I have a reasonably stable system now, and 
it's time to get hands dirty.   I have more GB of collected files than I 
can fit into my ~/ home directory, so I am planning to link several 
partitions to ~/ in an effort to organize this mass.


Personally I'd suggest using LVM for this, although migrating to LVM 
would require you to back up your current filesystems (such as creating 
a stage 4 as described on the gentoo-wiki), reformatting your 
filesystems to LVM, and then un-tarring back to the LVM system.  I'm not 
sure if that's more work than you bargained for, but LVM has some 
fantastic features that prevent these sort of out of space issues:


1) You can leave some hard disk space in the Volume Group (VG) initially 
unallocated to Logical Volumes (LV's) and then add the unallocated space 
later to an LV (and its underlying filesystem) when it starts to become 
full.  This ability to grow an LV and the underlying filesystem can 
happen while the filesystem is online and in-use.


2) You can shrink LV's as well, although they need to be unmounted first.

3) You can easily migrate between hard drives while the system is online 
by moving LV's from one Physical Volume (PV) (eg: a hard disk) to another.


4) You can add multiple hard drives to an LVM Volume Group (VG - 
essentially a collection of PV's) and use the storage space from both 
drives to allocate space to an LV.


LVM is worth a look, at least to understand some of its benefits.  I 
typically set my root partition at about 512 MB and then create LVM 
partitions for /home, /usr, /opt, and /var. (You could do the same for 
/tmp, but I use tmpfs for that.)  It's possible to do LVM on the / 
partition, but that requires an initrd to work properly.



--
Josh



signature.asc
Description: OpenPGP digital signature


[gentoo-user] tovid/todisc and USE variables

2008-08-03 Thread dhk

How do you find out what USE variables a build can have?

I recently got a new disk and reinstalled everything.  Now tovid doesn't 
seem to work and I think it's because I don't have all the USE variable 
that I use to have.


The problem I'm having with tovid is it runs very slow and never 
finishes.  It's doing something but I don't know what.  When I run 
todisc it will display the menu correctly and after typing yes hangs 
on Checking filename.mpeg for compliance...  The only thing I can 
see happening is the ./todisc-work/idvid.0/idvid.scratch file keeps 
getting bigger.  I've let todisc run for almost 18 hours and still it 
seems like there's no end in sight.  Anyone know what's happening and 
why this doesn't work?  The mpeg I'm testing with is only 30 seconds 
long and this use to work on my old disk.




Re: [gentoo-user] tovid/todisc and USE variables

2008-08-03 Thread Dale

dhk wrote:

How do you find out what USE variables a build can have?




emerge -pv tovid will do that.  eix should do that as well.

The only USE variable I saw was tk. 


Hope that helps.

Dale

:-)  :-) 





[gentoo-user] Apache2 bandwidth limiting help needed

2008-08-03 Thread Jayson Smith

Hi all,

I've been using MOD_BW, but for some reason it's stopped working. Don't 
know why, everything's configured properly. So I was going to try MOD_CBAND. 
When I have it installed, E.G. '-D CBAND' in the Apache2 options, trying to 
go to my website results in a 403 Forbidden error. This happens even if I 
give a bad URL on my website, something that would normally result in a 404 
Not Found error. Here's the config file. I'm going pretty much by the 
example in the file. If I'm doing something obviously wrong, please let me 
know!

Thanks.

# This file only loads mod_cband and enables /cband-status page.
# For examples please consult the vhosts.conf.example.gz,
# vhosts2.conf.example.gz and vhosts3.conf.example.gz files installed in
# /usr/share/doc/mod_cband-*/

IfDefine CBAND
LoadModule cband_module modules/mod_cband.so

Location /cband-status
SetHandler cband-status
/Location

# Some defaults:
CBandDefaultExceededURL http://www.google.com
#CBandScoreFlushPeriod 100

# And in virtual host configuration to limit it's speed:
VirtualHost *:80
DocumentRoot /var/www/localhost/htdocs
ServerName www.bluegrasspals.com
IfModule mod_cband.c
 CBandLimit 600M
 CBandExceededURL http://www.bluegrasspals.com/bandwidth.html
 CBandScoreboard /var/run/mod_cband.bluegrasspals.scoreboard
 CBandPeriod 600S
 CBandSpeed 40kb 10 5
 CBandRemoteSpeed 40kb/s 10 5
/IfModule
/VirtualHost

#VirtualHost *:80
# DocumentRoot /var/www/example.com/htdocs
# ServerName www.example.com
# IfModule mod_cband.c
#  CBandLimit 600M
#  CBandExceededURL http://www.example.com/ex1.html
#  CBandScoreboard /var/run/mod_cband.example.com.scoreboard
#  CBandPeriod 200S
#
#  # 100kb/s, 10 request/s, max 5 connections
#  CBandSpeed 100kb 10 5
#
#  # 10kb/s, 3 request/s - speed limit for any remote client, max 5 
connections

#  CBandRemoteSpeed 10kb/s 3 5
# /IfModule
#/VirtualHost

/IfDefine

# vim: ts=4 filetype=apache




[gentoo-user] Why does emerge -auvND world wants to install old gentoo-soruces?

2008-08-03 Thread Grant Edwards
I've got gentoo-sources 2.6.25-r7 installed, and that's the only
verions of the kernel sources that I have installed.  

Suddenly (starting today) emerge -auvtND world wants to
install an older version of gentoo-sources (2.6.25-r6), and I
can't figure out why:

   # emerge --search gentoo-sources
   Searching...   
   [ Results for search key : gentoo-sources ]
   [ Applications found : 1 ]

   *  sys-kernel/gentoo-sources
 Latest version available: 2.6.25-r7
 Latest version installed: 2.6.25-r7
 Size of files: 47,585 kB
 Homepage:  http://dev.gentoo.org/~dsd/genpatches
 Description:   Full sources including the Gentoo patchset for the 2.6 
kernel tree
 License:   GPL-2


   # emerge -auvtND world
   
   These are the packages that would be merged, in reverse order:
   
   Calculating world dependencies /
   ... done!
   [ebuild  NS   ] sys-kernel/gentoo-sources-2.6.25-r6 USE=-build -symlink 0 
kB 
   
   Total: 1 package (1 in new slot), Size of downloads: 0 kB


What clue am I missing?   

-- 
Grant Edwards   grante Yow! I always have fun
  at   because I'm out of my
   visi.commind!!!




[gentoo-user] Cleaning out my world file

2008-08-03 Thread Dale

Hi,

I was wondering if their is a easy way to clean out the cruft in my 
world file?  Is their a script?  I tried saving a cope then running 
regenworld but that didn't do much.  Maybe it is old and out of date?


The reason why I want to do this?  Well, sometimes I forget to use the 
-1 option when working on getting a dependency to install.  It adds up 
after a while.


Ideas?

Dale

:-)  :-)



[gentoo-user] what qt package?

2008-08-03 Thread Matthew R. Lee
I'm doing a clean up of my system, getting rid of stuff I never use. Some time 
ago, for reasons I can't remember, I installed a qt development package which 
provided Qt linguist, Qt designer and Qt assistant. I want to unmerge them 
but I can't remember, or figure out which package they're from. I've tried 
variations on the names, I've looked at the gentoo-portage web page 
and 'searched' the database, I've been to the trolltech pages. But I can't 
work it out! I think they all came in one package together. Does anyone know 
what it's called. It will be obvious when you tell me :-)
Cheers
Matt
-- 
%%%
Dr. Matthew R. Lee
Instituto Biologia Marina 'Jurgen Winter'
Universidad Austral de Chile
Campus Isla Teja
Valdivia

[EMAIL PROTECTED]

URL: meiochile.matthewlee.org
%%%



Re: [gentoo-user] Cleaning out my world file

2008-08-03 Thread Daniel Pielmeier

Dale schrieb am 04.08.2008 00:18:

Hi,

I was wondering if their is a easy way to clean out the cruft in my 
world file?  Is their a script?  I tried saving a cope then running 
regenworld but that didn't do much.  Maybe it is old and out of date?


The reason why I want to do this?  Well, sometimes I forget to use the 
-1 option when working on getting a dependency to install.  It adds up 
after a while.


Ideas?

Dale

:-)  :-)




emerge udept

dep -w

This will find unneeded entries in the world file.



Re: [gentoo-user] what qt package?

2008-08-03 Thread Daniel Pielmeier

Matthew R. Lee schrieb am 04.08.2008 00:28:
I'm doing a clean up of my system, getting rid of stuff I never use. Some time 
ago, for reasons I can't remember, I installed a qt development package which 
provided Qt linguist, Qt designer and Qt assistant. I want to unmerge them 
but I can't remember, or figure out which package they're from. I've tried 
variations on the names, I've looked at the gentoo-portage web page 
and 'searched' the database, I've been to the trolltech pages. But I can't 
work it out! I think they all came in one package together. Does anyone know 
what it's called. It will be obvious when you tell me :-)

Cheers
Matt


Linguist, Designer and Assistant are part of x11-libs/qt and I don't 
think you can get rid of them by use flag. You have to unmerge qt but 
this is surely not what you want or can. Only if no package from your 
system depends on qt anymore.




Re: [gentoo-user] Cleaning out my world file

2008-08-03 Thread Volker Armin Hemmann
On Montag, 4. August 2008, Dale wrote:
 Hi,

 I was wondering if their is a easy way to clean out the cruft in my
 world file?  Is their a script?  I tried saving a cope then running
 regenworld but that didn't do much.  Maybe it is old and out of date?

 The reason why I want to do this?  Well, sometimes I forget to use the
 -1 option when working on getting a dependency to install.  It adds up
 after a while.

 Ideas?


nano -w /var/lib/portage/world
ctrl-k on the lines you think are superfluos. Done.



Re: [gentoo-user] Cleaning out my world file

2008-08-03 Thread Dale

Daniel Pielmeier wrote:

Dale schrieb am 04.08.2008 00:18:

Hi,

I was wondering if their is a easy way to clean out the cruft in my 
world file?  Is their a script?  I tried saving a cope then running 
regenworld but that didn't do much.  Maybe it is old and out of date?


The reason why I want to do this?  Well, sometimes I forget to use 
the -1 option when working on getting a dependency to install.  It 
adds up after a while.


Ideas?

Dale

:-)  :-)




emerge udept

dep -w

This will find unneeded entries in the world file.




There are three versions, all masked.  Could you share which version you 
use?  I ask since it works for you, then it may work for me too.  ;-) 


- app-portage/udept-0.5.99.0.2.95-r1 (masked by: ~x86 keyword)
- app-portage/udept-0.5.99.0.2.95 (masked by: ~x86 keyword)
- app-portage/udept-0.5.96.2 (masked by: ~x86 keyword)

Thanks.

Dale

:-)  :-) 



Re: [gentoo-user] Cleaning out my world file

2008-08-03 Thread Dale

Volker Armin Hemmann wrote:

On Montag, 4. August 2008, Dale wrote:
  

Hi,

I was wondering if their is a easy way to clean out the cruft in my
world file?  Is their a script?  I tried saving a cope then running
regenworld but that didn't do much.  Maybe it is old and out of date?

The reason why I want to do this?  Well, sometimes I forget to use the
-1 option when working on getting a dependency to install.  It adds up
after a while.

Ideas?




nano -w /var/lib/portage/world
ctrl-k on the lines you think are superfluos. Done.

  


Thing is, I have no clue which ones are superfluos  tho.  That is the 
problem.


I used Kwrite by the way.  LOL  I also liked that they appear to be in 
alphabetical order tho.  Not sure if that was a feature or what.  o_O


Thanks

Dale

:-)  :-) 



Re: [gentoo-user] what qt package?

2008-08-03 Thread Matthew R. Lee
On Sunday 03 August 2008 18:51:43 Daniel Pielmeier wrote:
 Matthew R. Lee schrieb am 04.08.2008 00:28:
  I'm doing a clean up of my system, getting rid of stuff I never use. Some
  time ago, for reasons I can't remember, I installed a qt development
  package which provided Qt linguist, Qt designer and Qt assistant. I want
  to unmerge them but I can't remember, or figure out which package they're
  from. I've tried variations on the names, I've looked at the
  gentoo-portage web page and 'searched' the database, I've been to the
  trolltech pages. But I can't work it out! I think they all came in one
  package together. Does anyone know what it's called. It will be obvious
  when you tell me :-)
  Cheers
  Matt

 Linguist, Designer and Assistant are part of x11-libs/qt and I don't
 think you can get rid of them by use flag. You have to unmerge qt but
 this is surely not what you want or can. Only if no package from your
 system depends on qt anymore.

Is that true? I could of sworn I didn't always have them, and I've always used 
kde. But then again it might explain why I can't find specific packages for 
them.
Thanks
Matt

-- 
%%%
Dr. Matthew R. Lee
Instituto Biologia Marina 'Jurgen Winter'
Universidad Austral de Chile
Campus Isla Teja
Valdivia

[EMAIL PROTECTED]

URL: meiochile.matthewlee.org
%%%



Re: [gentoo-user] Cleaning out my world file

2008-08-03 Thread Dale

Dale wrote:

Daniel Pielmeier wrote:

Dale schrieb am 04.08.2008 00:18:

Hi,

I was wondering if their is a easy way to clean out the cruft in my 
world file?  Is their a script?  I tried saving a cope then running 
regenworld but that didn't do much.  Maybe it is old and out of date?


The reason why I want to do this?  Well, sometimes I forget to use 
the -1 option when working on getting a dependency to install.  It 
adds up after a while.


Ideas?

Dale

:-)  :-)




emerge udept

dep -w

This will find unneeded entries in the world file.




There are three versions, all masked.  Could you share which version 
you use?  I ask since it works for you, then it may work for me too.  ;-)

- app-portage/udept-0.5.99.0.2.95-r1 (masked by: ~x86 keyword)
- app-portage/udept-0.5.99.0.2.95 (masked by: ~x86 keyword)
- app-portage/udept-0.5.96.2 (masked by: ~x86 keyword)

Thanks.

Dale

:-)  :-)



Hi,

I used app-portage/udept-0.5.99.0.2.95-r1 and it worked fine.  I had 68 
times that I forgot to use the -1 option.  I'm getting old I guess.  :/


Here's to a clean world file.   cheers 

Dale

:-)  :-) 



Re: [gentoo-user] Advice about setting up split home directory

2008-08-03 Thread Norberto Bensa

Quoting Josh Cepek [EMAIL PROTECTED]:


Personally I'd suggest using LVM for this


++


1)


++


2)


++


3) You can easily migrate between hard drives while the system is
online by moving LV's from one Physical Volume (PV) (eg: a hard disk)
to another.


--!!

Have you ever tried that? I've almost killed both hard drives doing an  
on-line migration to a bigger HD. I wouldn't recommend it.





4)


++


LVM is worth a look,


++!!!



/tmp, but I use tmpfs for that.)  It's possible to do LVM on the /
partition, but that requires an initrd to work properly.

Josh


You can use genkernel for that. Just configure your kernel as always,  
adding initrd features and then:


genkernel --lvm [your-options]

Easy.


Regards,
Norberto


This message was sent using IMP, the Internet Messaging Program.





Re: [gentoo-user] Advice about setting up split home directory

2008-08-03 Thread Alan E. Davis
Norberto and  Josh:

Thank you for the suggestion.  It's on the back burner.  I have the space to
experiment with it now.  I have balked for the time being on basis of,
partly, my need to be able to swap drives in and out, and have it clear in
mind which partitions belong to what.  Also my main drive is a 1 RPM
faster drive, and I'd like to keep the partitions or directories that are
mainly for storage separated.  I really do notice a difference in the
performance of the drive.  this is somewhat of a conundrum: how to keep the
current projects focused on the faster drive.

Interestingly (to me) while I carefully planned for swap on the faster
drive, since I moved to 2GB of RAM, I think I've only touched swap two or
three times, and then only passingly!

I definitely wouldn't want to put / into LVM.

If I do LVM it will be the easy way, the most clearcut way.

Alan



On Mon, Aug 4, 2008 at 1:59 PM, Norberto Bensa [EMAIL PROTECTED] wrote:

 Quoting Josh Cepek [EMAIL PROTECTED]:

  Personally I'd suggest using LVM for this



-- 
Alan Davis

It's never a matter of liking or disliking ...
---Santa Ynez Chumash Medicine Man