[gentoo-user] How to record memory usage bandwidth usage?

2011-10-11 Thread Pandu Poluan
The head honcho of my company just asked me to plan for migration of
X into the cloud (where X is the online trading server that our
investors used).

Now, I need to monitor how much RAM is used throughout the day by X,
also how much bandwidth gets eaten by X throughout the day.

What tools do you recommend?

Remember: The data will be used for 'post-mortem' analysis, so I don't
need any fancy schmancy presentation. Just raw data, taken every N
seconds.

Rgds,
-- 
FdS Pandu E Poluan
~ IT Optimizer ~

 • LOPSA Member #15248
 • Blog : http://pepoluan.tumblr.com
 • Linked-In : http://id.linkedin.com/in/pepoluan



Re: [gentoo-user] {OT} Computers and mental/emotional health

2011-10-11 Thread Mick
On Tuesday 11 Oct 2011 02:39:10 Michael Mol wrote:
 As far as food goes, for me, it's really not the kind of food, but how
 much of it I eat. First step is to eat smaller portions, so that my
 stomach shrinks and I feel fuller sooner.

Calories are not all the same, because we metabolise them more or less 
efficiently and therefore there's more energy left to store.  Nevertheless, all 
things being equal smaller portions are the single most effective way of 
gradually and healthily reducing your body fat.  Many of the eat only this, or 
only that, diets do not provide a balanced nutrition in the long(er) run, 
although they may offer less efficient (from a metabolic perspective) calories.

Less food over a year or so produces longer lasting results - use smaller 
plates and you'll get there.  When combined with exercise the loss is of 
course accelerated, especially as muscle mass increases (muscle has higher 
metabolic resting rate and you burn energy while you sleep! )

Now, given that we talk about diets here, what I need is to find a popular 
dieters' M/L in usenet to post for help with setting up systemd  or ipv6 
through ipv4 for my home network and then sit back and watch their faces in 
amusement!  :))
-- 
Regards,
Mick


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


Re: [gentoo-user] automount USB

2011-10-11 Thread Neil Bothwick
On Mon, 10 Oct 2011 23:44:00 +0200, Michal Halenka wrote:

 I am looking fow a way, how to automount USB disks (or CD) by normal
 user. I find many ways (udev, hal, policykit, udisks, autofs), but I am
 just ordinary user, so I don´t know which one is deprecated (hal?),
 which one is easy to use, and so one. Can you pass me some
 not-deprecated web page with manual, hoto realize this?

You don't say which DE you use, most implement this themselves.

 I would like to use something, which automatically mount PEN drives
 (ext3,ntfs,fat,...) or CD, and which allow me to unmount it with simple
 command without superuser permission. (I have root acess, but It's
 annoying to use it every time)
 
 The best would be to mount it into /media/LABEL.

pmount/pumount are good for mounting and unmounting drives as a normal
user. This is often the program used by automounters anyway. If defaults
to mounting at /media/label.


-- 
Neil Bothwick

Do you steal taglines too?


signature.asc
Description: PGP signature


Re: [gentoo-user] Cups and Ricoh Aficio 270

2011-10-11 Thread Mick
On Tuesday 11 Oct 2011 06:16:14 Willie Matthews wrote:

 On Mon Oct 10 18:32:13 2011, Nilesh Govindarajan wrote:
  On Tue 11 Oct 2011 01:13:41 AM IST, Mick wrote:
  I'm struggling to get anything printed properly - is there a proper
  driver for this printer in CUPS.  The driver I've chosen seems to
  distort everything (like a page of A4 text comes out as a black spot
  3px  high and 2 wide! )
  
  I've selected AppSocket/HP JetDirect and then since no Ricoh driver
  showed up I selected Make:Generic and Driver:Generic PCL Laser Printer
  (en).
  
  The reason I've chosen AppSocket/HP JetDirect is because nmap returned
  this protocol when I scanned the printer.  Choosing ipp, or http, lpd
  was not successful either.
  
  However, this AppSocket/HP JetDirect protocol with the Generic driver
  gives the broken printing I've described above.  Selecting the Generic
  PostScript Printer (en) it prints pages and pages with ascii or screwed
  up characters when I try a test page.
  
  Any suggestions?
  
  I don't know about this printer, have you checked the printer
  compatibility list? (openprinting.org I guess).
  See how good is your printer supported.

I've been getting this error when I tried to access it before I posted here:

This site is down for maintenance. We will be restoring service shortly. 
Thank you for your patience.

 That printer supports postscript file format only.
 http://support.ricoh.com/connectivity/cgi-bin/ctlpage.cgi?soft=unixfilterc
 r=ravers=3000

Thanks, I tried to set postscript as a driver, but it printed like 20 blank 
pages when I sent a test print to it.  :(

I have a suspicion it will deal with simple text, but perhaps not graphics.

Better find an HP printer to print what I need today.  ;-)
-- 
Regards,
Mick


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


Re: [gentoo-user] How to record memory usage bandwidth usage?

2011-10-11 Thread Mick
On Tuesday 11 Oct 2011 10:48:31 Pandu Poluan wrote:
 The head honcho of my company just asked me to plan for migration of
 X into the cloud (where X is the online trading server that our
 investors used).
 
 Now, I need to monitor how much RAM is used throughout the day by X,
 also how much bandwidth gets eaten by X throughout the day.
 
 What tools do you recommend?
 
 Remember: The data will be used for 'post-mortem' analysis, so I don't
 need any fancy schmancy presentation. Just raw data, taken every N
 seconds.

I have used mrtg and nagios to capture and monitor both, but you'll have to 
install and configure them.

If you're good with perl or python, then some simple script should be able to 
capture such values and record on a flat file, or even a database. 
-- 
Regards,
Mick


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


Re: [gentoo-user] How to record memory usage bandwidth usage?

2011-10-11 Thread Matthew Marlowe
Pandu,

Any  modern monitoring framework/server with a web interface will have
tools to select metrics to retrieve and store into a database and
display/graph/alert as needed using whatever reasonable collection
interval you define.
If your metrics are relatively simple, you should be able to get a
solution implemented rather quickly without having to write any of
your own code and the overhead/resources needed on your server would
just be proportional to the number of metrics collected and their
frequency.

My current monitoring tool of choice is zabbix, but there are many options.

Matt

On Tue, Oct 11, 2011 at 3:21 AM, Mick michaelkintz...@gmail.com wrote:
 On Tuesday 11 Oct 2011 10:48:31 Pandu Poluan wrote:
 The head honcho of my company just asked me to plan for migration of
 X into the cloud (where X is the online trading server that our
 investors used).

 Now, I need to monitor how much RAM is used throughout the day by X,
 also how much bandwidth gets eaten by X throughout the day.

 What tools do you recommend?

 Remember: The data will be used for 'post-mortem' analysis, so I don't
 need any fancy schmancy presentation. Just raw data, taken every N
 seconds.

 I have used mrtg and nagios to capture and monitor both, but you'll have to
 install and configure them.

 If you're good with perl or python, then some simple script should be able to
 capture such values and record on a flat file, or even a database.
 --
 Regards,
 Mick




-- 
Matthew Marlowe
m...@professionalsysadmin.com
Senior Internet Infrastructure Consultant         DevOps/VMware/SysAdmin
https://www.twitter.com/deploylinux                       Gentoo Linux Dev

           Courage is not simply one of the virtues, but the form
              of every virtue at the testing point.  -- C.S. Lewis



Re: [gentoo-user] 回复: [gentoo-user] Anyone can afford information about build kernel?

2011-10-11 Thread Jonas de Buhr
hey guys,

please don't get me wrong on this one, i mean no offense.
can anyone explain to me what this is? are these lavender threads some
kind of trolling i don't get?

it (apparently on purpose, since hints in that direction are ignored)
combines loads of annoying qualities:

