Search Results: "tim"

31 August 2006

Gunnar Wolf: Metros of the world

Thanks, Damog, for starting yet another pissing contest^W^Wnice and informative meme. And thanks, B3co, for writing yet another tool to waste my oh-so-scarce time. Which needs some CSS work if people like me keep showing up just to say "I'm also a frequent flier". Anyway, here I go.

Got at b3co.com!
I found at least one Metro I've been to missing - But hey, maybe the people at M nchen U-Bahn could not be bothered to come up with a logo? Update Well, B3co updated the site and included M nchen - What can I do if not update my listing? ;-)

30 August 2006

Randall Donald: Pushing Virtualization

At work I recently decided to set up virtual servers on one of in house development servers, a Dell Poweredge 1750. I've used UML before personally and also on one of our remote servers but this time I wanted try Xen as it seems to be the da bomb these days. Well I tried both Debian kernels and a self-built one but both crahsed on boot at XEN) Scrubbing Free RAM: ...........done.
(XEN) Xen trace buffers: disabled. After skimming the internet briefly I decided to try openvz which I also wanted to try out and it works well for our purposes. I'm not saying Xen sucks, just that the system didn't boot and I couldn't see why right away.

Adam Rosi-Kessel: Wikipedia News

Wikipedia has been in the news a lot lately. Some of the articles are quite insightful: Each article examines a different aspect of Wikipedia knowledge and culture, and they fit together nicely (although presumably unintentionally). Both articles are proof that traditional print media can still be relevant and coexist semi-peacefully with peer production efforts like Wikipedia. They are also excellent examples of something other than a knee-jerk defensive reaction by incumbent media to a perceived threat (e.g., this FOX news story or Britannica’s response to Nature’s article comparing Wikipedia to Brittanica). Meanwhile, an interesting unrelated Wikipedia commentary in the blogosphere:

Martin F. Krafft: Using LVM snapshots for filesystem recovery

This morning, I found myself in Gunnar's position and was looking at an empty /home directory because of the following mount failure:
piper:~# mount /dev/mapper/vg0-home
mount: Unknown error 990
Starting XFS recovery on filesystem: dm-0 (logdev: internal)
Filesystem "dm-0": xfs_inode_recover: Bad inode magic number, dino ptr =
  0xffff810028a6bd00, dino bp = 0xffff81002851d140, ino = 33629
Filesystem "dm-0": XFS internal error xlog_recover_do_inode_trans(1) at
  line 2352 of file fs/xfs/xfs_log_recover.c.  Caller 0xffffffff88307729
I am used to XFS giving me hard times, but this time at least I didn't have much to worry as it happened at home, I have plenty other machines I can use instead, and all data was backed up. Since this is on a Debian unstable machine, I had the latest xfs_repair available, and told it to do its thing, but it refused:
piper:~# xfs_repair /dev/mapper/vg0-home
Phase 1 - find and verify superblock...
Phase 2 - using internal log
        - zero log...
