Re: Why is there suddenly a 'Universal Access Preferences' icon in my notification area?
On Mon, 25 May 2009 19:15:39 -0400 Patrick Wiseman pwise...@gmail.com wrote: And how do I get rid of it? It just showed up after a reboot after this morning's upgrade on my amd64 testing system. (The reboot necessitated by yet another NetworkManager system freeze.) Accessibility options (e.g. aids for hearing, visually, motion, etc impaired persons) are now being installed by default (just like internationalisation, because one often doesn't know in advance when one will need it). I don't know how to get rid of it, but perhaps someone else does. -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org The C Shore (Daniel Dickinson's Website) http://cshore.is-a-geek.com signature.asc Description: PGP signature
Re: Second ethernet card seems to cause networking failure?
Do you have network-manager installed? It's not very good with setups with mixed static/dynamic ips. If you've got network-manager, remove it and set things up manually. Regards, Daniel -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org The C Shore (Daniel Dickinson's Website) http://cshore.is-a-geek.com signature.asc Description: PGP signature
Re: how can i turn /dev/null into an MTA?
On Wed, 15 Apr 2009 21:15:42 -0400 Michael Pobega pob...@fuzzydev.org wrote: I actually have a question about this; I've always used reportbug with the -M flag, which relays the mail through Mutt. What is the *proper* way to set up exim4 so that reportbug will work without any errors? (Currently I'm not using exim4 for anything but local mail relaying, as I don't like putting my personal mail's user/pass in /etc) Try dpkg-reconfigure reportbug or reportbug -config I know one of those was recently updated set things up so that if you didn't have an working MTA on the system, or you couldn't just use your ISP's MTA that you could use a debian machine as as the SMTP relay (but only to report a bug and it's on a port other than port 25; check the changelog in /usr/share/doc/reportbug. Regards, Daniel -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org The C Shore (Daniel Dickinson's Website) http://cshore.is-a-geek.com signature.asc Description: PGP signature
Re: mixer problem? Ekiga and skype calls together give audio errors
On Tue, 17 Mar 2009 19:27:50 -0400 H.S. hs.sa...@gmail.com wrote: Hello, Perhaps I am trying to do something that is not possible, though certainly it is inconvenient. If I try to make a call with ekiga when a skype call is active (and the other way around), I get an error saying there is a problem with a sound device. I was under the impression that the mixer takes care of such simultaneous use of audio devices. Other applications seems to work together without any problem. What am I doing wrong here? Is this even supposed to work? The mixer just lets you adjust sound levels for different hardware audio inputs and outputs. All program input is one hardware input (PCM). To mix software input/output you need a sound server like esound (deprecated) or pulseaudio (new, shiny, still has some bugs) and then to configure all software to use the sound server instead of alsa/oss directly. If you look on the pulseaudio wiki you can see how to configure alsa to autmatically use pulse, so you don't need to manually configure each program that uses alsa to use pulse (though if a program has a pulse output module (or esound, pulse does esound too) available it is recommended to use that). Regards, Daniel -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org signature.asc Description: PGP signature
Re: grub2 output to both console and serial
On Tue, 17 Mar 2009 09:39:32 -0400 William Thompson w...@electro-mechanical.com wrote: I am not on the list, keep me in CC. Is it possible to output to both the vga console and the serial terminal as with older versions of grub? I thought I did this at one time but am unable to do this now. At this time, the oldest grub version I used is 1.96+20080724-16 For grub1 (not grub2) you can add the following lines to you menu.lst serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1 terminal --timeout=10 serial console Add to kernel command line console=tty0 console=ttyS0,115200 And add ttyS0 line to inittab This setup favours serial over console. If you prefer to favour console switch tty0 and ttyS0,115200 parts of the kernel command line, and switch serial and console in the terminal line. Regards, Daniel -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org signature.asc Description: PGP signature
Re: update information is outdated?
On Tue, 17 Mar 2009 13:04:52 +0530 Girish Kulkarni gir...@hri.res.in wrote: On Sat, Mar 14, 2009 at 7:06 AM, Daniel Dickinson wrote: I am getting this message from the update notifier constantly in the notification area on my panel -- The update information is outdated. This may be caused by network problems. Please update manually by clicking on this icon and then selecting 'Check'. There seem to be no network problems. The message reappears after checking for upgrades with aptitude or apt-get. What is wrong? Have you run the updater tool to update the package lists? If your mirror is not down then you need to do that. Perhaps it was down when update-notifier was trying to download the latest package files to see if there were any updates? Thanks for the reply, Daniel. The message from update-notifier appears even after I run 'aptitude update'. I have repeated this exercise quite a few times and also confirmed that the mirror is up. But the pop-up persists. Interestingly, there's a bug reported in the BTS about this -- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506186 I'm afraid I have no idea then...it works here. What happens when you do 'Check' in update-notifier? (Perhaps update-notifier keeps separate metadata, like time it last checked, so that out-of-band changes don't get noticed?) Regards, Daniel -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org signature.asc Description: PGP signature
Re: GTK fonts too big
On Fri, 13 Mar 2009 18:08:32 +0100 Matus UHLAR - fantomas uh...@fantomas.sk wrote: Hello, afer upgrading to lenny I have noticed that fonts in GTK applications are too big. It seems that GTK does count font size from DPI resolution (hbigger DPI, higher font). Is there any way to force GTK to ignore DPI for displaying fonts? I did NOT ask for better display to have bigger fonts, but to have them smaller (my eyes are good yet). I would like to keep correct DPI for other applications. Is DPI actually correctly calculated by X? (X doesn't get that right for all monitors and 'estimates' for monitors that don't give it resolution and size information, which can lead to this sort of thing). You /var/log/Xorg.0.log will have that information. You may need to set DisplaySize in /etc/X11/xorg.conf (man xorg.conf) Regards, Daniel -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org signature.asc Description: PGP signature
Re: Do you know about DebianON?
On Fri, 13 Mar 2009 17:29:57 +0200 Aioanei Rares debian.dev.l...@gmail.com wrote: I would like to propose that you have a look at http://wiki.debian.org/InstallingDebianOn/ and consider contributing. Good idea. In fact, I have written a pretty complete page about my experience installing Lenny on a Dell Inspiron 8600 and I just tried to add a link to it in the wiki above but it won't let me. I presume what I need is the portal page? In any case, if someone with the proper access could add this: Silly question, but did you create a user account on the wiki and login? -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org signature.asc Description: PGP signature
Re: help for Debian pppoe configuration
On Fri, 13 Mar 2009 19:45:16 +0600 Asanka Ruwan Kumara asankaruwankum...@gmail.com wrote: Dear Sir, i need to configure Debian proxy server using pppoe connection. i have already install Debian os with two NIC.but i have a problem,how to config pppoe connection i reffed below link and (http://users.telenet.be/Asterisk-PBX/PPPoE.htm) when its doing i had to stop running Execute the 'pppoeconf' (in /usr/sbin) # cd /usr/sbin # pppoeconf In a terminal, type su -c pppoeconf and enter your root password and follow the instructions. -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Lenny won't install on an old Pentium that used to run Etch. Try 2
On Thu, 12 Mar 2009 11:47:11 -0600 Robert Hodgins ehodg...@telusplanet.net wrote: Daniel, thank you for your suggestions. I did this. I hit Alt-F4 as the installer was finishing the formatting of the hard drive. When the cursor stopped blinking and the keyboard no longer responded, I took a picture. I posted it here as Photo 1: http://technicallywrite.blogspot.com/ H...not much to go on there, unfortunately. Might have to do the remote console thing and ssh in. I reinstalled (a minimal) Etch last night. It was successful. Top and /proc/meminfo both reported that RAM was 127192 KB...very close to the 128 MB that is in the machine. So, the Etch installer had no issues with the RAM or other hardware. Would the Lenny installer be more sensitive to potentially bad RAM or hardware than the Etch installer? I don't think so. I was simply wrong about it being bad hardware (most likely). However another poster pointed out that ACPI on a P1 is probably wrong and since the message say it's not giving results the kernel likes, it could certainly apply. Try booting with acpi=off or noacpi (I forget which one, it might be listed in the Install Guide, or on the F1-F10 help pages of the CD (before starting the installer)). I'm thinking the default kernel configuration has changed somehow that doesn't like your board. ACPI is a definite possibility (modern kernels try to use ACPI but boards before ~2000 tend to have buggy or incomplete BIOS implementations of acpi). Also apic and local apic could be a problem. Basically anything that your board tried to support but wasn't up to the standards that eventually came into force, but are what the kernel expects. Right after selecting Install, the installer printed the screen (Photo 2) that is at http://technicallywrite.blogspot.com/ I didn't get this screen when I was installing Etch and I don't recall seeing it when I installed Lenny on other (more modern) machines. I can't interpret what it means. Is it relevant to the failure of the Lenny installer? Probably. Not 100% but 95% likelihood that this the problem. Assuming no other old hardware that is no longer supported on the system of course. I guess one other possibility is if the installer is not using the 486 kernel but the 686 one (/var/log/syslog in the installer will tell you the answer to that). When the Lenny installation freezes, the keyboard is locked up. There is no way to run shutdown -h now. I've just been powering off. At this stage of the installation, how can I get the /var/log/syslog? If you look at the install guide you might be able to use a network console and ssh in. Depends of the machine is locked or just the keyboard. Personally I suspect it wouldn't help because if it the ACPI that the problem then the system is hard frozen, not just not responding to input. -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org signature.asc Description: PGP signature
Re: update information is outdated?
On Thu, 12 Mar 2009 14:44:48 +0530 Girish Kulkarni gir...@hri.res.in wrote: Hi, I am getting this message from the update notifier constantly in the notification area on my panel -- The update information is outdated. This may be caused by network problems. Please update manually by clicking on this icon and then selecting 'Check'. There seem to be no network problems. The message reappears after checking for upgrades with aptitude or apt-get. What is wrong? Have you run the updater tool to update the package lists? If your mirror is not down then you need to do that. Perhaps it was down when update-notifier was trying to download the latest package files to see if there were any updates? -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Lenny won't install on an old Pentium that used to run Etch. Try 2
On Wed, 11 Mar 2009 16:22:57 -0600 Robert Hodgins ehodg...@telusplanet.net wrote: I sent this email in two parts. It seems that only the second part got through. So, here are both parts combined into one email. I have a (old) Pentium 75 that used to run Etch. I have been trying to install Lenny on it without success. The installation stops at the 6% point of the Installation of Base System step. Various packages are being retrieved at that point. At different times, the installation has stopped while it was getting dpkg, coreutils, bdsutils, and libselinux1. When the installation stalls, I can't get CTRL-ALT-F4 to open another console, so I can't tell exactly what was going on. Assuming you are using the text installer (if you haven't you should, just in case), you should be able Alt-F4 to see the system logs (ctrl is unnecessary in text mode. Alt-F3 and Alt-F2 should be alternate consoles you can use. I recommend watching the syslog in Alt-F4 and only switching to Alt-F1 when you need to do input. Perhaps a kernel fault, or bad CD-ROM drive? It could also be bad RAM (have you tried memtest?), or some other intermittent fault in hardware (like IDE). Basically if you haven't already do so I would test the hardware. You seem to have enough RAM so that shouldn't be the issue, and assuming good media that leaves hardware or driver problems as the most likely causes. I guess one other possibility is if the installer is not using the 486 kernel but the 686 one (/var/log/syslog in the installer will tell you the answer to that). Good luck, Daniel -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org signature.asc Description: PGP signature
Re: samba - smb.conf
On Wed, 11 Mar 2009 20:51:01 -0300 Rodrigo Hashimoto xano@gmail.com wrote: Hello guys, I have two questions, the first one is how to generate a new smb.conf ?? Do you just mean the smb.conf from the package or do have specific settings you want. If you want to configure your smb.conf without doing it by editing smb.conf, you can try gadmin-samba, swat or similar utilities. And the second question is regarding the aptitude on Debian Lenny. I tried to removed the samba with dpkg -r samba and reinstall it with aptitude install samba to check if I get a new smb.conf. However I noticed the command dpkg -r samba didn't remove all the samba files. So how can I remove completely a package like samba ? Thanks. apt-get --purge remove packagename -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org signature.asc Description: PGP signature
Re: .Xmodmap has no effect
On Sun, 08 Mar 2009 17:49:55 -0400 Frank debianl...@videotron.ca wrote: On Sun, 2009-03-08 at 17:30 -0400, Ed Jabbour wrote: Below is my ~/.Xmodmap. It's an attempt to make the key assignments permanent rather than running xmodmap each login. It's not working. Syntax wrong? keycode 162 = XF86AudioPlay keycode 164 = XF86AudioStop keycode 144 = XF86AudioPrev keycode 153 = XF86AudioNext keycode 174 = XF86AudioLowerVolume keycode 176 = XF86AudioRaiseVolume keycode 160 = XF86AudioMute AFAIK you have to run xmodmap each login. Try with the -verbose option to turn on logging. Actually looking at /etc/X11/Xsession.d/foo (forget which one) it is probably that XKB is active as well (apparently they don't play nice together). Do you (OP) have keyboard model setup or an xkb startup file? Unfortunately I'm still trying to figure out how to do this without invoking whatever monster it is that made the Xsession people prevent loading xmodmap and xkb at the same time. -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org signature.asc Description: PGP signature
AGPL discussion on debian-legal; opponents who aren't fringe should participate
Hi, I just thought I'd drop a note suggesting that users like Steve Lamb (because he replied when I said that I thought the AGPL was free not not-free in response to a message), who oppose the AGPL but are not free software fanatics with arguments that are ludicrous and not just different than what my own was, should participate in the the debian-legal discussion on whether the AGPL is non-free because at present the AGPL supporters come off sounding reasonable (that where I first heard of the AGPL and a large part of why felt the AGPL was reasonably free, when I have since changed my mind on that topic, in part because of arguments by Steve Lamb and others on this list about the freeness of the AGPL). Regards, Daniel -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org The C Shore: http://www.wightman.ca/~cshore signature.asc Description: PGP signature
Re: xserver, video playback, direct rendering etc.
On Sat, 13 Sep 2008 08:13:52 +0100 Nicholas Syrotiuk [EMAIL PROTECTED] wrote: Output of dmesg | grep drm: [nothing] Is that bad? Maybe not for the closed source (ati's) driver, but for the open source driver if the drm kernel module is not loaded then DRI can't be done which means your getting unaccelerated video. I'm not familiar with ati's driver so I don't know if it is the same. If it is do modprobe radeon and then show the output of dmesg | tail Regards, Daniel -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org The C Shore: http://www.wightman.ca/~cshore signature.asc Description: PGP signature
Re: xserver, video playback, direct rendering etc.
On Fri, 12 Sep 2008 20:39:35 -0300 Felipe Gallois [EMAIL PROTECTED] wrote: Linux mozart 2.6.26-1-686 #1 SMP Thu Aug 28 12:00:54 UTC 2008 i686 and I have included my xorg.conf and lspci info below. I'd be grateful for any help or suggestions. Do you have the necessary libmesa-* packages installed? (e.g. libmesa-dri) What does 'cat dmesg|grep drm' say How about 'cat /var/log/Xorg.0.log | grep dri' ? Regards, Daniel -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org The C Shore: http://www.wightman.ca/~cshore signature.asc Description: PGP signature
Re: Do Debian's users care about the AGPL?
On Wed, 3 Sep 2008 14:40:39 -0700 Steve Lamb [EMAIL PROTECTED] wrote: On Wed, Sep 03, 2008 at 05:03:27PM -0400, Daniel Dickinson wrote: Which is the thing. GPL guarantees freedom the users of the software. The AGPL says that the user is the one writing the documents with the software is the user not the one running the code. I agree with the AGPL on that. Those users have not lost their freedom. That's the distiction people have lost. Lets take a simple example, Google's web-based spreadsheet. Who is using the software, you or Google? Answer: Google. They provide you *access* to that software but you're not the user. Just as if you came into my house, sat down at my computer and then thought just because you are poking at software I've written and allowing you to access gives you any rights to the source. If I distributed that software to you then, yes, you would have rights to it. I think this is where public/private distinction comes into play. Someone coming into your house to use your laptop is using your software in a private context, not a public one, and thus is more like 'within a company'. Such a distinction makes sense, just as it does in real life public/private distinction. I think you might disagree about what's public and what's private though. The difference with the Google scenario is that Google is providing machines to run the code on so that you can use the software (as I see it the service is running the code, not the software itself). I don't follow. If you mean ASP turned to Open Source because they get free (as in beer) software that don't have to share, then I'd argue that is an example of a popular loophole, no a robust example of the benefits of libre software. No, they turned to it because they got free (as in beer) tools for which they could create works which they could *choose* to keep in house if needed. But if they are not modifying code and distributing it to users (in the sense of user I mean) they are still not required to distribute the modified works, it's only when they are distributing the works that it matters. I guess for me 'software freedom' means freedom for the end-user, where as you interpret user as one who's machine the code runs on. Jeopardizing ensuring rights of user to control their own software is restricting freedom? I don't think so. Of course we disagree on who the user is, so I mean a different thing by that then you. Exactly so. The implications are far more profound than you think when we take your definition of user. I disagree with you interpretation of the license in this regard, and I probably disagree with your definition of freedom as well. The definition of freedom as shown in the GPL and AGPL are what counts here, and opinion of which definition of user is accurate. Really? So the fact that you're provided access to a custom application means you're a user and thus must have rights to the source code? You do realize how much software you're provided access to but aren't the user? Let me think off the top of my head of software which customers of mine have had access to which fall under your overly broad interpretation of user in the quest for the holy grail of restricting other people's uses to your narrow definition. My narrow definition. I do believe you're the one who is specify that user means the one running the code. Period. Room reseveration software. ATM software. Slot machine software (Btw, you do realize most slots nowadays are computers, right?). Patron management software (better known as point systems). Point-of-sale terminals and, by extension, their servers. In-room entertainment software. Did I miss any portion of a casino that the customer doesn't touch? Except of course I think these are cases where the user should, if released under a license that defines user as I do, be granted access to the code. The whole point of software freedom is that the user has the ability to improve and modify the software they use. It boils down to this. The casino (and hotel) is using that software to provide a service to the customer. The customer is not the user of the software even though they do use it. Same thing for ASP. That is why the S is *S*ERVICE. If you close this loophole for ASPs then you are, by fiat, also demanding that any time you use an ATM machine you are using the software thus have a right to the source code of said software. If you don't see how that could cause some serious problems for the adoption of OS tools to be used to build those custom applications then you really don't understand what's going on nor the motivactions of why people chose the solutions they do outside of your narrow mindset. I'm not suggesting OS tools cause release of code unless they're part of a derivative work. Just because use use gcc to build code doesn't mean that my code is open source
Re: encrypted partition question
On Thu, 4 Sep 2008 17:48:34 -0300 Cassiano Leal [EMAIL PROTECTED] wrote: options, refer to man /etc/crypttab My guess is that if you correct your step 3 to include all four fields in /etc/crypttab you will be automatically asked for the passphrase next time you boot the machine, so edit the file and substitute: crypt /dev/hda6 for crypt /dev/hda6 none luks You may also need to 'update-initramfs -u' -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org The C Shore: http://www.wightman.ca/~cshore signature.asc Description: PGP signature
Re: Do Debian's users care about the AGPL?
On Tue, 02 Sep 2008 22:14:48 -0700 Steve Lamb [EMAIL PROTECTED] wrote: Daniel Dickinson wrote: Why should it be non-free? It's not, it should be in main! Probably because it goes way too far? I'm sorry, but the GPL is clear. If you distribute the code. No code is distributed here. The code runs *there*. People call this a loophole. I call those people It's a loophole. As a I developer I'll be choosing the GPL because it means that if someone takes my code and modifies their changes flow back to the original project (whether still developed my myself or not, hopefully by a community in any event), so that others can benefit from it. Not making the changes flow back is known as 'free riding'. If a company can take my work, make proprietary enhancement (including, say, a new proprietary file format), and profit from it I wouldn't be happy. That's not why I contribute to open source. I'm not just giving my stuff away, I'm giving it away on the condition you give back if you make changes to my stuff. Let's say Google was developed mostly open source but had proprietary enhancements and that's what made the money. As the open source developer I wouldn't be happy because the reason I developed open source was so that it would be a community project, not one which was taken private. Google would be able to do that because the search engine is a web service. There's more to Google than just software of course, and they didn't just grab open source code, but I think you can see my point. It's a loophole that a service such as Google wouldn't be required to share their changes just because the don't 'distribute' programs in the traditional sense even though they are clearly distributing the effort. In Google's case they're distributing they're own work, but one can easily image being the developer of a web-based app or service that becomes popular, but for which the primary company making money isn't contributing back the project that made their success possible because the loophole they're not considered a distributed because they're not installing software on another person's computer envious of other people's talents. If anyone thinks that applications are going to run there and display here let's remember that's where computing started (mainframes) and it has steadily migrated more here than there ever since. It is to the point now where I regularly run 1 OS on the metal and another in a VM on a regular basis. Yes, the web has moved some of processing over there but I seriously doubt millions of people are going to do most of their processing on other people's servers over which they have little to no control. I hope you're right. I certainly wouldn't be happy about being forced to use web apps for my own stuff because I want control over my stuff. But hey, I'm not clairvoyant, I could be wrong. Google might just be the new evil empire with all the gung-ho applications running on a kabillion servers to meet the demand. Of course given their poor attempt at a Firefox clone they just released and the poor performance of their on-line office email compared to local applications I think we're safe for another decade from ASP hell. I mean I first heard that we were going to all be using applications on web pages for everything in the late 90s. Heh. Well I know I'm skeptical too, but it does seem to be where everyone wants to go (why, I don't know). Regards, Daniel -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org The C Shore: http://www.wightman.ca/~cshore signature.asc Description: PGP signature
Re: Do Debian's users care about the AGPL?
On Wed, 03 Sep 2008 00:30:10 -0700 Steve Lamb [EMAIL PROTECTED] wrote: Daniel Dickinson wrote: On Tue, 02 Sep 2008 22:14:48 -0700 Steve Lamb [EMAIL PROTECTED] wrote: Daniel Dickinson wrote: Why should it be non-free? It's not, it should be in main! Probably because it goes way too far? I'm sorry, but the GPL is clear. If you distribute the code. No code is distributed here. The code runs *there*. People call this a loophole. I call those people It's a loophole. As a I developer I'll be choosing the GPL because it means that if someone takes my code and modifies their changes flow back to the original project (whether still developed my myself or not, hopefully by a community in any event), so that others can benefit from it. Not making the changes flow back is known as 'free riding'. If a company can take my work, make proprietary enhancement (including, say, a new proprietary file format), and profit from it I wouldn't be happy. That's not why I contribute to open source. I'm not just giving my stuff away, I'm giving it away on the condition you give back if you make changes to my stuff. Then you've missed the point of the GPL. I hate to break it to you but it is perfectly legal under the GPL for a company to take your code, make modifications to it, and turn a profit on that. The only caveat is that *if* they distribute it they have to also distribute the source. If they don't distribute it, if they keep it in house, they are under no obligation to distribute that source to other people because those other people are not using it. I'm aware of that. The GPL isn't perfect, it's just the closest thing to doing what I want. In practical reality once you make sure that users of the software have the right to changes, most users who want to make changes find it in their best interest to collaborate with the community than develops the software. Short form. Code runs on their machines and only their machines, no need to redistribute the code. Which is the thing. GPL guarantees freedom the users of the software. The AGPL says that the user is the one writing the documents with the software is the user not the one running the code. I agree with the AGPL on that. ASP is applications running on their machine. Some people call this a loophole. I call it the very reason many companies have turned to Open Source for many of their needs in the first place. I don't follow. If you mean ASP turned to Open Source because they get free (as in beer) software that don't have to share, then I'd argue that is an example of a popular loophole, no a robust example of the benefits of libre software. Jeopardizing that is restricting freedom. It does it in the very Jeopardizing ensuring rights of user to control their own software is restricting freedom? I don't think so. Of course we disagree on who the user is, so I mean a different thing by that then you. same way that many collectivists have done over the years. We're all one big happy family and we share. If you don't share we'll MAKE you share whether you want to OR NOT! The problem is the words in caps. Freedom isn't just about the happy-go-lucky moments but also the moments when someone goes against your grain. I disagree with you interpretation of the license in this regard, and I probably disagree with your definition of freedom as well. The definition of freedom as shown in the GPL and AGPL are what counts here, and opinion of which definition of user is accurate. [snip off-topic political commentary, some of which is right and some which isn't] -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org The C Shore: http://www.wightman.ca/~cshore signature.asc Description: PGP signature
Re: Question about Raid/Boot
On Wed, 03 Sep 2008 07:29:42 +0100 John Allen [EMAIL PROTECTED] wrote: Daniel Dickinson wrote: On Tue, 2 Sep 2008 15:12:18 -0400 Tom Allison [EMAIL PROTECTED] wrote: Well, RAID1 mirrors the drive so /boot lives on both drives, but grub legacy (grub2 is out, but not the default yet) doesn't understand multidisk devices (e.g. RAID) so it just reads the disk as if it were a regular partition rather than RAID. Also, because it doesn't understand RAID, you have to manually run GRUB for both drives in order to update the the MBR (the MBR is the master boot record, and in the same sector as the partition tables and is the code that calls grub in order to do the booting after being called by the machine's BIOS). To do that device (hd0) /dev/sda root (hd0,0) setup (hd0) repeat for the second disk (e.g. /dev/sdb) I typically setup the bios to boot from each drive in order, so when disk one is missing it boots from disk 2, and so on. Unless you using more redundancy than RAID 5 on your disks you really on need a mirrored partition on disk 1 2. If more than one disk goes you RAID is hosed anyway so either only disk 1 or 2, or one without the boot sector, goes and you can boot from the good drive. The I do for i in b c d e f do grub-install /dev/sd$i done When I replace disk 1, I have to manually (boot from rescue or Ubuntu) install grub on /dev/sda, and create the partitions. Why do you have to manually boot? If you've got the MBR (as I showed above) on both disk 1 and 2 and you set the BIOS to boot from the appropriate disk when the other fails and (assuming you've replaced the failed disk), partition (as root) the second drive using parted or fdisk, using mdadm to rebuild add the replacement drive, rebuild the mirror and you're done. # install grub grub-install /dev/sda # duplicate partition table from another disk sfdisk -d /dev/sdb | sfdisk /dev/sda # add partitions back to the arrays mdadm --manage --add /dev/md0 /dev/sda1 mdadm --manage --add /dev/md1 /dev/sda2 You can do this without a separate manual boot, just make sure you have sfdisk installed on your system. Regards, Daniel -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org The C Shore: http://www.wightman.ca/~cshore signature.asc Description: PGP signature
Re: Xorg cannot use non-native resolutions
On Wed, 3 Sep 2008 15:50:49 +0200 David Banks [EMAIL PROTECTED] wrote: [massive list of mode details, some with sensible attributes, some all zeroes: see below for example] (WW) I810(0): config file hsync range 51.4286-56.8421kHz not within DDC hsync ranges. (II) I810(0): Generic Monitor: Using hsync range of 51.43-56.84 kHz I'd have to see your full logfile to be sure but it looks to me like it is not autodetecting your monitor due to DDC not working with the laptop screen. Have you tried setting horizontal and vertical sync? E.g. I think this would specifically give you 640x480, 800x600, 1024x768 and 1440x900: Section Monitor Identifier Configured Monitor HorizSync 28.8,36,46.1,54 VertRefresh 60 EndSection Although the 'extra' time for some timing single might make that fail or, which should work for anything between 640x480 and 1440x900 Section Monitor Identifier Configured Monitor HorizSync 28.8-56.84 VertRefresh 60 EndSection Be ready to kill X quickly if those timings are wrong (unless you monitor is just smart and refuses to use rates that it can't handle). DISCLAIMER: I don't have a laptop; I don't know if these setting can cause permanent damage. You have been warned. Regards, Daniel -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org The C Shore: http://www.wightman.ca/~cshore signature.asc Description: PGP signature
Re: recommendations for CD burning.
On Tue, 2 Sep 2008 07:55:19 + [EMAIL PROTECTED] wrote: Folk, The CD FAQ mentions K3b, X-CD-Roast and a few other GUI frontends. Judging by wikipedia, K3b is the most advanced. Can anyone recommend one of these for use under Xfce4. I'm more concerned for efficient functionality than for sophistication. I prefer k3b myself, but if you're using lenny there is now xfburn in the archive which is an xfce-lib based burning app. It's not nearly as advance though. -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org The C Shore: http://www.wightman.ca/~cshore signature.asc Description: PGP signature
Re: Question about Raid/Boot
On Tue, 2 Sep 2008 15:12:18 -0400 Tom Allison [EMAIL PROTECTED] wrote: On 9/1/08, Claudius Hubig [EMAIL PROTECTED] wrote: Tom Allison [EMAIL PROTECTED] wrote: From what I recall reading the logs at startup if I put my boot system on a software raid 1 it appears to boot from disk #1 then mount the RAID and finish from there. Am I correct so far? The ultimate question is this: If I have a disk failure on a boot/raid1 system (/dev/hda), can I simply replace that dead disk with a new one (empty, formated, partition, doesn't matter?) and it will magically boot from the available disk (/dev/hdb) and fix itself? Or is there more to this? I got something very similiar to your setup and have to say - no, it won't. You'll have to make your BIOS boot from the second disk (and have to install grub in the MBR before) or use a rescue disk to boot the system. Then, adjust the partitions on the new drive and add them to your raid. You can, however, configure your BIOS that it tries to boot from every available hard disk and switches to your second disk when the first one fails. Nonetheless, this disk needs a valid MBR as well. Greetings, Claudius I'm going to sound dumb, but isn't that just marking it bootable and then running grub on the second disk to set the grup boot files in place on the second disk? Well, RAID1 mirrors the drive so /boot lives on both drives, but grub legacy (grub2 is out, but not the default yet) doesn't understand multidisk devices (e.g. RAID) so it just reads the disk as if it were a regular partition rather than RAID. Also, because it doesn't understand RAID, you have to manually run GRUB for both drives in order to update the the MBR (the MBR is the master boot record, and in the same sector as the partition tables and is the code that calls grub in order to do the booting after being called by the machine's BIOS). To do that device (hd0) /dev/sda root (hd0,0) setup (hd0) repeat for the second disk (e.g. /dev/sdb) sda / sdb are scsi disks hda / hdb / hdc /hdd are ide disks When using IDE RAID you should have the two drives on different controllers (i.e. different cables), which would usually give you /dev/hda and /dev/hdc, assuming you configure the drives as master. The reason for this is that drive failure on an IDE controller usually takes out both drives on the controller so RAID doesn't save you. If you have them on separate controllers, even if you system dies because the drive went, the second drive is still valid. If you have them on the same controller (cable) you can end up with neither drive containing valid drive, which means the RAID didn't help you. Regards, Daniel -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org The C Shore: http://www.wightman.ca/~cshore signature.asc Description: PGP signature
Re: Do Debian's users care about the AGPL?
On Tue, 2 Sep 2008 17:52:57 -0500 Jordi GutiƩrrez Hermoso [EMAIL PROTECTED] wrote: Sometimes I get the feeling that Debian's users and Debian's developers live in separate worlds. There's currently a long thread in d-legal over the AGPL. One DD has expressed reservations towards the AGPL to the point where she has decided not to package a certain program covered by the AGPL. Do Debian's users care about this sort of legal geekery or is everything fine as long as AGPLed programs go into non-free? Curious, - Jordi G. H. Why should it be non-free? It's not, it should be in main! -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org The C Shore: http://www.wightman.ca/~cshore signature.asc Description: PGP signature
Re: website saver for linux?
On Mon, 01 Sep 2008 14:53:38 +0530 Sabarish Balagopal [EMAIL PROTECTED] wrote: Ron Johnson wrote: On 08/31/08 11:02, Philip wrote: I'm looking for a tool which spiders a site, and downloads every page in the domain that it finds linked from a particular url and linked urls in the domain, creating a local site that can be manipulated offline as static html. Is there such a tool for linux (better still debian)? $ wget -m -k -L -np http://www.example.com I run this every week on a certain site that I want to archive the contents of. The first time you run it, the whole site gets mirrored. Each subsequent run, only new and modified pages are fetched. For interests sake you might also want to look at htttrack(sp?) Regards, Daniel -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org The C Shore: http://www.wightman.ca/~cshore signature.asc Description: PGP signature
Exim4 SMTP direct send, blocked incoming port 25
Is it possible to use exim4 to send mail if port 25 is blocked by the ISP (incoming)? I can receive mail by using easyDNS and getting them to forward my mail to another port, but I'm not sure outgoing will work. I tried doing that a while back and I had issues, but there was also list trouble at the time, so I don't know if it was a misconfiguration, the blocked port, or external misconfiguration that was the problem. Rather than mess around with my settings before having answers, I want to find some things out in advance this time. Oh yes, I'm using dynamic DNS, and at that time I had and SPF TXT record on the name server. Regards, Daniel -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org The C Shore: http://www.wightman.ca/~cshore signature.asc Description: PGP signature
[SOLVED] Re: Overriding font names
On Sat, 16 Aug 2008 22:19:50 +0200 Florian Kulzer [EMAIL PROTECTED] wrote: On Fri, Aug 15, 2008 at 23:51:00 -0400, Daniel Dickinson wrote: Is there any way to override 'Times' and 'Helvetica' with fonts of my choice when Firefox tries to print 'Times' or 'Helvetica', without overriding fonts selections for every site. It used to be possible to influence Mozilla's font selection with the font.x11.rejectfontpattern setting: http://www.mozilla.org/unix/customizing.html#prefs Well that probably works, but I followed some links and ended up with the information I needed to disable the use of X11 screen fonts that are bitmapped (like Helvetica and Times) and thus scale badly (since by default scaling is used) By doing cd /etc/fonts/conf.d sudo ln -s ../conf.avail/70-no-bitmaps.conf one achieves the goal of excluding bitmap fonts, which is good because they don't scale when you try to print. I'm not sure why this isn't done by default. Please CC me; I am not subscribed to the list. -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org No more sea shells: Daniel's Webloghttp://cshore.wordpress.com signature.asc Description: PGP signature
Overriding font names
Is there any way to override 'Times' and 'Helvetica' with fonts of my choice when Firefox tries to print 'Times' or 'Helvetica', without overriding fonts selections for every site. I have a stupid site that has hard-coded Helvetica as the font name, which means it prints horribly. Also, is there a way to override font selections for a specific site rather than globally? Please CC me; I am not subscribed to the list. Regards, Daniel -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org No more sea shells: Daniel's Webloghttp://cshore.wordpress.com signature.asc Description: PGP signature
Re: Read-only root (/) except /etc
On Sun, 13 Apr 2008 12:04:31 -0400 Douglas A. Tutty [EMAIL PROTECTED] wrote: On Sun, Apr 13, 2008 at 03:12:08PM +, [EMAIL PROTECTED] wrote: I don't *need* things read-only. I would just rather not *need* to have my root filesystem read write. I gave some reasons above for why I would like to be able to crontrol if and when the root filesystem is subject to writes.. However, consider: as things stand now, only root can alter files which don't have write permissions for others. Sure, if the filesystem were mounted ro then root couldn't write to the files either (or delete files). However, root could always remount / rw. Therefore there is no security in a system once root is compromised whatever you do. If root is not compromised, then standard unix permission scheme will provide the security. Thank you for that explanation. This is exactly what I was thinking about, and thus, for my purposes I don't need read-only root. Digby makes some interesting suggestions as to why one might want ro root that are more interesting, but they don't apply to me. Regards, Daniel -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org No more sea shells: Daniel's Webloghttp://cshore.wordpress.com signature.asc Description: PGP signature
Read-only root (/) except /etc
Is it possible to have /etc on a separate partition from / (root) so that root can be read-only while /etc is read-write? Regards, Daniel -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org No more sea shells: Daniel's Webloghttp://cshore.wordpress.com signature.asc Description: PGP signature
Re: UPS question
On Sun, 27 Jan 2008 22:11:57 -0500 Jonathan Jacobs [EMAIL PROTECTED] wrote: I have a new ups and it came with a software disc with the following Unix software...AIX, Freebsd, HP, Linux, SCO, Solarus. Which one do I use and or Is there software on the Synaptic Package Manager that I should look for? What version of debian are you using? Lenny's GNOME has built-in support for my USB UPS (APC BackUPS) which just automagically works, so I no longer have to mess with nut (although nut would be useful for more complicated setups such as powering multiple computers off the same ups, or if your ups is not supported). I believe, though I am not sure, that the new ups support in gnome is part of the new acpi support. Regards, Daniel -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org No more sea shells: Daniel's Webloghttp://cshore.wordpress.com signature.asc Description: PGP signature
Re: Need to configure manually PPPoE,PPP,pppoeconf does not work for me.
On Sun, 27 Jan 2008 12:22:10 -0800 (PST) alexandre suzuki [EMAIL PROTECTED] wrote: pppoeconf is useless for me,when I run it detects eth0 but after some checks it outputs: Sorry,I scanned 1 interface but the access concentrator of your provider did not respond.Please check your network and modem cables.Another reason for the scan failure may also be another running pppoe process which controls the modem. I have a SpeedTouch ADSL modem connected through Ethernet and the modem is configured through a webbrowser interface and when I test using this interface the connectivity all is OK and the 4 LEDs of the modem are green: Erm, is the dsl modem a combination modem/router (fairly common these days) and therefore you don't need pppoe, just a lan connection (if this is the case just use network-admin to use dhcp on the network card to which the modem is attached; it should just pick up the ip supplied by the router). Regards, Daniel -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org No more sea shells: Daniel's Webloghttp://cshore.wordpress.com signature.asc Description: PGP signature
Re: Using aliases or functions in bash script
On Sat, 26 Jan 2008 17:12:56 + Tzafrir Cohen [EMAIL PROTECTED] wrote: On Thu, Jan 24, 2008 at 03:55:51AM +, T o n g wrote: I'm wondering if you have read my OP or not. Read it again pls. Yes I have. Use functions. Don't use aliases. On command-line: function dt () { push +$1 } In test.sh #!/bin/bash pwd $(dt $(pwd)) cd /tmp popd pwd ./test.sh Line 2 errors out. I imagine the same thing happens with his attempt to use his bashrc-defined functions in a script without defining them again in the script. IIUC he wants to know how to use already defined functions/aliases in a shell script. A possible way around would be to define the functions in .bashrc and then source .bashrc, but I am curious myself as to how one would achieve the other (using existing functions rather then defining them again in a new script). Regards, Daniel -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org No more sea shells: Daniel's Webloghttp://cshore.wordpress.com signature.asc Description: PGP signature
ffmpeg and mpeg2video codec
Anyone know what happened to the mpeg2video video codec in the lenny version of ffmpeg? It seems to have been removed. Is it a patent issue, and if so will it eventually also effect players such as vlc, mplayer and xine? Regards, Daniel -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org No more sea shells: Daniel's Webloghttp://cshore.wordpress.com signature.asc Description: PGP signature
Re: Using aliases or functions in bash script
On Sat, 26 Jan 2008 18:03:32 + Tzafrir Cohen [EMAIL PROTECTED] wrote: On Sat, Jan 26, 2008 at 12:44:42PM -0500, Daniel Dickinson wrote: On Sat, 26 Jan 2008 17:12:56 + Tzafrir Cohen [EMAIL PROTECTED] wrote: On Thu, Jan 24, 2008 at 03:55:51AM +, T o n g wrote: I'm wondering if you have read my OP or not. Read it again pls. Yes I have. Use functions. Don't use aliases. On command-line: function dt () { push +$1 And this should do? Is this supposed to be pushd? Why the '+'? pushd +1? Erm, rather pushd +$1 I just copied the example function the original poster gave, since it is his question. } In test.sh #!/bin/bash pwd $(dt $(pwd)) cd /tmp popd pwd ./test.sh Line 2 errors out. And those error are? ./test.sh: line 4: dt: command not found ./test.sh: line 6: popd: directory stack empty However, the point isn't the particular script, that was just an quick example I cooked up to demonstrate the original poster's problem. A function defined in the current shell is not available to a script executed from that shell (perhaps it would with sh test.sh, I didn't test that). IOW I decided to see what his problem was rather than just shooting in the dark. Regards, Daniel -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org No more sea shells: Daniel's Webloghttp://cshore.wordpress.com signature.asc Description: PGP signature
Re: [OT] Using aliases or functions in bash script
On Sat, 26 Jan 2008 21:40:12 + (UTC) T o n g [EMAIL PROTECTED] wrote: On Sat, 26 Jan 2008 13:32:57 -0800, Andrew Sackville-West wrote: I'm wondering if you have read my OP or not. Read it again pls. source ~/.bashrc Guess that I am having bad lucks now, having two people replied without even reading my question, and the two replies are the only replies that I get... how does this not answer your question? Ken suggests that you need to source .bashrc. That makes sense to me. . . Sigh Read it again pls, my OP, the last line. 3rd now. Ok, here's a question (as I missed the very first message): what are you trying to accomplish? If you just want to use functions that are in .bashrc in some other script then you can define the function in .bashrc and then source ~/.bashrc so, .bashrc has: ... function dt () { pushd +$1 } ... and other-script.sh has #!/bin/bash source ~/.bashrc pwd $(dt $(pwd)) cd /tmp popd pwd That will execute function dt (which is a pushd) with the current working directory, the function dt being the one which was defined in .bashrc Now, for the alias you could define a function that does whatever it is want the alias to do, then create an alias that executes the function. Then in other-script.sh you either recreate the alias (if for some reason you really have to have an alias), or you can execute the function as with dt. If there is more to it than that you need to try doing your OP over again, only stating your problem more clearly. Regards, Daniel -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org No more sea shells: Daniel's Webloghttp://cshore.wordpress.com signature.asc Description: PGP signature
Re: which to use: ext3, JFS, XFS, ReiserFS? [Was: new user question:
On Fri, 18 Jan 2008 17:32:25 -0500 Allan Wind [EMAIL PROTECTED] wrote: On 2008-01-18T14:05:25-0800, Alvin Oga wrote: (8) Is there any advantage to using ext2 for /boot rather than ext3? no to either /boot should not be a single partition by itself.. it is part of /bin, /lib, /sbin /etc ... which is the rootfs even if /boot is fine, if your rootfs is corrupt, you can't boot so there is no point to separating /boot ... we'll leave network boot, boooting off cd, and booting off usb stick for another ballgame Your analysis is correct. The only reason for having /boot on a separate partition is as a work-around for the (historical) 1024 cylinders / 504 MB limits of IDE. Actually it is still useful for cases where the root file system is not available until the initrd does it's magic, such as in the case of an encryped LVM volume with everything except /boot. Regards, Daniel -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org No more sea shells: Daniel's Webloghttp://cshore.wordpress.com signature.asc Description: PGP signature
Re: Raid 1 action on failed disk?
On Wednesday 19 December 2007 07:50, S Scharf wrote: I am running a Debian 3.1 (Sarge) server with Raid 1 mirroring on the disk drive. Recently, one of the disks failed. The system sent root a proper e-mail notification of the failure. Unfortunately, the system seemed to continue to try to use the disk and operations slowed to the point that the only thing I could do was to power the system down and physically remove the bad drive. I had thought to check the mdadm status and remove the failed drive from the array by command. My question is shouldn't the Raid system have removed the drive for me after it had failed? Why was the system still trying to do operations on it after noticing the failure? Was (is) there something wrong with my raid configuration? I'm assuming IDE drives, since this doesn't sound like a SCSI scenario. IDE, is well, 'not Scottish'[1] Even if your software RAID is no longer using the device it doesn't mean that the device won't try to communicate with your system and vice versa (at a hardware level). If you've got another device on the same cable as the failed drive, if the failed drive may try to respond. Either way you get issues. So no, likely there is nothing wrong your raid configuration. I'd suggest scsi drives and, better yet, hardware scsi raid if you can afford them, but with standard ide components there's not much to be done. hdparm _might_ allow you to detach the failed device from the ide bus, but I'm not really sure. [1] There a saying, If it's not Scottish, it's cap!. Of course as I am not, I don't believe it. -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org No more sea shells: Daniel's Webloghttp://cshore.wordpress.com pgpuvbINoRnHJ.pgp Description: PGP signature
Re: debian dvd setup question
On Thursday 13 December 2007 02:35, Jonathan Kaye wrote: Jude DaShiell wrote: I have a combo drive on this machine that's supposed to be able to read dvd's. I made a dvd using wodim on ubuntu and checked the dvd's directory structure after that was done and so far as I can tell on ubuntu machine all file structure seems present and correct. However as soon as that DVD gets put into the Debian box, the machine fails to detect any media in the drive. This is latest unstable debian where this is happening. do I need to make a device for the DVD on the debian box, if so what should the code be to do that? Also, are you using dual layer media and if so is the dvd-rom able to read it, or dvd+ or dvd- in a dvd-rom that only handles one or the other? Regards, Daniel -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org No more sea shells: Daniel's Webloghttp://cshore.wordpress.com pgpA7EhxUYem2.pgp Description: PGP signature
Re: Current status of cdrecord under linux 2.6.8
On Fri, Sep 09, 2005 at 03:29:21PM -0600, Paul E Condon wrote: I'm running Sarge/stable. Last week I installed the Linux 2.6 kernel. Yesterday I tried to burn a CD and failed. I did some poking around, read the man pages, etc., and became convinced that I would not resolve this on my own. Does cdrecord work with Linux 2.6 in Etch? Has the interface issue that is claimed to have started with Linux 2.6.8 been resolved? With what version of Linux? Is there a summary of the current status of cdrecord/Linux compatibility somewhere on the web? Are you using udev? What are the permissions on your cd writer device? Does it works as root but not a regular user or not at all? Do you have the appropriate module loaded? signature.asc Description: Digital signature