- nondescriptive titles
- doing everything to rip apart threads: no In-Reply-To and even
  subject changes
- no line-breaks
- difficult to read incorrect punctuation (plenk)
- problem details are kept nebulous and info requests are ignored
- none of the proposed solutions are ever tried or commented

it's nice how much many people on this this list are willing to help in
spite of all this. but am i really the only one who finds the behavior
described above at least confusing?
anyway, i'm quite convinced it is fake.

/jonas

Am Sun, 9 Oct 2011 21:44:28 +0800
schrieb Lavender 448463...@qq.com:

 Thank you all ! Thanks for helping , now I know which things I should
 do . 
   
   -- 原始邮件 --
   发件人: Michael Molmike...@gmail.com;
  发送时间: 2011年10月9日(星期天) 晚上9:40
  收件人: gentoo-usergentoo-user@lists.gentoo.org; 
  
  主题: Re: [gentoo-user] Anyone can afford information about build
 kernel?
 
   
 On Sun, Oct 9, 2011 at 9:30 AM, Michael Mol mike...@gmail.com wrote:
  On Sun, Oct 9, 2011 at 12:53 AM, Lavender 448463...@qq.com wrote:
  Yeah, your reply is exact what I mean , but I'm really confused by
  those modules' names, I can't find any contact between the hard
  device name and its module name . For example,  there is a module
  named 3c59x.ko , I totally don't know what device it present for ,
 
  This got a *lot* easier back when sysfs was added.
 
  cd /sys/module/modulename/drivers/
 
  And go from there
 
  lspci will help you see the 'text' name for the device in question.
 
  For example, let's say I don't know what the 'ahci' module is for.
 
  $ cd /sys/module/ahci/drivers
  $ ls
  pci:ahci
  $ cd pci\:ahci/
  $ ls
  :00:11.0  bind  module  new_id  remove_id  uevent  unbind
  $ sudo lspci|grep 11.0
  00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA
  Controller [AHCI mode]
  $
 
  So now I know the ahci module manages my SATA controller.
 
 Came up with something possibly a little handier. This command should
 tell you what driver is associated with every device on the system.
 
 find /sys/devices -name driver -print0|xargs -0 ls -l|cut -d' '
 -f10-|sed -e 's/\.\.\///g'
 
 Output could probably still be a bit better cleaned up, but it should
 help.
 


this is spam (was: Re: [gentoo-user] 回复: [gentoo-user] Anyone can afford information about build kernel?)

2011-10-11 Thread Jonas de Buhr
Am Tue, 11 Oct 2011 13:03:27 +0200
schrieb Jonas de Buhr jonas.de.b...@gmx.net:

 it's nice how much many people on this this list are willing to help
 in spite of all this. but am i really the only one who finds the
 behavior described above at least confusing?
 anyway, i'm quite convinced it is fake.

no, apparently i am not the only one thinking that:
http://www.stopforumspam.com/ipcheck/58.243.95.123

 
 /jonas
 
 Am Sun, 9 Oct 2011 21:44:28 +0800
 schrieb Lavender 448463...@qq.com:
 
  Thank you all ! Thanks for helping , now I know which things I
  should do . 

-- 原始邮件 --
发件人: Michael Molmike...@gmail.com;
   发送时间: 2011年10月9日(星期天) 晚上9:40
   收件人: gentoo-usergentoo-user@lists.gentoo.org; 
   
   主题: Re: [gentoo-user] Anyone can afford information about build
  kernel?
  

  On Sun, Oct 9, 2011 at 9:30 AM, Michael Mol mike...@gmail.com
  wrote:
   On Sun, Oct 9, 2011 at 12:53 AM, Lavender 448463...@qq.com
   wrote:
   Yeah, your reply is exact what I mean , but I'm really confused
   by those modules' names, I can't find any contact between the
   hard device name and its module name . For example,  there is a
   module named 3c59x.ko , I totally don't know what device it
   present for ,
  
   This got a *lot* easier back when sysfs was added.
  
   cd /sys/module/modulename/drivers/
  
   And go from there
  
   lspci will help you see the 'text' name for the device in
   question.
  
   For example, let's say I don't know what the 'ahci' module is for.
  
   $ cd /sys/module/ahci/drivers
   $ ls
   pci:ahci
   $ cd pci\:ahci/
   $ ls
   :00:11.0  bind  module  new_id  remove_id  uevent  unbind
   $ sudo lspci|grep 11.0
   00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA
   Controller [AHCI mode]
   $
  
   So now I know the ahci module manages my SATA controller.
  
  Came up with something possibly a little handier. This command
  should tell you what driver is associated with every device on the
  system.
  
  find /sys/devices -name driver -print0|xargs -0 ls -l|cut -d' '
  -f10-|sed -e 's/\.\.\///g'
  
  Output could probably still be a bit better cleaned up, but it
  should help.
  


Re: this is spam (was: Re: [gentoo-user] 回复: [gentoo-user] Anyone can afford information about build kernel?)

2011-10-11 Thread Mick
On Tuesday 11 Oct 2011 12:51:12 Jonas de Buhr wrote:
 Am Tue, 11 Oct 2011 13:03:27 +0200
 
 schrieb Jonas de Buhr jonas.de.b...@gmx.net:
  it's nice how much many people on this this list are willing to help
  in spite of all this. but am i really the only one who finds the
  behavior described above at least confusing?
  anyway, i'm quite convinced it is fake.
 
 no, apparently i am not the only one thinking that:
 http://www.stopforumspam.com/ipcheck/58.243.95.123


Interesting!

Well, the broken English is not an insurmountable problem as long as we 
understand the question asked.  Not everyone is blessed with good knowledge of 
the English language.

The questions seem genuine, so it may help the OP or others that have similar 
problems.

The lack of netiqutte, well ... if I only I had a penny for every time that we 
have collectively or singularly asked people to respect it.  ;-)

Now, if as you say it is indeed spam, what escapes me is why would someone 
spam the list in this manner?  It doesn't make sense.  So I am led to believe 
that the peculiarities you mention are probably a cultural (or personal) 
issue.
-- 
Regards,
Mick


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


[gentoo-user] Re: [gentoo-user] 回复: [gentoo-user] Anyone can afford information about build kernel?

2011-10-11 Thread Michael Mol
On Tue, Oct 11, 2011 at 7:03 AM, Jonas de Buhr jonas.de.b...@gmx.net wrote:
 hey guys,

 please don't get me wrong on this one, i mean no offense.
 can anyone explain to me what this is? are these lavender threads some
 kind of trolling i don't get?

 it (apparently on purpose, since hints in that direction are ignored)
 combines loads of annoying qualities:

 - nondescriptive titles
 - doing everything to rip apart threads: no In-Reply-To and even
  subject changes
 - no line-breaks
 - difficult to read incorrect punctuation (plenk)
 - problem details are kept nebulous and info requests are ignored
 - none of the proposed solutions are ever tried or commented

To me, the Lavender's messages read like someone is going through an
automated translation tool to get between English and their native
language. (In this case, Chinese)

Anyone can afford ... ? sounds like bad forced translation between
semantic idioms.

Anyone can afford information about build kernel
Can anyone afford information about build kernel
Can anyone spend time helping about build kernel
Can anyone spend time helping me build my kernel

That explains the punctuation (poor translation tool(!)) and nebulous
requests. His responses indicated he was reading what had been sent in
reply. His first reply and his second reply were closely related, and
when commands were offered that allowed him to find the exact
information he needed, he gave his third reply indicating he had what
he needed.

I'm using GMail as my email client, and threading and subject lines
showed intact for me until your this is spam message following the
one I'm replying to.

