Re: [gentoo-user] way off-topic - is it possible to log webmail messages content in an enterprise network

2008-08-05 Thread Dirk Uys
On Wed, Aug 6, 2008 at 3:45 AM, Francisco Ares <[EMAIL PROTECTED]> wrote:
> Hi, guys.
>
> Sorry to post such off-topic message, but I didn't know where I could
> ask this question.
>
> I know that things such as address, trafic, bandwith are easy to be
> tracked and logged, but what about, say, my gmail messages - is it
> possible to log them also?  Which package should I use or look for?
>
> Thanks
> Francisco
>
> --
> "If you have an apple and I have an apple and we exchange apples then
> you and I will still each have one apple. But if you have an idea and
> I have one idea and we exchange these ideas, then each of us will have
> two ideas." - George Bernard Shaw

Look at beagle. I know they have a gmail backend that can index your
gmail emails. Alternatively you can setup a mail client to download
the email from the webmail and then index/log/track it locally.

Regards
Dirk



Re: [gentoo-user] Re: make oldconfig

2008-08-05 Thread Dale

James wrote:

Dale  bellsouth.net> writes:



Well, the reason I asked is for clarity. 
I found this gentoo doc, which seems a little dated:



http://gentoo-wiki.com/
HOWTO_Detailed_Kernel_Configuration


So what I gleen is that you run on 
a kernel, say version linux-2.6.24-gentoo-r8


You down load newer sources, say version 
linux-2.6.25-gentoo-r7


cd /usr/src

rm linux

ln -sf /usr/src/linux-2.6.25-gentoo-r7 linux

make oldconfig  
make menuconfig

cp System.map /boot/System.map-2.6.25-gentoo-r7
cp arch/x86_64/boot/bzImage /boot/kernel-2.6.25-gentoo-r7
cp .config /boot/config-2.6.25-gentoo-r7


edit grub apppropriately
and reboot to the new kernel?


This is what I do, but I do not use the oldconfig command.

A friend asked me how I build new kernel on gentoo and 
I was hoping to find a current howto, that does not 
use genkernel and such. I did not have any luck finding one

(although I did not look very hard).


Any suggestions are appreciated. The aforementioned howto
suggest that make oldconfig, xconfig and menuconfig are
alternate ways?  Maybe your not suppose to mix oldconfig
with menuconfig?

The reason I ask is some 2.6.23 to 2.6.24. to 2.6.25
kernel have lost setting (selected options) using 
menuconfig alone. However, for a while the selected

options were always correctly included using the above
steps (without using oldconfig command syntax).


This is the source of my need for some clarity.
Maybe an updated howto is what is really needed?
One that skips genkernel and such?


James

  


I think this is going to be a debate sort of like which is better, KDE 
or Gnome?  I have to say, when I run make oldconfig, I don't run make 
menuconfig unless I have some problems.  I'm not saying that is the 
right way either.  A lot of this may depend on the situation and 
hardware.  I'm sort of like this, if you run make oldconfig then what is 
there to change when running make menuconfig afterwards?


My recommendation, run make oldconfig and answer no to most everything 
if your hardware works currently.  Keep in mind, most new stuff is for 
new hardware.  The only exception may be some of the new stuff with 
regard to managing the CPU and such.  Those you may want to research.  
Also keep in mind that help is available even during the make 
oldconfig.  Hit the question mark for that.  After that, make your 
kernel and give it a run.  Save your old working one just in case. 

Another thing to do before copying your old config, run make mrproper or 
make mrclean.  Those will give you a fresh new kernel source.


I'm not aware of a "current" howto.  May can try google for Linux?  
www.google.com/linux


Dale

:-)  :-) 





Re: [gentoo-user] Re: make oldconfig

2008-08-05 Thread M. Sitorus
cd /usr/src
rm linux
ln -sf /usr/src/linux-2.6.25-gentoo-r7 linux
cp /usr/src/linux-2.6.24-gentoo-r8/.config /usr/src/linux-2.6.25-gentoo-r7
make oldconfig
make menuconfig