ERROR: The filesystem has valuable metadata changes in a log which needs to
be replayed.  Mount the filesystem to replay the log, and unmount it before
re-running xfs_repair.  If you are unable to mount the filesystem, then use
the -L option to destroy the log and attempt a repair.
Note that destroying the log may cause corruption -- please attempt a mount
of the filesystem before doing this.
Great. Catch-22. I decided to have a go at fixing it, but as much as I pretended to grok xfs_db, I did not manage to get the filesystem into a consistent state. I thus fired off an email to the mailing list (which has not arrived there 4 hours later) and started pv to dump the raw data to another machine for later use or debugging. Watching the progress meter of pv from time to time, it occured to me that my /home is in fact on LVM. I put it on LVM way back when LVM was new and cool and I wanted to gather experience with it. I've never actually done anything with it, but today it saved my little bits of remaining sanity. Why? Because LVM can take snapshots of volumes. It took me a while to put the pieces together, but in the end, a snapshot would enable me at least to run a test-round of xfs_repair -L and assess the damage, and if it wasn't all that bad, I could just run the repair process on the actual volume again. With the encouragement and knowledge of Christian Aichinger and Daniel J. Priem on IRC, I hence proceeded to give it a try. First I had to extend the volume group to make room for the snapshot data, and since I had no disks handy, I just used a loop device based on a sparse file:
dd if=/dev/zero of=/srv/loop bs=1 count=1 seek=5368709120
losetup -f /srv/loop
pvcreate /dev/loop0
vgextend vg0 /dev/loop0
lvcreate -s -n home-snapshot /dev/vg0/home -L 5G
(Thanks to Ian Nicholls for spotting the error: I was using pvcreate instead of that last lvcreate previously). Now /dev/vg0/home-snapshot was a copy-on-write snapshot of the original volume, and I could do whatever I wanted with it, as long as I did not exceed the 5G size allotted for the copied data blocks that I modified. Using mount and xfs_repair, I could verify that the problem also shows up with the snapshot. Thus, I ran xfs_repair -L on the snapshot and finally was able to mount the snapshot to inspect the /lost+found directory. Fortunately, it wasn't all that full, nor was there anything important in there, so I sighed, removed the snapshot (lvremove) and unleashed xfs_repair -L on the original volume, which is now again mounted under /home. Finally, remove the loop device from the volume group (vgreduce). If you are like me and forgot to do so before rebooting and now find your LVM volumes not starting anymore, look into the --removemissing option. I like this method. I knew the filesystem was corrupted, but I did not know to what extend. Had corruption been worse, I could have waited for the XFS guys to help me out. But seeing the low damage, I was able to decide to just purge the journal and accept the damage. If this had happened on a more important machine (i.e. without recent backups), I would have proceeded a bit differently: once the snapshot was mounted, I'd have run xfs_dump on it to save the data. I would also have used more space for the snapshot and not removed it until the parent volume was repaired and mounted. It's unlikely that xfs_repair will produce different results when run on a volume and its snapshot, but better be safe than sorry. All this said, I just want to point out that the above method is filesystem independent and hence would work for any filesystem out there. I've never been a big fan of LVM, especially without RAID to build on (striping across physical media multiplies your chance of data loss), but this method is a good reason for using LVM regardless: use a volume group instead of your physical disk, and logical volumes instead of partitions, but don't span disks (unless you have to). Then, if stuff goes bad, you can hook in another disk, extend the volume group with it, and work on snapshots.

Russell Coker: SRS development

I've been working on a mail forwarding system which required me to implement <a href="http://www.openspf.org/srs.html">SRS</a> to allow people who use <a href="http://www.openspf.org/">SPF</a> to be customers of the service (as I use SPF on my domain it's fairly important to me). Reading the web pages before actually trying to implement it things seemed quite easy. All over the web you will see instructions to just set up an /etc/aliases file that pipes mail through the <span style="font-weight: bold;">srs</span> utility.<br /><br />The problem is that none of the srs utility programs actually support piped mail. It seems that the early design idea was to support piped mail but no-one actually implemented it that way. So you can call the srs utility to discover what the munged (cryptographically secure hash signed) originator of the email should be but you have to do the actual email via something else.<br /><br />This wasn't so much of a problem for me as I use my own custom maildrop agent to forward the mail instead of using /etc/aliases (Postfix doesn't support what I want to do with /etc/aliases - dynamically changing the email routing as you receive it isn't something that Postfix handles internally).<br /><br />However I still have one problem. Sometimes I get two or three copies of the SPF header from Postfix when it checks them.<br /><br />In my <span style="font-weight: bold;">main.cf</span> file I have a <span style="font-weight: bold;">smtpd_recipient_restrictions</span> configuration directive that contains <span style="font-weight: bold;">check_policy_service unix:private/spfpolicy</span> and the Postfix <span style="font-weight: bold;">master.cf</span> file has the following:<br /><br /><pre><br />spfpolicy unix - n n - - spawn user=USER argv=/PATH/spf-policy.pl<br /></pre><br /><br />Does anyone have any ideas why I would get multiple SPF checks and therefore multiple email header lines such as:<br /><pre><br />Received-SPF: none (smtp.sws.net.au: domain of SRS0=MUyCQ6=CO=coker.com.au=russell@inumbers.com does not designate permitted sender hosts)<br />Received-SPF: none (smtp.sws.net.au: domain of SRS0=MUyCQ6=CO=coker.com.au=russell@inumbers.com does not designate permitted sender hosts)<br />[some other headers]<br />Received-SPF: pass (inumbers: domain of russell@coker.com.au designates 61.95.69.6 as permitted sender)<br />Received-SPF: pass (inumbers: domain of russell@coker.com.au designates 61.95.69.6 as permitted sender)<br />Received-SPF: pass (inumbers: domain of russell@coker.com.au designates 61.95.69.6 as permitted sender)<br /></pre><br /><br />The email went through one mail router and then hit the destination machine, but somehow got 5 SPF checks along the way. Also the pair of identical checks had no lined between them and the set of three identical checks also had no lines between them. So multiple checks were performed without any forwarding. It seems that a single port 25 connection is giving two or three checks. Both machines run Postfix with SPF checking that is essentially idential (apart from being slightly different versions, Debian/unstable and RHEL4).<br /><br />Any advice on how to fix this would be appreciated.