As for line endings, I can think of two possible reasons. The first
(and, I suspect, more likely) would be that Lavender is using an email
gateway that automatically translates between English and Chinese, and
the email gateway did not implement line wrapping (or did so poorly).
The second might be that Chinese email clients, frequently operating
with an ideogram langauge, don't need to line-wrap so frequently, so
Lavender's email client might be buggy in that regard.


 it's nice how much many people on this this list are willing to help in
 spite of all this. but am i really the only one who finds the behavior
 described above at least confusing?
 anyway, i'm quite convinced it is fake.

I have no reason to believe it's fake. I'm reasonably sure it was
machine-processed, but I expect there was a human at the far end.

-- 
:wq



Re: [gentoo-user] automount USB

2011-10-11 Thread Michal Halenka
 
 ...The answer may have a lot to do with what GUI you use.  Do you use KDE, 
 Gnome, Fluxbox
 or something else?  Once that is known, then help will come along.
 
 Dale
 
 :-)  :-)
 

Hi,
I am using awesome WM, /usr/bin/startx. I am using some GTK apps, and
some Qt apps.




Re: this is spam (was: Re: [gentoo-user] 回复: [gentoo-user] Anyone can afford information about build kernel?)

2011-10-11 Thread Jonas de Buhr
Am Tue, 11 Oct 2011 13:54:06 +0100
schrieb Mick michaelkintz...@gmail.com:

 On Tuesday 11 Oct 2011 12:51:12 Jonas de Buhr wrote:
  Am Tue, 11 Oct 2011 13:03:27 +0200
  
  schrieb Jonas de Buhr jonas.de.b...@gmx.net:
   it's nice how much many people on this this list are willing to
   help in spite of all this. but am i really the only one who finds
   the behavior described above at least confusing?
   anyway, i'm quite convinced it is fake.
  
  no, apparently i am not the only one thinking that:
  http://www.stopforumspam.com/ipcheck/58.243.95.123
 
 
 Interesting!
 
 Well, the broken English is not an insurmountable problem as long as
 we understand the question asked.  Not everyone is blessed with good
 knowledge of the English language.

i totally agree to that given any effort on the other end i would do my
best to help as well.

 The questions seem genuine, so it may help the OP or others that have
 similar problems.

right, the replies probably gave the thread some value ;)
but there was *no* reaction at all to the proposed solutions, hints and
info requests. why ask for help if you don't even try the suggestions?
it takes you about ten minutes of reading this list to realize that the
usual way of solving problems is a cycle of i am trying to do X
and receive error Y-hey, try Z-oh, now A happens-try B too
etc.

 Now, if as you say it is indeed spam, what escapes me is why would
 someone spam the list in this manner?  It doesn't make sense.  

my point exactly! i don't get it - this intially led me to post
this comment in the first place.
what really points into the direction of spam in my opinion is using
the different names mentioned of stopforumspam. and that others went as
far as reporting it.

 So I
 am led to believe that the peculiarities you mention are probably a
 cultural (or personal) issue.

possible. but what makes it even more confusing is that this doesn't
go well with my experience of chinese people having a hard time with
english (i can't really put my finger on it, but it doesn't feel right)
and how they react to hey, you're doing X wrong, thats rude.
not meaning to stereotype, it just made it more suspicious.




Re: [gentoo-user] Re: [gentoo-user] 回复: [gentoo-user] Anyone can afford information about build kernel?

2011-10-11 Thread Jonas de Buhr
Am Tue, 11 Oct 2011 08:54:37 -0400
schrieb Michael Mol mike...@gmail.com:

 On Tue, Oct 11, 2011 at 7:03 AM, Jonas de Buhr
 jonas.de.b...@gmx.net wrote:
  hey guys,
 
  please don't get me wrong on this one, i mean no offense.
  can anyone explain to me what this is? are these lavender threads
  some kind of trolling i don't get?
 
  it (apparently on purpose, since hints in that direction are
  ignored) combines loads of annoying qualities:
 
  - nondescriptive titles
  - doing everything to rip apart threads: no In-Reply-To and even
   subject changes
  - no line-breaks
  - difficult to read incorrect punctuation (plenk)
  - problem details are kept nebulous and info requests are ignored
  - none of the proposed solutions are ever tried or commented
 
 To me, the Lavender's messages read like someone is going through an
 automated translation tool to get between English and their native
 language. (In this case, Chinese)
 
 Anyone can afford ... ? sounds like bad forced translation between
 semantic idioms.
 
 Anyone can afford information about build kernel
 Can anyone afford information about build kernel
 Can anyone spend time helping about build kernel
 Can anyone spend time helping me build my kernel
 
 That explains the punctuation (poor translation tool(!)) and nebulous
 requests. 

 His responses indicated he was reading what had been sent in
 reply. 
 His first reply and his second reply were closely related, and
 when commands were offered that allowed him to find the exact
 information he needed, he gave his third reply indicating he had what
 he needed.
 
 I'm using GMail as my email client, and threading and subject lines
 showed intact for me until your this is spam message following the
 one I'm replying to.

interesting, so gmail is aware of the chinese equivalent of Re (回复)
but doesn't use the In-Reply-To: header correctly?

 As for line endings, I can think of two possible reasons. The first
 (and, I suspect, more likely) would be that Lavender is using an email
 gateway that automatically translates between English and Chinese, and
 the email gateway did not implement line wrapping (or did so poorly).
 The second might be that Chinese email clients, frequently operating
 with an ideogram langauge, don't need to line-wrap so frequently, so
 Lavender's email client might be buggy in that regard.
 
 
  it's nice how much many people on this this list are willing to
  help in spite of all this. but am i really the only one who finds
  the behavior described above at least confusing?
  anyway, i'm quite convinced it is fake.
 
 I have no reason to believe it's fake. I'm reasonably sure it was
 machine-processed, but I expect there was a human at the far end.

i agree that there is definitely a human at the other end. 
you raise some good points. the automated translation might even
trigger automated entries in the spam database.

but why use three names at the same time? still there might be an
explanation for it. 

as said before i meant no offense. im not 100% convinced, but your
explanation sounds reasonable, let's not make a lengthy discussion out
of it :)

thx for your insightful reply!


[gentoo-user] Re: [gentoo-user] Re: [gentoo-user] 回复: [gentoo-user] Anyone can afford information about build kernel?

2011-10-11 Thread Michael Mol
On Tue, Oct 11, 2011 at 11:38 AM, Jonas de Buhr jonas.de.b...@gmx.net wrote:
 Am Tue, 11 Oct 2011 08:54:37 -0400
 schrieb Michael Mol mike...@gmail.com:

 On Tue, Oct 11, 2011 at 7:03 AM, Jonas de Buhr
 jonas.de.b...@gmx.net wrote:
  hey guys,
 
  please don't get me wrong on this one, i mean no offense.
  can anyone explain to me what this is? are these lavender threads
  some kind of trolling i don't get?
 
  it (apparently on purpose, since hints in that direction are
  ignored) combines loads of annoying qualities:
 
  - nondescriptive titles
  - doing everything to rip apart threads: no In-Reply-To and even
   subject changes
  - no line-breaks
  - difficult to read incorrect punctuation (plenk)
  - problem details are kept nebulous and info requests are ignored
  - none of the proposed solutions are ever tried or commented

 To me, the Lavender's messages read like someone is going through an
 automated translation tool to get between English and their native
 language. (In this case, Chinese)

 Anyone can afford ... ? sounds like bad forced translation between
 semantic idioms.

 Anyone can afford information about build kernel
 Can anyone afford information about build kernel
 Can anyone spend time helping about build kernel
 Can anyone spend time helping me build my kernel

 That explains the punctuation (poor translation tool(!)) and nebulous
 requests.

 His responses indicated he was reading what had been sent in
 reply.
 His first reply and his second reply were closely related, and
 when commands were offered that allowed him to find the exact
 information he needed, he gave his third reply indicating he had what
 he needed.

 I'm using GMail as my email client, and threading and subject lines
 showed intact for me until your this is spam message following the
 one I'm replying to.

 interesting, so gmail is aware of the chinese equivalent of Re (回复)
 but doesn't use the In-Reply-To: header correctly?