On 8/6/08, James <[EMAIL PROTECTED]> wrote:
> Dale  bellsouth.net> writes:
>
>
>
> Well, the reason I asked is for clarity.
> I found this gentoo doc, which seems a little dated:
>
>
> http://gentoo-wiki.com/
> HOWTO_Detailed_Kernel_Configuration
>
>
> So what I gleen is that you run on
> a kernel, say version linux-2.6.24-gentoo-r8
>
> You down load newer sources, say version
> linux-2.6.25-gentoo-r7
>
> cd /usr/src
>
> rm linux
>
> ln -sf /usr/src/linux-2.6.25-gentoo-r7 linux
>
> make oldconfig  
> make menuconfig
>
> cp System.map /boot/System.map-2.6.25-gentoo-r7
> cp arch/x86_64/boot/bzImage /boot/kernel-2.6.25-gentoo-r7
> cp .config /boot/config-2.6.25-gentoo-r7
>
>
> edit grub apppropriately
> and reboot to the new kernel?
>
>
> This is what I do, but I do not use the oldconfig command.
>
> A friend asked me how I build new kernel on gentoo and
> I was hoping to find a current howto, that does not
> use genkernel and such. I did not have any luck finding one
> (although I did not look very hard).
>
>
> Any suggestions are appreciated. The aforementioned howto
> suggest that make oldconfig, xconfig and menuconfig are
> alternate ways?  Maybe your not suppose to mix oldconfig
> with menuconfig?
>
> The reason I ask is some 2.6.23 to 2.6.24. to 2.6.25
> kernel have lost setting (selected options) using
> menuconfig alone. However, for a while the selected
> options were always correctly included using the above
> steps (without using oldconfig command syntax).
>
>
> This is the source of my need for some clarity.
> Maybe an updated howto is what is really needed?
> One that skips genkernel and such?
>
>
> James
>
>
>
>
>
>
>


-- 
Salam,

Marc



[gentoo-user] Re: make oldconfig

2008-08-05 Thread James
Dale  bellsouth.net> writes:



Well, the reason I asked is for clarity. 
I found this gentoo doc, which seems a little dated:


http://gentoo-wiki.com/
HOWTO_Detailed_Kernel_Configuration


So what I gleen is that you run on 
a kernel, say version linux-2.6.24-gentoo-r8

You down load newer sources, say version 
linux-2.6.25-gentoo-r7

cd /usr/src

rm linux

ln -sf /usr/src/linux-2.6.25-gentoo-r7 linux

make oldconfig  
make menuconfig

cp System.map /boot/System.map-2.6.25-gentoo-r7
cp arch/x86_64/boot/bzImage /boot/kernel-2.6.25-gentoo-r7
cp .config /boot/config-2.6.25-gentoo-r7


edit grub apppropriately
and reboot to the new kernel?


This is what I do, but I do not use the oldconfig command.

A friend asked me how I build new kernel on gentoo and 
I was hoping to find a current howto, that does not 
use genkernel and such. I did not have any luck finding one
(although I did not look very hard).


Any suggestions are appreciated. The aforementioned howto
suggest that make oldconfig, xconfig and menuconfig are
alternate ways?  Maybe your not suppose to mix oldconfig
with menuconfig?

The reason I ask is some 2.6.23 to 2.6.24. to 2.6.25
kernel have lost setting (selected options) using 
menuconfig alone. However, for a while the selected
options were always correctly included using the above
steps (without using oldconfig command syntax).


This is the source of my need for some clarity.
Maybe an updated howto is what is really needed?
One that skips genkernel and such?


James








[gentoo-user] way off-topic - is it possible to log webmail messages content in an enterprise network

2008-08-05 Thread Francisco Ares
Hi, guys.

Sorry to post such off-topic message, but I didn't know where I could
ask this question.

I know that things such as address, trafic, bandwith are easy to be
tracked and logged, but what about, say, my gmail messages - is it
possible to log them also?  Which package should I use or look for?

Thanks
Francisco

-- 
"If you have an apple and I have an apple and we exchange apples then
you and I will still each have one apple. But if you have an idea and
I have one idea and we exchange these ideas, then each of us will have
two ideas." - George Bernard Shaw



Re: [gentoo-user] make oldconfig

2008-08-05 Thread Dale

Eric Martin wrote:

Dale wrote:
  
Daniel Pielmeier wrote:  