Philipp Kern: Re: SCR 3310 on Linux

So finally I got my card reader running on Linux. It was not that hard, but the main problem was caused by the proprietary Linux driver I installed. Thanks to Ludovic Rousseau's Generic CCID driver the reader is able to run just fine with only Free Software. It works even with libchipcard2, but a tiny fix to udev was necessary to fix a permission problem (you might need to adapt the vendor and product id to your local card reader, as shown by lsusb):
/etc/udev/rules.d/smart_card.rules:
BUS=="usb", SYSFS idVendor =="04e6", SYSFS idProduct =="5116", GROUP="chipcard", MODE="0664"
With this tiny fix chipcardd2 correctly opens the card as a non-privileged user. My thanks also go to Thomas Viehmann, who provides an HBCI branch of Gnucash on Alioth. Apart from the application crashing a bit too often, the HBCI part works fine with my card and PIN. The only problem left is the sudden disconnect of the reader when it's not used for a few minutes. Only a restart of chipcardd2 and gnucash resolves the problem temporarily. All my homebanking activities are now properly signed, and the retrieval of transactions works just fine. To credit my bank a bit, I am a customer of 1822direkt, a subsidiary of the Frankfurter Sparkasse, since a few weeks. They provided me with a free checking account, together with a free(!) HBCI card. Transactions are mailed just-in-time (checked for hourly during working hours) PGP-encrypted. (Yes, they are running PGP5i on OS/2. I needed to create a RSA key using PHP5i/Unix without a passphrase. The public key output of PGP5i had to be sent to the bank, and after an import of the resulting public and private key into my GPG instance I was able to read the statements correctly. The mail interface did not cope with GPG-generated keys.)

Lars Wirzenius: Debian Inquirer: A Royal Mess: Debian Fights Queen

Queen Elizabeth II and the Debian project threaten religious warfare! D-Inq has today uncovered a conflict between the Debian Project and the queen of England and other places. The row is over the King James Version of the Bible. "It's all mine! Mine! Mine!" the monarch told D-Inq in an exclusive interview. "Keep yer dirty fingers off it or I'll sick the SAS on you." In the UK, the monarch owns the copyright for the KJV Bible, but the Debian project wishes to distribute it freely. The SAS, UK's elite fighting force and the Queen's personal mob, is already gearing up. Instead of their usual arsenal of guns and bombs, they're opting to use a new kind of weapon, the DD Attitude Readjustment Tool, or DART. The Debian Project is undaunted. "We've seen worse, this is a pedestrian transport in a big grassy place in comparison" says a Debian flame war veteran, Steve, 22, from Portland, Oregon. "The SAS is nothing compared to a vigorous discussion about firmware freeness. It's not even as bad as someone spoiling the next episode of B5." Things might get more difficult, though. There are rumors that MI5 has already infiltrated Debian's discussion forums. Worried analysts imply that some of the recent, divisive developments within the project are the result of agent provocateurs. "The new Python policy is one", says Lars W, an analyst who wishes to remain nameless. "No sensible person would have done things like that", he continues. While both sides ramp up their fighting forces, local constabulary in many English towns has already started to confiscate and deport machines running Debian to Libya. Time will tell when they will return.