The two replies I saw from him have these lines in their original headers:

Subject: Re: [gentoo-user] Anyone can afford information about build kernel?
Subject: [gentoo-user] =?gbk?B?u9i4tKO6IFtnZW50b28tdXNlcl0gQW55b25lIGNh?=
 =?gbk?B?biBhZmZvcmQgaW5mb3JtYXRpb24gYWJvdXQgYnVp?=
 =?gbk?B?bGQga2VybmVsPw==?=

So the second one definitely came through worse than the first, but
(for whatever reason), GMail didn't signal a topic change. (Usually,
it's pretty good about that)

Maybe GMail was clever enough to pick up on something like
X-Reply-Hash and tie it to a thread. Dunno.

-- 
:wq



[gentoo-user] Re: tabbed x11-terms/rxvt-unicode

2011-10-11 Thread Francesco Talamona
On Tuesday 11 October 2011, Peter Humphrey wrote:
 On Saturday 08 October 2011 19:43:53 Michael Orlitzky wrote:
  I'm going to start a bug-filing campaign against packages like this
  some day. The only description we ever get for use flag foo is
  'enable support for foo', which doesn't tell you anything at all
  about how it affects a given package.
 
 I did file a bug a year or two ago about the almost uselessness of
 USE flag descriptions. It caused a flurry of activity in quite a few
 packages, but conspicuous silence in the rest. Needless to say, the
 activity soon died away and the status quo resumed. Programmers are
 not writers of English, by and large.

Do you remember the bug id?
Cheers
Francesco

-- 
Linux Version 3.0.6-gentoo, Compiled #1 SMP PREEMPT Sat Oct 8 20:18:59 
CEST 2011
Two 1GHz AMD Athlon 64 X2 Processors, 4GB RAM, 4019.26 Bogomips Total
aemaeth



[gentoo-user] Re: tabbed x11-terms/rxvt-unicode