At least in the kernel Makefile there is no hint about /proc/config.gz
which contains the running kernel configuration, so I think make
oldconfig or your favourite kernel configuration tool is still needed.
If there is no .config or .config.old it will load a default
configuration which is probably not what you want.


  
  

Having a config in /proc is a option in the kernel.  You just have to
turn it on.  It is under the General setup as "Enable access to .config
through /proc/config.gz".  I have mine here:

[EMAIL PROTECTED] / # ls -al /proc/config*
-r--r--r-- 1 root root 10060 2008-08-05 14:19 /proc/config.gz
[EMAIL PROTECTED] / #


It can prove helpful at times.

Dale

:-)  :-)


yeah, but it doesn't change that you still have to run make oldconfig.
I love /proc/config.gz, especially because of zless and zgrep

  


True, I took what you wrote a little differently than what I think was 
intended.  You do still have to run make oldconfig tho.  I may test not 
running it just to see but I would not take the chance long term.  It 
may work fine but it may not.  It doesn't take to long to run so why not?


Dale

:-)  :-) 



Re: [gentoo-user] make oldconfig

2008-08-05 Thread Eric Martin
Dale wrote:
> Daniel Pielmeier wrote:
>> 2008/8/4, James <[EMAIL PROTECTED]>:
>>  
>>> Hello,
>>>
>>> It seems like I remember that 'make oldconfig' is not
>>> needed any more, to pass the current (booted) kernel
>>> option  to the .config for building a new kernel.
>>>
>>> Of is 'make oldconfig' still a good idea?
>>>
>>>
>>> James
>>> 
>>
>> At least in the kernel Makefile there is no hint about /proc/config.gz
>> which contains the running kernel configuration, so I think make
>> oldconfig or your favourite kernel configuration tool is still needed.
>> If there is no .config or .config.old it will load a default
>> configuration which is probably not what you want.
>>
>>
>>   
> Having a config in /proc is a option in the kernel.  You just have to
> turn it on.  It is under the General setup as "Enable access to .config
> through /proc/config.gz".  I have mine here:
> 
> [EMAIL PROTECTED] / # ls -al /proc/config*
> -r--r--r-- 1 root root 10060 2008-08-05 14:19 /proc/config.gz
> [EMAIL PROTECTED] / #
> 
> 
> It can prove helpful at times.
> 
> Dale
> 
> :-)  :-)
yeah, but it doesn't change that you still have to run make oldconfig.
I love /proc/config.gz, especially because of zless and zgrep

-- 
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] make oldconfig

2008-08-05 Thread Dale

Daniel Pielmeier wrote:

2008/8/4, James <[EMAIL PROTECTED]>:
  

Hello,

It seems like I remember that 'make oldconfig' is not
needed any more, to pass the current (booted) kernel
option  to the .config for building a new kernel.

Of is 'make oldconfig' still a good idea?


James



At least in the kernel Makefile there is no hint about /proc/config.gz
which contains the running kernel configuration, so I think make
oldconfig or your favourite kernel configuration tool is still needed.
If there is no .config or .config.old it will load a default
configuration which is probably not what you want.


  
Having a config in /proc is a option in the kernel.  You just have to 
turn it on.  It is under the General setup as "Enable access to .config 
through /proc/config.gz".  I have mine here:


[EMAIL PROTECTED] / # ls -al /proc/config*
-r--r--r-- 1 root root 10060 2008-08-05 14:19 /proc/config.gz
[EMAIL PROTECTED] / #


It can prove helpful at times.

Dale

:-)  :-) 



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

2008-08-05 Thread Grant Edwards
On 2008-08-03, Grant Edwards <[EMAIL PROTECTED]> wrote:

> 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

I finally gave up and let it install the old version of
gentoo-sources (and then I went and deleted all of the files).
It's got to be a bug in portage, but I can't figure out what
triggers it. My other systems don't do it, and I can't find any
differences between the systems that seem relevant.

-- 
Grant Edwards   grante Yow! If I had a Q-TIP, I
  at   could prevent th' collapse
   visi.comof NEGOTIATIONS!!




Re: [gentoo-user] Low Battery System Beep

2008-08-05 Thread Boris Fersing
On Tue, Aug 5, 2008 at 14:07, Benoit St-Pierre <[EMAIL PROTECTED]> wrote:
> I've check and there is no option in the BIOS for anything like this.