Felipe Augusto van de Wiel: 29 Aug 2006

To infinity, and beyond! -- Buzz

[Debian]
I should write about this a few days ago but didn't have the time. Sorry. Well, these are great news (at least for me), a few days ago I sent the second part of my T&S and already got approved. My AM (Hi Cl ment) also pointed out a few changes that were needed in my packages that are already fixed and uploaded; Cl ment already sent the report and considering that, I'm now waiting for the Front Desk to review my application (and after that, DAMnation. I'm happy! I also finish the adoption of xless and levee. I still have to finish the MyPasswordSafe adoption, but before I have to fix a RC bug related to the use of sudo as the gain-root command (instead of fakeroot) in the alpha buildd. Thanks neuro that already give me a few tips on how to solve it.

Following the random ideas season:
  • Next week, Extremadura will host the i18n Debian people, the idea is to discuss lots of ideas, specially i18n Infrastructure, but not only discuss, also code a lot!
  • I do not like the idea to have sourceless firmware in main and I really like Don Armstrong proposal on that subject.
  • I still have to finish the desproxy, tuxfrw and thumbs packaging work to get it in time for etch.
  • I'm wondering how a tally sheet with more than 10 choices looks like


[Anti-SPAM season]
Like a lot of people already did, in the last two weeks I've been fighting SPAM in my company and also on the server of Free Software Projects that I'm part of the System Administration Team. In most cases I'm using postfix with clamscan and postgrey, but I will switch to amavisd-new to use SpamAssassin (with razor/pyzor). But I'm still studying the various alternatives in a Debian Sarge system.


Hey silva, thank you! (Journeyer certification).

Adeodato Sim : A sweet first, today

I’ve enjoyed tears of joy many times in my life, always triggered by the happyness of my loved ones. Today, they were for me, my tears. I have noone to thank for these past three days, but life itself. I don’t know how long this will last, either, but I am not scared. NR: Miguel Delibes, Pegar la hebra. (As Joaqu n Sabina would put it, “this is what I wear a hat for.”)

Joey Hess: id fraud

I found out today that someone found the small amount of information about me they needed to nearly successfully buy stuff in my name. They call this "identity theft", but since my identity still seems to be intect (pats his rampant ego) and since as an ardent SF fan, I'd like to reserve the term identity theft for the possibility of someone stealing a copy of me, I prefer not to use that term for this form of fraud. Luckily I already had a fraud alert placed on my accounts before this happened; I started placing these alerts a while ago, on the basis that the banking system's verification methods are so broken that it makes sense to just do it pre-emptively, before you have any reason to think someone is trying to defraud you. Who knows if that does any good though. Oddly, I almost ranted about this id theft nonsense last week, before I knew this happened. The thing is, while I'm calling to report credit cards as compromised and learning that someone managed to put together my name, address, phone number, and a not very well secured credit card number; at the same time I have something here with these properties:
  1. Anyone can use it to verify if a given statement (such as "transaction #128: please pay this person $500") was actually made by me and actually applies to the person I meant it to.
  2. Using it doesn't automatically give it to a supposedly trusted third party, such as the low-paid phone support guy who has my credit card number and all the rest up on his screen right now as I ask him to cancel the purchase.
  3. According to the experts is not breakable by any means except for a brute-force attack that would use the resources of a medium-sized country.
  4. Can be used to identify me with a fair degree of certainty, even if you've not met me.
  5. Is suitable for use on the internet.
  6. Even if physically stolen from me is not trivially easy to break and use.
  7. If I lose it or know that someone has stolen it from me, I can revoke its use in a way that is just as hard to forge or break.
  8. Can, incidentially, be used to make private conversations just as hard to snoop on. But that's probably a different rant.
That magic thing is a public and private key pair for GPG, and it seems really weird to me that I can use this for unimportant things like signing email, and for crucial things like authenticating changes to the software deployed on millions of coumputers, but I cannot use it to pay a bill. I wonder if the world at large will ever catch on to the uses of public key cryptography? Anyone want to start a First Bank of GPG?

29 August 2006

Jon Dowland: Debian BBQ

people
This weekend I was at Steve's House in Cambridge for the 2006 Debian BBQ. Many thanks to Steve for hosting a great party!
flames
There was a spectacular turnout of people. It was nice to see people I've met at UKUUG conferences and such like, but also nice to meet some new people, including Europeans who had ventured over. There are some of pictures from the weekend on flickr, but they're not very good because my camera was broken (more on that another time). There are some (much better) pictures linked at the bottom of this wiki page. On a related note, I'm sad to see Matthew Garrett resign from Debian. He joins several others including Scott James Remnant (both of whom were at the BBQ) who have made the move to "full time" Ubuntu, having realised that Debian just wasn't fun for them anymore.

Enrico Zini: random-thoughts

Random thoughts Model Builder How are you tonight?
  1. What are the packages?
< mrvn> Sesse: cvs help commit You know you definitely are bored when you set up your own newsgroup with a hammer Bringing about the intention: which future? Should a DPL have a moustache? Brilliant. ...the solution to all problems. the point is that from Redhat Linux NT you need to forward to a GUI in order to mount a microprocessor it's about time Kindly start doing something useful and quit ignoring the policy, please let's be reasonable. Let's not drag this into another flame war!

Brett Parker: AJAX And Accessability

MJ Ray talks about AJAX and Accessability, as much as I hate most things JavaScript, and most things on the web (it's full of bad designers, and pages that I just can't view with a text based browser... grrr ;), I have do disagree with AJAX inherently breaking accessability - that'll be bad web designers. AJAX and JavaScript are supposed to be used to enhance the user experience when run on a platform that supports it, they are not there to replace the job of the server in the first place, good web designers know this, and when they use AJAX it's to minimise data transfer when JavaScript is enabled, but otherwise everything should have safe fallbacks, ergo they're still accessable. It's not the technology that is the problem, as usual it's the crowd of "ohh, shiny" that don't use any common sense. Fix the people, fix the web. While people are still in the "oh shiny" mindset, we're going to see more problems, it's quite simple. New technology, expecially stuff that really actually isn't new, it's just been bent in to "shape" by a bunch of people that had more time than sense and wanted a set of libraries to make sick things possible... make things simple, people use them. People use them, they use them incorrectly. It's been the way of the world for many years. Simple solution to the problem, force people to use a text based browser for a day a week - no, not w3m with javascript support, that'd be cheating... watch as the web (slowly) became a better place. Anyways - that's my 2p on the issue.

Jesus Climent: Random thoughts

Matthew. Thanks for your time, your rants, your technical skills and everything else. Snakes on a plane is fun. It is like the Airplane movies. I visited London. Quickly showing up at the Tower Bridge, the Big Ben, 10 Downing Street and Picadilly Circus. Spending a night at Phil’s and heading back to Cambridge.

David Welton: Preliminary MIDP2.0 Support for Hecl

Wolfgang added preliminary support for MIDP2.0 to Hecl this afternoon. It's exciting news, because it's a big chunk of very useful code - MIDP2.0 is what most fancier phones have - in other words, it's what other geeks are running. Hopefully this will increase Hecl's appeal to that crowd. Naturally, the code was just checked in, so it's probably only suitable for those willing to hack on it and get involved right now, but hopefully we will cut a new release that includes it "soonish", depending on the amount of free time I have. Thanks!

Jonathan McDowell: Bank Holiday weekend

The weekend started off with a visit from Simon - we'd begun to get more and more grumpy with each other which is usually a sign we actually need to meet up. A trip to the Fat Cat and laughing at VH1's "Top 100 Dance floor fillers" seemed to put us in a better mood. We then headed off on Saturday to Cambridge for Steve's annual Debian UK related BBQ. I took some photos though Dave took many more. There were loads of people this year - it's amazing how many people Steve's house/garden can fit! As we've come to expect it was a fine weekend with plenty of food, drink and chat. Thanks Steve! Monday was mostly spent invading Dave and Becca for the purposes of constructing wedding invitations. They look fab! Just a few little bits to finish before getting round to sending them out. And now today's been a virtual Monday and I think it's almost time to stop...

Martin F. Krafft: Thank you, Uncle Steve!

Following my five week stay in Limerick to start my Ph.D. research, I headed for Cambridge for this year's Debian Barbeque at Steve McIntyre's house. For me, the event lasted from Friday night until Monday morning and involved many hours of joyous frolicing with happy people, and several insightful discussions. I would like to say thanks to Steve for organising the party, for putting up with all of us loonies, for driving Enrico and myself to the station in the early morning hours of Monday, and for memories of a funtastic weekend. ... and what better way to say thanks could there be than doing it a million times (warning, Flash animation; ha ha, imagine what would have happened if I had just embedded that in the post, dear readers of the planet).

Erich Schubert: Keeping your users out.

Today I was trying to find some information in the Ubuntu forums. I'm seriously annoyed. There was one thread that seemed relevant, but it has some 310 pages. Yes, thats over 3000 posts. Unfortunately, Ubuntu (and I consider this arrogant behaviour) doesn't allow you to search the forum or access attached images if you are not registered. I can understand things like spam protection. But WTF do you require registration for searching? I mean... I was trying to find out if the Ubuntu community could help, and all I get is "register first"!? Thats pure harrasment of non-registered users. I don't think I'll bother to remember another username and password just for their crappy forums. I hate forums anyway. And the size of that thread just shows that forums don't scale well. Especially if you can't search. [Update: yes, I've been a bit harsh here. The front page says that they're experiencing speed issues, and thus have disabled search within the forum. Actually I can't believe that search requests make such a huge load (especially compared to me browsing a 30-page thread...) - but maybe their search function is just implemented badly? I wouldn't be surprised if they do some huge SELECT to search, and don't have an index optimized for text searching. Maybe they shouldn't be using a closed source software for running their forum. I guess they could just fix the search functionality then. If opensource software doesn't meet their requirements, they're bound to get some support by the community to make the software meet them, if vBulletin actually is better in some points. IMHO vBulletin sucks. And given the speed issues "it is what the admin prefers" might miss some important point - that at some point you can't just keep getting a larger CPU]

Phil Hands: GeekSki 2007

As I mentioned to some of the folks at Steve's Barbie, we're currently starting the planning for next season's geekski. (oh and thanks Steve, the barbie was better than ever :-) Geekski is an annual holiday, which (so far) always goes to Tux (well, given the name, we have to really). We're just in the throws of organising next year's trip, so if you're interested, please feel free to subscribe to the mailing list Despite the name, Geekski is more focused on skiing (and boarding) than geeking, so while people do occasionally get laptops out, more time in the evenings is spent socialising than hacking. Also, people of all standards turn up, so it's fine if you've never skied before. If there is a taste that's not really catered to, it's off-piste powder hounds, since the main resort is at glacier level, so going off-piste runs a heavy risk of ending up in a crevasse. On the other hand, being on a glacier does guarantee something to ski on, whatever the state of global warming this year, and we have had thigh deep powder on the pistes on occasion. We're currently settling on a date (3rd-10/11th March seems likely) and will be booking places in the next 2-3 weeks, so get on the list, and get organised now if you want to come along next year.

Steve McIntyre: What day is it again?

Another year, another party bigger than last year's. By my count, we had 56 people (and a dog) in my house and garden at the peak on Saturday evening. It was excellent to see people from all over: .fi, .nl, .no, .be, .it, .ch. And .uk, of course. Even the gods of weather were kind to us and held off on the rain that was forecast for Saturday. As far as I could tell, everybody enjoyed themselves; I know I definitely did! Same time, same place next year I guess... :-)

Next.

Previous.