Re: argh, NIS!
In article <[EMAIL PROTECTED]>, Miquel van Smoorenburg <[EMAIL PROTECTED]> wrote: >Perhaps you have setup your ethernet / localhost interfaces wrong? NIS >depends on broadcasts.. If the broadcast address is wrong, it will not >work. Check /etc/init.d/network. I thought that using broadcasting to find ypserver was considered a security hazard, and it was better to explicitly specify the server location? (ie, that this is what NIS+, and hence NYS was going to require)? H course, I've not read much documenation since I got my system setup nearly 2 years ago... perhaps time for a refresher... mrc -- Mike CastleLife is like a clock: You can work constantly [EMAIL PROTECTED] and be right all the time, or not work at all and be right at least twice a day. -- mrc We are all of us living in the shadow of Manhattan. -- Watchmen
Re: /home as a symlink?
You could run into issues where the value of 'pwd' does not equal the value of 'readlink -f .'. For myself, I use autofs with autohome. It's been a while since I've looked at the details, but I believe it simply does with bind mount described elsewhere in this thread. My main machines happen to be down at the moment, so I can't provide a working example. Outside of that, I would update /etc/passwd to point to the new location instead. mrc
Re: Most maintainable way to install perl modules on Debian sysetms
I would not be surprised if the version number indicated the module in not Pure Perl, but rather includes some C source code. Which would then need to be compiled specifically for the version of Perl installed. mrc
Re: Beowulf gone?
Down to it's basic, rendering videos is nothing more than a simple map-reduce, partioning a workload in a bunch of identical bits of processing. That could be done with N machines and a few simple shell scripts. Not really any need for anything fancy. What the fancier software gives you is stuff like automatic retries, fault tolerance, fancy ways of tracking the process of a job, and so on. But they likely require more management to maintain. Other reasons for a cluster might be web serving. You want to be able to handle some amount of queries per second with a reasonable latency for most of those queries. That may require you to scale in different ways. You need more machines to handle serving up the web content, a bit more to handle the various types of processing that needs to be done, some sort of scaling solution for your data store. Still parallelism, but each thing happening in parallel is likely a different type of task. A simple thing like Puppet or Chef could help you keep your machines in order. Maybe you don't need the computational power of a bunch of CPUs, but you need all of the memory for something? Maybe you need a bunch of machines with 128G of ram to look like a single machine with 1P of ram. So you need to have something specialized for moving bits around efficiently (either code to the data, or data to the code). Maybe you want to have different types of pipelines that do completely different things, and you want to make efficient use of the machinery you have. Say, you're doing both of the above, and during some hours of the day, you need more processing power to go towards web serving, you take away resources from you map-reduce. During off hours, you can let the MR have more processing power. Now you're dynamically trading off resources, and this is where some sort of clustering management might become useful. There is not likely to be any one solution for everyone. So no longer having anything exactly like Beowulf or some sort of direct replacement is not suprising. Likely stuff was learned from Beowulf and friends. Some things worked well, some things no, some things were never used, some things were needed. Folks take that experience and build new tools and systems. Old ones languish. And no direct replacement exists. Likely you need to break down what you really want to do, then look to see what solutions might work best for you, and experiment with the various ones, and see which one you like best. mrc
Re: Beowulf gone?
I took rendering video to be an immediate example, but not necessarily the only thing of interest.
Re: can I use ext4 now?
On Wed, Jul 29, 2009 at 1:15 PM, Rick Pasotto wrote: > > mount -t ext4 -o nodelalloc /dev/sdc1 /s3 Leave off the -t ext4 and it should mount, though as ext4dev. Or use -t ext4dev. There are some known bugs with the kernel you're using, hence all of the recommendations for newer kernels (that also switch from ext4dev to ext4). However, if you just want to play with it, you could do that. Personally, I have about 4TB in ext4dev, but it's all stuff that, if I lost it, I'd be annoyed, but not loose anything important. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: can I use ext4 now?
On Thu, Jul 30, 2009 at 10:19 AM, Tim Tebbit wrote: > you should mount ext4dev filesystems using -o nodelalloc and only use > freshly created filesystems using "mke2fs -t ext4dev Fortunately, the OP was doing exactly this. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: What is the best setup to compute in the burning hot sun?
On Fri, Jul 31, 2009 at 11:39 PM, Tyler MacDonald wrote: > My yard extends farther than I can piss - but not farther than I can run an > extension cord. It has a nice fir tree near that back. Seems like a nice > place to hang out and program, if I can see the screen clearly and not melt > my interface to the digial universe. I'll bring a jug of ice cold water and > always keep another chilling in the fridge to keep my personal epidermal > cooling system operational. Don't forget, with the extension cord, you can put a fridge out there by you as well. You might look at some anti glare screens. May make it harder to pair program if you have someone come over. If you haven't already, be sure to install some software to monitor the internal temps, just so you can get a feel for what range they run out during the day and such. And keep the vents on the machine clear; don't set it on towels and depending on how dusty, blowing out with air every so often. (Then again, with two cats, our laptops have more problems inside.) mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: how to start a delayed shutdown over ssh and disconnect immediately?
On Wed, Aug 12, 2009 at 9:52 AM, David Christensen wrote: > > I don't see a time delay option for poweroff. I need a time delay to > solve chicken and egg problems with shared folders, name resolution, > etc. -- e.g. I need to tell all the machines to shutdown while they're > all still running. If the wrong machine shutdowns down prematurely, the > overall shutdown script fails and I end up with some machines up and > some machines down. It seems to me that THIS is the problem that you should be solving, not how to time your shutdown to be just right. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: df/du shows big difference of used space
On Wed, Sep 9, 2009 at 9:56 AM, niclasw wrote: > I have a 1500G hard drive, encrypted. > Different commands shows different usage: > > As root, from root directory: > df -m > Filesystem 1M-blocks Used Available Use% Mounted > on > /dev/mapper/d 1390840 128452535665 98% / > > That is 1284G used of 1391G which would be like 92%! > Not 98% > Why does it say 98% Traditionally, 5% of every file system is reserved for root to do with as it pleases. In some filesystem (particularly older ones), all sorts of things could go wonky whenever the system got 100% full. Depending on the filesystem you're using, you can view or change that reservation, though you may not really want to. > du -sh * > adds up to about 933G > > So the question is why the big difference of used space between df and du > > du shows 933G used > df shows 1284G used > > Can anyone explain the big difference, 350G, of used disk space between du > and df commands? Two things. First, your du -sh * misses . files/directories. Depending on what's going on, that could be significant. I always use [du -sh .] myself. Well, strictly speaking, the . isn't necessary (at least with GNU df, not sure about others any more), but my fingers have been using that for years and it's ingrained. Second, on unix-like systems, it's possible to have a file open and deleted. It's common to do that with temp files, for instance. It could be that some process is running that still has a large file open, but there's no corresponding file name to find for du to find and account for, but df knows is still taking up space. Tools like lsof may help in cases like that. It has options to show deleted files. Though, personally, I tend to do something like: ls -l /proc/*/fd/* | grep deleted Mostly, because I learned that before lsof was written and I've never really bothered to learn the ins and outs of lsof. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Further to fast booting for a debian system - changing getty to rungetty
On Thu, Oct 8, 2009 at 8:21 AM, Lisi wrote: > *So - how do I change my getty to rungetty?* rungetty takes a different set of command line options than getty. >From reading the man page, it looks like you only need one argument: the tty. This doesn't seem too surprising since it looks like rungetty isn't designed to run on serial lines, so it doesn't need to know about linespeed. So you need to make your entries look like: 1:2345:respawn:/sbin/rungetty tty1 Also, when I ran just plain rungetty from the command line, it dropped a usage line into /var/log/auth.log I'm not sure if you checked all of your log files, but I tend to do: cd /var/log ls -latr just to see what was last modified, as messages get logged to a variety of places. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: [OT] Terminal Control Language (not unix tcl) ... any Specification or lib?
On Thu, Feb 12, 2009 at 8:04 AM, Martin wrote: > learn the proprietary TCL[1] (not the unix tcl) which seems to come > from Verifone[2] internal programming languages. I used to do development on these devices 10+ years ago, I think for Tranz 330, 340 and 380, for precisely this type of operation. Looks like you're using much newer hardware. That said, when last I looked (and this was 10+ years ago), Verifone had no interest in supporting non-MS platforms for their development tools. All that we had was just the software to compile and load the software onto the device. It was a DOS command line program that worked only over the serial port. I don't remember if the cable were commonly available ones (my GF worked at RadioShack at the time and I don't remember ever seeing them in the store, and I hung out there quite a bit). Though, of course, one could probably always make one. I think I got the software to work once or twice under DOSEMU at the time, but since I had NT boxes as well, I just used those. I would suspect that running the CLI stuff under WINE these days might actually work fairly well. The language itself isn't that hard. Think of it as a language that looks like assembler, but acts like awk. It's terse, with a bunch of one letter commands, usually one per line, but operates on records separated into fields. For how we were using it, it worked quite well. Your biggest concern is how much memory you have on the device (the biggest differences between the models). We usually just aimed for the lowest supported hardware, trying to keep the app small, and just used the rest of the memory to store the clockin/clockout records. It looks like you can find the language manuals online at http://www.verifone.com/technical-support.aspx . You can at least look to see if you want to go down that route. >From reading that wiki page, it looks like Verifone might have more interest in supporting Linux, since they're using it inside the machines now. But I'm not sure about the availability of tools. I think when I moved on from that job, Verifone was trying to ramp down the sales of the software. I think you'd have to talk to your current vendor about getting the appropriate software. It's not obvious to me how they're connected to Verifone and might be using TCL. Assuming the old tcload stuff would even work on this new fangled device, you might be able to find someone who is willing to pass on their older license for something cheaper than what you can get it from PCS. But I don't think there ever has been, or ever will be, an open source solution to this very niche language. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: [OT] Gmail & my replies to this list
On Mon, Feb 23, 2009 at 2:41 PM, Ken Teague wrote: > Ever since I've switched to using Gmail (setup as my outbound SMTP > server as well), I don't see my replies to this list. When I subscribed > to this list, I did so with my @pobox.com alias. When I switched to > Gmail, I updated my pobox.com account to forward e-mail to my Gmail > account. What gives? Why can't I see the replies I send? Others seem > to see them, as I've seen people on this respond to my responses. I imagine that GMail is doing duplication detection. It knows you already have that message under Sent Mail, so it doesn't expose it again when it comes back from the list. I'm not sure how much detection it's doing. How much modification can it handle before it fails to detect the duplication. Footers from list. Message-id munging. That kind of stuff. Some other variety of signals. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: [OT] Gmail & my replies to this list
On Mon, Feb 23, 2009 at 3:57 PM, Patrick Wiseman wrote: > > What I find is that original messages to the list do not show up in my > inbox until someone replies, but that replies show up at the > appropriate point in the thread. The message is still unread, just not associated with the Inbox label. If you go into Sent Mail, you'll find the message there, unread. When a reply comes in, the Inbox label is associated with the new message, not the whole thread. But it displays it as an entire thread. You should be able to show this by creating a new label, say 'testing'. Send a message to a list you subscribe to. As soon as you send, go into Sent Mail, and apply that new label. When you get a response, that new message should show up under both labels, even though you don't have a filter to go to apply that label. That is, the new message shows up in the testing label because the original message has that label associated with it. The original messages shows up in the Inbox because the new message has that label associated with it. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: how to find why packages are automatically installed?
On Tue, Feb 24, 2009 at 11:39 AM, Michael M. Moore wrote: > > It's just that, in this case, I actually wanted aptitude to wipe half > my system, and I didn't realize I was preventing that by marking a key > package as a keeper. I solved this problem by doing it this way: I created a few meta-packages that just list the deps that I really want. They go: mrc-desktop mrc-laptop mrc-common Then host machine specific packages that depend on desktop/laptop as appropriate, and the corresponding kernels. Since I happen to use dselect (it was the first one I used and so I've stuck with it)., I would go in and do a normal upgrade. After that was done, and everything was up to date, I would do: [S]elect Scroll down to [Up to date installed packages] and use the <_> to schedule it to purge EVERYTHING off of my system. I then find the host specific package and reselect it, thus bringing back in just the stuff I want, and it's deps. Then I do an install. Sometimes I decide I don't want packages any more, so I remove them from my personal list of apps, and away it goes. This is much more interesting after a full install, where a good number of the packages then disappear. This is also useful if I did an apt-get install on a package to try it out. Sometimes I'll pull in a whole bunch of different tools to try things out, then later decide I don't like any of them. Ones I want to keep, I'll add to the appropriate metapackage. Otherwise, they'll get cleaned out the next time I do the above. I assume I could do similar with aptitude, but I've not yet bothered to learn it. I do find that keeping a metapackage around that lists what I want is nice for rebuilds though. I think it's easier than saving off selections. One thing I have run across that you might want to be aware of while you're cleaning out unused packages: Sometimes packages are broken in that multiple packages will use the same config files. If you remove one package, it takes the config files with it, breaking the other. So far the only one I've personally had that happen with is the ldap client stuff, and the bug about that has been open for a few years now. But, I wouldn't be surprised to find other packages might have similar issues. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: need help on shell programming
On Thu, Feb 26, 2009 at 4:29 PM, Michael Pobega wrote: > On Thu, Feb 26, 2009 at 04:54:28PM -0500, Long Wind wrote: >> I want a script. >> The script run a command, wait one minute, >> then run the command again, wait one minute again >> ... again and again ... >> >> Thanks! >> >> > > Sounds like a job for Cron! It depends on how long the job takes, and what the requirements are. They did seem to imply they want to wait 60 seconds between the end of one run to the start of the next one, as opposed to running every 60 seconds regardless. If the job takes 45 seconds, it could be a pretty substantial semantic difference. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: finding similar files
similarity-tester looks promising. Without much research, it looks like it might be a slightly older version of: http://www.cs.vu.nl/~dick/sim.html (if it turns out that it is, maybe you can poke the maintainer into doing an upgrade?) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: finding similar files
On Fri, Feb 27, 2009 at 5:09 PM, wrote: > What kind of an upgrade are you looking for? Upgrade on the Debian side. It looks like the Debian package might be a version of two behind. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: lvm on an external enclosure?
On Fri, Mar 20, 2009 at 2:04 PM, Boyd Stephen Smith Jr. wrote: > You *may* have to run 'vgscan && vgchange -ay', but that should be enough. I would imagine that one could probably somewhat automated with udev. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Delete 4 million files
On Wed, Mar 25, 2009 at 2:49 PM, Emanoil Kotsev wrote: > Just curious - why would you use sort before deleting something? You wouldn't, that was the point. Someone was trying to turn that OFF for find; but find doesn't do that, so there was nothing to turn off. On the other hand, ls and the shells both sort by default, so there may have been some confusion there. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: DVD Region Codes and Debian multimedia software
On Fri, Mar 27, 2009 at 9:19 AM, Bret Busby wrote: > So, it appears that this proprietary and restrictive Regions Code thing is > absolute, and cannot be got around, and I apparently just have to accept > that the video companies don't want us to watch their DVD's here in > Australia. If you have the space in your machine, one option is to have multiple DVD drives with different region settings. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Debian's glacial movement--a rant
On Mon, Apr 6, 2009 at 11:24 AM, Michael Biebl wrote: > Do you think the bug report was not correctly handled by > the maintainer? Perhaps the GC user community needs to petition the maintainer to explain the importance of this particular bug and that it would be worth while at least attempting the patch this particular fix into the current version rather than waiting for 2.9 to migrate to stable. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: xterm font sizes choices?
On Tue, Apr 7, 2009 at 1:31 PM, Zhengquan Zhang wrote: > I put in my .Xdefauts > XTerm*font:10x20 Are you sure your .Xdefaults is being loaded? Depending on how you set things up, it's mere existence is not always sufficient. Actually, in looking in the files under /etc/X11, it looks like it loads .Xresources rather than .Xdefaults. (Unless I'm completely misunderstanding how .Xdefaults works). Does the following command give you the information you think it should: xrdb -query mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Advice on raid/lvm
On Wed, Apr 8, 2009 at 7:34 AM, Kelly Harding wrote: > > Aiming to get a couple of 1Tb drives to migrate the 3x500Gb RAID5 > array to a RAID1 and use two of the 500Gb drives for thhe new boot > drive with LVM (With /boot / /home and so on on it). Before you do this, you may want to some serious investigation about failure modes. The article at http://blogs.zdnet.com/storage/?p=162 was just the first example I looked at after searching for [raid 5 terabyte]. Essentially, with today's larger disks, the time it takes to do a rebuild is sufficiently long enough that the risk of a second drive failure during the rebuild is high enough to be troublesome. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: More Problems configuring sound card with alsa on debian
I thought the official word was that alsaconf was no longer intended to be part of the distribution and you really shouldn't be using it at all: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=509650 On Thu, Apr 9, 2009 at 2:45 PM, Nigel Henry wrote: > On Thursday 09 April 2009 22:30, Dancing Fingers wrote: >> On Apr 8, 12:00 pm, Nigel Henry wrote: >> >> Many thanks Nigel for your eply. >> >> > On Wednesday 08 April 2009 14:56, Dancing Fingers wrote: >> > > Hi guys, >> > > I'm also having an ALSA problem. I put a SoundBlaster card in my >> > > Lenny box. If I run alsaconf every time I boot and everything works >> > > fine. What I don't understand is why the system resets the conf >> > > files every time it boots? >> > > Thanks. >> > > Chris >> > >> > Hi Chris. >> > >> > I assume there is an onboard soundcard on the machine as well. What may >> > be happening when you boot up is that both soundcards are being detected, >> > and the onboard soundcard is being set as card0, and the audigy one as >> > card1. Most audio apps use card0 as default, so you may find that >> > plugging the speakers into the onboard soundcard (if there is one) >> > produces sound. >> > >> > To check this out, reboot, then run the following command before running >> > alsaconf, and post the results. >> > >> > cat /proc/asound/cards >> >> This is what I get: >> 0 [V8235 ]: VIA8233 - VIA 8235 >> VIA 8235 with CMI9761A+ at 0xd800, irq 22 >> >> > Then run alsaconf, and set up the audigy card, then run the command above >> > again, and post the results. >> > >> > If what I say above is the case, and you want the audigy soundblaster to >> > be set as card0 (the default), you can add a couple of lines to the >> > bottom of: to /etc/modprobe.d/alsa-base >> > >> > options snd-emu10k1 index=0 >> > options snd- index=1 >> >> What I tried was: >> >> options snd-emu10k1 index=0 >> options snd-V8235 index=1 > > Here you want the following options lines. > > options snd-emu10k1 index=0 > options snd-via82xx index=1 > > Change your current options lines in /etc/modprobe.d/alsa-base to those above, > then reboot, and post the output of, cat /proc/asound/cards. > > The sounds may now be working, but you may have to access alsamixer on the CLI > (KDE's Konsole, or Gnomes Terminal), to see if some controls are muted, and > unmute them. The M key does the mute/unmute. On my Audigy2 soundblaster card, > controls, "Master", "PCM", "Front", need their sliders pushed up to get sound > output. Check also the "Audigy A" control. Mine needs to be muted to get > analog output, and sounds. That is on Lenny. > > Let's get the sounds working, eh!! > > Nigel. > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > > -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: More Problems configuring sound card with alsa on debian
[Apologies for two faux pas: previous top posting, and ccing everyone.] On Thu, Apr 9, 2009 at 3:21 PM, Mike Castle wrote: > I thought the official word was that alsaconf was no longer intended > to be part of the distribution and you really shouldn't be using it at > all: > > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=509650 Never mind. That applies only to future versions, not the version shipped with Lenny. Still, the comment in that bug seems to imply that on modern machines, one probably shouldn't be using alsaconf at all. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: why must emacs depend on sound packages?
On Sat, May 2, 2009 at 3:31 PM, Paul Scott wrote: > GNU is an OS, Linux is a kernel. > > Unfortunately popular usage has led to Linux incorrectly meaning GNU/Linux > and even more. How much GNU software is required before it has to have the GNU moniker? If my machine uses the Linux kernel is mostly busybox instead of coreutils/textutils/shutils do I have to keep using GNU/Linux? If I use a BSD kernel with mostly GNU software, do I have to call it GNU/BSD? (Something I'd find very amusing, by the way.) mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: why must emacs depend on sound packages?
On Sat, May 2, 2009 at 5:58 PM, Mike Castle wrote: > > If I use a BSD kernel with mostly GNU software, do I have to call it > GNU/BSD? (Something I'd find very amusing, by the way.) Oddly enough, in a completely different context, I did just come across a reference to GNU/kFreeBSD. So I guess folks DO use that nomenclature. Still think it's a bit odd, mind you. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Why is the kernel in testing so far behind what's current?
On Wed, May 13, 2009 at 4:41 AM, Nate Bargmann wrote: > > In my experience, there is no point in bringing in a more recent kernel > package until 2.6.30 is released which includes drm and video driver > fixes required by the latest Xorg packages although the latest 2.6.2902 > package enabled 3D rendering again in the latest Xorg packages in Sid, > at least for the Radeon chipset. Personally, I'd like to see more stable ext4. The currently packaged kernel definitely has issues with ext4dev. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Why is the kernel in testing so far behind what's current?
On Fri, May 15, 2009 at 2:30 PM, Paul Johnson wrote: > > Anything that doesn't have a showstopping-type bug filed against it in > sid moves to testing after a week, as I understand it. You might check > bugs.d.o for information. Is there something in particular you need > from 27, 28, or 29? ext4 that doesn't cause the system to lock up after resizing? mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: mass conversion from ogg to mp3
On Mon, May 25, 2009 at 1:54 PM, marc wrote: > ogg is a container, so unless you used a lossless codec (i.e. FLAC) then > the mp3s are going to sound horrible, especially as mp3 also has "sound > shaping" and, usually, produces variable bit rate files. I thought most ogg's were typically vorbis. And vorbis has all of those same qualities that you ascribe to mp3: shaping and VBR. > If you really have to do this, then I'd use the best codec you can find > and stick to CBR files. Unless one is dealing with a broken player that can't handle VBR, you'd want to choose VBR over CBR. The codec is able to assign more bits to portions that need it, and fewer bits where it isn't as necessary. CBR might be useful for broadcast or real time streaming. But for storage/playback, you'll want VBR. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Program for quoting text like in email?
On Mon, Jun 8, 2009 at 8:02 AM, Kumar Appaiah wrote: > How about passing the text through fmt -w 80|sed 's/^/> //'? Or use the -p option to fmt -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: OT: how to send a key code to a running process?
On Wed, Jun 10, 2009 at 9:45 AM, Sthu Deus wrote: > Good day. > > How I can send a space key code to a running process by running a simple > program? - I need this for mplayer to pause/continue. For now I have to refer > to the console it is running in, but I want to use hot-keys - that will run a > simple command that will send the signal to mplayer. If you're not wedded to mplayer, you might consider other players as well. I used to use xmms all of the time (and since, I've not found one that's worked as well). These days I use totem and I have FVWM bind keystrokes to: Key P A CM Exec totem --play-pause & Key Right A CM Exec totem --next & Key LeftA CM Exec totem --previous & Key Right A SM Exec totem --seek-fwd & Key LeftA SM Exec totem --seek-bwd & Many other GUI players offer something similar. With the links that David posted, you have to remember to launch mplayer with the right flags. Maybe that can be configured to do that all of the time? (I've not actually tried... will have to now actually). mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: convert standard time to unix time bash
I think cross posting to so many lists, particularly across domains is considered rude. Meanwhile... On Thu, Jun 18, 2009 at 11:30 AM, Tony Asnicar wrote: > but how can I convert standard time to unix time? :D date +%s You can mix it with -d for fun things, if you need the time for specific dates: date +%s -d '4 days ago' date +%s -d '1970-01-01UTC' -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: OT: launching jobs in a combined serial parallel way
On Mon, Jun 22, 2009 at 5:17 PM, Kamaraju S Kusumanchi wrote: > proga, progb are completely independent. They take couple of hours to > finish. The time to complete proga, progb are not same. > > progc should to be launched only after both proga, progb are finished. progc > takes another couple of hours to finish. I've taken to using flock for such things if I'm launching them from other scripts. I forget which package and I can't look right now (my machine died this morning). I think it's like this: flock /path/to/lockfile programtorun --options --to --programtorun I would do something like: flock /path/to/proga /path/to/proga --options_for_a flock /path/to/progb /path/to/progb --options_for_b flock /path/to/proga flock /path/to/progb /path/to/progc --options_for_c That is, use an flock on the program itself as the serialization point. Well, this works when the file I'm locking is a shell script in my ~/bin/ directory. Not so sure if it's a /usr/bin/ type of file without write access. In that case you could always create files in /tmp/ And there may be better ways to lock on multiple files than chaining flock like I did above. Read the man page. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: OT: launching jobs in a combined serial parallel way
On Wed, Jun 24, 2009 at 4:46 PM, Mike Castle wrote: > I've taken to using flock for such things if I'm launching them from > other scripts. I forget which package and I can't look right now (my > machine died this morning). To clarify, I meant to say: I've taken to using flock for such things if I'm launching them from different windows. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: ext4 stable enough to entrust it with data?
On Tue, Jun 30, 2009 at 11:40 AM, lee wrote: > It seems you can convert ext3 to ext4 later, so I'm thinking > of using ext3 for now and maybe converting later. If you go this route, be sure you use a later kernel, .28+. .26 has known issues with mixing extent/non-extent files on the same system (I think?, verify to be sure). And I can attest to growing ext4 filesystems online is deadly. :-/ On the other hand, I've decided to just grow offline (it's only me) as I've been too lazy to figure out how to pull in newer kernels, so even the bad stuff is pretty good. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Is a Universal Desktop Experience possible?
On Sat, Jul 11, 2009 at 5:13 AM, John Hasler wrote: > >> And many apps keep files open while running, leading to lockouts or >> races. > > Elucidate. Firefox. You can only have a profile open on one machine at a time. Very annoying. There is no need to a profile to be tied to exactly one running instance of the application. Much of the data is stored in sqlite, which I believe supports this mode of operation. It should be possible to do this. Instead of launching FF directly, I launch a wrapper with picks a different profile based on the machine name (and whether it's under VNC or not). I keep one profile as the master, and have a script that syncs the rest to the master profile. I keep any info I want shared in online systems (i..e, bookmarks, history). mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: lvm2 - question about pvmove
Don't try to do two things at once. If something goes wrong, you won't know which is the cause. Just put in the new drive and partition it into swap + lvm swapoff /dev/sda1 vi /etc/fstab # remove swap pvcreate vgextend pvmove -v /dev/sdb2 vgreduce /dev/sdb2 shutdown and remove the bad drive At that point, everything should be good and you can continue on. Moreover, you'll still have nearly 400G on the new drive that you can play with. Now you can lvcreate a new volume and move stuff over and set up mount points at your leisure. You can then reduce the existing partition and eventually get to the form you're looking for. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: lvm2 - question about pvmove
On Mon, Jul 13, 2009 at 10:41 AM, Ron Johnson wrote: >> > > What if I want 4 "small" partitions instead of one monster 1TB partition? > I've read that you need a target at least as large as the source. > > (I've got this aching feeling that 1TB partitions are just not a good idea, > and that granularity is always a good idea...) It makes no sense to have multiple LVM partitions on the same disk, just to put them back together again as one big volume group. I mean, what's the purpose of using LVM in the first place then? No. Partition the disk into one swap + one LVM. Then use the LVM stuff to parcel out the space to various file systems. The only case that I could see for partitioning the drive into multiple LVM chunks would be if you want to experiment with using the LVM commands like pvmove and you only have one disk. For example, I have one machine with four disks, two 500GB and two 1TB. The partition schemes on those are: /dev/sda1 1 17 136521 82 Linux swap / Solaris /dev/sda2 18 121601 976623480 8e Linux LVM /dev/sdb1 1 17 136521 82 Linux swap / Solaris /dev/sdb2 18 121601 976623480 8e Linux LVM /dev/sdc1 1 17 136521 82 Linux swap / Solaris /dev/sdc2 18 60801 488247480 8e Linux LVM /dev/sdd1 1 17 136521 82 Linux swap / Solaris /dev/sdd2 18 60801 488247480 8e Linux LVM That gives me a VG of 2.73TB, which I have partitioned out into into a number of LVs of all sorts of different sizes: thune:~# lvdisplay | grep LV.Size LV Size300.00 GB LV Size128.00 GB LV Size70.00 GB LV Size5.00 GB LV Size512.00 MB LV Size16.00 GB LV Size1.00 GB LV Size14.00 GB LV Size1.94 TB LV Size20.00 GB LV Size25.00 GB Hmmm.. . I wonder what that 1GB one is One my other machine, it's similar, only with less swap across spindles: /dev/sda1 1 182401 1465136001 8e Linux LVM /dev/sdb1 1 17 136521 82 Linux swap / Solaris /dev/sdb2 18 121601 976623480 8e Linux LVM For another 2.27TB with: LV Size8.00 GB LV Size15.00 GB LV Size800.00 GB LV Size200.00 GB LV Size200.00 GB LV Size200.00 GB LV Size900.00 GB Nothing wrong with big disk partitions (fdisk); just break it up into smaller LVs mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: a tool that allows to continue copying between HDDs
On Mon, Jul 13, 2009 at 7:45 AM, Sthu Deus wrote: > Is there a tool with which I can continue copying from HDD to another after > some interrupt? Depending on how stable you need the destination file system, but I often do: find . -depth | cpio -pdmv /path/to/dest Followed up by an rsync. The cpio will leave partial files in place, so the next time through it will skip that, but the rsync will fix it up. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: a tool that allows to continue copying between HDDs
On Mon, Jul 13, 2009 at 10:58 AM, Neal Hogan wrote: > > I'm curious b/c I am mildly interested in the OP's question and I > briefly attempted to decipher the above response. There is no man page > for 'mc' and google tends to lean towards midnight connection. $ apt-cache search mc | grep -w mc xnc - X Northern Captain nc/mc-like filemanager for X mc - midnight commander - a powerful file manager mc-dbg - midnight commander - a powerful file manager - debug package -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: lvm2 - question about pvmove
On Mon, Jul 13, 2009 at 12:24 PM, Boyd Stephen Smith Jr. wrote: > pvcreate /dev/sdc1 > pvcreate /dev/sdc2 > pvcreate /dev/sdc3 > pvcreate /dev/sdc4 > vgextend $vg /dev/sdc1 > vgextend $vg /dev/sdc2 > vgextend $vg /dev/sdc3 > vgextend $vg /dev/sdc4 > pvmove /dev/sda2 > pvmove /dev/sdb > vgreduce $vg /dev/sda2 > vgreduce $vg /dev/sdb > pvremove /dev/sda2 > pvremove /dev/sdb Wouldn't you want to move the first pvremove up after the first pvmove? Otherwise the second pvmove might choose to move onto the device you just cleared out. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: a tool that allows to continue copying between HDDs
On Mon, Jul 13, 2009 at 12:20 PM, Celejar wrote: > I'm no expert in this stuff, so I'm curious - what is gained by this > over a straight rsync? In my experience, find | cpio is faster than rsync for moving raw data around. Not sure why, but it feels that way. It's been a long time since I've done any speed tests. If I remember correctly, rsync will still use one process for reading and another for writing, so you end up reading gigs from disk, shoving gigs over pipe, writing gigs to disk. I'm not sure if that's still the case or not. The common tar cf - | tar xf - solution has the same issue. find | cpio just shoves the list of file names across the pipe, so there's nearly a third less data being moved around. Of course, all of that may be immaterial on modern machines. It may also be that find | cpio has less of the fragmentation issues that rsync does (see discussions in the week or two on this list). But that's pure guess work on my part. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Iceweasel's rendering faster than Firefox?
On Mon, Jul 13, 2009 at 12:16 PM, Celejar wrote: > How, then, can there be a significant > performance gap? Maybe it's merely build options? static vs dynamic libraries? Maybe FF has extra debugging turned on, or some feature that you'll find out down the line that might be missed, but IW has turned off because it slows things down? mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: a tool that allows to continue copying between HDDs
On Tue, Jul 14, 2009 at 5:25 AM, Tzafrir Cohen wrote: > So why not just use cp -a ? Probably because, when I first learned to do this stuff, the system I used did have a -a option to cp, but did have rsync installed. And now it's more muscle memory than anything. (I'm almost to the point where I can tell kids to get off my lawn.) Also, one can do: find . -depth | grep -v filter | cpio And filter out some troublesome files. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: CLI Image viewer: top left, no resize.
2008/11/5 Dotan Cohen <[EMAIL PROTECTED]>: > I need to test a new LCD monitor. What program can display a png image > with the top left pixel of the image in the top left pixel of the > screen, without resizing the image? Thus, if the image is larger than > the screen the bottom and right will be cut off. A CLI approach would > be best. Thanks. I'd probably go with xli or xloadimage. mrc -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: playing multimedia over my local network - how?
On Fri, Nov 21, 2008 at 2:04 PM, H.S. <[EMAIL PROTECTED]> wrote: > >From a little search, I have seen somebody mention NFS for which I > apparently need 2.6.27 kernel (not in Testing yet, so that option is > out). The other option seems to be to stream video -- is this really > necessary in this situation? And it won't help much with photo browsing > anyway. Huh? NFS has been in the kernel for ages. Or is there some special feature this is referring to? Or did you mean something other than NFS? I personally use both NFS and a webserver pointing to that same share. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: stuff in ~/bin won't run
On Tue, Jan 13, 2009 at 8:15 AM, Dotan Cohen wrote: > Put the new bin BEFORE the old path. Huh? Why? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: stuff in ~/bin won't run
On Wed, Jan 14, 2009 at 8:33 AM, JoeHill wrote: > The funny thing is, I already have this in my .bash_profile: > > # set PATH so it includes user's private bin if it exists > if [ -d ~/bin ] ; then >PATH=~/bin:"${PATH}" > fi I don't think .bash_profile gets sourced when you log in via an XDM/GDM type session. (After all, when would it, since you don't really have a login shell.) Personally, I have it in my .bashrc, though that has it's own set of drawbacks. If you do some searches about debian and sourcing login shells and gdm, you'll find more than enough reading material to keep you busy for hours. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: questions about lvm2
On Wed, Jan 21, 2009 at 8:13 PM, Ron Johnson wrote: > > If I have lots of existing data in JBODs, would I create a PV and VG on the > new drive, mv all the data from the existing drives to the new VG, then add > my existing drives (while also enlarging the fs) to the one-drive VG, thus > making an uber-device? That is how I started and how I've been, more or less, running with LVM for years, though I think I'm about to change. First, I've actually had different FS with different settings for different purposes. Mostly different bytes-per-inode for file system that have lots of big or lots of small files. Some have ext2 vs ext3 differences. Some are backups of retired windows machines that are just readonly. And i'd do the occasional snapshot to do backups from. As each FS would fill up, I would extend that particular FS. Some would reach a steady state. One interesting side affect of this is the fact that I would fragmentation at the filesystem level, as opposed to the file level. Every once in a while, I'd move LVs around to defrag (usually as part of adding a newer larger harddrive, and retiring the smaller one). One pain point I have is this: In order to run resize2fs(8), you have to fsck the FS first. As they grow larger and larger, this takes longer and longer. I have a 2TB FS now that I really don't want to grow any more because of that. Ext4 may solve the fscking issue, but in the one article I've read so far, resizing wasn't mentioned in it. (I'm also considering ext4 for other reasons.) One thing I do tend to do with every disk is this: I put a small swap partition on each disk, then the rest is an LVM partition. Depending on the machine, it could be 128M to 256M; I try to stay consistent across disks. I then set up each swap partition with the same priority. That way I get more spindles in action for swap. I have really no idea if it makes a difference or not, but it's something I do. It may very well actually cause more contention because if I'm doing something that is causing me to page, then I'm probably processing data on all of those disks anyway. Anyway, that's my experience with LVM. I like it, I've used it for, ... I'm not sure how long I've used it... has it been around for 10 years? I can't remember when I switched to it, but I'm pretty sure it was before I moved to the South Bay Area. It took for years of lobbying to get folks to start using it at work for one service I'm responsible for; down time for backups dropped from one hour to one minute, since they can now do LVM based snapshots and bring the service right back up. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: ownership of /dev/raw1394
On Mon, Jan 26, 2009 at 12:49 PM, Joel Roth wrote: > 1) write your own udev rule > 2) have a script in /etc/init.d do the chown on bootup While I agree that, in this instance, a udev solution is more appropriate (this stuff can change with hot plugging, right?), one option that I use a lot is mucking around with /etc/security/group.conf The following works for most things that I need: gdm; *; *; Al-2400; audio, video, cdrom, floppy login; *; *; Al-2400; audio, video, cdrom, floppy Depending on the nature of your machine (single use, shared family use, etc), a combination of udev + group.conf may be the best approach. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Which FS for USB Flash Drive
On Tue, Jan 27, 2009 at 11:07 AM, Kushal Koolwal wrote: > Hi, > > Does anybody have any experience with installing Debian (say Lenny) on USB > flash drives? I would like to install Debian on my PQI 4 GB USB flash drive > but I am not sure which filesystem to use - ext2, ext3, XFS? I just grabbed a 4G USB and did my standard home install on it. I think I went with ext3, but after reading the rest of this thread, may change that. Some issues that I came across: I got confused during one installation and accidentally installed grub on my internal harddrive rather than the flash drive. Since this is a work laptop with an encrypted harddrive, wiping out the boot parittion made the primary system unbootable and had to reinstall that. Whoops. With my upgraded laptop, boot order changed from the time I booted from the install CD to to when I boot from the flash drive. I had to end up tweaking grub to point to the correct partition. I have some typical laptop issues that I think are not related to USB: had to install wired because I have to use non-free firmware to get wireless working, and since I run with /home mounted via NFS. Regularly my system tries to load the automount maps before wireless is up; I end up logging in as root once to reload them before logging in as my real user. Something to consider is: do you want swap on your flash drive or not? Don't you need swap in order to suspend? That could possibly speed up subsequent boot times. Personally I've not had success with suspend, but I can't remember right now if I set up swap on the flash drive or not. The biggest problem I have is, generally I'm using the flash in my laptop, and it sticks out quite a bit. I suspect I'll break it before I wear out the write cycles. If I ever come across the right CF or whatever media for a decent price, I might go ahead and purchase that, just so it's more internal the the system. The second biggest problem is the stupid thing flashes this bright blue light every once in a while, which is really annoying when the SO is trying to go to sleep. So, I'm running a laptop off of USB flash with /home mounted over NFS. It's not going to win any performance benchmarks, but I'm satisfied with it. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: w32codecs
On Mon, Mar 1, 2010 at 7:30 AM, Celejar wrote: > My problem was that I hadn't realized that d-m had a > non-free section at all. I get the feeling the non-free section is new. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/537f90651003011311x671942e8n4c9a1fcd59686...@mail.gmail.com
Re: Why does installing gnome packages versioned 2.28+6 insist on installing gnash?
On Wed, Mar 17, 2010 at 1:05 AM, Mark Allums wrote: > Gnash is a noble effort. Gnash sucks. I want choice, and my choice is > Adobe Flash. Installing Gnash screws up Flash. Right now, I can refuse to > update GNOME on Squeeze any further, but the time will come when that will > not be a viable option. Why does GNOME require Gnash? And what can I do to > put a stop to it? I think this is why we have the whole testing process. Not all that long ago, one of my almost-daily upgrades pulled in a whole bunch of dependencies that I really didn't want (details don't matter). But, I thought, eh, oh well. Such is life. A few days later, all of those packages that I didn't want were marked as no longer being depended upon, so I was able to remove them. Yay! Someone fixed an errant dependency. I hope that, as the fall out from this thread, something similar will work out here. Something along the lines, of I guess, that the Adobe based flash package will be modified to say 'Provides: flash-plugin', as will Gnash. Then appropriate packages will say they depend on flash-plugin rather than gnash explicitly. The whole conflicts between gnash/adobe flash issue that someone else brought up could be worked out later. Would it have been better if things went along the Provides route first? Probably, but maybe there were other issues that prevented that from happening, and these suggestions are already planned, just not yet implemented. Such is the life of living on the edge sometimes. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/537f90651003171208v1b79b154t48e258cab80ea...@mail.gmail.com
Another less woe
I just filed a bug on this, but I'm wanting a sanity check on this: If I do something like: less /usr/share/dict/words then do this search: (a|b)(c|d) it crashes with a double-free error. I'm not doing anything terribly funky there, am I? mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CA+t9iMx-o4nJBw-LRT+T3Wi99_VXTxrAdtB_RoXxU4nGW=o...@mail.gmail.com
Re: Another less woe
Darn. It happened to me on three different machines. Though they're all the same arch. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ca+t9imxysjq7p6woef2sx736q38ubofwaymiodoq_t8rxds...@mail.gmail.com
Re: Another less woe
I'm using i386. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ca+t9imx+mhum0+pgmucg9j3qbsb013t2keeczwiwqhmdajf...@mail.gmail.com
Re: MTP device mount gnome 3
On Sat, Jan 21, 2017 at 11:47 AM, Tony Baldwin wrote: > My experience has been that this whole "MTP" thing, instead of just mounting > phones like they used to, as a storage device, has been a real horror show, It's less of a horror show than having two operating systems trying to write to the same block device at the same time. Or having to disable access to the block device from one OS, which can really mess up applications trying to access it. What happens on your computer if you are running an application where the binary itself or the data it needs is on a USB device and you pull the device out? Now imagine that describing everything you're running. > I've given up on getting it to work consistently and have installed dropbox > on my phone and desktop to move stuff back and forth, which also has its > headaches and limitations, but is consistent, and works.. That's essentially what MTP does (only without using an third location to sync against). Well, probably closer to using FTP to files to/from the device, only without using TCP/IP. (Oh, just refreshing and apparently one can run MTP over TCP/IP, though I suspect that implementations being talked about here are still direct USB connections.) Any fancy GUI for navigating file systems should function as well for an MTP attached device as it would for say, an FTP service. >From what I've heard, MS had 3rd tier engineers develop MTP, and even they are a little ashamed of it. But, it's still the primary protocol out there. So, the idea of MTP is sound, but the particular design, and the various implementations, well... there is probably room for improvement. But it's unlikely to happen with anything less than full industry support. mrc
Re: What pulls in the tray of my /dev/sr1 ?
On Sat, Jul 25, 2015 at 4:44 AM, Thomas Schmitt wrote: > > LG Germany answered quickly and stated that the drive is > not known to show this behavior under MS-Windows. > (Linux is not on their compatibility list, they say.) Has the drive displayed this behavior since you turned on the machine, or just you just start to notice it after a while? Maybe it only starts to happen after it's been on for a while, and Window machines don't stay booted long enough. Ok, really maybe it only starts to happen after some specific event, which could be any thing you'd done while working on libburn, or some internal timer kicked off, or something like that. It wasn't clear if your stability testing revolved around libburn or not. If it is, then maybe something tweaked it that wouldn't have happened just a user box (vs a developer who might be more likely to do something unusual). mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/ca+t9imxkw0_ue_4zrd-ybdyrbsvvoul3utl-tcz2mpunmp9...@mail.gmail.com
Re: OT: *FREE* VPN! Why?
On Thu, Aug 6, 2015 at 9:36 AM, Jape Person wrote: > Brings up another point. I've always wondered how the sticky fingers crowd > could manage all the key-presses necessary for arranging proper security. One handed Dvorak keyboard mappings. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/ca+t9imz1ijxehegv4fpepmuyndvihkse5rqlcxnxbtgoec6...@mail.gmail.com
Re: Virtual noobie
With VirtualBox, one has the option to install a bunch of guess additions that help the guest and host work better together. Is such needed/useful with KVM and friends? FWIW, I use vbox as it comes with the installation, mostly because I'm too lazy to download the upstream version. Seems to work acceptably, though I'm not stressing it any. mrc
Re: ask.debian.net
On Fri, Aug 28, 2015 at 5:34 AM, Lev Lazinskiy wrote: > 1. It is very approachable to anyone since a lot of people have already > used Stack Overflow. > > 2. It has better search tools. > > 3. Actual Answers float to the top (instead of having to read through en > endless stream of threads or forum pages). This is great and provides an > added value of creating a sort of mini knowledge base. Personally, I find all three of these points to be false (at least when it comes to SO style interfaces). 1. I hate having to have new userids and passwords just to use another damned site. 2. I have more luck using a general search engine (in my case, Google) than SO's search. 3. In SO I almost always have to read the entire thread anyway to get additional context about the top voted answer, and often it's not he best answer. Maybe this has more to do with the fact that I tend to hunt for harder questions. Maybe that style works for nice simple questions, useful for those just starting out. But once you need something meatier, just not as useful. mrc
Re: Mouse blanker?
Well, -idle 0 will hide it right away. But it'll get lots of false positives about thinking you've stopped moving the mouse. And unclutter has been around for just over 23 years now. mrc
Re: Mouse blanker?
Installed by default, meh. But I'm pretty sure it is enabled by default. cat /etc/X11/Xsession.d/90unclutter # /etc/X11/Xsession.d/90unclutter # This file is sourced by Xsession(5), not executed. if [ -e /etc/default/unclutter ] then . /etc/default/unclutter fi if [ -x /usr/bin/unclutter ] && [ "${START_UNCLUTTER}" = "true" ] then /usr/bin/unclutter ${EXTRA_OPTS} & fi
Re: OT: reply styles, family matters
On Mon, Nov 30, 2015 at 6:27 PM, Neal P. Murphy wrote: > When you reply to and critique an essay, you would likely reply in top-post > form and leave the essay at the bottom so that readers, whom you may safely > assume have already read it, may conveniently reference it. I don't think you can ever safely assume that anyone as read it. That is why top-posting is always frowned upon. mrc
Re: shutting off screen blanker forever?
For xfce, you might try this: Settings Manager > Session and Startup > Application Autostart Scroll down and uncheck Screensaver. There may be additional things you need to do to make sure session stuff isn't loading screensavers through some other mechanism (i.e, squirreled away in a saved session or something). For that you might need to explicitly exit the screensaver (either through Settings Manager > Screensaver or a command line like xscreensaver-command -exit) And you likely need the xset stuff you already did on top of that. Of course, all of that is assuming you are using xscreensaver. ps -ef | grep screensave might be useful if the above doesn't work out for you. mrc PS: I dropped emc-users. I think the netiquette these days is to NOT post to multiple email groups, as it is likely a respondent isn't subscribed to all of them.
Re: turning off Google Chrome's warning
Besides switching to 64-bit or chromium or keeping the browser open? (Actually, does chromium issue the same warning?) mrc
Re: turning off Google Chrome's warning
On Thu, Jan 21, 2016 at 6:59 PM, Frank McCormick wrote: > So I just > might remove google-chrome and live with chromium for now. An install of > 64-bit Debian is not in the cards for now. At some point, there may be 64-bit only code introduced into Chrome that could cause subtle bugs on 32-bit systems (due to lack of thorough testing). Just something to keep an eye on if you're stuck with the 32-bit world for a couple more years. Hopefully fewer issues than the 8/16-bit to 32-bit migrations that happened in decades past, due to better compiler supports for warnings about non-portable code. But could still happen. mrc
Re: Iceweasel: permissions.default.image=3 (that is, prevent third-party images from loading) is ignored for some sites?
I believe that cached images will still load. mrc
Re: Some Flash news
On Mon, May 16, 2016 at 2:26 PM, Sven Arvidsson wrote: > That's Shumway from Mozilla. Google's Swiffy fits into this domain as well. mrc
/etc/network/interfaces whacked
In addition to the Gnome 3 stuff, I just experienced another issue with upgrading my laptop on the testing track. Something whacked my /etc/network/interfaces. Fortunately I happen to have a backup of the / partition, so I'll be able to walk through multiple installs to try to identify the culprit (though slow going as takes a while to rewrite the partition). The first time through /etc/network/interfaces was simply no where to be seen. The second time, it was present, but missing things like my wpa2 key. Fortunately one of my desktops that I've updated has not been bitten by this (or I didn't have any local customizations that were affected). mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ca+t9imxkcgmekysnjjax-ncx3zb13w+xgjb4ktxsemcx31o...@mail.gmail.com
Re: /etc/network/interfaces whacked
On Sun, Nov 13, 2011 at 10:11 AM, Mike Castle wrote: > In addition to the Gnome 3 stuff, I just experienced another issue > with upgrading my laptop on the testing track. > > Something whacked my /etc/network/interfaces. > > > Fortunately I happen to have a backup of the / partition, so I'll be > able to walk through multiple installs to try to identify the culprit > (though slow going as takes a while to rewrite the partition). > > > The first time through /etc/network/interfaces was simply no where to > be seen. The second time, it was present, but missing things like my > wpa2 key. > > > Fortunately one of my desktops that I've updated has not been bitten > by this (or I didn't have any local customizations that were > affected). Just to follow up on my own post, seems like 3rd times a charm. This time I updated package by package (took output of apt-get upgrade -s and looped over the packages in the same order using apt-get install). I did run apt-get update in there, so maybe my first couple of attempts hit a bad package that was quickly fixed. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ca+t9imwa-bu85sdxptcmebmen0xjyw7rvsaijt5bpkbh2sf...@mail.gmail.com
XFCE and automatic monitor detection
This is mostly a laptop question, but probably general enough that I want to post it here instead. So one thing that I think Gnome2 had over XFCE is better multiple monitor support. I could plug in a new monitor and the right thing would just happen. More importantly, I could unplug the monitor, and everything would automatically collapse down onto the laptop. Particularly useful if your screen is now locked. XFCE seems to have a different philosophy on this matter: use xrandr (or similar). Fine...OK... so rather than having to fire up arandr every time or a script (tough to do if your screen is locked and the password display is on the disconnected monitor), I'd like to have it happen automatically. So what kind of options do I have? Some searching seems to indicate that it's a matter of polling. Something akin to running xrandr -q every so often, and when a state changes, do something appropriate. There seems to be a hint that some sort of even could be fired and caught instead (via acpi, dbus, other assorted buzzwords), but that maybe it doesn't really work. Does there exist any software that I can just run at login time that I can configure such that ``when you see these particular monitors attached, switch into this mode.'' However it does that, I don't care as long as it doesn't bog down the machine. And ideally work if a monitor is unplugged when the machine is locked. If not, what would be my approach for writing something for myself? Thanks, mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CA+t9iMzvqEKXLZy1_BXcg5-VCz_9=npV=wmylymogsfpns4...@mail.gmail.com
Re: OT: Copying a URL from a text browser (was: Re: text browsers)
On Sat, Mar 3, 2012 at 1:56 PM, Randy Kramer wrote: > > Maybe it can be done readily in lynx and I just haven't spotted how to do it? I have ~/.lynx/external to which I just added this line: EXTERNAL:http:echo %s | xsel -i:TRUE Then I can navigate to a link and hit the `.' key. If there are more than one commands registered for a particular protocol (http in this case, which covers https), lynx will pop up a selection menu, otherwise it'll just run it. Though, in this case you could just as easily register something like: EXTERNAL:http:firefox -new-tab %s:TRUE Actually, looks like out of the box, lynx comes configured for running x-www-browser, so whatever you have for your default browser should kick in (but may not be what you want for new-tab, new-window, profile, etc. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CA+t9iMxoOSZEQVpMUz389KhiFYK9Kbdim=8r1tn3rh3kpvi...@mail.gmail.com
Re: Samba ls date weirdness
You might also consider find -printf and stat as other options. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: floppy mounting
On Fri, Oct 30, 2009 at 10:39 AM, Jochen Schulz wrote: > dr.hugo.z.hackenbush: >> >> Hi, I am having trouble mounting the floppy in lenny .Can mount as root >> but wont let me mount as user? Tried #adduser (name) floppy in >> terminal but still wont let me in? any clues please? > > You need to login again after adding your user to the floppy group. Did > you do that? I would also recommend setting up pam to handle this for you using the pam_group stuff.Whoever logs in on the console (via tty or gdm) should probably get access to all sorts of physical devices, like floppy, audio devices, cd/dvd drives, and so on. That way, if you ssh into your machine, you don't accidentally start affecting local devices remotely (you'd have to explicitly go through root to do so). mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: clive doesn't extract youtube file
On Tue, Nov 24, 2009 at 3:35 PM, Rodolfo Medina wrote: > I installed clive in my Lenny partition with: `aptitude install clive', but it > seems that it does not manage to download the video I installed it for: I believe that youtube has retired some support for a variety of formats, so maybe the software simply needs to be updated for what is now supported. A recent web search for [youtube downloader] turned up a number of discussions about this, and that is what I'm basing my reply on. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: what is the proper grub2 update procedure when changing disks
On Mon, Nov 30, 2009 at 2:10 AM, David Goodenough wrote: > In the old Grub1 days if I had a bootable disk die and I copied its contents > across to a new disk and wanted to make it bootable I followed a procedure > that ran grub, looked for /boot/grub/stage1, set root to that hd, and then > setup that hd, and I was done. > > But now Grub2 seems to rely on UUIDs rather than device names and so > this does not work, or rather needs an extra step. > > So can someone point me to either an existing Howto which documents > the new procedure (I looked using Google but got nothing but the old procedure > above) or can someone outline the new procedure. This is of course a > request for a Debian procedure, I am running a nearly up to date sid. I don't have access to the shell history, but I think the incantation that I used was something like: mount /dev/sdb1 /mnt # copy stuff into /mnt grub-install --root-directory=/mnt /dev/sdb umount /mnt The UUID stuff is mostly regenerated when you run grub-install. Any local overrides that you might have in place would need updating first, of course. Same goes for any UUID references in /etc/fstab and similar. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Grep on dictionary words
On Sat, Nov 28, 2009 at 7:13 AM, Dotan Cohen wrote: > I have a long binary file (about 12 MB) that I need to extract the > text from via "strings". Naturally, there are a lot of junk lines such > as these: > pDuf > #k0H}g) > GoV5 > rLeY1 > TMlq,* > > Is there a way to grep the output of strings in order to only show > lines that contain words found in the aspell dictionary? Thanks in > advance. I typically use something like: strings -n 5 And that removes most of the noise. Typically the strings I'm looking for tend to be longer, so if I miss the occasional short text, I'm OK with that. Another option might be to do something like: look '' | grep .. > dict.txt # get rid of all single letter words strings logfile | fgrep -f dict.txt mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
messed up error messages from gcc
I typically keep my environment pretty stripped down, and so it may turn out that I'm missing some package that causes the following problem. But I've not yet been able to figure it out. I'm hoping the masses out here will immediately recognize the problem as ``Oh yes, you need ... '' Running testing. gcc -v shows: gcc version 4.3.4 (Debian 4.3.4-6) $ cat t.c void foo(void) { bar(); } $ gcc -Wall -Werror t.c cc1: warnings being treated as errors t.c: In function â: t.c:2: error: implicit declaration of function â I expect something closer to: cc1: warnings being treated as errors t.c: In function 'foo': t.c:2: warning: implicit declaration of function 'bar' Any thoughts? Thanks, mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: messed up error messages from gcc
On Wed, Dec 2, 2009 at 10:41 AM, Kumar Appaiah wrote: > Could you please try running LC_ALL=C gcc -Wall -Werror t.c and let us > know if that solves the issue? Yup. That did it. Thanks for the quick analysis. LANG= gcc ... had the same effect. That's what I get for letting it set the darned thing to LANG=en_US.UTF-8 So, what's the proper solution to this? Do I need to install something? Or rebuild a locale database somewhere? (if the latter, I would have thought that it would have been done automatically upon appropriate installs along the way.) Just go back to C? mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: messed up error messages from gcc
On Wed, Dec 2, 2009 at 11:14 AM, Mike Castle wrote: > So, what's the proper solution to this? Do I need to install > something? Or rebuild a locale database somewhere? (if the latter, I > would have thought that it would have been done automatically upon > appropriate installs along the way.) Just go back to C? Just capturing more information. Apparently every gcc-4.* has this same issue. gcc-3.4 does not. I always thought that part of the joy of the way GNU did translations was that, if it wasn't available, it would always fall back to the strings written into the source code (typically English, though not necessary). Though, admittedly, the last time I actually read the docs on any of this stuff was probably over a decade ago, so things have probably changed. I guess this boils down to: is this a bug in gcc or a bug in my set up? mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: messed up error messages from gcc
On Wed, Dec 2, 2009 at 12:44 PM, Sven Joachim wrote: > Maybe your terminal is not in Unicode mode? Good possibility, but, I thought that would only matter when non-ascii characters came into play. Oh... ok.. I just found the UTF 8 item on xterm and there actually is a minor difference: $ LANG=en_US.utf8 gcc -Werror -Wall t.c 2>&1 | od -c 000 c c 1 : w a r n i n g s b e 020 i n g t r e a t e d a s e 040 r r o r s \n t . c : I n f u 060 n c t i o n �200 230 f o o �200 231 100 : \n t . c : 2 : w a r n i n g 120 : i m p l i c i t d e c l a 140 r a t i o n o f f u n c t i 160 o n �200 230 b a r �200 231 \n $ LANG=en_US gcc -Werror -Wall t.c 2>&1 | od -c 000 c c 1 : w a r n i n g s b e 020 i n g t r e a t e d a s e 040 r r o r s \n t . c : I n f u 060 n c t i o n ' f o o ' : \n t . 100 c : 2 : w a r n i n g : i m 120 p l i c i t d e c l a r a t i 140 o n o f f u n c t i o n ' 160 b a r ' \n Note that the single quotes wrapping foo are different. I guess gcc-3 used back-tick and single-tick, and gcc-4 uses the more modern quote characters, that my environment couldn't handle. So, now to read up on which resource I need to set up for xterm to make this the default. Many thanks all for pointing me in the right direction. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
autofs stopped working on testing
Has anyone else noticed that autofs has stopped working on testing? I'm really just digging into the debugging process, so may not have read all of the necessary docs quite yet. I've had autofs working for /home and a /share hierarchy for quite some time now, and haven't had too many problems with it. But the initial set up was long enough ago that I don't exactly remember the details of setting it up. I've had one machine that's been giving me grief and had to reboot daily for the last several days, so I'm pretty sure that the cause is the last day or two. I'm not seeing any packages, however, that look like they might have caused the problem. Nothing like slapd, glibc, autofs, nss or the like. Oh ... I just remembered... / on the ldap server was full, and I ended up nuking a lot of stuff on that partition. I wonder if I got overly zealous and deleted something important. I hope not. Anyway, the symptom is that no autmount maps are being seen: /etc/init.d/autofs start no automount maps defined. Everything is saved in ldap, nothing in /etc ldapsearch -x still shows all of the pertinent information Still, any suggestions on how to proceed on this would be appreciated. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: autofs stopped working on testing
Solved! On Sun, Jan 10, 2010 at 9:38 AM, Mike Castle wrote: > Oh ... I just remembered... / on the ldap server was full, and I ended > up nuking a lot of stuff on that partition. I wonder if I got overly > zealous and deleted something important. I hope not. Not sure if I deleted too much, or full partition caused problem, but I ended up restoring the slapd database from a backup, and that now everything appears to work again. I didn't suspect ldap at first, since auth was still working, and I didn't see anything obvious in any log files about DB corruption. Odd. Still, all seems to be working now. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
ssh suddenly prompting for passphrase
Just sharing something that happened to me. After a recent upgrade with debian/testing, I noticed that ssh would pop up a window asking for my password, and this would be AFTER running ssh-add. Turns out that I needed to read this bit in /usr/share/doc/gnome-keyring/README.Debian: """ The GNOME keyring includes the functionality of the SSH and GPG agents, and it can break some setups, especially if ssh-agent and/or gpg-agent is started by hand. You can disable a specific component by removing the gnome-keyring-gpg and gnome-keyring-ssh elements from the startup applications. The interface depends on your session manager; for GNOME you can use gnome-session-properties. You can also simply edit /etc/xdg/autostart/gnome-keyring-*.desktop. """ Now for me, surprise GUI prompts are annoying for a couple of reasons. First, it's new. I've never seen that before this recent upgrade. Second, I usually run screen, and it's possible the that first time I run ssh out of this machine would have been after I first ssh-ed into it, did screen -x, then ssh back out. So there'd be some random X app prompting for my password on a machine several buildings away. Anyway, from my GNOME desktop, it was simply System/Preferences/Startup Applications and uncheck GNOME Keyring SSH Agent Cheers, mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/BANLkTikpaBSntxKFmtBp=hspxitou35...@mail.gmail.com
Re: [OT] Google search default lang.
On Sun, Jun 19, 2011 at 8:55 AM, Hugo Vanwoerkom wrote: > Hi, > > Using Google search always returns my results in Spanish because Google has > figured out that my ISP is in a Spanish speaking country. But I want the > results in US Eglish and always have to do an extra mouse click on > 'Google.com in English' > > Apparently Google does not record that I always click on that and adjusts > the default language. > > Anybody know how to set the default language for search? There has been a recent discussion of this over on Hacker News: http://news.ycombinator.com/item?id=2673898 Well, OK, looks like the discussion is mostly about personalization of search results, but geo-location and guessing languages does fit into that. Searching for that page for the word English seems to indicate that it might be a bug. Also, it looks like the reason Google (and other websites) do this is because there seems to be a large number of browsers out there with Accept-Language set incorrectly, so anything that says English is just tossed out and whatever left is used (and if there is nothing left, geo-locate). I thought at one point en-gb would work, but some recent testing I tried failed (but it was only about 10seconds worth of testing). mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/BANLkTim4m2jf28mzMuqSGPus6eriHY=e...@mail.gmail.com
Re: disk problems: which ATA?
On Sun, Jul 3, 2011 at 11:25 AM, Ross Boylan wrote: > How can I tell which ata device is which hard drive? It's come up > several times for me, most recently with > ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen Depending on how long since boot, you can often explore the output of dmesg to figure out which drive is which. Sometimes what I do is something like this pseudocode: for disk in /dev/sd?; do echo $disk smartctl -i $disk | grep -e Model -e Serial done And write down each working drive's model and serial number. Reboot. and do it again. In many cases, I've been lucky that the failing drive would work for a little while (say, until a write). So I could compare the two lists, and figure out which model/serial is failing, and pull it. Failing that, I have a list of known good disks, and can go through all of the disks in the machine until I find the failing one. And at that point, since I have the case open, reseat all cables and cards, just in case that's the problem. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CA+t9iMwkN-Atum5kdYUdQmjA1Tmat+bz=6ka-zzaf4nttgs...@mail.gmail.com
New automount (NFS) permission issues
I am running debian/testing across a number of machines, all mostly up to date (usually any given machine is no more than a week behind). Some time ago, maybe a couple of months, I started noticing some problems with my automounted NFS mounts, and wondering if anyone else has noticed something similar to the problems I'm about to describe. It's possible that I have something misconfigured that has worked for years, but now something is more strict. But I've been unsuccessful in finding anything in searches. And I'm not sure if this might be an autofs, kernel, or some other issue. Any suggestions on what kind of debugging to turn on would be helpful as well. The effect I'm seeing is: Immediately after boot, a normal user can access any NFS directory causing it to automount. After some amount of time though, after the mount is automatically unmounted, normal user can no longer do that, and instead root has to be used to access the directory (causing automount to remount). My configuration has not changed for a couple of years and has worked fine until recently. Each machine has a number of directories in /export that are exported via NFS. Most of these are configured for mounting into /share, though /home is as well. A typical exportfs entry looks like this: /export/images 192.168.1.0/255.255.255.0(rw,async,no_subtree_check,root_squash) The automount configuration is served up via ldap, and my configs there look like: dn: ou=auto.share,ou=automount,dc=mrc,dc=home ou: auto.share objectClass: top objectClass: automountMap dn: cn=/share,ou=auto.master,ou=automount,dc=mrc,dc=home objectClass: top objectClass: automount automountInformation: ldap:ou=auto.share,ou=automount,dc=mrc,dc=home --timeout=600 cn: /share dn: cn=images,ou=auto.share,ou=automount,dc=mrc,dc=home objectClass: automount automountInformation: thune:/export/images cn: images This seems to happen on both local (direct mounts) and remote (NFS mounts). Neither [autofs reload] nor [autofs restart] seems to help the situation once is gets into this state. One thing I've been doing as a temporary work around has been opening extra shells and dropping them into the directories I want to keep mounted. Sort of defeats the whole purpose of automounting, but such is the life of hacks. Also, I've recently been seeing problems with util-linux's flock(1) in my home directory. I use it as a serialization tool: $ cat bin/ser #!/bin/bash flock $0 "$@" And that has suddenly started failing with: flock: /home/nexus/bin/ser: Input/output error Which was quite scary at first (crap, /home is dying!) but is turning out to actually just be a constant NFS glitch. Not sure if related to the automount issue, but would not be surprising. I've scoured all of the stuff in /var/log with no luck. Does anyone see anything I have misconfigured above? Or extra configs I need to share? Any ``Yes, you need to read X as it explains a recent change?'' Any recommend flags to turn on for additional debugging? Anyone else seeing similar issues? Thanks, mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ca+t9imyshmqwu2we79c3arwizsepfboww4dx13+l_lxzghd...@mail.gmail.com
Re: New automount (NFS) permission issues
Did some more testing. All of the problems seems to be client side. Dropping back to 2.6.32, both automounts and the flock $0 script work over NFS. But did discover something interesting. After a fresh boot, the follow both work with 2.6.32: $ ls /share/images $ ls /share/images/ With 2.6.39, the first always fails, and the second succeeds (that is the second succeeds if it's the first thing done after a reboot). mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CA+t9iMzH+YhaSFiZ9NVCB7L7RbSB5=qsjqf3xcqolmu6hha...@mail.gmail.com
Re: is there no sane, minimal, graphical RSS feed reader in existance?
On Fri, Jul 15, 2011 at 1:20 AM, Johannes Schauer wrote: > > What I'm using now is liferea which is okay but could be more minimal > and mainly, is way too slow to enjoy using it (search for the fsync > issue). Sounds like you may need to tune your filesystem. If fsync() is causing a problem, it probably means that it's forcing all pending data writes for that filesystem to disk, not just that file. Unfortunately this seems to be the default configuration because so many broken programs seem to depend on that. Sad really. A file system gets tweaked to make bad programs work well, then end up slowing down correct programs. So people break the correct programs to get around the performance problems and end up depending on the new feature of the filesystem. Personally, I tune all of my filesystems with journal_data_writeback enabled, and if any system apps break, I'll file bugs against them. But meanwhile, apps that do correctly use fsync() don't mess up performance for the whole system. As a compromise, you might try making your home directory (or whatever directory liferea keeps its data on) is configured with that mount option and see if it improves performance. Normally I'd point someone to this article: http://thunk.org/tytso/blog/2009/03/15/dont-fear-the-fsync but the site seems to be down at the moment. Fortunately, I ended up going into my RSS reader of choice, Google Reader, and finding the article and reshared it via my Buzz feed. I think you'd now be able to read it at: https://plus.google.com/117219624378904478730/posts/Mwn9a2woZYv Our of curiosity, why choose a local app over a central service like Reader or any of the others out there? I used to be a big fan of such local apps, but since I could be on any number of machines (2 home desktops, a couple of laptops, few machines at work), I've found a web app a lot more convenient. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CA+t9iMzJEttGK4+oq_tHBtOZkT=wmy5exw20d9mbtm27pd0...@mail.gmail.com
Re: DO NOT BUY Western Digital "Green" Drives (also present in WD "Elements" external USB cases)
On Sat, Sep 3, 2011 at 1:14 PM, Luke Kenneth Casson Leighton wrote: > just a word of warning: on absolutely no account, not for any reason, > should you buy WD "Green" drives. > > i've just spent a hair-raising 6 weeks discovering that these drives, > when pushed above a mere 40 Centigrade, become so unstable that they > can actually become completely unresponsive, shut down, and leave the > linux kernel in a completely unstable state, especially if they are > part of a RAID1 mirror. For what it's worth, WD _does_ say not to use Green drives in RAID and such. http://wdc.custhelp.com/app/answers/detail/a_id/1397 mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CA+t9iMz0MDct83sEEwXn4mZh2q=vbsypm52nhk5ju+awxpy...@mail.gmail.com
Re: Filesystem recommendations
On Sat, Apr 24, 2010 at 10:53 AM, B. Alexander wrote: > Does anyone have suggestions and practical experience with the pros and cons > of the various filesystems? Google is switching (has switched by now?) all of it's servers over to ext4. A web search will turn up more details on the subject. But they are mostly lots of big files. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/j2v537f90651004250829j1b0cb458y681b1732c2c2d...@mail.gmail.com
Re: xorg.conf -- nvidia to ati
On Thu, Jun 24, 2010 at 7:38 PM, Alan Ianson wrote: > Any ideas on what I need to change? I just switched to not using any xorg.conf at all, which I think is the ``new'' recommendation. I put new in quotes because I think I saw someone at work the other day say something like ``You've not needed one for five years,'' but I may not have had the context right. So far so good, with two machines with different NVidia cards using nouveau and one using radeon. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/aanlktim4c6s16zltcebqxugp_-3sf8cwq_m9llznl...@mail.gmail.com
Re: The NAME environment variable
On Fri, Aug 27, 2010 at 5:42 PM, T o n g wrote: > This is the first time that I found the NAME variable missing from the > environment. How common is this? Not present on my Debian/testing system. I have USER, USERNAME and LOGNAME, but no NAME. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/aanlktik32l=8xqjshbv-v6_uy1e2t9erjlxsohnck...@mail.gmail.com
Re: Conversion to Ext4 in LVM
On Thu, Nov 11, 2010 at 10:47 PM, Didar Hossain wrote: > Personally, I would not recommend converting, but, rather creating a > separate partition > for ext4 to test it out. For my use case, in order to get the benefits for using ext4 over ext3, it worked better to create a new filesystem with ext4 and move all of the data onto it and them removing the old filesystem. mrc -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/aanlktimvf72zq68pw_t=edcverdt0tcypxyesq5pf...@mail.gmail.com
Re: XFCE4 without panels
I just tried this in a VM and it seemed to work. >From a command line: xfce4-panel -q find ~/.config | grep panel Remove the xfce4-panel.xml (I also removed the empty directory just named panel.) The lack of panels seems to have survived a reboot. I don't know if it is sufficient for every variation involving saving session state or what not. But might get you started in the right direction. If worst comes to pass, you might be able to put the xfce4-panel -q command in a shell script that automatically launches when you log in. Good luck! mrc
Re: How can I find packages manually installed using "dpkg -i"?
Some tools I've been using lately are apt-mark and "dpkg-query --show". The following UNTESTED commands (ran as a normal user): (apt-mark showauto ; apt-mark showmanual) > apt-thinks-you-installed.txt dpkg-query --show --showformat='${Package}\n' | grep -v -F apt-thinks-you-installed.txt > rest.txt The file "rest.txt" should have a list of packages installed that were NOT installed via apt. With any luck, it is small enough to examine manually. You could do something like "apt list" to get a list of all packages known by apt and see if you'd prefer to use just use the Debian instead of Mint versions. And anything not in that list *probably* came from other manual sources and you can do what you will with that information. You could poke around in /var/lib/apt/lists/ and see if the files from the mint repos you used in the past are still there (I don't know if they get cleaned up or not, might get lucky). Regarding the comment in the thread about packages that the installer added that show up as manual, you can do something like the following to at least make apt think they were auto: dpkg-query --show --showformat='${Package} ${Priority}\n' | awk '$2 == required {print $1}' > required.txt sudo apt-mark auto $(apt-mark showmanual | grep -F required.txt) # apt-mark will prompt, so you don't want to use xargs Again, the above is untested, so verify first! You might do the same for other priorities, like standard or important. If for no other reason than breaking the list of packages into smaller, digestible chunks that you can focus on. For example, on my machine: $ dpkg-query --show --showformat='${Priority}\n' | sort | uniq -c | sort -n 5 extra 29 important 29 standard 33 required 1472 optional I could probably handle going through those smaller collections to identify where they came from fairly easily. But that big optional collection, not so much. For something like that, I might add ${Section} to the --showformat option, and divide them up that way. Also, as a future project, you might consider creating metapackages to help organize your installation. Again, for my machine: $ apt-mark showmanual | wc -l 1 $ apt-mark showauto | wc -l 1563 I have a handful of debian control files that I use (base, desktop, dev, serviceX, serviceY, machine1, machine2,...). The machine ones depends on the services they host (NFS, LDAP, VMs), and whether they need a GUI (desktop), whether I build on them (dev), or play games, etc. Then each machine, after a base install I do something like: apt-mark auto $(apt-mark showmanual) apt install machineN apt autoremove --purge Of course, I monitor that autoremove to make sure it doesn't do anything silly, and if it tries to remove a package I missed, I go add it to the appropriate control file. My simple little way of doing this is: $ cat doit.sh #!/bin/bash for v in *.control; do equivs-build $v > $v.log & done echo 'Waiting' wait echo 'Done waiting' OUTPUT=/srv/deb/packages rm -rf $OUTPUT mkdir -p $OUTPUT cp *.deb $OUTPUT cd $OUTPUT dpkg-scanpackages . > Packages $ cat /etc/apt/sources.list.d/mrc-home.list deb [trusted=yes] file:/srv/deb/packages ./ And yes, I should do better than the [trusted=yes]. Good luck on your upgrade! mrc
Re: How can I find packages manually installed using "dpkg -i"?
Oops. The 'grep -v -F' should be 'grep -v -f'. Well, 'grep -v -F -f' would probably be appropriate as well. mrc On Tue, Oct 3, 2023 at 7:58 PM Mike Castle wrote: > > Some tools I've been using lately are apt-mark and "dpkg-query --show". > > The following UNTESTED commands (ran as a normal user): > > (apt-mark showauto ; apt-mark showmanual) > apt-thinks-you-installed.txt > dpkg-query --show --showformat='${Package}\n' | grep -v -F > apt-thinks-you-installed.txt > rest.txt > > The file "rest.txt" should have a list of packages installed that were > NOT installed via apt. With any luck, it is small enough to examine > manually. > > You could do something like "apt list" to get a list of all packages > known by apt and see if you'd prefer to use just use the Debian > instead of Mint versions. And anything not in that list *probably* > came from other manual sources and you can do what you will with that > information. > > You could poke around in /var/lib/apt/lists/ and see if the files from > the mint repos you used in the past are still there (I don't know if > they get cleaned up or not, might get lucky). > > > Regarding the comment in the thread about packages that the installer > added that show up as manual, you can do something like the following > to at least make apt think they were auto: > > dpkg-query --show --showformat='${Package} ${Priority}\n' | awk '$2 == > required {print $1}' > required.txt > sudo apt-mark auto $(apt-mark showmanual | grep -F required.txt) # > apt-mark will prompt, so you don't want to use xargs > > Again, the above is untested, so verify first! > > You might do the same for other priorities, like standard or > important. If for no other reason than breaking the list of packages > into smaller, digestible chunks that you can focus on. For example, > on my machine: > $ dpkg-query --show --showformat='${Priority}\n' | sort | uniq -c | sort -n > 5 extra > 29 important > 29 standard > 33 required >1472 optional > > I could probably handle going through those smaller collections to > identify where they came from fairly easily. But that big optional > collection, not so much. For something like that, I might add > ${Section} to the --showformat option, and divide them up that way. > > Also, as a future project, you might consider creating metapackages to > help organize your installation. Again, for my machine: > $ apt-mark showmanual | wc -l > 1 > $ apt-mark showauto | wc -l > 1563 > > I have a handful of debian control files that I use (base, desktop, > dev, serviceX, serviceY, machine1, machine2,...). The machine ones > depends on the services they host (NFS, LDAP, VMs), and whether they > need a GUI (desktop), whether I build on them (dev), or play games, > etc. Then each machine, after a base install I do something like: > > apt-mark auto $(apt-mark showmanual) > apt install machineN > apt autoremove --purge > > Of course, I monitor that autoremove to make sure it doesn't do > anything silly, and if it tries to remove a package I missed, I go add > it to the appropriate control file. My simple little way of doing > this is: > > $ cat doit.sh > #!/bin/bash > > for v in *.control; do > equivs-build $v > $v.log & > done > > echo 'Waiting' > wait > echo 'Done waiting' > > OUTPUT=/srv/deb/packages > rm -rf $OUTPUT > mkdir -p $OUTPUT > cp *.deb $OUTPUT > cd $OUTPUT > > dpkg-scanpackages . > Packages > $ cat /etc/apt/sources.list.d/mrc-home.list > deb [trusted=yes] file:/srv/deb/packages ./ > > And yes, I should do better than the [trusted=yes]. > > Good luck on your upgrade! > mrc