Hi,

Maybe do you have a Fn+ shortcut which disables this beep. On my
laptop it's Fn+F3

Regards,
>
> On Tue, Aug 5, 2008 at 2:25 AM, Sebastian Günther
> <[EMAIL PROTECTED]> wrote:
>>
>> * Benoit St-Pierre ([EMAIL PROTECTED]) [05.08.08 04:58]:
>> > When my battery gets below 10% my laptop has a very loud system beep. I
>> > thought I disabled the PC speaker in the kernel.
>> >
>> > Any one have a clue as to what could be causing this?
>>
>> Maybe this is set in your BIOS?
>>
>> HTH
>> Sebastian
>>
>> --
>>  " Religion ist das Opium des Volkes. "  Karl Marx
>>
>>  [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]
>
>



-- 
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2 \
aX5aX8axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4 \
ax3aX4aXaX12ax10aaX7a").join'



Re: [gentoo-user] Low Battery System Beep

2008-08-05 Thread Benoit St-Pierre
I've check and there is no option in the BIOS for anything like this.

On Tue, Aug 5, 2008 at 2:25 AM, Sebastian Günther <
[EMAIL PROTECTED]> wrote:

> * Benoit St-Pierre ([EMAIL PROTECTED]) [05.08.08 04:58]:
> > When my battery gets below 10% my laptop has a very loud system beep. I
> > thought I disabled the PC speaker in the kernel.
> >
> > Any one have a clue as to what could be causing this?
>
> Maybe this is set in your BIOS?
>
> HTH
> Sebastian
>
> --
>  " Religion ist das Opium des Volkes. "  Karl Marx
>
>  [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]
>


Re: [gentoo-user] world's leaves

2008-08-05 Thread Albert Hopkins
I wrote this script awhile back that I used to clean up my world file.  It 
doesn't
actually clean the file, just reports on possible ways to do it. You can run it 
like

# auditworld < /var/lib/package/world

Feel free to use it if you find it useful.

-a

#!/usr/bin/python
"""
Report any packages in world which have direct dependencies also in world
"""

__version__ = (0,3,0)

import os
import sys
sys.path.insert(0, '/usr/lib/gentoolkit/pym')
os.environ['PORTAGE_CALLER'] = 'repoman'

import portage
TREE = portage.db["/"]["vartree"]

import gentoolkit


def get_versions_installed(pkg):
"""
Return a list containt versions of pkg installed (in cpv format)
may be an empty list.
"""
return TREE.dbapi.match(pkg)


def get_world():
"""Return a list of all packages in world"""
_file = sys.stdin
_list = [line.strip() for line in _file]
return _list

def get_deps(pkg):
"""Return a list of all packages depending on pkg (directly)"""
deps = set()
for cpv in get_versions_installed(pkg):
gentoolkit_pkg = gentoolkit.Package(cpv)
rdeps = [i[2] for i in gentoolkit_pkg.get_runtime_deps() if not
i[2].startswith('virtual/')]
for rdep in rdeps:
split = portage.pkgsplit(rdep)
if split is not None:
deps.add(split[0])
else:
deps.add(rdep)

pdeps = [i[2] for i in gentoolkit_pkg.get_postmerge_deps() if not
i[2].startswith('virtual/')]
for pdep in pdeps:
split = portage.pkgsplit(pdep)
if split is not None:
deps.add(split[0])
else:
deps.add(pdep)
#print deps
#command= '/usr/bin/equery -q -C d %s' % pkg
#pipe = os.popen(command, 'r')
#_list = [portage.pkgsplit(line.strip())[0] for line in pipe]
return deps

if __name__ == '__main__':
world = get_world()
for pkg in world:
deps = get_deps(pkg)
for dep in deps:
if (dep != pkg) and (dep in world):
print '%(pkg)s already depends on %(dep)s' % locals()


Re: [gentoo-user] make oldconfig

2008-08-05 Thread Daniel Pielmeier
2008/8/4, James <[EMAIL PROTECTED]>:
> Hello,
>
> It seems like I remember that 'make oldconfig' is not
> needed any more, to pass the current (booted) kernel
> option  to the .config for building a new kernel.
>
> Of is 'make oldconfig' still a good idea?
>
>
> James

