Search Results: "ag"

8 September 2006

Carlos Villegas: Trying to integrate Ubuntu's readahead (SoC2006).

I've been playing a bit with Ubuntu's readahead to get a better boot time on debian. At least they seem to get it. I've used strace to get the list of files for different init-scripts and generate the required /etc/readahead/boot file - containing the files to load to memory. The advantage of readahead over preload so far is that it does not affect the boot time when it is not active. I consider readahead inactive when the boot file is empty and preload when the preload script is removed from the symbolic link pools (/etc/rcX.d).

By using readahead shortly after the system starts to boot (near udev), the boot time is even increased by 2 seconds (e.g. S03readahead in /etc/rcS.d). On the other side, by using some of the files used by KDE during startup there is almost a one second improvement as may be seen in the bootchart. We use readahead in /etc/rcS.d position S42. The list of files and the bootcharts may be found here.

Besides, I've corrected the deliverable 5 including the fact that lintian incorporates now a check for lsb compliance based on our patch! The deliverable is available here

Wouter Verhelst: Re: Undelivered Mail Returned to Sender

Dear SMTP Server program at host orange.fr,
It's great if you inform me that my message could not be delivered to
one or more recipients. It's also wonderful if you attach it below, so
that I can verify what's going on.
It's less great if verification shows that the mail you're replying to
was sent by me on 24 july 2005, which is over a year ago.
It's not very interesting if verification also shows that the mails in
question were actually mailing list posts, meaning that you sent the
bounce to the wrong address (it should've gone to the mailing list
bounce address instead).
It's rather annoying if you repeat this behaviour sixteen times. I guess
I should call me lucky that I only sent four mails on that day, and that
only four people on your mailserver were subscribed that day.
No, I did not contact postmaster, since the mails weren't all that
important, and I doubt there's anything they can do about it at this
point. I certainly don't need assistance with these mails.
Also, if I would address your postmaster the way you suggest it to me,
those mails would end up in my own mailbox anyway, rather than in your
postmaster's mailbox.
Your postmaster is, however, welcome to contact me if they so desire.
Love,
Wouter

Andre Luis Lopes: Advogato is no more

Yes, it’s true. Advogato is going offline. It’s sad to see such a good project going offline. I started using Advogato and reading some diaries there a lot of years ago and also wrote some entries myself there. Anyway, thanks Advogato for all the fish and good luck.

Dirk Eddelbuettel: More Comcast fun

One of the many recurring themes on this blog is the amount of trouble we're having with Comcast. So Ladies and Gentlemen, here is a new one: Having been forced to use the ISP as a smarthost for delivery (as reverse lookup is not provided for residential service), I depend on Comcast to deliver my mail. But look what we just got for attempting help a user on the quantlib-users list:
Reporting-MTA: dns; comcast.net
Arrival-Date: 8 Sep 2006 1:46:30 +0000

Final-Recipient: rfc822;
Action: failed
Status: 5.1.0 MAIL FROM: 550 REPLY:
550-"rejected_because_your_SMTP_server,_204.127.225.94,_is_in_the_Spamcop_RBL.
Diagnostic-Code: smtp; Permanent Failure: Other address status
Last-Attempt-Date: Fri, 8 Sep 2006 01:46:36 -0000
So a benefit of handing over around $500 per annum is that I do not get my mail delivered because the goods folks at sourceforge.net now think ATT Broadband aka Comcast [ to whom the address mail server 204.127.225.94 resolves ] is a spammer. Someone please remind me why I haven't switched to Speakeasy?

Pierre Habouzit: we need to cleanse the archive

% zcat /home/debian/dists/etch/main/source/Sources.gz   grep 'Package:'   wc -l
10026
% zcat /home/debian/dists/etch/main/source/Sources.gz   grep 'Package:.*perl'   wc -l
1026
so, 10% of the debian source packages are perl modules. How many of them have never been uploaded for years ? how many of them have 10 versions of backlog wrt upstream ? *shudders*

7 September 2006

Matthew Palmer: Bruce Schneier, You're my hero

