Re: [gentoo-user] ceph on gentoo?

2014-12-27 Thread Neil Bothwick
On Fri, 26 Dec 2014 20:55:07 -0500, Rich Freeman wrote:

 If you'd like to receive a few thousand emails from
 santacl...@north.pole care of the list of your choice just let me
 know.

Well done Rich, you've just posted Santa's address in plain text where
all the spam address harvesters will find it. You won't be getting
anything from him next year!

Mind you, at his age, those offers of viagra may be useful...


-- 
Neil Bothwick

COBOL: (n.) an old computer language, designed to be read and not
   run. Unfortunately, it is often run anyway.


pgpAcOc5X1IjK.pgp
Description: OpenPGP digital signature


[gentoo-user] KDE Activities

2014-12-27 Thread Peter Humphrey
Morning list,

Is there a way to build KDE without its concept of Activities? I find it an 
unnecessary complication, which I never use. Any time I found myself 
wrestling with it by accident it's caused little other than anger and 
frustration.

No doubt this is just as silly an idea as building KMail without its 
database, which also has caused considerable grief.

-- 
Rgds
Peter.




Re: [gentoo-user] Syslog-ng is writing binary

2014-12-27 Thread Mick
On Friday 26 Dec 2014 23:33:33 Peter Humphrey wrote:
 Hello list,
 
 For some time now I've had syslog-ng writing /var/log/messages in a binary
 format:
 
 # file /var/log/messages
 /var/log/messages: data
 # grep syslog-ng /var/log/messages
 Binary file /var/log/messages matches
 
 Yet:
 
 # head /var/log/messages
 Dec 21 03:10:02 wstn run-crons[29014]: (root) CMD (/etc/cron.daily/man-db)
 [...]
 
 Can I use the following method to restore the original text format of
 /var/log/messages?
 
 1.Boot rescue system and mount main system
 2.# cd /mnt/main/var/log
 3.# mv messages messages.bin
 4.# strings messages.bin  messages
 5.# rm messages.bin
 6.Reboot.
 
 I tried steps 1 - 4 and got a text file with very long lines, but I
 chickened out before rebooting.
 
 It would be nice to find a config setting that's changed, but the change
 log is silent and the admin guide gives me a headache :-(


I don't know if this is a matter of changing some setting a in a config file - 
I haven't found any yet.  It seems that upon boot up some binary data is 
written in the otherwise plain text logs:


Dec 22 10:15:21 dell_xps syslog-ng[1526]: syslog-ng starting up; 
version='3.4.8'
Dec 22 10:15:21 dell_xps syslog-ng[1526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@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@ kernel: Initializing cgroup subsys cpuset
Dec 22 10:15:21 
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@
[snip ...]

I don't know if this is caused by some systemd infection of our systems! LOL!


If you use 'less -L /var/log/messages' or cat, then you will be able to view 
the logs in text format.  If you need to grep stuff then you can use:

 grep --binary-files=text -i firewall /var/log/messages
[snip ...]

Dec 27 09:24:03 dell_xps firewall: ** All firewall rules applied **
Dec 27 09:24:03 dell_xps firewall: ** All firewall rules applied **


Be careful that using grep like this might cause your terminal to execute some 
of the binary output as a command (check the man page).

-- 
Regards,
Mick


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


Re: [gentoo-user] KDE Activities

2014-12-27 Thread Mick
On Saturday 27 Dec 2014 09:43:47 Peter Humphrey wrote:
 Morning list,
 
 Is there a way to build KDE without its concept of Activities? I find it an
 unnecessary complication, which I never use. Any time I found myself
 wrestling with it by accident it's caused little other than anger and
 frustration.
 
 No doubt this is just as silly an idea as building KMail without its
 database, which also has caused considerable grief.

Peter, I can't advise on the Activities question, but can you please tell me 
how you managed to build Kmail without its database?  Is it fully functional?

-- 
Regards,
Mick


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


Re: [gentoo-user] Syslog-ng is writing binary

2014-12-27 Thread Helmut Jarausch
On 12/27/2014 10:52:04 AM, Mick wrote:
 On Friday 26 Dec 2014 23:33:33 Peter Humphrey wrote:
  Hello list,
  
  For some time now I've had syslog-ng writing /var/log/messages in a
 binary
  format:
  
  # file /var/log/messages
  /var/log/messages: data
  # grep syslog-ng /var/log/messages
  Binary file /var/log/messages matches
  
  Yet:
  
  # head /var/log/messages
  Dec 21 03:10:02 wstn run-crons[29014]: (root) CMD
 (/etc/cron.daily/man-db)
  [...]
  
  Can I use the following method to restore the original text format
 of
  /var/log/messages?
  
  1.  Boot rescue system and mount main system
  2.  # cd /mnt/main/var/log
  3.  # mv messages messages.bin
  4.  # strings messages.bin  messages
  5.  # rm messages.bin
  6.  Reboot.
  
  I tried steps 1 - 4 and got a text file with very long lines, but I
  chickened out before rebooting.
  
  It would be nice to find a config setting that's changed, but the
 change
  log is silent and the admin guide gives me a headache :-(
 
 
 I don't know if this is a matter of changing some setting a in a
 config file - 
 I haven't found any yet.  It seems that upon boot up some binary data
 is 
 written in the otherwise plain text logs:
 
 
 Dec 22 10:15:21 dell_xps syslog-ng[1526]: syslog-ng starting up; 
 version='3.4.8'
 Dec 22 10:15:21 dell_xps syslog-ng[1526]: syslog-ng starting up; 
 version='3.4.8'
 Dec 22 10:15:21 dell_xps syslog-ng[1526]: syslog-ng starting up; 
 version='3.4.8'
 Dec 22 10:15:21 
 ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
 ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
 ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
 ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
 ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
 ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@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systems! LOL!
 
 
 If you use 'less -L /var/log/messages' or cat, then you will be able
 to view 
 the logs in text format.  If you need to grep stuff then you can use:
 
  grep --binary-files=text -i firewall /var/log/messages
 [snip ...]
 
 Dec 27 09:24:03 dell_xps firewall: ** All firewall rules applied **
 Dec 27 09:24:03 dell_xps firewall: ** All firewall rules applied **
 
 
 Be careful that using grep like this might cause your terminal to
 execute some 
 of the binary output as a command (check the man page).
 
 -- 
 Regards,
 Mick
 

I think this was a long standig bug. Version 3.6.2 seems to have fixed 
this.
Helmut.





Re: [gentoo-user] Syslog-ng is writing binary

2014-12-27 Thread Peter Humphrey
On Friday 26 December 2014 23:33:33 I wrote:
 For some time now I've had syslog-ng writing /var/log/messages in a binary
 format:
 [...]
 Can I use the following method to restore the original text format of
 /var/log/messages?
 
 1.Boot rescue system and mount main system
 2.# cd /mnt/main/var/log
 3.# mv messages messages.bin
 4.# strings messages.bin  messages
 5.# rm messages.bin
 6.Reboot.
 
 I tried steps 1 - 4 and got a text file with very long lines, but I
 chickened out before rebooting.

Never mind. I did as I suggested and rebooted, and so far everything seems 
hunky-dory. Sorry for making a noise.

-- 
Rgds
Peter.




Re: [gentoo-user] Syslog-ng is writing binary

2014-12-27 Thread Peter Humphrey
On Saturday 27 December 2014 13:10:17 Helmut Jarausch wrote:

 I think this was a long standig bug. Version 3.6.2 seems to have fixed
 this.

Ah. Well I'm still on 3.4.8.

Mick, if you don't hear anything from me soonish, it will be safe to remove 
the binary stuff using the method I mentioned.

-- 
Rgds
Peter.




Re: [gentoo-user] KDE Activities

2014-12-27 Thread Peter Humphrey
On Saturday 27 December 2014 09:57:09 Mick wrote:
 On Saturday 27 Dec 2014 09:43:47 Peter Humphrey wrote:
  No doubt this is just as silly an idea as building KMail without its
  database, which also has caused considerable grief.
 
 Peter, I can't advise on the Activities question, but can you please tell
 me how you managed to build Kmail without its database?  Is it fully
 functional?

I didn't realise I was being ambiguous - sorry. As far as I know, it's 
impossible to build KMail without its database. It's called progress. ;-)

-- 
Rgds
Peter.




Re: [gentoo-user] ceph on gentoo?

2014-12-27 Thread Andrew Savchenko
Hi,

On Fri, 26 Dec 2014 00:38:58 -0600 Bruce Hill wrote:
 To whoever controls this list...
 
 I just arrived home to find my mailbox spammed with hundreds of messages from
 this luser Andrew Savchenko birc...@gentoo.org

Please stop insults and offensive language. I just sent replies to
the list, this is verifiable by mail headers.

If you have mail problems, check your MTA or whatever you are
using to receive e-mail from this list. As you can see, other
people don't have this problems.

 What is the explanation for this please?
 
Just my guess: greylisting is broken (or had a temporary lag) on
mail server you are using.

Best regards,
Andrew Savchenko


pgpFkYZ2ZzDfy.pgp
Description: PGP signature


Re: [gentoo-user] KDE Activities

2014-12-27 Thread Gregory M. Turner
On Saturday 27 December 2014 09:43:47 Peter Humphrey wrote:
 Morning list,
 
 Is there a way to build KDE without its concept of Activities? I find it an
 unnecessary complication, which I never use. Any time I found myself
 wrestling with it by accident it's caused little other than anger and
 frustration.
 
 No doubt this is just as silly an idea as building KMail without its
 database, which also has caused considerable grief.

+1

Don't understand it.  Don't want to.  Really hate when I press the wrong 
button, it does some crazy inscrutable bullshit, and I have to figure out how 
to escape from it with my desktop intact. 

Probably I just want to check my email, or whatever, and all of a sudden, it's 
like some ridiculous bridge troll is posing riddles to me and threatening to 
blow up my desktop if I answer wrong.

After quickly ducking this, I'm not optimistic.  This is particularly 
discouraging: https://forum.kde.org/viewtopic.php?f=67t=91160

Sounds an awful lot like the cashew/virtuoso/etc.  If history is any guide, 
they'll never change it, no matter how nicely we ask, nor how carefully we 
construct the patches to make it optional.

-gmt



Re: [gentoo-user] KDE Activities

2014-12-27 Thread Alan McKinnon
On 28/12/2014 06:08, Gregory M. Turner wrote:
 On Saturday 27 December 2014 09:43:47 Peter Humphrey wrote:
 Morning list,

 Is there a way to build KDE without its concept of Activities? I find it an
 unnecessary complication, which I never use. Any time I found myself
 wrestling with it by accident it's caused little other than anger and
 frustration.

 No doubt this is just as silly an idea as building KMail without its
 database, which also has caused considerable grief.
 
 +1
 
 Don't understand it.  Don't want to.  Really hate when I press the wrong 
 button, it does some crazy inscrutable bullshit, and I have to figure out how 
 to escape from it with my desktop intact. 
 
 Probably I just want to check my email, or whatever, and all of a sudden, 
 it's 
 like some ridiculous bridge troll is posing riddles to me and threatening to 
 blow up my desktop if I answer wrong.
 
 After quickly ducking this, I'm not optimistic.  This is particularly 
 discouraging: https://forum.kde.org/viewtopic.php?f=67t=91160
 
 Sounds an awful lot like the cashew/virtuoso/etc.  If history is any guide, 
 they'll never change it, no matter how nicely we ask, nor how carefully we 
 construct the patches to make it optional.


You can't build KDE without activities as far as I can tell, like a
poster said in the link you provided it's a core feature much like tabs
in Firefox. You can't just remove that code and still have stuff work.

What you can do is make Activities go away and never impinge on your
life, that's what I do. I've had KDE here for years and like you never
grokked what it even is when it first hit early in 4.x. I'm a grumpy old
far, I like my 6 virtual desktops in 2 rows of three, I like to launch
the apps myself I known I'm going to use now, and I like global session
management for apps I always use all the time (like Konsole). I don't
like Activities.

I made them go away and have been using the same KDE config ever since
quite happily. IIRC all it really took was to remove the icon[1] from
the panel, and maybe disable some keyboard shortcuts. Activities hasn't
appeared here for years now, I'd forgotten all about them till this
thread showed up :-)


Anyway, hope this helps


[1] The icon is the one with three small overlapping circles IIRC


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