At least in the kernel Makefile there is no hint about /proc/config.gz
which contains the running kernel configuration, so I think make
oldconfig or your favourite kernel configuration tool is still needed.
If there is no .config or .config.old it will load a default
configuration which is probably not what you want.



Re: [gentoo-user] System beep during low battery

2008-08-05 Thread ert256
BIOS ?

[ 05.08.2008 04:54 ], Benoit St-Pierre :
> When my battery gets below 10% my laptop has a very loud system beep. I
> thought I disabled the PC speaker in the kernel. Any clues as to what
> could be causing this?

-- 
Rafał (ert16) Trójniak
[EMAIL PROTECTED] : [EMAIL PROTECTED]
Jid : [EMAIL PROTECTED] [EMAIL PROTECTED]
GPG  key-ID : DD681D47
749F E1DC A58F 9084 BBC0
797A 0691 53D6 DD68 1D47



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: make oldconfig

2008-08-05 Thread Eric Martin

Nikos Chantziaras wrote:

James wrote:

Hello,

It seems like I remember that 'make oldconfig' is not
needed any more, to pass the current (booted) kernel
option  to the .config for building a new kernel.

Of is 'make oldconfig' still a good idea?


It's not needed, but a good idea to see if there are any new options.


Why is it not needed?  I could have sworn that we touched on this a week 
or two ago where somebody said that /proc/config.gz could be read by 
make config but people nixed that.


--
Eric Martin
Key fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] gentoo-wiki.com - whom to contact?

2008-08-05 Thread Daniel Pielmeier
2008/8/5, Helmut Jarausch <[EMAIL PROTECTED]>:
> Hi
>
> nearly all links on
> http://gentoo-wiki.com/Index:MAN
> are broken.
>
> Does anybody know someome to inform about that?

http://gentoo-wiki.com/Gentoo_Linux_Wiki:Mailing_Lists
http://gentoo-wiki.com/Gentoo_Linux_Wiki:Irc
http://gentoo-wiki.com/FAQ_Who_are_the_admins

Regards,

Daniel



[gentoo-user] gentoo-wiki.com - whom to contact?

2008-08-05 Thread Helmut Jarausch
Hi

nearly all links on 
http://gentoo-wiki.com/Index:MAN
are broken.

Does anybody know someome to inform about that?

Thanks,

Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] ERROR: cannot start hwclock as fsck would not start

2008-08-05 Thread Hilco Wijbenga
On Mon, Aug 4, 2008 at 11:29 PM, ionut cucu <[EMAIL PROTECTED]> wrote:
> On Thu, 31 Jul 2008 22:32:31 -0700
> "Hilco Wijbenga" <[EMAIL PROTECTED]> wrote:
>
>> Hi all,
>>
>> I've had the above error during boot for quite some time now so
>> clearly it doesn't have too major consequences. :-) I would, however,
>> like to understand what's going on and then, if possible, fix it.
>>
>> The first thing I tried was to grep for (parts of) this error in the
>> /etc/init.d scripts but that yielded nothing. Using extra ewarns in
>> /etc/init.d/hwclock and /etc/init.d/fsck I discovered that both
>> hwclock and fsck *do* indeed run (but after the error is displayed).
>> Looking in other places (/usr/lib/portage, /usr/portage, /etc) didn't
>> yield anything useful either.
>>
>> lion ~ # rc-update show
>> gpm | default
>> ntp-client | default
>> fsck | boot
>> hald | default
>> mtab | boot
>> ntpd | default
>> root | boot
>> swap | boot
>> keymaps | boot
>> local | default nonetwork
>> vixie-cron | default
>> syslog-ng | default
>> maradns | default
>> localmount | boot
>> consolefont | boot
>> modules | boot
>> hostname | boot
>> net.lo | boot
>> net.eth0 | default
>> procfs | boot
>> netmount | default
>> sysctl | boot
>> urandom | boot
>> termencoding | boot
>> hwclock | boot
>> bootmisc | boot
>> device-mapper | boot
>> alsasound | boot
>>
>> Any ideas?
>>
>> Cheers,
>> Hilco
>>
> Same here with that error, didn't even noticed it till now. Maybe we
> should open a bug report

I removed hwclock (rc-update del hwclock) and that seems to have
"fixed" it. I'm still not sure on why this happened though.