2011-10-11 Thread Francesco Talamona
On Saturday 08 October 2011, Michael Orlitzky wrote:
 On 10/08/11 15:09, Francesco Talamona wrote:
  I'm not going to complain, though I'm willing to point out (e.g.
  commenting on relevant bug reports) that some packages are affected
  in a bad way by this move.
 
 Comment here? The devs are still CCed even though it's closed:
 
   https://bugs.gentoo.org/250179
 
  To be honest I didn't look for a solution in b.g.o because it was
  straightforward; even if not so manifest for me the link between
  the perl flag and the ability for rxvt to run tabbed (given that
  it doesn't give an error).
  
  I don't want to be blunt, but your plan looks to me quite vague.
  My opinion is that some packages should have a different default.
 
 That bug is for adding IUSE defaults, rather than removing the flag.

Added a brief comment, let's see developers' reaction.

Francesco

-- 
Linux Version 3.0.6-gentoo, Compiled #1 SMP PREEMPT Sat Oct 8 20:18:59 
CEST 2011
Two 1GHz AMD Athlon 64 X2 Processors, 4GB RAM, 4019.26 Bogomips Total
aemaeth



[gentoo-user] Re: tabbed x11-terms/rxvt-unicode

2011-10-11 Thread Francesco Talamona
On Sunday 09 October 2011, Michael Orlitzky wrote:
 On 10/09/11 13:53, Alan McKinnon wrote:
  For rxvt, a suitable flag name would be plugins
 
 Or if there were some package-specific documentation that said,
 perl: enable the following plugins (written in perl): tabs,
 transparency, etc.
 
 In fact, that would be my favorite solution.

How would you call the flag in this case?

Regards
Francesco

-- 
Linux Version 3.0.6-gentoo, Compiled #1 SMP PREEMPT Sat Oct 8 20:18:59 
CEST 2011
Two 1GHz AMD Athlon 64 X2 Processors, 4GB RAM, 4019.26 Bogomips Total
aemaeth



[gentoo-user] Re: How to record memory usage bandwidth usage?

2011-10-11 Thread James
Pandu Poluan pandu at poluan.info writes:


 The head honcho of my company just asked me to plan for migration of
 X into the cloud (where X is the online trading server that our
 investors used).

This is a single server or many at different locations.
If a WAN monitoring is what you are after, along with individual
server resources, you have many choices.

 Now, I need to monitor how much RAM is used throughout the day by X,
 also how much bandwidth gets eaten by X throughout the day.

Most of the packages monitor ram as well as other resource utilization
of the servers, firewall, routers and other SNMP devices in your network.
some experimentation may be warranted to find what your team likes best.

 What tools do you recommend?

OH boy. I like JFFNMS very very much. It has a very old version in portage
(masked) but a very new version out there for Debian and Ubuntu. It 
runs on all nix, if you want to driectly compile and install.

I'll be putting together a new ebuild, as soon as I get it working
with the latest postgresql. Mysql works out of the box. Postgresql-9
has many new and very cool features.

 Remember: The data will be used for 'post-mortem' analysis, so I don't
 need any fancy schmancy presentation. Just raw data, taken every N
 seconds.

Personally, I have some large, high risk design work going on. JFFNMS
and pg9 are the best choices from my research. A whiz like yourself
could easily look at the old JFFNMS ebuild and create a new one.
PG-9 (please no flame wars on mysql vs pg9) is very cool and what
my work is migrating too, once I get some breathing room.

Craig at jffnms.org is very cool and responsive. He also works closely
with those that submit patches. Nagios is a large, disorder array that
had many devs fork off since the project leader (was/is an a_ole)
is quite difficult to work with.

JFFNMS rules and is very cool for managing cisco and other routers,
not to mention a myriad of snmp(1,2.3) devices and all types
of servers. The original guy, Javier, was snapped  up by someone
worth billions, to manage and extend his financial network, but, Craig
is probably stronger coder, and extraordinarily nice human being.
It's mostly php. Lots of folks extend JFFNMS, Craig keeps it clean
and well written and documented code.

http://www.jffnms.org/

hth,
James








[gentoo-user] Re: tabbed x11-terms/rxvt-unicode

2011-10-11 Thread Francesco Talamona
On Saturday 08 October 2011, Michael Orlitzky wrote:
 On 10/08/11 15:09, Francesco Talamona wrote:
  I'm not going to complain, though I'm willing to point out (e.g.
  commenting on relevant bug reports) that some packages are affected
  in a bad way by this move.
 
 Comment here? The devs are still CCed even though it's closed:
 
   https://bugs.gentoo.org/250179
 
  To be honest I didn't look for a solution in b.g.o because it was
  straightforward; even if not so manifest for me the link between
  the perl flag and the ability for rxvt to run tabbed (given that
  it doesn't give an error).
  
  I don't want to be blunt, but your plan looks to me quite vague.
  My opinion is that some packages should have a different default.
 
 That bug is for adding IUSE defaults, rather than removing the flag.

https://bugs.gentoo.org/show_bug.cgi?id=250179#c16

https://bugs.gentoo.org/show_bug.cgi?id=386827

Cheers
Francesco
-- 
Linux Version 3.0.6-gentoo, Compiled #1 SMP PREEMPT Sat Oct 8 20:18:59 
CEST 2011
Two 1GHz AMD Athlon 64 X2 Processors, 4GB RAM, 4019.26 Bogomips Total
aemaeth



Re: this is spam (was: Re: [gentoo-user] 回复: [gentoo-user] Anyone can afford information about build kernel?)

2011-10-11 Thread Alan McKinnon
On Tue, 11 Oct 2011 17:08:19 +0200
Jonas de Buhr jonas.de.b...@gmx.net wrote:

 what really points into the direction of spam in my opinion is using
 the different names mentioned of stopforumspam. and that others went
 as far as reporting it.

Simplest possible answer:

Chinese internet cafe's that use NAT.

It only takes one regular to discover a halfway decent
Chinese-English translation site that does mail, and suddenly the
cafe's entire regular customer base uses it.

-- 
Alan McKinnnon
alan.mckin...@gmail.com



[gentoo-user] SSDs, ext4, fstrim, discard ...

2011-10-11 Thread Stefan G. Weichinger

As mentioned in the systemd-posting I migrated back to an SSD today (on
my main rig, the thinkpad uses an SSD happily for a long time now).

A feature in a local magazine updated my knowledge of how to make use of
the TRIM-command.

It told me not to use the mount-option discard anymore, but run fstrim
on the mountpoint frequently.

OK, I learn ;-)

But, AFAI understand, after trimming sectors/bytes on the
filesystem/partition, they should be trimmed. I expect X bytes to be
trimmed at first and if I repeat the command, I expect 0 (or something
pretty low) bytes to be trimmed then, ok?

This is what I wonder about:

~ # fstrim -v /
/: 6195433472 bytes were trimmed
~ # fstrim -v /
/: 6195433472 bytes were trimmed
~ # fstrim -v /
/: 6195433472 bytes were trimmed


I tested it with discard on and off.

/ is ext4, yes, and on an SSD, yup.

Do I misunderstand things here?

Thanks, Stefan



Re: [gentoo-user] systemd

2011-10-11 Thread Stefan G. Weichinger


Didn't do much research around this lately.

Today I revived my SSD (we'll see) and therefore fell over systemd when
I edited grub.conf

Where would/should I put stuff from /etc/local.d/ with systemd?

I have some commands there setting parameters for ssd-usage and those
would be skipped (not executed) with systemd.

Pls don't misunderstand, this is not gentoo ricer stuff, I am quite
happy w/ openrc, especially w/ the ssd.

Stefan



Re: [gentoo-user] systemd

2011-10-11 Thread Canek Peláez Valdés
On Tue, Oct 11, 2011 at 1:27 PM, Stefan G. Weichinger li...@xunil.at wrote:


 Didn't do much research around this lately.

 Today I revived my SSD (we'll see) and therefore fell over systemd when
 I edited grub.conf

 Where would/should I put stuff from /etc/local.d/ with systemd?

 I have some commands there setting parameters for ssd-usage and those
 would be skipped (not executed) with systemd.

Those command are on a script, right? Lets say the script is called
ssd-thingies; you put this on
/etc/systemd/system/ssd-thingies.service:

--
[Unit]
Description=SSD thingies
After=basic.target

[Service]
Type=oneshot
ExecStart=/my/path/to/ssd-thingies

[Install]
WantedBy=multi-user.target
---

Then you run:

systemctl daemon-reload
systemctl enable ssd-thingies.service

Next time you reboot, the service will be called after the
basic.target has been completed. You can look at the status of the
script afterwards with

systemctl status ssd-thingies.service

If everything went OK, it should have a line like this:

Process: 1234 ExecStart=/my/path/to/ssd-thingies (code=exited, status=0/SUCCESS)

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] systemd

2011-10-11 Thread Stefan G. Weichinger
Am 11.10.2011 23:04, schrieb Canek Peláez Valdés:

[...]

 systemctl status ssd-thingies.service
 
 If everything went OK, it should have a line like this:
 
 Process: 1234 ExecStart=/my/path/to/ssd-thingies (code=exited, 
 status=0/SUCCESS)
 
 Regards.

Thanks for the explanation!

I tried it right now, unfortunately I get:

# systemctl status ssd-thingies.service
ssd-thingies.service - SSD thingies
  Loaded: loaded (/etc/systemd/system/ssd-thingies.service)
  Active: failed since Tue, 11 Oct 2011 23:28:05 +0200; 21s ago
 Process: 6696 ExecStart=/etc/local.d/stefan.start (code=exited,
status=203/EXEC)
  CGroup: name=systemd:/system/ssd-thingies.service

Is it a permission-issue? AFAIK systemd runs w/ root?


# cat /etc/systemd/system/ssd-thingies.service

[Unit]
Description=SSD thingies
After=basic.target

[Service]
Type=oneshot
ExecStart=/etc/local.d/stefan.start

[Install]
WantedBy=multi-user.target


# ll /etc/local.d/stefan.start
-rwxr-xr-x 1 root root 795 11. Okt 16:47 /etc/local.d/stefan.start

---

Thanks, greets, Stefan



Re: [gentoo-user] SSDs, ext4, fstrim, discard ...

2011-10-11 Thread Neil Bothwick
On Tue, 11 Oct 2011 22:56:31 +0200, Stefan G. Weichinger wrote:

 
 As mentioned in the systemd-posting I migrated back to an SSD today (on
 my main rig, the thinkpad uses an SSD happily for a long time now).
 
 A feature in a local magazine updated my knowledge of how to make use of
 the TRIM-command.
 
 It told me not to use the mount-option discard anymore, but run fstrim
 on the mountpoint frequently.
 
 OK, I learn ;-)
 
 But, AFAI understand, after trimming sectors/bytes on the
 filesystem/partition, they should be trimmed. I expect X bytes to be
 trimmed at first and if I repeat the command, I expect 0 (or something
 pretty low) bytes to be trimmed then, ok?
 
 This is what I wonder about:
 
 ~ # fstrim -v /
 /: 6195433472 bytes were trimmed
 ~ # fstrim -v /
 /: 6195433472 bytes were trimmed
 ~ # fstrim -v /
 /: 6195433472 bytes were trimmed
 
 
 I tested it with discard on and off.
 
 / is ext4, yes, and on an SSD, yup.
 
 Do I misunderstand things here?
 
 Thanks, Stefan
 

This seems in accordance with the fstrim man page:

fstrim  will report the same potential discard bytes each time, but only
sectors which had been written to between the discards would actually be
discarded by the storage device.

What is the benefit of running fstrim manually over mounting with discard?


-- 
Neil Bothwick

PCMCIA: People Can't Memorize Computer Industry Acronyms


signature.asc
Description: PGP signature


Re: [gentoo-user] SSDs, ext4, fstrim, discard ...

2011-10-11 Thread Alan McKinnon
On Tue, 11 Oct 2011 22:56:31 +0200
Stefan G. Weichinger li...@xunil.at wrote:

 
 As mentioned in the systemd-posting I migrated back to an SSD today
 (on my main rig, the thinkpad uses an SSD happily for a long time
 now).
 
 A feature in a local magazine updated my knowledge of how to make use
 of the TRIM-command.
 
 It told me not to use the mount-option discard anymore, but run
 fstrim on the mountpoint frequently.
 
 OK, I learn ;-)
 
 But, AFAI understand, after trimming sectors/bytes on the
 filesystem/partition, they should be trimmed. I expect X bytes to be
 trimmed at first and if I repeat the command, I expect 0 (or something
 pretty low) bytes to be trimmed then, ok?
 
 This is what I wonder about:
 
 ~ # fstrim -v /
 /: 6195433472 bytes were trimmed
 ~ # fstrim -v /
 /: 6195433472 bytes were trimmed
 ~ # fstrim -v /
 /: 6195433472 bytes were trimmed
 
 
 I tested it with discard on and off.
 
 / is ext4, yes, and on an SSD, yup.
 
 Do I misunderstand things here?

Yes, you misunderstand how fstrim works. It's not up to you to say what
it does exactly, it's up to the drive firmware and possibly the kernel.
It's actually fully described in the man page right there in the part
for option -v  :-)

A convenient on-line copy of the man page:

http://www.vdmeulen.net/cgi-bin/man/man2html?fstrim+8


-- 
Alan McKinnnon
alan.mckin...@gmail.com



[gentoo-user] can't build gnome 3.2 (3.0 was ok)

2011-10-11 Thread Allan Gottlieb
For me, gnome 3.2 has been quite a regression over 3.0.

Summary:

gdm-3.2.0-r1 crashes and when I revert to the 3.0 gdm, I get to the
login screen but then gnome-shell crashes.  I tried to downgrade to
gnome-shell-3.0.2-r1, but that needs libgnome-menu, which is not in
portage/layman.

The crash of gdm is described in bug #385525.

The crash of gnome-shell is described in the following .xsession-errors
file (tracker-miner-fs.log and tracker-store.log are empty).

any help would be appreciated.
allan



oldlap tracker # cat /home/eva/.xsession-errors 
/etc/gdm/Xsession: Beginning session setup...
which: no keychain in 
(/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1:/usr/i686-pc-linux-gnu/gcc-bin/4.5.3:/usr/i686-pc-linux-gnu/gnat-gpl-bin/4.1:/usr/libexec/gnat-gpl/i686-pc-linux-gnu/4.1:/usr/games/bin)
/etc/gdm/Xsession: Setup done, will execute: /usr/bin/dbus-launch 
--exit-with-session /usr/bin/ssh-agent -- gnome-session
GNOME_KEYRING_CONTROL=/tmp/keyring-DMA2OM
GNOME_KEYRING_PID=5649
GNOME_KEYRING_CONTROL=/tmp/keyring-DMA2OM
GNOME_KEYRING_CONTROL=/tmp/keyring-DMA2OM
GPG_AGENT_INFO=/tmp/keyring-DMA2OM/gpg:0:1
GNOME_KEYRING_CONTROL=/tmp/keyring-DMA2OM
GPG_AGENT_INFO=/tmp/keyring-DMA2OM/gpg:0:1
SSH_AUTH_SOCK=/tmp/keyring-DMA2OM/ssh
Initializing tracker-miner-fs...
Initializing tracker-store...
Tracker-Message: Setting up monitor for changes to config 
file:'/home/eva/.config/tracker/tracker-miner-fs.cfg'
Starting log:
  File:'/home/eva/.local/share/tracker/tracker-miner-fs.log'
Tracker-Message: Setting up monitor for changes to config 
file:'/home/eva/.config/tracker/tracker-store.cfg'
Tracker-Message: Setting up monitor for changes to config 
file:'/home/eva/.config/tracker/tracker-store.cfg'
Starting log:
  File:'/home/eva/.local/share/tracker/tracker-store.log'
Failed to play sound: File or data not found

(gnome-shell:5676): Bluetooth-WARNING **: Could not open RFKILL control device, 
please verify your installation
  JS LOG: GNOME Shell started at Tue Oct 11 2011 17:23:24 GMT-0400 (EDT)
Window manager warning: Log level 16: get_all_cb: couldn't retrieve system 
settings properties: (25) Launch helper exited with unknown return code 1.
gnome-shell-calendar-server[5718]: Got HUP on stdin - exiting
gnome-session[5618]: WARNING: Application 'gnome-shell.desktop' killed by signal

(gnome-shell:5730): Bluetooth-WARNING **: Could not open RFKILL control device, 
please verify your installation
  JS LOG: GNOME Shell started at Tue Oct 11 2011 17:23:25 GMT-0400 (EDT)
Window manager warning: Log level 16: get_all_cb: couldn't retrieve system 
settings properties: (25) Launch helper exited with unknown return code 1.
gnome-session[5618]: WARNING: App 'gnome-shell.desktop' respawning too quickly
gnome-shell-calendar-server[5738]: Got HUP on stdin - exiting
gnome-session[5618]: WARNING: Application 'gnome-shell.desktop' killed by signal