The article of interest, Microsoft and FairUse4WM, starts with this:
If you really want to see Microsoft scramble to patch a hole in its software, don't look to vulnerabilities that impact countless Internet Explorer users or give intruders control of thousands of Windows machines. Just crack Redmond's DRM.
And just gets better from there, covering the economic realities of software patches for vendors and the user community, and makes (yet another) call for taking some of those externalities that dodgy software vendors love to exploit and internalising them again. Possibly the best sentence in the whole article, and a fantastic soundbite, is this one:
[Microsoft] is not a public charity, and if the internet suffers, or if computers are compromised en masse, the economic impact on Microsoft is still minimal.
The unasked question is, of course, how we can make the economic impact of enabling abuse of the Internet through shoddy security practices a little larger? Making Linux a more compelling option for all consumers is a nice long term one, but lawsuits and legislation would make them take notice a bit quicker. The funniest (or saddest, depending on your perspective) part of the DRM patch is that Microsoft released the patch out of it's normal "Patch Tuesday" cycle (which is guaranteed to garner more-than-usual interest), and then an updated version of the DRM-smasher is released a few days later getting around the "fix". I highly recommend everyone to read this article. It's a nice piece, full of talking points and thoughts to ponder.

Ross Burton: Python Challenge

Here is a quick challenge for any Python gurus out there. Go and grab the Postr source (you'll need bzr) and run src/postr.py. Marvel at how simple it makes uploading images to Flickr, and how well it works. Then run python setup.py install --prefix=prefix and run prefix/bin/postr. Try to upload an image and note how it hangs. A little debugging reveals that it is hanging on mimetools.choose_boundary(), and I have no idea why. I've probably made a stupid typo somewhere, can anyone spot the problem?

Evan Prodromou: 21 Fructidor CCXIV

We got back from Europe 36 hours ago, and I've spent most of the time sleeping. We'd had a pretty rough flight across the Atlantic -- although of the three of us the baby was the least grumpy. I'm a terrible jet-lag victim, though, and just a few hours of time change really messes with my wp:biorhythms. Yesterday was Amita June's first birthday, and although we were all tired we had a good time just the three of us. My parents, Maj's parents and our siblings all called, and we picked up a few presents that had been shipped here while we were gone. Amita got a trip to the toy store (net haul: 1 rubber ball, one Caillou book, one crapload of block toys) and a special breakfast. Sadly, she and her papa fell asleep together before she got her birthday dinner. We're having a birthday party at our house on Saturday, "from 3PM to bathtime". It should be a little more lively than our quiet day at home. tags:

Malm I don't think I've posted anything in a little while, since before we went to wt:Malm . We had a really nice time while we were there. I had corresponded with Sean Finney, another Debian developer who lives in Malm , before we left for Europe, and he'd offered a meetup. We had a free day in wt:Copenhagen so I figured I'd take him up on the offer. Malm is only about 40 minutes from Copenhagen by train, so we were able to take a trip over quite easily. There's a beautiful bridge between wt:Zealand and wt:Scania which we crossed by train -- the water was beautiful. We managed to miss Sean at the train station -- I'd given some pretty tenuous instructions on how to meet us -- but we managed to get out and see the town a bit for ourselves. The old city has two squares -- the Stortorget or Big Square and Lille torg or Little Square -- right next to each other. The Lille torg is circled by restaurants and we had a decent lunch at a place called the Moose Bar -- Scandinavian staples like salmon with a Thai presentation. A good idea. Sean managed to catch us as we were walking around, so we had a nice coffee together at a caf on the main drag. He's been in Malm for more than a year, and is taking classes at nearby wt:Lund. We managed to exchange GPG key signature preliminaries (what Maj calls the "Debian butt-sniffing ceremony") and had a good time talking about the state of Debian and Free Software. We split up at the train station and Maj and I went off to explore the towns small castle. It has a number of museums, but it was late in the day on a Sunday, so we opted instead for a walk to the beach, looking out to the bridge and ultimately the skyline and wind turbines of Copenhagen. After a long walk circumnavigating Malm 's distinctive Twisted Tower, the tallest building in Sweden, we headed back to Copenhagen for a dinner at Tivoli Gardens (probably my favorite spot in Copenhagen). tags:

Z rich We made a special stop on the way home to Montreal through wt:Zurich. We flew on Swiss Air, which has a hub in Zurich, and they gave us a free 24-hour layover in town. Fortunately for us, we got to spend some time with our good friends Mark Jaroski and Allegra Biava. They're friends of ours from SF who moved to Switzerland around the time Maj moved there, and they now live in wt:Lausanne. Both are extremely funny, intelligent and clued-in people. They were passing through Zurich on their way back to the US for a family visit there. I'm glad we got to see them, since I got to meet No ma, their 2-year-old daughter. No was born about 8 months after we last saw Mark and Allegra -- they weren't even telling people they were pregnant at the time. She's a barrel of laughs -- a real fun little person. She and Amita June got along great. We spent most of our time walking around central Zurich, seeing some of the sights and taking it easy. There's only so much tourism you can do with one toddler, and two toddlers raises the requirements considerably. I think the big downer for Zurich for me was how many people we didn't see. I'd hoped to connect with Alex Schroeder, founder of CommunityWiki, and also Martin Krafft, another fellow Debianista. Most disappointing, we missed Marco Prestipino, who's doing work at the University of Zurich in information transfer in online communities. tags:

Erich Schubert: Debian server abused

The security incident on alioth resulted in some rather bad press. Much of which isn't very accurate (the server was not cracked, certain applications installed by users were abused, but no privilege escalation happened) and not fair (this is not a "dumb" web server, but a server to be used by "third party users" to run web applications on). It's also worth noticing, that everybodys favorite Joerg Schilling commented [de] (read: flamed) on these articles in his best troll manner. In fact, he's known to be a frequent troll on heise, often posting "corrected" versions of articles related to Solaris or Linux. If you've read his posts there and his mails you just can't take him seriously. Don't feed the troll, and just ignore anything you hear from him. Including any cdrecord stuff, please switch to cdrkit/wodim! To avoid this type of problems I see the following choices: As you can see, the first option is the easiest, but it's contrary to the idea of alioth - being allowed to run custom web apps. Face it: a webserver serving only static pages is much easier to keep secure than one where users are allowed to install custom applications. And a project of Debians size needs to offer a web server where developers can run custom CGI. The other options mean much more work; especially the SELinux option would increase security a lot, even with PHP, but it means someone will have to spend a lot more time on administrating the system, and especially helping users when their web app doesn't work right because of SELinux security restrictions. For further increases in security PHP would need to be patched with some SELinux support: it shouldn't be allowed to include() or execute files written by the web server and not uploaded via ssh. For this, PHP needs to understand security contexts. One thing we should go for, however, is to provide more common services on alioth. For example wikis. Maybe we could setup a shared MoinMoin instance for all projects on alioth that want to have a wiki. And maybe offer "security supported" installations of other common webapps as well (e.g. forums, trac). Attacks usually exploit widely used applications such as wikis or forums. And even when 90% of the users on alioth upgrade their software on time, there are still 10% vulnerable. And maybe we can setup a box for the custom applications that actually is SELinux enabled in one or two years, when enough people are familiar with it and on how to write and maintain an appropriate policy.

Zak B. Elep: I am now the proud owner of this

[Imagine a picture of a perlish-white MSI MegaBook S262 here…]

Wouter Verhelst: Web design

Proper web design seems to be something that is out of grasp of the majority of commercial web developers. My dad asked me for help with some particular website last week, and in the two minutes that I was looking at the site, I saw four errors:
  1. It only worked if you use IE, giving you a white empty page if you use a real browser. I thought the dark ages of "This site optimized for Internet Explorer" were over three centuries ago.
  2. When opened in IE, it started off with a useless intro. I wasn't even remotely impressed, neither was my dad. Especially not seen the fact that he had to jump through a number of hoops to get at this silly intro (IE is hidden away into obscurity on my dad's computer, since I don't want to have to deal with the incredible amount of security issues this sieve has)
  3. The first page given was a menu which is never repeated afterwards (hurray for continuity), and which uses mystery meat navigation.
  4. Last but not least, <li> items (or whatever they abused to implement the same thing) have their first sentence coloured in a certain kind of blue, with no underlining. <a> items are coloured in the exact same shade of blue, with no underlining (and no hover effects). So the only way to see that a piece of text is no hyperlink is by hovering your mouse over there and verifying whether the mouse pointer changes. Way to go!
I forgot what the exact URL of the website was. It's not very important, though.

MJ Ray: Installation Difficulties

Yesterday, I helped a friend install an Edimax wifi USB stick. I've been using wireless networking lots for a year or two without much trouble, even testing experimental drivers sometimes, so I thought this would be straightforward. How wrong was I? First complication: the target machine is running the latest Windows, but still needed a driver CD-ROM loading. The instructions were quite clear that this must be done before plugging in the stick. What it doesn't tell you is that the stick has to be plugged in at a specific point during installation - cue mad unpacking. Second complication: the autorun program on the driver CD tries to do DNS lookups. Why on Earth? This is part of installing a network device. There is no working connection to the network, else we would probably not be installing this... Third complication: the questions in the install wizard are nonsense. For example: "Do you want to optimize for performance or for wifi operation?" Erm, I'd like it to operate as a wifi device with good performance please. The installation manual didn't explain what the questions meant, but did at least give recommended answers. Final complication: the driver utility has at least two ways of setting which wireless network to use (as well as the target AP, there's a BT Home Hub and some other BT kit somewhere nearby, according to their ESSIDs, although the USB stick only saw the Home Hub). One of them works. One doesn't, with the same settings. The only obvious way to find that out is trial-and-error. There's no useful error message when it fails - just no working network connection. Yes, lots of Linux stuff is harder to install than it needs to be, but at least its questions mostly make sense and most things give proper error output that helps to debug it. Windows is still in the dark ages on these two. I guess it's the lack of peer review: I didn't see any way to send a bug report to the dodgy driver designers. By the way, the Edimax stick works pretty well (although their web site is terrible). I think I'd recommend it, particularly if you're not using the Windows drivers... It says on the box it works on Debian and it looks good on linux-wless, but I've not tested that.

Jeff Bailey: Lunchtime phonecall...

... from [info]auzure_skies. She felt the baby move for the first time today!

This reminds me somewhat of getting married, looking around at the congregation, at Angie, at the Chaplain and wondering at the crazy dress-up party. I imagine this will all feel "real" one day, but for now it's this sort of crazy surrealistic dream.

Perhaps it'll feel more real when we go for the ultrasound. That will hopefully be in the next couple of weeks.

Philipp Kern: Some kind of vacation needed.

Sorry to all my NMs which await processing and others which expect anything of me. I often have headaches currently, possibly due to some meteorosensitivity of mine. That leads to quite some apathy, which in turn leads to unproductivity. Oh well... I should have taken a few days off home and PC in the last weeks after I left school, to regenerate. My sleep cycles are irregular and I often wake in between. (Or the mailman wakes me at 9am, when I went to bed at 3 or 4 am.) And I am even more addicted to coffee than I was before. I didn't even take the time to read a single book. This will change now, I hope. I spent the last days tracking down problems in libldap-ruby and ruby-gtk2... and I wasn't too successful: I got the first, but I am still suffering from the second. *cough* And I got started with Prolog... It is not yet entirely clear to me, but I think I will [vac] until the end of the week-end, enjoying some time with books and music. Hopefullys I can then think clearly again.

6 September 2006

Martin Zobel-Helas: Indian Summer in Germany

The best you can do on a tepidly summer evening like today? Drinking a glass of single malt scottish whisky while reading a good book and enjoying the sunset.

Jonathan McDowell: Any good webmail servers?

With Kathy being away I thought I'd have a look at setting up webmail so she can get hold of her mail easily whatever setup she ends up with. My only experience so far is sqwebmail but it's not that great UI-wise and ties to Maildir. This is good because it means it's lightweight, but I figured if I was investigating systems I should keep Black Cat (who currently use sqwebmail along with various other bits of Courier) and the (which is largely mbox at present) in mind. apt-cache search webmail produces a list of things to try. My heart sinks as I realise lots of them require PHP. And others want MySQL. I go and have a look at Prayer, which I've vaguely prodded before. It's not packaged, but I decide to try it out. It builds easily enough, I wrestle with roughly packaging it up into a deb to make removing it less hassle and install it. It doesn't like my earth.li CA signed cert on localhost. I eventually find the novalidate-cert option and manage to connect. My home box runs dovecot with Maildirs. This leads to my next problem; Prayer wants to create a folder called .prayer for it's config info. This doesn't work with Maildirs as folder directories tend to start with a . Changing it to prayer-config fixes that, though leaves it visible in the web interface. It's possible I can hide it if I look harder. So, I'm ready to send a mail. I do so. It gets delivered (modulo me remembering not to try to send from my internal domain to the outside world). A sent-mail folder gets created. Prayer failed to show any messages in it. I verify there is a message there by looking on the filesystem. I curse. I try creating another folder and sticking a message in it. No joy. I try Prayer against a Courier server. Same thing; it shows the mail folders as directories but no messages. I try it against a Dovecot server with mailbox. It works fine. I curse some more. At this point I decide the statement "Consequently, the user interface distinguishes between mailboxes and directories: this will not work well with servers which provide dual use mail folders." on the Prayer website should be heeded. So I decide to try postman, which the Prayer docs suggest they'd have used if it had been around when they started (it also does persistant IMAP connections with a backend daemon). I give up once I actually start trying to figure out the config file and how it all fits together. So. Out come the IMAP RFCs. I attempt logins to the different servers I have access to and I find that the mbox server reports \NoInferiors for mailboxes while the maildir server reports [\=HasNoChildren]. And that \NoInferiors implies [\=HasNoChildren]. So I hack Dovecot to always return \NoInferiors. And it works and I can see messages in folders. Yay. But hacking dovecot is annoying and won't help me with Courier. Leading to the following patch to Prayer:
--- prayer-1.0.18.orig/prayer/dirlist.c
+++ prayer-1.0.18/prayer/dirlist.c
@@ -172,7 +172,8 @@
 
     dl->next = NIL;
     dl->name = pool_strdup(callback.pool, name);
-    dl->isdir = (attributes & LATT_NOINFERIORS) ? NIL : T;
+    dl->isdir = (attributes & (LATT_NOINFERIORS   LATT_HASNOCHILDREN)) ?
+               NIL : T;
 
     /* Insertion sort algorithm */
 
ie if there are no child folders we assume the current folder is a mailbox rather than a directory. Now to actually run it for a while and see if it does the job.

Uwe Hermann: User-friendly SELinux policy editing in vim or Eclipse (using SLIDE)

SLIDE screenshot
SELinux file in vim After you have installed a minimum SELinux setup in QEMU, you might want to tweak and edit the policy to fit your needs. A nice, graphical method to do so is to use SLIDE, written by Tresys (and released under the terms of the GPL). SLIDE is an Eclipse (>= 3.1) plugin, which you can install easily: Of course, you can also easily use your favourite text-editor to edit the plain policy files (if you use the te.vim file from Thomas Bleher you get syntax highlighting, at least for *.te files). After placing the file in the ~/.vim/syntax directory, add this to your ~/.vimrc:
if has("autocmd")
  filetype plugin on
  augroup te
    autocmd BufRead,BufNewFile          *.te set filetype=te
  augroup END
endif

Daniel Jacobowitz: Online banking "security"

I almost submitted this to the excellent Crypto-Gram newsletter, but I think it's not actually all that evil. It's still pretty depressing for what I considered a security-competent online bank, though. The First Internet Bank of Indiana has announced that they will be enabling a new feature next week: First IB Security+. You have to answer additional questions about yourself to gain access to your account. But the questions, or at least the answers, will be selected by the user, from what I can tell - which means probably not hard for a determined adversary to acquire the answers, especially given that they must already have your online banking password. But sometimes they won't be asked the questions: if your account is configured to allow store a cookie on a particular computer, and the cookie is present, the questions will be skipped. They're increasing the security of my online banking experience using _cookies_? Which, if your computer was hacked - one of the most likely ways to get ahold of your password - the hacker could have already copied (along with the question answers, probably)? They can't be IP-based cookies, not with modern web proxy farms used by a number of ISPs and dynamic IPs still in use. I think that what they're trying to accomplish is an anti-phishing technique: if you don't expect to be asked questions, but you are, then there must be a man-in-the-middle attack in progress or something similar. So it's an extension of making sure that you're looking at an SSL-protected web page and that the certificate really is the one you think it is. There really must be a better way to do this - in fact, I think upcoming web browsers (both IE and Firefox) are supposed to have related features. At least they're not making anything worse. You still need the password, of course. So I think this is mostly a benign version of what Bruce Schneier calls "security theater", neither harmful nor especially helpful.

Steve Kemp: All my words are secondhand

Some semi-random photographs taken with the new camera. (resized to 800×600). I think I’m getting the hang of using the camera now, and will probably go back and attempt to understand the manual over the weekend. Talking of the weekend we have a Debconf 7 related meetup in Edinburgh. But still no real plan about what is going to happen …

Alexis Sukrieh: Debian Developer

Here it is, I’m now an official Debian Developer. Thanks to my sponsors, Frankie, Neil and Est ban, thanks to Philipp Kern who was my Applicant Manager, thank you all.

Next.

Previous.