Re: [opensuse-factory] Audacity memory problems
Juan Erbes escribió: I could'nt use audacity because it crashes inmeditely. Executing it from konsole, I got: ***MEMORY-WARNING***: [5906]: GSlice: g_thread_init() must be called before all other GLib functions; memory corruption due to late invocation of g_thread_init() has been detected; this program is likely to crash, leak or unexpectedly abort soon... JACK tmpdir identified as [/dev/shm] The package is audacity-1.3.3-15.i586.rpm. there is already a bug report about this it seems https://bugzilla.novell.com/show_bug.cgi?id=294693 signature.asc Description: OpenPGP digital signature
Re: [opensuse] Question on building glibc
Dear Andreas, dear listmembers, I found the reason for the failure - without the ability to explain. For the building process I was using a special rpmrc without the -g option because this is needed IMHO for building the kernel based on the suse packaging concept. This missing -g screwed things up for glibc. If I leave -g in all tests (besides the floating point issue) pass smoothly, the tst-signal1 as well. If someone has an explanation, I'd be more than happy to understand :-) By the way: upgrading is not fun. New releases come with new bugs - I cannot cope with bug hunting on my main system, I needed a compiler that works better than the one I had had before. Everything beyond that like making linux-2.6.11 compile and run with gcc 4.1.2 is work, but can be decouplded from the system operation. As long as programs get shipped without having ever been run only once (10.2: xcdroast is a mess; texmacs was a mess ...) the degree of fun with upgrades is very limited. Thanks a lot for your feedback, take care Dieter Am Freitag, 27. Juli 2007 17:49 schrieb Andreas Jaeger: Dieter Jurzitza [EMAIL PROTECTED] writes: Dear listmembers, maybe offtopic, but maybe someone could give me a pointer where to ask / This could be a kernel bug. I would really advice to update to 10.2 instead of updating those components yourself. * -- --- | \ /\_/\ | | ~x~ |/-\ / \ /- \_/ ^^__ _/ _ / °°__ \- \_/ | |/| | || || _| _|_| _| if you really want to see the pictures above - use some font with constant spacing like courier! :-) --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[opensuse] Re: simple firewall scripts
Wolfgang Rosenauer escribió: I plan to look at shorewall yeah, give it a try, you wont regret ;-) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] simple firewall scripts
On Friday 27 July 2007 13:29:56 Wolfgang Rosenauer wrote: Now I still need to control which traffic is allowed from the inside to the internet which was done via FW_MASQ_NETS in SF2. Since I want to get rid of a second masquerading, SuSEfirewall has no mechanism to control this traffic anymore. How about FW_FORWARD, which controls which IP addresses or subnets are allowed through, without any masquerading being done Grüß Anders -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] simple firewall scripts
Fri, 27 Jul 2007, by [EMAIL PROTECTED]: Sloan wrote: Theo v. Werkhoven wrote: Fri, 27 Jul 2007, by [EMAIL PROTECTED]: I plan to look at shorewall but thought I'd just ask here for recommendations. Look no further. I personally prefer the basic linux firewall module that comes with webmin. I found it very easy to understand, and easier to implement exactly the rules I wanted than with the suse firewall. YMMV Joe Have yu looked at firestarter? Yes, and I don't like GUIs for such basic funcionality. First of all I'm almost always login in through ssh to the server that's running the firewall, so that makes a frontend with text-files much easier to use. Second; seeing all the rules in one page, exactly as they are going to be installed is the only way to make sure the frontend does what I mean, not what a program with fuzzy controls thinks I mean. Theo -- Theo v. WerkhovenRegistered Linux user# 99872 http://counter.li.org ICBM 52 13 26N , 4 29 47E. + ICQ: 277217131 SUSE 10.2 + Jabber: [EMAIL PROTECTED] Kernel 2.6.20 + See headers for PGP/GPG info. Claimer: any email I receive will become my property. Disclaimers do not apply. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] simple firewall scripts
Hi Anders, Anders Johansson wrote: On Friday 27 July 2007 13:29:56 Wolfgang Rosenauer wrote: Now I still need to control which traffic is allowed from the inside to the internet which was done via FW_MASQ_NETS in SF2. Since I want to get rid of a second masquerading, SuSEfirewall has no mechanism to control this traffic anymore. How about FW_FORWARD, which controls which IP addresses or subnets are allowed through, without any masquerading being done Hmm, somehow I missed this because I've read the sentence Which services accessed from the internet should be allowed to the # dmz (or internal network - if it is not masqueraded)? So I always thought it would only work from FW_DEV_EXT to the other interfaces and not the other way round without looking deeper into it. But in fact it seems to be independent from the actual devices. Thanks for the heads up, Wolfgang -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] gcc Linking Problem
On Fri, 27 Jul 2007 10:42:11 +0300 Daniel Feiglin [EMAIL PROTECTED] wrote: Hello folks! During the course of trying to build an app from the tgz sources, I received an odd looking message that gcc could not create an executable. After a little research, I tried to compile the canonical Hello, world program with this: gcc -o hello hello.c and I got this: [EMAIL PROTECTED]:~ gcc -o hello hello.c /usr/lib/gcc/i586-suse-linux/4.1.2/../../../crt1.o: In function `_start': (.text+0xc): undefined reference to `__libc_csu_fini' /usr/lib/gcc/i586-suse-linux/4.1.2/../../../crt1.o: In function `_start': (.text+0x11): undefined reference to `__libc_csu_init' collect2: ld returned 1 exit status I've never seen anything like that before (since SuSE 6.1). Can anyone tell me what's going on here how to fix it? Environment: openSUSE 10.2, kernel 2.6.18.8-0.3-default. I'm using gcc as provided. gcc -v gives: Using built-in specs. Target: i586-suse-linux Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.1.2 --enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit --enable-libstdcxx-allocator=new --program-suffix=-4.1 --enable-version-specific-runtime-libs --without-system-libunwind --with-cpu=generic --host=i586-suse-linux Thread model: posix gcc version 4.1.2 20061115 (prerelease) (SUSE Linux) ld -v gives: GNU ld version 2.17.50.0.5 20060927 (SUSE Linux) I would suggest that you may be missing some packages. Check YaST to make sure that GCC is installed properly. I saw this a few weeks ago when I was trying to run an old version of gcc (3.3.3). If everything looks ok, then reinstall gcc and glibc. After reinstalling, just try recompiling hello.c. -- Jerry Feldman [EMAIL PROTECTED] Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9 signature.asc Description: PGP signature
[opensuse] opensuse-bugs email limit?
Hi, I am subscribed to [EMAIL PROTECTED] after raising an enhancement request(293100). This item is still open and whilst I am waiting for it to be worked on, I am receiving notice on all new bugs founds as well as when each bug is commented on ie close on 250- a day I have browsed the help sent via email but so far this does not answer my question. Does anyone know how to limit the number of emails received from the bugs list to those on your own bugs only? Tnx Hylton -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] opensuse-bugs email limit?
On Saturday 28 July 2007 16:26:32 Hylton Conacher (ZR1HPC) wrote: Does anyone know how to limit the number of emails received from the bugs list to those on your own bugs only? If you open a bug, you will automatically receive all mail related to that bug. There is no need to subscribe to any mailing lists just for that reason -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] K torrant autostart
Quoting Carl Spitzer [EMAIL PROTECTED]: Recently I used ktorrant for the first and second time. it worked correctly but after the second time when I log in as user ktorrant automagically starts under kde. It completed the last task. Where can I go to stop this behavior. Suse 10.0 Joo need to explicitly quit - file quit - otherwise it assumes you like it too much and will come back, especially on your corporate network as you're trying to download those extra wild pr0n videos or warez filez. -- kai ponte www.perfectreign.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] Network Manager (SSID problem)
Quoting Dennis J. Tuchler [EMAIL PROTECTED]: My eth1 setup includes a passphrase and ESSID for my current wireless router. I expect to take my laptop on the road and use it in various places which provide WiFi. If the identifying name of the network is not apparent, how do I set it up? The connect to other wireless network option on the knetwork manager requires that I fill in an ESSID. So, if I can't get the name, what do I do? Um, I think you're stuck there. If the wifi isn't broadcasting then you might be unable to connect if you don't know the name. -- kai ponte www.perfectreign.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[opensuse] Network
I am trying to connect a SUSE and XP network together and are not having much luck. I am using TCP/IP. Any help would be appreciated. Thanks. Eric -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] Network
On Saturday 28 July 2007 18:31:04 Eric Gies wrote: I am trying to connect a SUSE and XP network together and are not having much luck. I am using TCP/IP. Any help would be appreciated. Could you explain what you've tried so far? You need to either have matching network/netmask settings, or proper routing tables, to tell the machines how to reach each other -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] Mplayer and Yahoo conference calls
On Saturday 28 July 2007 00:11, John Andersen wrote: No i don't think its a buffering issue. The recordings usually run an hour and the delay is at least 20 minutes before any sound is heard. Buffering might take 30 seconds, but not 20 minutes. When it finally does start playing it will play 10 minutes of music before the talking starts. Somehow this is all skipped if Windows media player is used, and it instantly jumps to the talking. John: From Linux desktop, click VirtualBox, start XP, open IE, url to conference call, click on link. VOILA!!! Instant sound on the desktop under Linux with WMP. I just tested it on my system and it works here. Never use a flat blade screwdriver to remove a phillips screw In other words, use the right tool for the job and don't get hung up on the brand name. mplayer is a wonderful program but it does have it's limitations, especially with Yahoo, who is in bed with Billy boy Gates. I got tired of banging my head against the wall and added VirtualBox to my system. It solved most, if not all, of those problems AND the headaches went away. The only problems that I have had with VB is that there are some apps that use direct-x that won't work with the software video card and the USB ports aren't seen as connecting to the virtual machine. I can, however, add them as samba shares on the host and then they are then seen as networked shares. Git'er done, Fred -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] Network
On Saturday 28 July 2007 11:34, Anders Johansson wrote: On Saturday 28 July 2007 18:31:04 Eric Gies wrote: I am trying to connect a SUSE and XP network together and are not having much luck. I am using TCP/IP. Any help would be appreciated. Could you explain what you've tried so far? You need to either have matching network/netmask settings, or proper routing tables, to tell the machines how to reach each other Eric: Try Samba. Fred -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] Printing photos easily.
On Thu, 26 Jul 2007 03:14:52 -0400 ken . wrote: On 07/25/2007 05:01 PM somebody named pelibali wrote: ... At the end we managed to print the above four images via an OpenOffice.org template my boyfriend prepared few months ago and like that we succeeded. With Gimp I had bad experience in the past, so this way was not tried now. ... First, the hardware (your printer) needs to be capable of printing the quality you want. It is; please refer to my original e-mail! As I wrote it earlier, using the simple OOorg template of my boyfriend worked well. In contrast it is still not the easy-to-master thing I need, mainly because it needs plenty patience and long clickety-clickety... Thanks, Agnes -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] Printing photos easily.
Hi, On Wed, 25 Jul 2007 16:11:27 -0500 Jim Sabatke . wrote: I had trouble with my HP R800 also. HP is not well supported under Linux, or at least wasn't when I was setting up the printer. I print from gimp using TurboPrint software found at: http://www.turboprint.de/english.html The cost has gone up thanks to the dollar falling against the Euro (29 Euro, $39 USD) but it works really well. Thank you for the idea, but to be honest, proprietary driver/software is no option for me/us. Anyway, I will keep your idea as a solution for the very last case and if all other options fail, will try TB's shareware to see, what I'm missing... BY the way, our printer doesn't seem to be listed here: http://www.turboprint.info/printers.html Regards, Agnes -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] Mplayer and Yahoo conference calls
On Saturday 28 July 2007, Stevens wrote: The only problems that I have had with VB is that there are some apps that use direct-x that won't work with the software video card and the USB ports aren't seen as connecting to the virtual machine. I Well I have both Vmware Workstation and Vmware Player available and use that to run windows to listen to these calls now, but it seems a little like swatting flies with a hammer to me... -- _ John Andersen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[opensuse] source for installer?
I've become curious about the working of the installer. Where can I find the sources? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] Network
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stevens wrote: On Saturday 28 July 2007 11:34, Anders Johansson wrote: On Saturday 28 July 2007 18:31:04 Eric Gies wrote: I am trying to connect a SUSE and XP network together and are not having much luck. I am using TCP/IP. Any help would be appreciated. Could you explain what you've tried so far? You need to either have matching network/netmask settings, or proper routing tables, to tell the machines how to reach each other Eric: Try Samba. Fred Before try samba lets go with Anders more appropriate more info please... For someone who seems to be new to the technologies and has not explained their intent we need to run slowly .. - -- == I have always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone. Bjarne Stroustrup == -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFGq4bQasN0sSnLmgIRAgb6AJ4jQTjngaxyYtwmRxEYcTY0JUR0ugCdGZye 6fWTWmd/7rTQsbm1SupbKus= =2Au9 -END PGP SIGNATURE- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] Network
You need to match IP subnets: PC1 (WIndows) IP: 10.0.0.1 Subnet Mask: 255.255.255.0 Enable File sharing, share some folder(s) and disable firewall. PC2 (SUSE) IP: 10.0.0.2 Subnet Mask: 255.255.255.0 Disable firewall, open KDE Konqueror, and type in the address bar: smb://10.0.0.1/ And you're done ! -- -Alexey Eremenko Technologov -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[opensuse] alias failure
I'm having no luck figuring out why alias Vol='tune2fs -l $1 | grep volume' causes a usage message when 'Vol /dev/hda7' is run. Can anyone explain what I'm doing wrong, or provide a better method to discover a volume label? -- All scripture is God-breathed and is useful for teaching, rebuking, correcting, and training in righteoousness. 2 Timothy 3:16 NIV Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://mrmazda.no-ip.com/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] alias failure
Felix Miata wrote: I'm having no luck figuring out why alias Vol='tune2fs -l $1 | grep volume' causes a usage message when 'Vol /dev/hda7' is run. Can anyone explain what I'm doing wrong, or provide a better method to discover a volume label? That works fine here - I'd be curious to know more about /dev/hda7 Joe -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[opensuse] postfix smtp auth
Hi, I got a question. I need to set my server up so that users can auth before sending because easier that adding the couple hunder ip for access. Do I have to install courier or cyrus-sasl? I am looking at a simple way of setting it up. I have looked on how to forge and google, but most point to using those programs. -- -- Command, n.: Statement presented by a human and accepted by a computer in such a manner as to make the human feel as if he is in control. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] simple firewall scripts
On Friday 27 July 2007 23:14, Theo v. Werkhoven wrote: Fri, 27 Jul 2007, by [EMAIL PROTECTED]: I plan to look at shorewall but thought I'd just ask here for recommendations. Look no further. That's worrying. Simple firewall script(s)? How about etc/sysconfig/SuSEfirewall2? It's there and it just works. Yast edits it for you if you want pure simplicity. Please tell me that this script is rubbish and I should look elsewhere. Or else please tell me what I'm missing. Cheers, Lynn. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[opensuse] Ldap nub needs a little help
I am trying to setup an ldap server for email info ( Kmail and Outlook ). I did do quite a bit of reading but still can't get the hang of it yet. I just downloaded a couple of gui programs ( myldapklient and luma ) but these do not let me do an initial directroy setup ( if it's needed ) and with no data there (yet) they are not of much use. What am I missing? Opensuse 10.2x86-64 Openldap luma myldapklient ldap is started : /usr/lib/openldap/slapd -h ldap:/// -u ldap -g ldap -o slp=on Thanks, Mike -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] alias failure
On Saturday 28 July 2007 13:32, Felix Miata wrote: I'm having no luck figuring out why alias Vol='tune2fs -l $1 | grep volume' Aliases don't take positional parameters, at least not in BASH (I think they do in the Csh family, if I recall correctly). They simply expanded verbatim in front of any arguments you give, so if you invoke it with /dev/hda7 as an argument, it's like running this command: % tune2fs -l $1 | grep volume /dev/hda7 What you're doing is tryting to run grep on /dev/hda7. Let's hope you don't have read access! causes a usage message when 'Vol /dev/hda7' is run. Can anyone explain what I'm doing wrong, or provide a better method to discover a volume label? -- Unlike the very limited capabilities of aliases, shell procedures are just like separate scripts, except no file need be loaded to invoke them. You can get the effect I think you want with this: Vol() { tune2fs -l $1 |grep volume } (If you put that all on one line, you'll need a semicolon after volume and before the closing brace.) Beware that if you're going to try this, you should undefine the alias first. They intefere, and if I'm not mistaken the alias will override the shell procedure. Once you get something you like, put it in your .bashrc, though realistically, there's no particular reason not to just make a shell script out of this. Lastly, don't use an exit for early return in a shell procedure. It will apply to the shell that invoked it. There's a return keyword that works the same as exit and causes just the shell procedure to terminate before reaching its last statement, not the whole shell. All scripture is God-breathed and is useful for teaching, rebuking, correcting, and training in righteoousness. 2 Timothy 3:16 NIV And still I help you. Randall Schulz -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] alias failure
Randall R Schulz wrote: Aliases don't take positional parameters, at least not in BASH (I think they do in the Csh family, if I recall correctly). They simply expanded verbatim in front of any arguments you give, so if you invoke it with /dev/hda7 as an argument, it's like running this command: Smacks forehead Yes, Randall is right. I took a lazy shortcut and did this instead: for i in `cat drives`; do tune2fs -l $i | grep volume; done which of course worked Joe -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] simple firewall scripts
Sat, 28 Jul 2007, by [EMAIL PROTECTED]: On Friday 27 July 2007 23:14, Theo v. Werkhoven wrote: Fri, 27 Jul 2007, by [EMAIL PROTECTED]: I plan to look at shorewall but thought I'd just ask here for recommendations. Look no further. That's worrying. Simple firewall script(s)? How about etc/sysconfig/SuSEfirewall2? It's there and it just works. Yast edits it for you if you want pure simplicity. Maybe it's just me, but I don't find the way SuSEFW2 does things simple at all. For a 'set and forget' network it probably works, but for a network with rules that are subject to change weekly, if not daily, this file is just too unreadable, because of all the comments lines that clutter the content. The small, less than 1 page, files in Shorewall have man-pages, so if I'm puzzled, I do '^Z; man shorewall-..; q; fg' and carry on. Please tell me that this script is rubbish and I should look elsewhere. Or else please tell me what I'm missing. It's not rubbish, but it does have serious limitations, at least, for me. Theo -- Theo v. WerkhovenRegistered Linux user# 99872 http://counter.li.org ICBM 52 13 26N , 4 29 47E. + ICQ: 277217131 SUSE 10.2 + Jabber: [EMAIL PROTECTED] Kernel 2.6.20 + See headers for PGP/GPG info. Claimer: any email I receive will become my property. Disclaimers do not apply. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] simple firewall scripts
On 07/29/2007 06:14 AM, Theo v. Werkhoven wrote: Maybe it's just me, but I don't find the way SuSEFW2 does things simple at all. For a 'set and forget' network it probably works, but for a network with rules that are subject to change weekly, if not daily, this file is just too unreadable, because of all the comments lines that clutter the content. We are all different. Those comments are one of the main reasons I was able to get it working when I first started with 6.4. The docs, etc were less than helpful, but the comments in the config file were (are) fantastic, and for me explain each setting in a way that I was and am able to work with it. To see you call those clutter shows me how different we all are. -- Joe Morris Registered Linux user 231871 running openSUSE 10.2 x86_64 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] postfix smtp auth
On 07/29/2007 04:43 AM, Chuck Payne wrote: I got a question. I need to set my server up so that users can auth before sending because easier that adding the couple hunder ip for access. Check out Yast, System, etc/sysconfig Editor, Network, Mail, Postfix, POSTFIX_SMTP_AUTH_SERVER, and set it to yes. Do I have to install courier or cyrus-sasl? I am looking at a simple way of setting it up. No -- Joe Morris Registered Linux user 231871 running openSUSE 10.2 x86_64 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] alias failure
On 2007/07/28 13:58 (GMT-0700) Randall R Schulz apparently typed: On Saturday 28 July 2007 13:32, Felix Miata wrote: I'm having no luck figuring out why alias Vol='tune2fs -l $1 | grep volume' Aliases don't take positional parameters, at least not in BASH (I think So it's just an accident that the following aliases all work as I want/expect? alias ll='ls -l $*' alias rpmqa='rpm -qa | grep $*' alias test='echo $*' alias vol='tune2fs -l $1' they do in the Csh family, if I recall correctly). They simply expanded verbatim in front of any arguments you give, so if you invoke it with /dev/hda7 as an argument, it's like running this command: % tune2fs -l $1 | grep volume /dev/hda7 It's still clear as mud how don't take positional parameters translates into moving /dev/hda7 to the end of the whole string. What you're doing is tryting to run grep on /dev/hda7. Let's hope you don't have read access! I see what you wrote, but don't understand how /dev/hda7 shows up at the end of everything. causes a usage message when 'Vol /dev/hda7' is run. Can anyone explain what I'm doing wrong, or provide a better method to discover a volume label? -- Unlike the very limited capabilities of aliases, shell procedures are just like separate scripts, except no file need be loaded to invoke them. You can get the effect I think you want with this: Vol() { tune2fs -l $1 |grep volume } I made a script with nothing but that in it, but it returns nothing. (If you put that all on one line, you'll need a semicolon after volume and before the closing brace.) Beware that if you're going to try this, you should undefine the alias first. They intefere, and if I'm not mistaken the alias will override the shell procedure. Once you get something you like, put it in your .bashrc, though realistically, there's no particular reason not to just make a shell script out of this. Other than the quotes, I don't see the difference between the content of your sample script, and putting essentially the same thing into .bashrc, which is where all my aliases live, and why I use aliases instead of simple scripts (easier to copy one file to new username on new installation). Lastly, don't use an exit for early return in a shell procedure. It will apply to the shell that invoked it. There's a return keyword that works the same as exit and causes just the shell procedure to terminate before reaching its last statement, not the whole shell. I appreciate the reply, but I'm not sure I understand any more now than I did before starting the thread. :-( -- All scripture is God-breathed and is useful for teaching, rebuking, correcting, and training in righteoousness. 2 Timothy 3:16 NIV Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://mrmazda.no-ip.com/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] alias failure
On 2007/07/28 14:46 (GMT-0700) joe apparently typed: Randall R Schulz wrote: Aliases don't take positional parameters, at least not in BASH (I think they do in the Csh family, if I recall correctly). They simply expanded verbatim in front of any arguments you give, so if you invoke it with /dev/hda7 as an argument, it's like running this command: Yes, Randall is right. I took a lazy shortcut and did this instead: for i in `cat drives`; do tune2fs -l $i | grep volume; done which of course worked Not for me. I put that in a script, and got 'cat: drives: No such file or directory', and get a syntax error unexpected token from an alias. :-( -- All scripture is God-breathed and is useful for teaching, rebuking, correcting, and training in righteoousness. 2 Timothy 3:16 NIV Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://mrmazda.no-ip.com/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] alias failure
On 2007/07/28 13:42 (GMT-0700) joe apparently typed: Felix Miata wrote: I'm having no luck figuring out why alias Vol='tune2fs -l $1 | grep volume' causes a usage message when 'Vol /dev/hda7' is run. Can anyone explain what I'm doing wrong, or provide a better method to discover a volume label? That works fine here It gets me exactly what I want from the command line, but fails as an alias. - I'd be curious to know more about /dev/hda7 Leave off the grep filter? When I want to know if there is a volume label set, I run tune2fs -l on the appropriate partition. Without a grep or less filter, the only part of its output that I want scrolls offscreen before I can see it. -- All scripture is God-breathed and is useful for teaching, rebuking, correcting, and training in righteoousness. 2 Timothy 3:16 NIV Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://mrmazda.no-ip.com/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] alias failure
On Saturday 28 July 2007 16:39, Felix Miata wrote: On 2007/07/28 13:58 (GMT-0700) Randall R Schulz apparently typed: On Saturday 28 July 2007 13:32, Felix Miata wrote: I'm having no luck figuring out why alias Vol='tune2fs -l $1 | grep volume' Aliases don't take positional parameters, at least not in BASH (I think So it's just an accident that the following aliases all work as I want/expect? alias ll='ls -l $*' alias rpmqa='rpm -qa | grep $*' alias test='echo $*' alias vol='tune2fs -l $1' In all cases, your $1 or $* are at the end, so yes, it is just a coincidence. (And that's the reason your Vol alias didn't work—you used the positional parameter in the middle, and that's why it didn't do what you expected.) It's uncommon for interactive shells to have any positional parameters (they're usually invoked with options only), so those references to positional parameters end up doing nothing. But if your interactive shell had positional parameters (either from its invocation, however unlikely that is, or through use of the set built-in), you would have seen them (or the first of them) being passed to the various commands ahead of the arguments you gave when invoking those aliases. they do in the Csh family, if I recall correctly). They simply expanded verbatim in front of any arguments you give, so if you invoke it with /dev/hda7 as an argument, it's like running this command: % tune2fs -l $1 | grep volume /dev/hda7 It's still clear as mud how don't take positional parameters translates into moving /dev/hda7 to the end of the whole string. What you're doing is tryting to run grep on /dev/hda7. Let's hope you don't have read access! I see what you wrote, but don't understand how /dev/hda7 shows up at the end of everything. Because the when the command is an alias, the alias is expanded literally—without any alteration—in place of the alias name. Once that's done, interpretation of the command line continues as with other command, with any arguments you may have supplied implicitly ending up after all the contents of the alias definition. causes a usage message when 'Vol /dev/hda7' is run. Can anyone explain what I'm doing wrong, or provide a better method to discover a volume label? -- Unlike the very limited capabilities of aliases, shell procedures are just like separate scripts, except no file need be loaded to invoke them. You can get the effect I think you want with this: Vol() { tune2fs -l $1 |grep volume } I made a script with nothing but that in it, but it returns nothing. That syntax _defines_ a shell procedure but does not invoke it. If you just put it in a script and invoke the script, it's rather like a script that just sets variables. The variables get set then the shell interpreting the script exits and nothing of consequence happens. If you want to use this as a plain script, make a file containing this: -==--==--==--==--==--==--==--==--==--==- #!/bin/bash --norc tune2fs -l $1 |grep volume -==--==--==--==--==--==--==--==--==--==- Alternately (and I show this just for pedagogical reasons), you could take the non-functioning script you created: -==--==--==--==--==--==--==--==--==--==- Vol() { tune2fs -l $1 |grep volume } -==--==--==--==--==--==--==--==--==--==- and modify it thusly (the #! line with the --norc option is always a good idea): -==--==--==--==--==--==--==--==--==--==- #!/bin/bash --norc Vol() { tune2fs -l $1 |grep volume } Vol $1 -==--==--==--==--==--==--==--==--==--==- You'll get the same effect as the first script I showed above ... Other than the quotes, I don't see the difference between the content of your sample script, and putting essentially the same thing into .bashrc, which is where all my aliases live, and why I use aliases instead of simple scripts (easier to copy one file to new username on new installation). If you put it in .bashrc (in the form I originally showed), every shell you launch will have a command (in the form of a shell procedure) called Vol available and no path searching or file loading will have to take place in order to run it when it's mentioned in a script or interactive session. If you create a (proper form of) the script somewhere in your PATH, then it will be executed as any other script (via path searching and by asking the kernel to execute that script). Lastly, don't use an exit for early return in a shell procedure. It will apply to the shell that invoked it. There's a return keyword that works the same as exit and causes just the shell procedure to terminate before reaching its last statement, not the whole shell. I appreciate the reply, but I'm not sure I understand any more now than I did before starting the thread. :-( How about now? How much do I have to help you before you'll stop proselytizing here? Randall Schulz -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL
Re: [opensuse] alias failure
Felix Miata wrote: On 2007/07/28 14:46 (GMT-0700) joe apparently typed: Randall R Schulz wrote: Aliases don't take positional parameters, at least not in BASH (I think they do in the Csh family, if I recall correctly). They simply expanded verbatim in front of any arguments you give, so if you invoke it with /dev/hda7 as an argument, it's like running this command: Yes, Randall is right. I took a lazy shortcut and did this instead: for i in `cat drives`; do tune2fs -l $i | grep volume; done which of course worked Not for me. I put that in a script, and got 'cat: drives: No such file or directory', and get a syntax error unexpected token from an alias. :-( Well, you'd have to have a file called drives containing the partitions you want to run against... in my case it was rather simple-minded: [EMAIL PROTECTED]:~ cat drives /dev/hda1 [EMAIL PROTECTED]:~ Joe -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] simple firewall scripts
joe wrote: Joseph Loo wrote: Sloan wrote: Theo v. Werkhoven wrote: Fri, 27 Jul 2007, by [EMAIL PROTECTED]: I plan to look at shorewall but thought I'd just ask here for recommendations. Look no further. I personally prefer the basic linux firewall module that comes with webmin. I found it very easy to understand, and easier to implement exactly the rules I wanted than with the suse firewall. YMMV Joe Have yu looked at firestarter? I remember looking at it a few years ago - maybe time to revisit it. Do you have good experiences with it? Joe Instead of writing the rules manually, this was the only way I could get fedora 7 to do an nfs share. -- Joseph Loo [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] [hope not OT] asking for office network optimize suggestions
在 2007-07-29日的 09:49 +0800,Zhang Weiwu写道: As demonstrated in the attached graph (made with dia) digress I am surprised to find dia produce very clear png image at much much smaller size if choose to export as Pixbuf PNG format. The file can be shrinked even further 50% by open with GIMP and save as indexed PNG. The last illustration I attached is 60KB, this one at same size is 10KB. A 83% reduction of file size. Very useful tip for those who need it, especially useful for sending illustration image as attachement to big mailing list like opensuse. IMHO anything bigger then 30KB shouldn't be sent to mailling lists. /digress attachment: Offices Network Demonstrated.png
[opensuse] DNS Error Log - Solved
If you run a DNS server on your system you probably have been plagued with external sites trying to forward queries through your DNS server. Even though you probably have told your named.conf to allow-query {localnets;}; or a list of valid IP's you probably still have a bunch of unnecessary probing that adds to your bandwidth consumption even if you reject the queries and send 'refused' packets back, it ties up your line. I got tired of literally hundreds, sometimes thoussands of such queries which I considered a form of attack and thought that fail2ban could be a solution. I know about as much about writing filters as I do about the differance between my posterior and a hole in the ground, but a fellow fail2ban list member took pity on me and in private E-mail, helped me develop a filter we call 'named-refused'. On 7/24 I installed it into fail2ban and started testing it. The results are in the log summary below. You will notice on the 24th, the filter 'named-refused was innvoked a lot and by the next day, it was back to the normal fighting off the sshd worm, and even that has gone way down since fail2ban was installed. I didn't post my entire log, but it is just as impressive to note that as of the 24th, fail2ban as reduced my DNS attack bandwidth to zero because whoever those badguys are have apparantly decided that because I no longer appear to exist that it isn't worth wasting their time trying anymore. As long as I responded to all of their attempts, even though they got 'refused' each time, they kept trying. Yay fail2ban and thank you Cyril (the author) for a fine product and our fellow list member for your patience and time. The log below shows how effective it can be. BTW, the exerpt from /messages was extracted BEFORE fail2ban was turned on with the new filter :)Because it is so effective and because a lot of SUSE users do use SSHd and DNS and experience worms and attacks, I want to document the effectiveness of fail2ban in solving the problem we face when we run those server/demons. I, for one, have my machine back! I run SUSE 10.2 and 10.3a6 and I am more than willing to zip up my /etc/fail2ban local files which should work with little or no modification on other distros. The gentleman that assisted me with the filter runs Debian and said he will submit a patch for Debian to Cyril (the Author of Fail2ban) to consider for distribution. BTW, the report below can be produced by: grep Ban /var/log/fail2ban.log | awk '{print $1,$5,$7}' | sort |uniq -c assuming your log file is in that directory with that name. Substitute your log file name if you don't use that name. Richard This is an exerpt from /var/log/messages It shows literally thousands of attempts to induce my DNS to forward a query Jul 24 09:22:05 raid5 named[3935]: client 195.135.220.2#32768: query 'ns2.ricreig.com//IN' denied Jul 24 09:22:05 raid5 named[3935]: client 195.135.220.2#32768: query 'ns1.ricreig.com//IN' denied Jul 24 09:22:05 raid5 named[3935]: client 195.135.220.2#32768: query 'ns2.ricreig.com//IN' denied Jul 24 09:22:05 raid5 named[3935]: client 195.135.221.2#32768: query 'ns1.ricreig.com//IN' denied Jul 24 09:22:05 raid5 named[3935]: client 195.135.221.2#32768: query 'ns2.ricreig.com//IN' denied Jul 24 09:22:06 raid5 named[3935]: client 195.135.220.15#32768: query 'ns1.ricreig.com//IN' denied Jul 24 09:22:06 raid5 named[3935]: client 195.135.220.15#32768: query 'ns2.ricreig.com//IN' denied Jul 24 09:22:06 raid5 named[3935]: client 195.135.220.15#32768: query 'ns1.ricreig.com//IN' denied Jul 24 09:22:06 raid5 named[3935]: client 195.135.220.15#32768: query 'ns2.ricreig.com//IN' denied Jul 24 09:22:06 raid5 sshd[5243]: Invalid user admin from 200.226.124.15 Jul 24 09:22:06 raid5 named[3935]: client 195.135.220.2#32768: query 'ns1.ricreig.com//IN' denied Jul 24 09:22:06 raid5 named[3935]: client 195.135.220.2#32768: query 'ns2.ricreig.com//IN' denied Jul 24 09:22:07 raid5 named[3935]: client 195.135.220.2#32768: query 'ns1.ricreig.com//IN' denied Jul 24 09:22:07 raid5 named[3935]: client 195.135.220.2#32768: query 'ns2.ricreig.com//IN' denied Jul 24 09:22:07 raid5 named[3935]: client 195.135.221.2#32768: query 'ns1.ricreig.com//IN' denied Jul 24 09:22:07 raid5 named[3935]: client 195.135.221.2#32768: query 'ns2.ricreig.com//IN' denied Jul 24 09:22:07 raid5 named[3935]: client 195.135.220.2#32768: query 'ns1.ricreig.com//IN' denied Jul 24 09:22:07 raid5 named[3935]: client 195.135.220.2#32768: query 'ns2.ricreig.com//IN' denied Jul 24 09:22:08 raid5 named[3935]: client 195.135.220.2#32768: query 'ns2.ricreig.com//IN' denied Jul 24 09:22:08 raid5 named[3935]: client 195.135.220.2#32768: query 'ns1.ricreig.com//IN' denied Jul 24 09:22:08 raid5 sshd[5246]: Invalid user user from 200.226.124.15 Jul 24 09:22:08 raid5 named[3935]: client 195.135.220.15#32768: query
Re: [opensuse-packaging] Split licenses.rpm (based on 'Building packages with linking a license from licenses.rpm')
Hello, on Mittwoch, 25. Juli 2007, Lukas Ocilka wrote: After our discussion with JSrain we decided to write to packages with just another issue about licenses.rpm. The current RPM content size (unpacked) is quite big du -sh /usr/share/doc/licenses/ - 3.9 MB This package-size is a bit disputable when talking about saving-space ;) Actually it is because the package contains some very-rare licenses or some obscure licenses used just for one package in our distribution. You mentioned an interesting point: Licenses used just for one package. IMHO it's pointless to move them to the licenses package because you can't save any space - you only can waste it if the package with that license isn't installed. I'd propose to put only licenses that are used at least by 10 packages in the licenses package. This solves several problems: - the non-existing space saving effect I mentioned above - the risk of having to keep old licenses (as mentioned by Robert) just to stay backward-compatible is reduced (because at least some of the packages will still be using it ;-) - the licenses package would be smaller - no need to split it Just to give you some numbers, I did some statistics on 10.2's ARCHIVES.gz (from retail DVD): # zgrep License: ARCHIVES.gz | sed 's/.*License: //' | sort | uniq -c |sort -nr 3402 GNU General Public License (GPL) 817 GNU Library General Public License v. 2.0 and 2.1 (LGPL) 470 GNU General Public License (GPL), GNU Library General Public License v. 2.0 and 2.1 (LGPL) 399 BSD License and BSD-like 377 GNU General Public License (GPL), Other License(s), see package 334 X11/MIT 302 Artistic License 301 BSD License and BSD-like, Other License(s), see package 229 Other License(s), see package 165 Other uncritical OpenSource License, Other License(s), see package 112 The Apache Software License 106 BSD License and BSD-like, GNU General Public License (GPL) 92 Public Domain, Freeware, Other License(s), see package 71 Freely Redistributable Software (FSR), Other License(s), see package 61 The Apache Software License, Other License(s), see package 59 Artistic License, Other License(s), see package 57 Public Domain, Freeware 56 GNU Library General Public License v. 2.0 and 2.1 (LGPL), Other License(s), see package 55 X11/MIT, Other License(s), see package 54 Artistic License, GNU General Public License (GPL) 52 Commercial (all types), Other License(s), see package 45 MOZILLA PUBLIC LICENSE (MPL/NPL) 30 IBM Public License 29 Other uncritical OpenSource License 26 TeX-License, Other License(s), see package 26 GNU General Public License (GPL), THE Q PUBLIC LICENSE (QPL) 21 IBM Public License, Other License(s), see package 16 No license agreement found in package, Other License(s), see package 16 Freely Redistributable Software (FSR) 15 GNU General Public License (GPL), X11/MIT 15 Contact author, Other License(s), see package 13 GNU Free Documentation License, Version 1.1 (GFDL), GNU General Public License (GPL) 12 GNU General Public License (GPL), Public Domain, Freeware 12 BSD License and BSD-like, GNU Library General Public License v. 2.0 and 2.1 (LGPL) 11 No license agreement found in package 11 MOZILLA PUBLIC LICENSE (MPL/NPL), Other License(s), see package 11 GNU Library General Public License v. 2.0 and 2.1 (LGPL), MOZILLA PUBLIC LICENSE (MPL/NPL) 10 Beerware, Cardware, Shareware (not restricted), Other License(s), see package 8 zlib/libpng License 8 The Apache Software License, X11/MIT 7 Python Copyright, Other License(s), see package 7 Commercial (all types) 6 Public Domain, Freeware, X11/MIT 6 LaTeX Public License (LPPL) 5 GNU Library General Public License v. 2.0 and 2.1 (LGPL), Public Domain, Freeware 4 Python Copyright 4 GNU General Public License (GPL), Other uncritical OpenSource License 4 GNU General Public License (GPL), MOZILLA PUBLIC LICENSE (MPL/NPL) 4 GNU Free Documentation License, Version 1.1 (GFDL) 4 Beerware, Cardware, Shareware (not restricted) 3 GNU General Public License (GPL), No license agreement found in package 3 GNU Free Documentation License, Version 1.1 (GFDL), GNU Library General Public License v. 2.0 and 2.1 (LGPL) 2 THE Q PUBLIC LICENSE (QPL) 2 GNU Library General Public License v. 2.0 and 2.1 (LGPL), No license agreement found in package 2 GNU General Public License (GPL), The Apache Software License 2 GNU Free Documentation License, Version 1.1 (GFDL), Other License(s), see package 2 Contact author 2 Commercial (all types), GNU General Public License (GPL) 2 BSD License and BSD-like, X11/MIT 2 BSD License and BSD-like, Python Copyright 2 BSD License and BSD-like, GNU Free Documentation License, Version 1.1 (GFDL) 2 Artistic
Re: [opensuse-doc] LfL question: how-to subdivide very big articles ?
Hi Alexey, On Samstag, 28. Juli 2007, Alexey Eremenko wrote: I have LfL question: how-to subdivide very big articles ? That is: I have VirtualBox article - a big guide actually. I want to have it's chapters to be available as links at the top of the article. Thomas once told me about using chapter IDs, but I didn't understood then. I will try now... So, can you help with example XML code ? Sure. You will see, it's pretty easy after you get the idea behind. For example, you want to link from a paragraph to a chapter. These are the steps that you need: 1. Determine the ID value of the chapter that you want to link to. You can also link to sections, figures, tables, appendices, etc. the method is the same. It should look like this: chapter id=chap.foo !-- _ Your ID value -- titleSomething about Foo/title ... 2. If you do not find an ID value, define your own ID value. Insert an attribute id with your ID value in the respective element. The ID value should be legible so that any writer have at least some idea what is this chapter about. :) Look for other examples. Be careful, the definied ID value must be unique (appears only once in the whole document), otherwise you get validation errors. 3. Go back to your paragraph and insert a xref element. This is the cross reference to your ID and looks like this: para... See xref linkend=chap.foo/ for more information ... /para You can insert as many xrefs to your chapter as you like. That's all! The stylesheets take care of how the xref appears in your text. Usually you get something like this: See Chapter 1, »Something about Foo« for more information. Does it help? Have fun, Tom -- -- SUSE LINUX Products GmbH o) Maxfeldstrasse 5 /\\ Documentation Specialist 90409 Nuernberg, Germany _\_v http://en.opensuse.org/Documentation_Team SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse-doc] LfL question: how-to subdivide very big articles ?
Thanks a lot ! I chapterized my whole guide, except that I used sect2 id= instead of: chapter id=chap.foo I committed the changes to LfL. side note: Thomas: Please make sure that LfL RPM gets updated for BETA1. (Alpha6 contains ancient RPM from Mar 2007, instead of Jun/Jul 2007 !) Also, I believe that incomplete articles must be disabled from building. Such incomplete article, that must be disabled is: Managing Digital Images with digiKam -- -Alexey Eremenko Technologov - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]