(gnome-settings-daemon:5647): GLib-GObject-CRITICAL **: g_object_unref: 
assertion `G_IS_OBJECT (object)' failed
** Message: Got disconnected from the session message bus; retrying to 
reconnect every 10 seconds
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying 
GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.

Received signal:15-'Terminated'g_dbus_connection_real_closed: Remote peer 
vanished with error: Underlying GIOStream returned 0 bytes on an async read 
(g-io-error-quark, 0). Exiting.

(gdu-notification-daemon:5693): Gdk-WARNING **: gdu-notification-daemon: Fatal 
IO error 11 (Resource temporarily unavailable) on X server :0.


OK

oldlap tracker # 






Re: [gentoo-user] systemd

2011-10-11 Thread Canek Peláez Valdés
On Tue, Oct 11, 2011 at 2:33 PM, Stefan G. Weichinger li...@xunil.at wrote:
 Am 11.10.2011 23:04, schrieb Canek Peláez Valdés:

 [...]

 systemctl status ssd-thingies.service

 If everything went OK, it should have a line like this:

 Process: 1234 ExecStart=/my/path/to/ssd-thingies (code=exited, 
 status=0/SUCCESS)

 Regards.

 Thanks for the explanation!

 I tried it right now, unfortunately I get:

 # systemctl status ssd-thingies.service
 ssd-thingies.service - SSD thingies
          Loaded: loaded (/etc/systemd/system/ssd-thingies.service)
          Active: failed since Tue, 11 Oct 2011 23:28:05 +0200; 21s ago
         Process: 6696 ExecStart=/etc/local.d/stefan.start (code=exited,
 status=203/EXEC)
          CGroup: name=systemd:/system/ssd-thingies.service

 Is it a permission-issue? AFAIK systemd runs w/ root?

It runs as root, but it's already telling you the problem:

 Process: 6696 ExecStart=/etc/local.d/stefan.start (code=exited, 
 status=203/EXEC)

Your script (I believe) does not have execution perms. All the
commands for ExecStart (and ExecStop) need to be executable, so do a

chmod +x /etc/local.d/stefan.start

Also, if your scripts does not return 0 (or the last command it
executes does not return 0), it will tell you with the status= flag.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] SSDs, ext4, fstrim, discard ...

2011-10-11 Thread Stefan G. Weichinger
Am 12.10.2011 00:05, schrieb Neil Bothwick:

 This seems in accordance with the fstrim man page:
 
 fstrim  will report the same potential discard bytes each time,
 but only sectors which had been written to between the discards
 would actually be discarded by the storage device.

Didn't see this so far. Gotta check once more.

 What is the benefit of running fstrim manually over mounting with
 discard?

discard seems to slow down the fs by trimming all the time.
I only report what I read. No tests done so far.

S



Re: [gentoo-user] SSDs, ext4, fstrim, discard ...

2011-10-11 Thread Stefan G. Weichinger
Am 12.10.2011 00:05, schrieb Alan McKinnon:

 Yes, you misunderstand how fstrim works. It's not up to you to say what
 it does exactly, it's up to the drive firmware and possibly the kernel.
 It's actually fully described in the man page right there in the part
 for option -v  :-)

So it only tells me something?



Re: [gentoo-user] can't build gnome 3.2 (3.0 was ok)

2011-10-11 Thread Canek Peláez Valdés
On Tue, Oct 11, 2011 at 3:13 PM, Allan Gottlieb gottl...@nyu.edu wrote:
 For me, gnome 3.2 has been quite a regression over 3.0.

Weird; for me it works so much better than 3.0.

 Summary:

 gdm-3.2.0-r1 crashes and when I revert to the 3.0 gdm, I get to the
 login screen but then gnome-shell crashes.  I tried to downgrade to
 gnome-shell-3.0.2-r1, but that needs libgnome-menu, which is not in
 portage/layman.

 The crash of gdm is described in bug #385525.

 The crash of gnome-shell is described in the following .xsession-errors
 file (tracker-miner-fs.log and tracker-store.log are empty).

 any help would be appreciated.
 allan

Are you running the updated git of gnome-overlay? I had troubles with
gnome-settings-daemon until a couple of days.

Can you try to start GNOME with a clean config (no ~/.config, no
~/.local, no ~/.gconf, no ~/.gnome*). Just backup your current config
and remove it from $HOME, or try to start GNOME with a dummy new user.
Also, in my case, having gnome-shell extensions installed caused me
problems when upgrading.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] systemd

2011-10-11 Thread Stefan G. Weichinger
Am 12.10.2011 00:23, schrieb Canek Peláez Valdés:

 Your script (I believe) does not have execution perms. All the
 commands for ExecStart (and ExecStop) need to be executable, so do a
 
 chmod +x /etc/local.d/stefan.start

I showed you before:

# ll /etc/local.d/stefan.start
-rwxr-xr-x 1 root root 795 11. Okt 16:47 /etc/local.d/stefan.start

 Also, if your scripts does not return 0 (or the last command it
 executes does not return 0), it will tell you with the status= flag.

Will check this.

Thanks, S



Re: [gentoo-user] systemd

2011-10-11 Thread Canek Peláez Valdés
On Tue, Oct 11, 2011 at 3:39 PM, Stefan G. Weichinger li...@xunil.at wrote:
 Am 12.10.2011 00:23, schrieb Canek Peláez Valdés:

 Your script (I believe) does not have execution perms. All the
 commands for ExecStart (and ExecStop) need to be executable, so do a

 chmod +x /etc/local.d/stefan.start

 I showed you before:

 # ll /etc/local.d/stefan.start
 -rwxr-xr-x 1 root root 795 11. Okt 16:47 /etc/local.d/stefan.start

Sorry, didn't see it. Can you execute it calling it directly? Maybe
it's missing the proper shebang.

 Also, if your scripts does not return 0 (or the last command it
 executes does not return 0), it will tell you with the status= flag.

 Will check this.

I really think is that systemd cannot execute it, but check that also.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] systemd

2011-10-11 Thread Stefan G. Weichinger
Am 12.10.2011 00:47, schrieb Canek Peláez Valdés:

 # ll /etc/local.d/stefan.start
 -rwxr-xr-x 1 root root 795 11. Okt 16:47 /etc/local.d/stefan.start
 
 Sorry, didn't see it. Can you execute it calling it directly? Maybe
 it's missing the proper shebang.

The shebang did the trick!

Thanks a lot, Stefan



[gentoo-user] Re: this is spam (was: Re: [gentoo-user] 回复: [gentoo-user] Anyone can afford information about build kernel?)

2011-10-11 Thread Matthew Finkel
On Tue, Oct 11, 2011 at 11:08 AM, Jonas de Buhr jonas.de.b...@gmx.netwrote:

 Am Tue, 11 Oct 2011 13:54:06 +0100
 schrieb Mick michaelkintz...@gmail.com:

  On Tuesday 11 Oct 2011 12:51:12 Jonas de Buhr wrote:
   Am Tue, 11 Oct 2011 13:03:27 +0200
  
   schrieb Jonas de Buhr jonas.de.b...@gmx.net:
it's nice how much many people on this this list are willing to
help in spite of all this. but am i really the only one who finds
the behavior described above at least confusing?
anyway, i'm quite convinced it is fake.
  
   no, apparently i am not the only one thinking that:
   http://www.stopforumspam.com/ipcheck/58.243.95.123
 
 
  Interesting!
 
  Well, the broken English is not an insurmountable problem as long as
  we understand the question asked.  Not everyone is blessed with good
  knowledge of the English language.

 i totally agree to that given any effort on the other end i would do my
 best to help as well.

  The questions seem genuine, so it may help the OP or others that have
  similar problems.

 right, the replies probably gave the thread some value ;)
 but there was *no* reaction at all to the proposed solutions, hints and
 info requests. why ask for help if you don't even try the suggestions?
 it takes you about ten minutes of reading this list to realize that the
 usual way of solving problems is a cycle of i am trying to do X
 and receive error Y-hey, try Z-oh, now A happens-try B too
 etc.

  Now, if as you say it is indeed spam, what escapes me is why would
  someone spam the list in this manner?  It doesn't make sense.

 my point exactly! i don't get it - this intially led me to post
 this comment in the first place.
 what really points into the direction of spam in my opinion is using
 the different names mentioned of stopforumspam. and that others went as
 far as reporting it.

  So I
  am led to believe that the peculiarities you mention are probably a
  cultural (or personal) issue.

 possible. but what makes it even more confusing is that this doesn't
 go well with my experience of chinese people having a hard time with
 english (i can't really put my finger on it, but it doesn't feel right)
 and how they react to hey, you're doing X wrong, thats rude.
 not meaning to stereotype, it just made it more suspicious.



I understand why you would think the OP is a spammer, but the topic just
seems too genuine (to me at least) for this to actually be spam. It
definitely would have been more polite if Lavender had replied to the other
suggestions, but (assuming the thread is not spam) you don't know what is
going on in their life and it may take a few days to respond. Just because
the person is from China, doesn't mean we should assume they're a spammer
(following Alan's last reply).

-- 
Matthew Finkel


Re: [gentoo-user] SSDs, ext4, fstrim, discard ...

2011-10-11 Thread Alan McKinnon
On Wed, 12 Oct 2011 00:28:03 +0200
Stefan G. Weichinger li...@xunil.at wrote:

 Am 12.10.2011 00:05, schrieb Alan McKinnon:
 
  Yes, you misunderstand how fstrim works. It's not up to you to say
  what it does exactly, it's up to the drive firmware and possibly
  the kernel. It's actually fully described in the man page right
  there in the part for option -v  :-)
 
 So it only tells me something?

No, it's giving you a fact (and slightly misrepresenting it in the
output).

You asked the drive firmware for a favour - to please check if anything
can be discarded and if so to discard it.

cue Mafia voice a la GodFather

The firmware checked that it *could* discard X bytes and then figured
well, maybe it will, maybe it won't, maybe it'll do it on it's own
good time, but what the heck - tell the user anyway how many bytes X
is. Maybe that'll make the user happy so he'll stfu and go away..

The command leads you to believe the discard was actually done, but
that's not necessarily true :-)

It's probably a case of the drive knows much better than you what it
should do.


-- 
Alan McKinnnon
alan.mckin...@gmail.com



Re: [gentoo-user] can't build gnome 3.2 (3.0 was ok)

2011-10-11 Thread David Abbott
On Tue, Oct 11, 2011 at 6:30 PM, Canek Peláez Valdés can...@gmail.com wrote:
 On Tue, Oct 11, 2011 at 3:13 PM, Allan Gottlieb gottl...@nyu.edu wrote:
 For me, gnome 3.2 has been quite a regression over 3.0.

 Weird; for me it works so much better than 3.0.

Working OK here also, here is my .xsession-errors
http://paste.pocoo.org/show/491299/
HTH
David



Re: [gentoo-user] Re: this is spam (was: Re: [gentoo-user] 回复: [gentoo-user] Anyone can afford information about build kernel?)

2011-10-11 Thread Alan McKinnon
On Tue, 11 Oct 2011 19:16:56 -0400
Matthew Finkel matthew.fin...@gmail.com wrote:

 I understand why you would think the OP is a spammer, but the topic
 just seems too genuine (to me at least) for this to actually be spam.
 It definitely would have been more polite if Lavender had replied to
 the other suggestions, but (assuming the thread is not spam) you
 don't know what is going on in their life and it may take a few days
 to respond. Just because the person is from China, doesn't mean we
 should assume they're a spammer (following Alan's last reply).

Dealing with foreign users can be interesting, triply so if they are
not European/Caucasian.

I have about 150 or so technical users throughout Africa (Nigerians are
especially interesting) and their Support requests routinely end up in
spam folders. These are ISP employees, you'd think the mail lines would
work smoothly. 

Ah, not so. Until you work with foreign cultures you won't believe the
many varied ways communication can veer off course. In some cultures
it's considered rude for a junior to respond in any way to a senior
(replies have to go through intermediaries). 

-- 
Alan McKinnnon
alan.mckin...@gmail.com



Re: [gentoo-user] can't build gnome 3.2 (3.0 was ok)

2011-10-11 Thread Allan Gottlieb
On Tue, Oct 11 2011, Canek Peláez Valdés wrote:

 On Tue, Oct 11, 2011 at 3:13 PM, Allan Gottlieb gottl...@nyu.edu wrote:
 For me, gnome 3.2 has been quite a regression over 3.0.

 Weird; for me it works so much better than 3.0.

 Summary:

 gdm-3.2.0-r1 crashes and when I revert to the 3.0 gdm, I get to the
 login screen but then gnome-shell crashes.  I tried to downgrade to
 gnome-shell-3.0.2-r1, but that needs libgnome-menu, which is not in
 portage/layman.

 The crash of gdm is described in bug #385525.

 The crash of gnome-shell is described in the following .xsession-errors
 file (tracker-miner-fs.log and tracker-store.log are empty).

 any help would be appreciated.
 allan

 Are you running the updated git of gnome-overlay? I had troubles with
 gnome-settings-daemon until a couple of days.

I am running the gnome overlay.  I didn't know it had git inside.
I am running git 1.7.7.  The only packages that won't compile for me
(caught by revdep-rebuild are gpointing-device-settings-1.5.1-r2 and
totem-plparser-2-32.6).  I believe these bugs are not related to the
above.

 Can you try to start GNOME with a clean config (no ~/.config, no
 ~/.local, no ~/.gconf, no ~/.gnome*). Just backup your current config
 and remove it from $HOME, or try to start GNOME with a dummy new user.

I can't get to the machine tonight, but will try it tomorrow.

 Also, in my case, having gnome-shell extensions installed caused me
 problems when upgrading.

I don't have the extensions installed.

thanks,
allan



Re: [gentoo-user] can't build gnome 3.2 (3.0 was ok)

2011-10-11 Thread Allan Gottlieb
On Tue, Oct 11 2011, David Abbott wrote:

 On Tue, Oct 11, 2011 at 6:30 PM, Canek Peláez Valdés can...@gmail.com wrote:
 On Tue, Oct 11, 2011 at 3:13 PM, Allan Gottlieb gottl...@nyu.edu wrote:
 For me, gnome 3.2 has been quite a regression over 3.0.

 Weird; for me it works so much better than 3.0.

 Working OK here also, here is my .xsession-errors
 http://paste.pocoo.org/show/491299/
 HTH

thanks,
allan




Re: [gentoo-user] can't build gnome 3.2 (3.0 was ok)

2011-10-11 Thread Canek Peláez Valdés
On Tue, Oct 11, 2011 at 6:18 PM, Allan Gottlieb gottl...@nyu.edu wrote:
 On Tue, Oct 11 2011, Canek Peláez Valdés wrote:

 On Tue, Oct 11, 2011 at 3:13 PM, Allan Gottlieb gottl...@nyu.edu wrote:
 For me, gnome 3.2 has been quite a regression over 3.0.

 Weird; for me it works so much better than 3.0.

 Summary:

 gdm-3.2.0-r1 crashes and when I revert to the 3.0 gdm, I get to the
 login screen but then gnome-shell crashes.  I tried to downgrade to
 gnome-shell-3.0.2-r1, but that needs libgnome-menu, which is not in
 portage/layman.

 The crash of gdm is described in bug #385525.

 The crash of gnome-shell is described in the following .xsession-errors
 file (tracker-miner-fs.log and tracker-store.log are empty).

 any help would be appreciated.
 allan

 Are you running the updated git of gnome-overlay? I had troubles with
 gnome-settings-daemon until a couple of days.

 I am running the gnome overlay.  I didn't know it had git inside.
 I am running git 1.7.7.  The only packages that won't compile for me
 (caught by revdep-rebuild are gpointing-device-settings-1.5.1-r2 and
 totem-plparser-2-32.6).  I believe these bugs are not related to the
 above.

No, what I meant to ask was if you have the last snapshot of the
overlay. The overlay is a git repository (I believe most overlays are
git repositories), and they are updated when you do layman -S (if you
use layman).

 Can you try to start GNOME with a clean config (no ~/.config, no
 ~/.local, no ~/.gconf, no ~/.gnome*). Just backup your current config
 and remove it from $HOME, or try to start GNOME with a dummy new user.

 I can't get to the machine tonight, but will try it tomorrow.

 Also, in my case, having gnome-shell extensions installed caused me
 problems when upgrading.

 I don't have the extensions installed.

Then is either a config problem, or there was something funny in the
snapshot of the overlay that you used. If the clean config doesn't
work, update the overlay from git (or use layman -S) and reemerge all
the installed ebuilds inside the overlay.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



[gentoo-user] /usr/bin/[ and coreutils

2011-10-11 Thread William Kenworthy
I have been checking my system for some deep seated problems and in the
process, ran across the fact that equery files sys-apps/coreutils-8.7
shows a file included called /usr/bin/[ - thats right, left square
bracket!

Is that a bug or if real, what would you use it for?  It doesnt seem to
be on the file system ...

moriah ~ # /usr/bin/[
/usr/bin/[: missing `]'
moriah ~ #

