Re: [gentoo-user] Problem with script calling OOCalc on amd64
On Tuesday 16 March 2010 07:40:04 Amit Dor-Shifer wrote: What does xterm -fg green -bg black -e 'gpg Personal/data.ods.gpg;echo $?' tell you? It doesn't return anything on the terminal I launch it from, but decrypts the file in an xterm and then closes it (the xterm). So the gpg part works fine. I'm thinking that gpg fails, so oocalc never launches (because you conditioned its execution with '', and the script continues to shred the file. The gpg part does not fail, because when I run: xterm -fg green -bg black -e 'gpg Personal/data.ods.gpg oocalc \ Personal/data.ods' An xterm opens up asks for a passwd to decrypt the file, decrypts it and launches OOo. However, the xterm dies immediately after that. On my x86 machine, the xterm stays open until I close OOo. This is how it should work; i.e. the xterm should continue to run as long as any processes within it are still running. This makes me think that it may be some env or profile difference ...? What would control this behaviour in an xterm? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Udev error and how to fix it.
On Wed, Mar 17, 2010 at 01:17:58AM +, Peter Humphrey wrote: On Tuesday 16 March 2010 17:33:13 Zeerak Mustafa Waseem wrote: usually always look to see if ... Sorry, but I'm having terrible trouble parsing this expression. -- Rgds Peter. Haha, no wonder. In the initial reply I had written that I left my brain somewhere. I think that illustrates it quite well :P -- Zeerak Waseem pgpZEkzqsuonf.pgp Description: PGP signature
Re: [gentoo-user] Strategy for using SAN/NAS for storage with Gentoo...
Keith Dart wrote: I recommend setting up your server hardware on a decent mini-PC with server grade disks and installing openfiler. The openfiler uses XFS for local storage and exports NFS and CIFS (and iSCSI if you want that). http://www.openfiler.com/ It is based on rpath linux and uses a different package management system than you may be used to. But it's relatively easy to configure and maintain. Both Openfiler and FreeNas look promising from a software perspective. Conversely, I'm drawing a bit of a blank trying to find suitable hardware to run that software on. Given that all I need is iSCSI to SATA and back... for 1 drive at 100Mbps everything I can find seems massive overkill. I've been toying with the idea of abandoning being able to fire-up a vmware image to stand in for my server... and shifting to accessing raid storage over USB. It seems a lot less elegant - but it does eliminate the need for hardware to run multiple kernels... When I thought 'iscsi' - I'd hoped that I'd find a cheap external drive that supported it out-of-the-box for a pittance more than a bare drive. Was I was being hugely overly optimistic?
Re: [gentoo-user] /etc/init.d/net.ra0 is not bringing up the interface?
Well it was working, then I wanted to add this to my /etc/conf.d/net: essid_ra0=( my essid ) Now the same problem is happening again, any advice? Nothing else in my /etc/conf.d/net except for this: sleep_scan_ra0=5 config_ra0=( dhcp ) On Fri, Mar 12, 2010 at 12:59 PM, Tony Miller mcfiredr...@gmail.com wrote: That was just it! Thank you so much. On Thu, Mar 11, 2010 at 10:54 PM, Mick michaelkintz...@gmail.com wrote: On Friday 12 March 2010 06:12:55 Tony Miller wrote: I have added /etc/init.d/net.ra0 (my wireless interface is called ra0 instead of wlan0) to the default runlevel. It starts the script at boot, but it acts like the device has not been brought up(i.e. with ifconfig ra0 up). For instance the boot log will say: * Starting ra0 * Configuring wireless network for ra0 Error for wireless request Set Mode (8B06) : SET failed on device ra0; Network is down Error for wireless request Set encode (8B2A) : SET failed on device ra0; Network is down Error for wireless request Set essid (8B1A) : SET failed on device ra0; Network is down And so on and so on for all the different settings, until it finally gives up. I can do ifconfig ra0 up, iwconfig ra0 essid any, dhcpcd ra0 and connect to the network just fine! Of course I would like it to start at boot however. Any ideas? The init script is broken? The actual init script is very complicated, and even if it were easy to just add ifconfig ra0 up somewhere to it, I'm not sure if that's the best solution. Look at /etc/conf.d/wireless.example to see how you are meant to configure /etc/conf.d/net to manage your wireless card either using iwconfig, or using wpa_supplicant. You probably need something like: sleep_scan_ra0=3 #where 3 is three seconds HTH. -- Regards, Mick
Re: [gentoo-user] what's wrong with rsync 3.0.6?
On Wed, 17 Mar 2010 00:50:42 +, Peter Humphrey wrote: It is? In that case I don't know how I've managed with Linux since 1993 without it. That's what everyone who hasn't used screen says, I said the same. There are those that use screen and those that haven't tried it, I've yet to meet anyone who has tried it and doesn't use it. -- Neil Bothwick Biology is the only science in which multiplication means the same thing as division. signature.asc Description: PGP signature
Re: [gentoo-user] what's wrong with rsync 3.0.6?
Neil Bothwick wrote: On Wed, 17 Mar 2010 00:50:42 +, Peter Humphrey wrote: It is? In that case I don't know how I've managed with Linux since 1993 without it. That's what everyone who hasn't used screen says, I said the same. There are those that use screen and those that haven't tried it, I've yet to meet anyone who has tried it and doesn't use it. +1 on that. Using screen is really handy when in single user mode. It also comes in handy when doing updates in a Konsole and you need to log out of KDE. Just exit the screen session, log out, log back in and reattach the screen session. Nothing lost, it never even stops the compile. This is really handy if OOo is in progress. You really need to check out screen Peter. I'd be glad to help with the basics of it. I mostly now how to start a new session, detach, reattach and such. Nothing fancy but enough to use it. Dale :-) :-)
Re: [gentoo-user] Problem with script calling OOCalc on amd64
ok. I didn't realize that oocalc actually executed in your first attempt. Out of ideas then. FWIW - a few guesses: I'd execute oocalc under strace, and try to find what is killing oocalc (does it decide to exit, or is it sent some signal). If your suspecting xterm to be the culprit (i.e., yr script works-as-expected w/o the xterm wrap) then maybe it'll be worthwhile looking into the X resources yr xterm is reading. HTH Amit Mick wrote: On Tuesday 16 March 2010 07:40:04 Amit Dor-Shifer wrote: What does xterm -fg green -bg black -e 'gpg Personal/data.ods.gpg;echo $?' tell you? It doesn't return anything on the terminal I launch it from, but decrypts the file in an xterm and then closes it (the xterm). So the gpg part works fine. I'm thinking that gpg fails, so oocalc never launches (because you conditioned its execution with '', and the script continues to shred the file. The gpg part does not fail, because when I run: xterm -fg green -bg black -e 'gpg Personal/data.ods.gpg oocalc \ Personal/data.ods' An xterm opens up asks for a passwd to decrypt the file, decrypts it and launches OOo. However, the xterm dies immediately after that. On my x86 machine, the xterm stays open until I close OOo. This is how it should work; i.e. the xterm should continue to run as long as any processes within it are still running. This makes me think that it may be some env or profile difference ...? What would control this behaviour in an xterm?
Re: [gentoo-user] Question about Seamonkey and a test.
On Wed, Mar 17, 2010 at 04:06:56AM -0500, Dale wrote: Hi, I just gave Seamonkey a fresh start. Now I have a question. I had the old set up so that when I opened Seamonkey, it would start both the browser and email. Now it only starts the browser. I remember it was in the preferences somewhere but I can't find it for the life of me. Does someone here recall exactly where this setting is by any chance? I found one in about:config but I'm sort of chicken to change it not being sure it is it. Also, I'm hoping this page will arrive and not be blank. Also, can someone confirm this is TEXT ONLY with no HTML stuff. Thanks. Dale :-) :-) You are html free :-) -- Zeerak Waseem pgprOOSZMnW3a.pgp Description: PGP signature
[gentoo-user] Re: Question about Seamonkey and a test.
Dale: I just gave Seamonkey a fresh start. Now I have a question. I had the old set up so that when I opened Seamonkey, it would start both the browser and email. Now it only starts the browser. I remember it was in the preferences somewhere but I can't find it for the life of me. Check the desired option. http://www.triffids.de/pub/screenshot/sm100317.png (12 KB) Also, I'm hoping this page will arrive and not be blank. Also, can someone confirm this is TEXT ONLY with no HTML stuff. It's OK. You could see yourself by using Ctrl+U. ;) Hartmut
Re: [gentoo-user] syslog-ng filtering
Ralph Slooten axll...@gmail.com a écrit : On 17 March 2010 13:00, Roy Wright r...@wright.org wrote: I just started with the example at: http://en.gentoo-wiki.com/wiki/Syslog-ng HTH, Roy Thanks Roy, however they have the same syntax which isn't working on my side. filter f_shorewall { not match(regex value(Shorewall)); } I just tried a single rule (to make sure it wasn't my syntax): filter killVmMessages { not match(regex value(vmware-checker)); }; yet the (root) CMD (/root/bin/vmware-checker) messages still go through?! log { source(src); source(remote); filter(myfilter); filter(killVmMessages); destination(d_mysql); }; I'm really stumped here. All other filters (non regex) works fine though, such as facility() host(). Are you able to filter by content? Ralph Perhaps you could try this which is working for me and let me filter all messages coming from iptables: # firewall logging destination iptables { file(/var/log/firewall/iptables.log); }; filter f_iptables { message(iptables); }; log { source(s_all); filter(f_iptables); destination(iptables); }; # all messages coming from kern destination df_kern { file(/var/log/system/kern.log ); }; filter f_kern { facility(kern) and not filter(f_iptables); }; log { source(s_all); filter(f_kern);destination(df_kern); }; Fred pgpP4DKTZk6Yg.pgp Description: Signature numérique PGP
[gentoo-user] Question about Seamonkey and a test.
Hi, I just gave Seamonkey a fresh start. Now I have a question. I had the old set up so that when I opened Seamonkey, it would start both the browser and email. Now it only starts the browser. I remember it was in the preferences somewhere but I can't find it for the life of me. Does someone here recall exactly where this setting is by any chance? I found one in about:config but I'm sort of chicken to change it not being sure it is it. Also, I'm hoping this page will arrive and not be blank. Also, can someone confirm this is TEXT ONLY with no HTML stuff. Thanks. Dale :-) :-)
Re: [gentoo-user] Re: Question about Seamonkey and a test.
Hartmut Figge wrote: Dale: I just gave Seamonkey a fresh start. Now I have a question. I had the old set up so that when I opened Seamonkey, it would start both the browser and email. Now it only starts the browser. I remember it was in the preferences somewhere but I can't find it for the life of me. Check the desired option. http://www.triffids.de/pub/screenshot/sm100317.png (12 KB) Also, I'm hoping this page will arrive and not be blank. Also, can someone confirm this is TEXT ONLY with no HTML stuff. It's OK. You could see yourself by using Ctrl+U. ;) Hartmut Thanks for the link. I looked everywhere else but there. I was thinking that only themes, fonts and such was in there. lol I have sent messages to the list before with it set to plain text but it still have html when the list got it. So, since I am starting over basically with this setup, I wanted to make sure it was not only sent plain text but received that way as well. Now if gmail would just send me a copy of my message, then I would know for sure. Thanks for help on both of these. I'm back in action again and didn't lose any info. Dale :-) :-)
Re: [gentoo-user] Re: Question about Seamonkey and a test.
On Wed, Mar 17, 2010 at 6:04 AM, Dale rdalek1...@gmail.com wrote: Hartmut Figge wrote: Dale: I just gave Seamonkey a fresh start. Now I have a question. I had the old set up so that when I opened Seamonkey, it would start both the browser and email. Now it only starts the browser. I remember it was in the preferences somewhere but I can't find it for the life of me. Check the desired option. http://www.triffids.de/pub/screenshot/sm100317.png (12 KB) Also, I'm hoping this page will arrive and not be blank. Also, can someone confirm this is TEXT ONLY with no HTML stuff. It's OK. You could see yourself by using Ctrl+U. ;) Hartmut Thanks for the link. I looked everywhere else but there. I was thinking that only themes, fonts and such was in there. lol I have sent messages to the list before with it set to plain text but it still have html when the list got it. So, since I am starting over basically with this setup, I wanted to make sure it was not only sent plain text but received that way as well. Now if gmail would just send me a copy of my message, then I would know for sure. Thanks for help on both of these. I'm back in action again and didn't lose any info. You have to set that up in gmail settings.
Re: [gentoo-user] Re: Question about Seamonkey and a test.
stosss wrote: On Wed, Mar 17, 2010 at 6:04 AM, Dalerdalek1...@gmail.com wrote: Hartmut Figge wrote: Dale: I just gave Seamonkey a fresh start. Now I have a question. I had the old set up so that when I opened Seamonkey, it would start both the browser and email. Now it only starts the browser. I remember it was in the preferences somewhere but I can't find it for the life of me. Check the desired option. http://www.triffids.de/pub/screenshot/sm100317.png (12 KB) Also, I'm hoping this page will arrive and not be blank. Also, can someone confirm this is TEXT ONLY with no HTML stuff. It's OK. You could see yourself by using Ctrl+U. ;) Hartmut Thanks for the link. I looked everywhere else but there. I was thinking that only themes, fonts and such was in there. lol I have sent messages to the list before with it set to plain text but it still have html when the list got it. So, since I am starting over basically with this setup, I wanted to make sure it was not only sent plain text but received that way as well. Now if gmail would just send me a copy of my message, then I would know for sure. Thanks for help on both of these. I'm back in action again and didn't lose any info. You have to set that up in gmail settings. I think I have it set up on the gmail server to do whatever Seamonkey says. Then I have to set up Seamonkey to send text only to gentoo.org and kde.org . Those are the two mailing lists I regularly reply to. I only want plain text to the mailing lists and html for everyone else. I send pics and other things to other folks. I assume that is what you are talking about. I have not been able to get gmail to send me a copy. I know the mailing list software sends a copy back but gmail won't let me get it over pop access. Dale :-) :-)
Re: [gentoo-user] what's wrong with rsync 3.0.6?
On Wednesday 17 March 2010 08:46:36 Dale wrote: You really need to check out screen Peter. I'd be glad to help with the basics of it. That's a generous offer, Dale. I may take you up on it... -- Rgds Peter.
Re: [gentoo-user] Re: Question about Seamonkey and a test.
On Wed, Mar 17, 2010 at 6:28 AM, Dale rdalek1...@gmail.com wrote: stosss wrote: On Wed, Mar 17, 2010 at 6:04 AM, Dalerdalek1...@gmail.com wrote: Hartmut Figge wrote: Dale: I just gave Seamonkey a fresh start. Now I have a question. I had the old set up so that when I opened Seamonkey, it would start both the browser and email. Now it only starts the browser. I remember it was in the preferences somewhere but I can't find it for the life of me. Check the desired option. http://www.triffids.de/pub/screenshot/sm100317.png (12 KB) Also, I'm hoping this page will arrive and not be blank. Also, can someone confirm this is TEXT ONLY with no HTML stuff. It's OK. You could see yourself by using Ctrl+U. ;) Hartmut Thanks for the link. I looked everywhere else but there. I was thinking that only themes, fonts and such was in there. lol I have sent messages to the list before with it set to plain text but it still have html when the list got it. So, since I am starting over basically with this setup, I wanted to make sure it was not only sent plain text but received that way as well. Now if gmail would just send me a copy of my message, then I would know for sure. Thanks for help on both of these. I'm back in action again and didn't lose any info. You have to set that up in gmail settings. I think I have it set up on the gmail server to do whatever Seamonkey says. Then I have to set up Seamonkey to send text only to gentoo.org and kde.org . Those are the two mailing lists I regularly reply to. I only want plain text to the mailing lists and html for everyone else. I send pics and other things to other folks. I assume that is what you are talking about. I have not been able to get gmail to send me a copy. I know the mailing list software sends a copy back but gmail won't let me get it over pop access. sorry, I was talking about setting gmail to send you a copy of your email.
Re: [gentoo-user] syslog-ng filtering
On Wednesday 17 March 2010 01:22:59 Ralph Slooten wrote: Hi all, Has anyone here worked out how to filter out syslog messages using syslog-ng v3? The old syntax doesn't work (well complains bitterly about performance and says to use regex), and no matter what I try I cannot get the new syntax to work :-/ I have a syslog-ng server which logs to MySQL for multiple clients in a network, however the database just keeps growing with irrelevant data I'd prefer to just quietly ignore on the server side. I'm trying to filter out (exclude) messages such as: (root) CMD (/root/bin/vmware-checker) and (root) CMD (test -x /usr/sbin/run-crons /usr/sbin/run-crons ) == filter myfilter { not match(regex value(\/usr\/sbin\/run-crons)) and not match(regex value(vmware-checker)); } Hah! this caught me out too. The value of value cannot be anything arbitrary - syslog-ng has no clue what you mean. The value is a field name, either a pre-defined one, or something you defined using a parser. The docs are ambiguous on this, it's not clear that the supplied values are abstracts. You are truing to search for the string regex in a field called /usr/bin/vmware-checker. Which obviously will not work. I think you want: match(\/usr\/sbin\/run-crons value MESSAGE) Note that it is MESSAGE. You want the field name, not it's dereferenced value. log { source(src); source(remote); filter(myfilter); destination(d_mysql); }; === However they just keep coming through the filter (ie: not matching the not match filter). I've tried escaping the slashes, not escaping them ... even partial words, but I obviously am missing something somewhere. Anyone have any ideas? Thanks in advance, Ralph -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re: Question about Seamonkey and a test.
stosss wrote: On Wed, Mar 17, 2010 at 6:28 AM, Dalerdalek1...@gmail.com wrote: I think I have it set up on the gmail server to do whatever Seamonkey says. Then I have to set up Seamonkey to send text only to gentoo.org and kde.org . Those are the two mailing lists I regularly reply to. I only want plain text to the mailing lists and html for everyone else. I send pics and other things to other folks. I assume that is what you are talking about. I have not been able to get gmail to send me a copy. I know the mailing list software sends a copy back but gmail won't let me get it over pop access. sorry, I was talking about setting gmail to send you a copy of your email. Where is that setting? I have looked but maybe they are calling it something that I'm not recognizing. I just looked again and they have added a LOT of new settings. I don't see that one tho. It is hiding from me and I would really like to have that. Dale :-) :-)
Re: [gentoo-user] Re: Question about Seamonkey and a test.
On Wed, Mar 17, 2010 at 6:51 AM, Dale rdalek1...@gmail.com wrote: stosss wrote: On Wed, Mar 17, 2010 at 6:28 AM, Dalerdalek1...@gmail.com wrote: I think I have it set up on the gmail server to do whatever Seamonkey says. Then I have to set up Seamonkey to send text only to gentoo.org and kde.org . Those are the two mailing lists I regularly reply to. I only want plain text to the mailing lists and html for everyone else. I send pics and other things to other folks. I assume that is what you are talking about. I have not been able to get gmail to send me a copy. I know the mailing list software sends a copy back but gmail won't let me get it over pop access. sorry, I was talking about setting gmail to send you a copy of your email. Where is that setting? I have looked but maybe they are calling it something that I'm not recognizing. I just looked again and they have added a LOT of new settings. I don't see that one tho. It is hiding from me and I would really like to have that. It does not appear to be possible now. I have never used it. I like the way it puts it in the thread in my account.
[gentoo-user] Re: syslog-ng filtering
That's right, the value() parameter specifies which part of the message to check. This helps to cut down the performance cost of filtering, because there is no need to process the entire message if you are filtering on the program name, for example. Also, check the syslog-ng Administrator Guide (http://www.balabit.com/support/documentation/?product=syslog-ngtype=alllanguage[en]=en;) if you run into problems. And let me know if you do not find something that should be in the guide so I can add it some time. Regards, Robert Fekete maintainer of the syslog-ng documentation
Re: [gentoo-user] Re: Question about Seamonkey and a test.
stosss wrote: On Wed, Mar 17, 2010 at 6:51 AM, Dalerdalek1...@gmail.com wrote: stosss wrote: On Wed, Mar 17, 2010 at 6:28 AM, Dalerdalek1...@gmail.comwrote: I think I have it set up on the gmail server to do whatever Seamonkey says. Then I have to set up Seamonkey to send text only to gentoo.org and kde.org . Those are the two mailing lists I regularly reply to. I only want plain text to the mailing lists and html for everyone else. I send pics and other things to other folks. I assume that is what you are talking about. I have not been able to get gmail to send me a copy. I know the mailing list software sends a copy back but gmail won't let me get it over pop access. sorry, I was talking about setting gmail to send you a copy of your email. Where is that setting? I have looked but maybe they are calling it something that I'm not recognizing. I just looked again and they have added a LOT of new settings. I don't see that one tho. It is hiding from me and I would really like to have that. It does not appear to be possible now. I have never used it. I like the way it puts it in the thread in my account. Ahhh, I use the email client part of Seamonkey. I don't use the webmail for gmail. It has a copy, last I looked, in the inbox but it doesn't let it be downloaded with pop access. I hope that makes sense. ;-) Dale :-) :-)
Re: [gentoo-user] Udev error and how to fix it.
On Tue, 2010-03-16 at 04:59 -0500, Dale wrote: If that don't work, I may go to Firefox, which is installed anyway, and Thunderbird. From what I have read I can transfer the emails and such over from there since they are set up like Seamonkey. That's my understanding at least. I could be wrong on that. I've transferred thousands of emails between evolution, thunderbird, claws and back again, no probs (except for the time it took). I assume seamonkey shouldn't be any different (although they may all end up blank?!) -- Iain Buchanan iaindb at netspace dot net dot au Order and simplification are the first steps toward mastery of a subject -- the actual enemy is the unknown. -- Thomas Mann
Re: [gentoo-user] Udev error and how to fix it.
On Wed, 2010-03-17 at 08:56 +0100, Zeerak Mustafa Waseem wrote: On Wed, Mar 17, 2010 at 01:17:58AM +, Peter Humphrey wrote: On Tuesday 16 March 2010 17:33:13 Zeerak Mustafa Waseem wrote: usually always look to see if ... Sorry, but I'm having terrible trouble parsing this expression. Haha, no wonder. In the initial reply I had written that I left my brain somewhere. I think that illustrates it quite well :P I don't see any need for excuses, it sounds like fine common English to me, with the possible exception of a run-on if. The full sentence was I usually always look to see if Dale has been involved in a thread if HAL is mentioned -- Iain Buchanan iaindb at netspace dot net dot au In war, truth is the first casualty. -- U Thant
Re: [gentoo-user] Re: Strategy for using SAN/NAS for storage with Gentoo...
On Mon, 2010-03-15 at 09:37 -0500, Harry Putnam wrote: There was talk of opensolaris going by the wayside with the Oracle takeover of Sun... but Oracle has since announced its intention of puttin even more resources into `opensolaris' development than Sun was doing. that will kill it for sure! (ok, maybe not, but you know the mythical man month...) -- Iain Buchanan iaindb at netspace dot net dot au Life is like a sewer. What you get out of it depends on what you put into it. -- Tom Lehrer
Re: [gentoo-user] Udev error and how to fix it.
On Wed, Mar 17, 2010 at 10:28:16PM +0930, Iain Buchanan wrote: On Wed, 2010-03-17 at 08:56 +0100, Zeerak Mustafa Waseem wrote: On Wed, Mar 17, 2010 at 01:17:58AM +, Peter Humphrey wrote: On Tuesday 16 March 2010 17:33:13 Zeerak Mustafa Waseem wrote: usually always look to see if ... Sorry, but I'm having terrible trouble parsing this expression. Haha, no wonder. In the initial reply I had written that I left my brain somewhere. I think that illustrates it quite well :P I don't see any need for excuses, it sounds like fine common English to me, with the possible exception of a run-on if. The full sentence was I usually always look to see if Dale has been involved in a thread if HAL is mentioned -- Iain Buchanan iaindb at netspace dot net dot au In war, truth is the first casualty. -- U Thant Ah it's just using two different words that describe seeing something :-) I like to think that my english is a little better. I mean it should have been see if or look to see whether (as far as I remember anyway :-)) -- Zeerak Waseem pgp7rkDGfMyS3.pgp Description: PGP signature
Re: [gentoo-user] Udev error and how to fix it.
Iain Buchanan wrote: On Tue, 2010-03-16 at 04:59 -0500, Dale wrote: If that don't work, I may go to Firefox, which is installed anyway, and Thunderbird. From what I have read I can transfer the emails and such over from there since they are set up like Seamonkey. That's my understanding at least. I could be wrong on that. I've transferred thousands of emails between evolution, thunderbird, claws and back again, no probs (except for the time it took). I assume seamonkey shouldn't be any different (although they may all end up blank?!) Actually I got it all transferred over just fine. I made a back up of my home directory then just renamed the .mozilla directory. I got a new profile and just copied over the email directory, bookmark, address book and the passwords file. It went rather smoothly. This link which tells what files are what is really helpful. http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_SeaMonkey That site seems to be down at the moment tho. Weird. Dale :-) :-)
Re: [gentoo-user] Udev error and how to fix it.
On Wed, Mar 17, 2010 at 02:05:12PM +0100, Zeerak Mustafa Waseem wrote: I don't see any need for excuses, it sounds like fine common English to me, with the possible exception of a run-on if. The full sentence was I usually always look to see if Dale has been involved in a thread if HAL is mentioned Ah it's just using two different words that describe seeing something :-) I like to think that my english is a little better. I mean it should have been see if or look to see whether (as far as I remember anyway :-)) Huh, the look to see part, while inelegant and repetitive, is a common colloquialism, and I don't think was the problem. I was more thrown off by usually always, which is either an oxymoron (if you take a strict view of the word usually) or redundant (if you take usually to contain always as a subset). /pedant (Looks like I only have off-topic contributions to this thread.) W -- Willie W. Wong ww...@math.princeton.edu Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire et vice versa ~~~ I. Newton
Re: [gentoo-user] rsync backup system
On Thu, Feb 25, 2010 at 17:11, Ward Poelmans wpoel...@gmail.com wrote: On Thu, Feb 25, 2010 at 16:41, Alan McKinnon alan.mckin...@gmail.com wrote: A much better way is to run a dedicated agent on the client. If the server needs to schedule backups, it can ask the agent to do so using regular tcp traffic. The client can then do it's backup and rsync it over to the server when it's done, and that push can be done as a regular user on both ends. The actual backing up on the client must be done by root of course, no other user has the necessary access. If anyone is still interested, i had some time and this is what i did: On the client: rsync -a -X -b --backup-dir=../backup.0/ --link-dest=../backup.0/ /home/ward backupserver:Backup-Laptop/backup.cur/ ssh backupserver /home/ward/shiftbackups.sh This makes a directory backup.cur on the backupserver with a full backup in it, but it's exactly only a incremental backup as it hardlinks from backup.0 (the previous backup). The script shiftbackups.sh moves backup.0 to backup.1 and backup.cur to backup.0 and so on... This does more or less exactly what i wanted. Regards, Ward
Re: [gentoo-user] syslog-ng filtering
Fantastic, you hit the nail right on the head! Works like a charm now. Now I'm wondering how it is you found out that it was this way and not the other? Robert maintains the documentation for rsync which I did look at, but with 225 pages I wasn't able to find this useful piece of information. Man syslog-ng.conf does not explain it either, in fact I searched Google and found several tutorials, none mentioning this ;-) Maybe I'm the idiot here, however I thought that this was a common way of getting rid of unwanted crud from the syslog? Also, I just read the gentoo-wiki site page again and it says : filter f_shorewall { not match(regex value(Shorewall)); }; # Filter everything except regex keyword Shorewall Surely this is the exact same mistake I made? Either that or I'm reading it wrong On 17 March 2010 23:39, Alan McKinnon alan.mckin...@gmail.com wrote: On Wednesday 17 March 2010 01:22:59 Ralph Slooten wrote: Hi all, Has anyone here worked out how to filter out syslog messages using syslog-ng v3? The old syntax doesn't work (well complains bitterly about performance and says to use regex), and no matter what I try I cannot get the new syntax to work :-/ I have a syslog-ng server which logs to MySQL for multiple clients in a network, however the database just keeps growing with irrelevant data I'd prefer to just quietly ignore on the server side. I'm trying to filter out (exclude) messages such as: (root) CMD (/root/bin/vmware-checker) and (root) CMD (test -x /usr/sbin/run-crons /usr/sbin/run-crons ) == filter myfilter { not match(regex value(\/usr\/sbin\/run-crons)) and not match(regex value(vmware-checker)); } Hah! this caught me out too. The value of value cannot be anything arbitrary - syslog-ng has no clue what you mean. The value is a field name, either a pre-defined one, or something you defined using a parser. The docs are ambiguous on this, it's not clear that the supplied values are abstracts. You are truing to search for the string regex in a field called /usr/bin/vmware-checker. Which obviously will not work. I think you want: match(\/usr\/sbin\/run-crons value MESSAGE) Note that it is MESSAGE. You want the field name, not it's dereferenced value. log { source(src); source(remote); filter(myfilter); destination(d_mysql); }; === However they just keep coming through the filter (ie: not matching the not match filter). I've tried escaping the slashes, not escaping them ... even partial words, but I obviously am missing something somewhere. Anyone have any ideas? Thanks in advance, Ralph -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] syslog-ng filtering
On Wednesday 17 March 2010 22:16:20 Ralph Slooten wrote: Fantastic, you hit the nail right on the head! Works like a charm now. Now I'm wondering how it is you found out that it was this way and not the other? Robert maintains the documentation for rsync which I did look at, but with 225 pages I wasn't able to find this useful piece of information. Man syslog-ng.conf does not explain it either, in fact I searched Google and found several tutorials, none mentioning this ;-) I read documentation, man pages and google all day every day, some things just get intuitive :-) Seriously though, there are a few hints. Syslog-ng's config file format was written by programmers for programmers to be understood by programmers. That may not have been the stated intent, but it is how things turned out. The syntax is exactly that of C, all the way down to braces and statement terminators. So, when reading the docs, I flicked the switch that puts my brain in C-mode. Also, there's an example in the admin guide pdf chapter 3 Configuring syslog- ng, something like: match(string value(MESSAGE); It says that MESSAGE is exactly that and must not be dereferenced with $ That was a dead give-away Maybe I'm the idiot here, however I thought that this was a common way of getting rid of unwanted crud from the syslog? It IS the ideal way to pre-filter logs based on the message content. Pre version 3, you could only match on the entire message, so the feature to be able to search just a user-defined chunk of the log entry is a major plus Also, I just read the gentoo-wiki site page again and it says : filter f_shorewall { not match(regex value(Shorewall)); }; # Filter everything except regex keyword Shorewall Surely this is the exact same mistake I made? Either that or I'm reading it wrong No, you are not reading it wrong - the gentoo guide is wrong. It's a common mistake, as the syntax looks like it's a name-value pair. To my mind, the label value should instead be field or some synonym of that. All the evidence indicates to me that the syntax makes sense once you get how it works, but most folks' initial assumption about it is wrong, and the developer never spotted his serious case of being blinded by his own understanding. I see Robert responded here earlier. Perhaps he'll see this post and re-look at that section in a new light with a view to making a patch On 17 March 2010 23:39, Alan McKinnon alan.mckin...@gmail.com wrote: On Wednesday 17 March 2010 01:22:59 Ralph Slooten wrote: Hi all, Has anyone here worked out how to filter out syslog messages using syslog-ng v3? The old syntax doesn't work (well complains bitterly about performance and says to use regex), and no matter what I try I cannot get the new syntax to work :-/ I have a syslog-ng server which logs to MySQL for multiple clients in a network, however the database just keeps growing with irrelevant data I'd prefer to just quietly ignore on the server side. I'm trying to filter out (exclude) messages such as: (root) CMD (/root/bin/vmware-checker) and (root) CMD (test -x /usr/sbin/run-crons /usr/sbin/run-crons ) == filter myfilter { not match(regex value(\/usr\/sbin\/run-crons)) and not match(regex value(vmware-checker)); } Hah! this caught me out too. The value of value cannot be anything arbitrary - syslog-ng has no clue what you mean. The value is a field name, either a pre-defined one, or something you defined using a parser. The docs are ambiguous on this, it's not clear that the supplied values are abstracts. You are truing to search for the string regex in a field called /usr/bin/vmware-checker. Which obviously will not work. I think you want: match(\/usr\/sbin\/run-crons value MESSAGE) Note that it is MESSAGE. You want the field name, not it's dereferenced value. log { source(src); source(remote); filter(myfilter); destination(d_mysql); }; === However they just keep coming through the filter (ie: not matching the not match filter). I've tried escaping the slashes, not escaping them ... even partial words, but I obviously am missing something somewhere. Anyone have any ideas? Thanks in advance, Ralph -- alan dot mckinnon at gmail dot com -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Re: Question about Seamonkey and a test.
Am 17.03.2010 12:21, schrieb Dale: stosss wrote: On Wed, Mar 17, 2010 at 6:51 AM, Dalerdalek1...@gmail.com wrote: stosss wrote: On Wed, Mar 17, 2010 at 6:28 AM, Dalerdalek1...@gmail.comwrote: [...] I assume that is what you are talking about. I have not been able to get gmail to send me a copy. I know the mailing list software sends a copy back but gmail won't let me get it over pop access. sorry, I was talking about setting gmail to send you a copy of your email. Where is that setting? I have looked but maybe they are calling it something that I'm not recognizing. I just looked again and they have added a LOT of new settings. I don't see that one tho. It is hiding from me and I would really like to have that. It does not appear to be possible now. I have never used it. I like the way it puts it in the thread in my account. Ahhh, I use the email client part of Seamonkey. I don't use the webmail for gmail. It has a copy, last I looked, in the inbox but it doesn't let it be downloaded with pop access. I hope that makes sense. ;-) I've never tried it but couldn't you just create a filter in Seamonkey which copies all mails in 'Sent Items' to your inbox which where sent to a mailing list (Extras - Filter ...)? Also, at least in Thunderbird, you can set the 'Sent Items' folder for each account and each identity (Edit - Account settings - Additional Identities). So, if you create a different identity for sending to the mailing list, you could just let Seamonkey put your sent items in your inbox. Hope this helps, Florian Philipp P.S. I had to translate all buttons and setting names from German to English. Therefore 'Additional Idenities' could also be 'More Identities' and so on. signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] syslog-ng filtering
=== On Thu, 03/18, Ralph Slooten wrote: === Maybe I'm the idiot here, however I thought that this was a common way of getting rid of unwanted crud from the syslog? === Probably the best method is to not send it there in the first place. For example, the script run by cron, /usr/sbin/run-crons, has this line in it: [ -x /usr/bin/logger ] /usr/bin/logger -i -p cron.info -t run-crons (`whoami`) CMD ($SCRIPT) You can comment that out and then those annoying run-cron entries won't be logged. -- Keith Dart -- -- Keith Dart ke...@dartworks.biz ===
Re: [gentoo-user] Re: Strategy for using SAN/NAS for storage with Gentoo...
Am 16.03.2010 22:26, schrieb Neil Bothwick: On Tue, 16 Mar 2010 20:13:29 +, Stroller wrote: How does your system boot if your RAID1 system volume fails? You put GRUB on both disks, then you can boot from either on its own. Is this reliable? I don't contest it, I'm just asking. It's just this was one of my considerations when choosing hardware RAID. Yes it is, if sda fails unplug it and sdb becomes sda (or hd1 becomes hd0 in GRUB terms) and the boot continues. Because RAID1 puts the RAID superblock in a different location from the ordinary one, you can use either disk from a RAID1 array as a single disk. Just for clarification: Is it really necessary to unplug the broken disk for this to work? If read access fails on sda and the BIOS tries sdb, would this also work? Isn't grub's hd0 always the disk on which grub resides (e.g. the disk from which grub managed to boot)? Thanks in advance! Florian Philipp signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] /etc/init.d/net.ra0 is not bringing up the interface?
On Wednesday 17 March 2010 08:24:07 Tony Miller wrote: Well it was working, then I wanted to add this to my /etc/conf.d/net: essid_ra0=( my essid ) Now the same problem is happening again, any advice? Yes, first please try not to top post because it messes up the natural flow of the question/answer sequence. Then try this syntax in case it works: essid_ra0=my essid -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: Question about Seamonkey and a test.
Florian Philipp wrote: I've never tried it but couldn't you just create a filter in Seamonkey which copies all mails in 'Sent Items' to your inbox which where sent to a mailing list (Extras - Filter ...)? Also, at least in Thunderbird, you can set the 'Sent Items' folder for each account and each identity (Edit - Account settings - Additional Identities). So, if you create a different identity for sending to the mailing list, you could just let Seamonkey put your sent items in your inbox. Hope this helps, Florian Philipp P.S. I had to translate all buttons and setting names from German to English. Therefore 'Additional Idenities' could also be 'More Identities' and so on. I don't know if Seamonkey can do that or not. What I have tried is to CC myself, BCC myself and setting up the gmail server so that I can have a copy. The only way that I know works is to go to the sent folder and just copy it to the folder for the mailing list. The biggest problem with that is that the first message I send doesn't thread properly. So basically anyone who responds just appears out of nowhere. If I send a new message to this list and two people respond, it is two separate threads. Which is sometimes confusing. I usually tag the threads I start in red just to make sure I don't miss something. I think what I need is to change my email address ONE MORE TIME. I need a server that will send me copies and also not filter spam. I rarely use the webmail part and I do get false positives sometimes and have to go dig on the server to find them. I have to do this every couple weeks with gmail now. I thought about just paying for Yahoo since I have three accounts there. I could pay for one of them and then have pop access. I think I can disable their spam filters too. I think to much sometimes. :/ Dale :-) :-)
Re: [gentoo-user] Re: Strategy for using SAN/NAS for storage with Gentoo...
On Wed, 17 Mar 2010 21:44:34 +0100, Florian Philipp wrote: Just for clarification: Is it really necessary to unplug the broken disk for this to work? If read access fails on sda and the BIOS tries sdb, would this also work? Isn't grub's hd0 always the disk on which grub resides (e.g. the disk from which grub managed to boot)? I suspect that may be dependent on the nature of the failure. For example, if /boot is corrupted, the BIOS will still boot from the broken disk's MBR before failing later. Most BIOSes now enable you to disable individual SATA ports, so you could disappear the disk without unplugging it, although I'm not sure why you'd want to leave a broken disk in the box. -- Neil Bothwick This is the day for firm decisions! Or is it? signature.asc Description: PGP signature
[gentoo-user] Re: Question about Seamonkey and a test.
Dale: The biggest problem with that is that the first message I send doesn't thread properly. So basically anyone who responds just appears out of nowhere. If I send a new message to this list and two people respond, it is two separate threads. Which is sometimes confusing. I usually tag the threads I start in red just to make sure I don't miss something. Since many years i am using all of my mailing lists via news.gmane.org. Maybe this is an option for you also. http://www.triffids.de/pub/screenshot/ge100317.png (55 KB) Hartmut
Re: [gentoo-user] Re: Question about Seamonkey and a test.
Hartmut Figge wrote: Dale: The biggest problem with that is that the first message I send doesn't thread properly. So basically anyone who responds just appears out of nowhere. If I send a new message to this list and two people respond, it is two separate threads. Which is sometimes confusing. I usually tag the threads I start in red just to make sure I don't miss something. Since many years i am using all of my mailing lists via news.gmane.org. Maybe this is an option for you also. http://www.triffids.de/pub/screenshot/ge100317.png (55 KB) Hartmut I tried that once but I never could get it to work for me. I started out doing it the way I am because I was on dial-up. I could download my email and disconnect, then read them at my leisure. If I needed to reply, I could type it in then send it when I connected again. It worked. Now I have DSL and that does change a lot of things. It certainly made updating Gentoo a lot faster, especially Open Office. May have to check into some things and see how I like it. Thanks. Dale :-) :-)
Re: [gentoo-user] syslog-ng filtering
On 18 March 2010 09:40, Keith Dart ke...@dartworks.biz wrote: You can comment that out and then those annoying run-cron entries won't be logged. Yes, dropping those entries on the client side is an option, however then I have to do it for each client in the network. Doing it on the server means just once... and it's all local network, no bandwidth isn't an issue either. There are also some cron jobs I do want logged ~ things that run maybe weekly or monthly, but some run every minute and really don't need to be logged.
Re: [gentoo-user] (EE) XKB: No components provided for device Virtual core keyboard
On Tue, Mar 16, 2010 at 18:38, Mick michaelkintz...@gmail.com wrote: On Tuesday 16 March 2010 16:35:09 Leandro Boscariol wrote: Hi Mick. On Fri, Mar 12, 2010 at 19:26, Mick michaelkintz...@gmail.com wrote: On Friday 12 March 2010 19:37:33 Leandro Boscariol wrote: Hi guys. While trying to find a solution for this error: (EE) XKB: No components provided for device Virtual core keyboard [snip ...] Any other idea? What does 'cat /etc/env.d/90xsession' show? If nothing, then create it and add to it: XSESSION=fluxbox None existed. Created it. Tried kdm, kde, kde4, and still nothing. Am I using the wrong value or its bug related yet? or whatever is your DE/WM. If this is a multi-user machine and people use different WMs then you'll need to set this up in their .bashrc. HTH. -- Regards, Mick Regards! -- Leandro A. Boscariol
Re: [gentoo-user] Re: Question about Seamonkey and a test.
Am Mittwoch 17 März 2010 schrieb Dale: I only want plain text to the mailing lists and html for everyone else. I send pics and other things to other folks. Ya don’t need HTML for that. ;-) I have even seen mails that were multiparted plain-text, i.e. text, image attachment, text, image-attachment, you get the idea. Don’t know anymore though what program that was. -- Gruß | Greetings | Qapla' Crayons can take you more places than starships. (Guinan) signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Problem with script calling OOCalc on amd64
On Wednesday 17 March 2010 09:15:17 Amit Dor-Shifer wrote: ok. I didn't realize that oocalc actually executed in your first attempt. Out of ideas then. FWIW - a few guesses: I'd execute oocalc under strace, and try to find what is killing oocalc (does it decide to exit, or is it sent some signal). If your suspecting xterm to be the culprit (i.e., yr script works-as-expected w/o the xterm wrap) then maybe it'll be worthwhile looking into the X resources yr xterm is reading. That's interesting ... which Xresources is xterm reading? I have this in my ~/.Xresources: aterm*loginShell:true aterm*saveLines:32767 aterm*transparent:true aterm*transpscrollbar:true aterm*shading:40 aterm*fading:55 aterm*font:-*-fixed-*-*-*-*-20-*-100-*-*-*-*-* but xterm (judging by the size of the font) does not use it. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] (EE) XKB: No components provided for device Virtual core keyboard
On Wednesday 17 March 2010 22:20:12 Leandro Boscariol wrote: On Tue, Mar 16, 2010 at 18:38, Mick michaelkintz...@gmail.com wrote: What does 'cat /etc/env.d/90xsession' show? If nothing, then create it and add to it: XSESSION=fluxbox None existed. Created it. Tried kdm, kde, kde4, and still nothing. Am I using the wrong value or its bug related yet? The syntax for your session should be one of the names listed under /etc/X11/Sessions/* e.g. KDE-4 So it should look like: XSESSION=KDE-4 Don't forget to restart /etc/init.d/xdm or reboot. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: Question about Seamonkey and a test.
On Wednesday, March 17, 2010, Frank Steinmetzger war...@gmx.de wrote: Am Mittwoch 17 März 2010 schrieb Dale: I only want plain text to the mailing lists and html for everyone else. I send pics and other things to other folks. Ya don’t need HTML for that. ;-) I have even seen mails that were multiparted plain-text, i.e. text, image attachment, text, image-attachment, you get the idea. Don’t know anymore though what program that was. KMail does multi-parted
[gentoo-user] top does not save settings
This is another little nuisance that I have noticed on this new amd64 laptop: In an aterm I launch top. Then press z c and Shift+W. I get: Wrote configuration to '/home/michael/.toprc' Fine I think, Ctrl+c to end it and move on. Next time I fire up top, even from the same terminal, it's all looking white with no colour, no highlighting, or anything else. Why is this? This is what the contents of .toprc show: = Cfile for top with windows # shameless braggin' Id:a, Mode_altscr=0, Mode_irixps=1, Delay_time=3.000, Curwin=0 fieldscur=AEHIOQTWKNMbcdfgjplrsuvyzX winflags=64953, sortindx=10, maxtasks=0 summclr=1, msgsclr=1, headclr=3, taskclr=1 fieldscur=ABcefgjlrstuvyzMKNHIWOPQDX winflags=62777, sortindx=0, maxtasks=0 summclr=6, msgsclr=6, headclr=7, taskclr=6 fieldscur=ANOPQRSTUVbcdefgjlmyzWHIKX winflags=62777, sortindx=13, maxtasks=0 summclr=5, msgsclr=5, headclr=4, taskclr=5 fieldscur=ABDECGfhijlopqrstuvyzMKNWX winflags=62777, sortindx=4, maxtasks=0 summclr=3, msgsclr=3, headclr=2, taskclr=3 = Same thing happens in xterm and konsole. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Udev error and how to fix it.
On Wed, 2010-03-17 at 10:25 -0400, Willie Wong wrote: On Wed, Mar 17, 2010 at 02:05:12PM +0100, Zeerak Mustafa Waseem wrote: I don't see any need for excuses, it sounds like fine common English to me, with the possible exception of a run-on if. I meant to use the word apology instead of excuse, but it was late for me too :) The full sentence was I usually always look to see if Dale has been involved in a thread if HAL is mentioned Ah it's just using two different words that describe seeing something :-) I like to think that my english is a little better. I mean it should have been see if or look to see whether (as far as I remember anyway :-)) Huh, the look to see part, while inelegant and repetitive, is a common colloquialism, and I don't think was the problem. I was more thrown off by usually always, which is either an oxymoron (if you take a strict view of the word usually) or redundant (if you take usually to contain always as a subset). /pedant (Looks like I only have off-topic contributions to this thread.) me too. usually always is also a colloquialism which means almost always ;) ie. not quite always, but close to it... at least it usually always means that. But hey, if we were to be that picky on this list hardly anyone would be here. That's why we have programming languages, because English is too forgiving and fuzzy! -- Iain Buchanan iaindb at netspace dot net dot au War is like love, it always finds a way. -- Bertolt Brecht, Mother Courage
[gentoo-user] Re: Udev error and how to fix it.
On 03/17/2010 05:29 PM, Iain Buchanan wrote: ...That's why we have programming languages, because English is too forgiving and fuzzy! By George, I think you've got it. From now on, all political campaign speeches should be written in C. Well, okay, maybe in COBOL for the older ones.
Re: [gentoo-user] Problem with script calling OOCalc on amd64
On 16 March 2010 12:41, Mick michaelkintz...@gmail.com wrote: Hi All, I have run into a problem which I cannot explain. I am trying to run this script in a amd64 installation: xterm -fg green -bg black -e 'gpg Personal/data.ods.gpg oocalc \ Personal/data.ods; shred --remove -z -v DATA/data.ods' On a x86 system, oocalc launches, I use the file and when I close it shred removes it. On the amd64 system, the file is shredded as soon as it is opened. This is what happens: I get something similar with firefox: if it's the first instance, it will block until I terminate firefox; but if there's already a firefox running, it'll send a open this URL command to the other instance, and close this new one. I'm not sure if OOo is the same, but I'd recommend giving it a try.