doesnt show much!

BillK




Re: [gentoo-user] /usr/bin/[ and coreutils

2011-10-11 Thread Canek Peláez Valdés
On Tue, Oct 11, 2011 at 10:35 PM, William Kenworthy bi...@iinet.net.au wrote:
 I have been checking my system for some deep seated problems and in the
 process, ran across the fact that equery files sys-apps/coreutils-8.7
 shows a file included called /usr/bin/[ - thats right, left square
 bracket!

 Is that a bug or if real, what would you use it for?  It doesnt seem to
 be on the file system ...

 moriah ~ # /usr/bin/[
 /usr/bin/[: missing `]'
 moriah ~ #

 doesnt show much!

Relax. It's an alias for test, so instead of using

if test blah; then
...
fi

in bash, you can use

if [ blah ]; then
...
fi

Just do /usr/bin/[ --help to get an idea. It has been there since I
started using Linux, if I remember correctly, many years ago.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] /usr/bin/[ and coreutils

2011-10-11 Thread Manuel McLure
On Tue, Oct 11, 2011 at 10:35 PM, William Kenworthy bi...@iinet.net.au wrote:
 I have been checking my system for some deep seated problems and in the
 process, ran across the fact that equery files sys-apps/coreutils-8.7
 shows a file included called /usr/bin/[ - thats right, left square
 bracket!

 Is that a bug or if real, what would you use it for?  It doesnt seem to
 be on the file system ...

 moriah ~ # /usr/bin/[
 /usr/bin/[: missing `]'
 moriah ~ #

 doesnt show much!

'/usr/bin/[' is a synonym for the '/usr/bin/test' utility. It's used
in shell scripts like

if [ -f /etc/passwd ] ; then
  ...

So don't worry. It's supposed to be there.
-- 
Manuel A. McLure WW1FA man...@mclure.org http://www.mclure.org
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.                       -- H.P. Lovecraft



Re: [gentoo-user] /usr/bin/[ and coreutils

2011-10-11 Thread meino . cramer
William Kenworthy bi...@iinet.net.au [11-10-12 07:40]:
 I have been checking my system for some deep seated problems and in the
 process, ran across the fact that equery files sys-apps/coreutils-8.7
 shows a file included called /usr/bin/[ - thats right, left square
 bracket!
 
 Is that a bug or if real, what would you use it for?  It doesnt seem to
 be on the file system ...
 
 moriah ~ # /usr/bin/[
 /usr/bin/[: missing `]'
 moriah ~ #
 
 doesnt show much!
 
 BillK
 
 

Hi Wiiliam,

this is a convenient 'abbreviation' or 'alias' for cobnstructs such this one

if [ foo ] 
then
bar
fi

in shell scripting.

Most shells have implemented this as a builtin (and 'test' also)
though.

HTH!

Best regards,
mcc