Search Results: "spa"

7 June 2006

Erich Schubert: Mystery subscription

My last.fm status is "subscriber", though I never subscribed. Interesting. I thought maybe it was a test subscription of one month for my birthday or so (which was less then one month ago), but why didn't I get any mail to tell me of this test subscription then? Weird. So if anyone "secretly donated" this subscription to me, please, don't. But who would do so without telling me? I'm happy with their free service... So if you insist on wasting some money on me, consider my amazon wishlist instead (though I don't really care much about that stuff either...). Well, maybe the "ad" message was just delivered to the spam folder. After all, there is still a "subscribe" button on the last.fm page.

6 June 2006

Enrico Zini: One beer to Steinar

Steinar, you made my day! Here's a fixed version:
#! /bin/sh
WORK=" mktemp "
wget -O- "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=$1&mbox=yes" > "$WORK"
mutt -f "$WORK" # -e 'push D~=\n$'
rm "$WORK"
Now, it would be nice if it integrated with bts cache... abi on #debian-devel suggests to use:
bts show --mbox <bugid>
Wow! I didn't know it existed! And indeed it integrates with bts cache :)

Martin F. Krafft: Delaying mail

One thing I really miss about email as we know it is the feature to deliver a mail at a specified point in time, not necessarily now. Conceptually, this could be done quite easily: have an alias maildelay deliver to a script, which parses the envelope recipient of the form:
maildelay+2006.06.06.2000=madduck=debian.org@my.mail.relay
The script would drop the mail into a temporary file, removing the control information from the recipient headers:
s [^=]*=(.+)=(.+) \1@\2 
and set the file's modification date to the requested delivery date. Then have a daemon periodically scan the directory and pass expired files to /usr/sbin/sendmail. Michael Tokarev also offers an interesting approach: using Postfix header_checks, he suggests putting messages that contain a header such as X-Delay-Send on hold:
/^X-Delay-Send:/ FILTER hold:
Then, scan the hold queue and set the modification date of the appropriate files to the requested time to let Postfix's qmgr handle the delivery around that time. Of course, I am not supposed to roam about in /var/spool/postfix/deferred, less change any inodes, thus this method right now is not more than a nice idea (I did submit a feature request to Postfix; it doesn't look like it'll be accepted.). Regardless, both approaches are effectively open relays and I am not too inclined to do anything about that. So, moving on... Another method would be to write a policy daemon that returns a 4xx status message until the time specified in the email. Of course, this has the problem of unpredictability, so the mail could be delayed several hours longer than requested. But given the requirement that I'd like to turn my laptop (the submitting MTA) off and still have the mail delivered, the solution may be a second MTA on my SMTP relay (perhaps on port 587/tcp), which takes care of all TLS and SASL submissions and has a predictable retry period. If you have any thoughts (or existing solutions), please let me know!

5 June 2006

Philipp Kern: First SoC status report: Reportbug Gnome2 GUI

I was quiet about it for a long time, but here it is: my first Summer of Code status report. For a bigger picture: I am working on a graphical front-end to the bug tracking system Debian uses. Well, at least I am supposed to work on it. First on my list was something else: a Gtk2 graphical front-end for the well-known bug reporting tool "reportbug", which might later be integrated somehow into Debian's Gnome environment. According to the list of milestones I created when I drafted the application in less than an hour (due to the deadline approaching) I need to release a first prototype of such a GUI today. It took more time than expected to work on it, so I have not yet started any work on the main graphical front-end. I started a few days later than expected, due to some delay until the approved applications were published and I also had to learn Python from scratch. This task was not too hard, but I am still often confused by the lack of consistency throughout the language. Compared to Ruby, a language I know reasonably well and in which I already coded much, Python has much more syntactic constructs for primitives and in my opinion this leads to a lack of consistency. But well, one gets used to it... There was once a "original" Gnome front-end, but it is discontinued since some years already. I did not look much at it, neither at the patch in the BTS which should basically bring it to the current Gnome2 libraries. To properly understand the hooks I need to provide for an interface plugin I started from scratch, only reusing the core idea of the old front-end: the use of the GnomeUI Druid. The new GtkAssistant is not yet ready to be deployed, being introduced with the upcoming Gtk 2.10 release. Still I have a weird feeling about the Gnome Druid, because I abuse it just to provide a consistent look. reportbug does not support backing up to a previous question, so the Back button is generally deactivated. reportbug welcome screen reportbug package selection I tried to modify core code as few as possible, as I have not yet talked with the reportbug maintainer Chris Lawrence. I will do so in due course. However after the old GUI front-end code was basically discarded (its usage is discouraged with a prominent notice), many changes to the core code did only take the text interface into account. (Well, I just suppose this, I did not do much research into reportbug's past.) So some tiny changes were needed to provide a few more hooks. There are, however, more to come, especially in connection with one input type (select_options, which could often be implemented as presenting a simple yes/no dialogue). The configuration basically works already, as seen below. What does not work are spawing the right editor and getting a filename from the user interface. But those are minor quirks and not too hard to fix. I need to develop in the open, as specified by the Summer of Code ruleset, and now I could do so, after about four rewrites of the GUI code. The main GUI loop is now in a thread, receiving commands from the main thread running the logic and sending the input back through a queue. (I used a pipe-based approach first, using an IO selector provided by glib, but it did not work well enough and this approach is far simpler.) reportbug configuration screen reportbug configuration screen -- mode selection So the current version is not vapourware, but there is still some more work to do to get it really usable. I will put my work into the Summer of Code Subversion repository as soon as the necessary access privileges are synced onto costa, an Alioth machine. Hopefully it will be merged into reportbug when I completely finished off this project.

Julien Danjou: My buildd

Ok, after some hours, I managed to set up my first buildd (on i386 :( ). That was not so hard after all, but I would have loved a few more documentation.
Anyway, I plan to run a buildd on another sparc box, so I'll write some documentation at this moment. Yesterday eveni^Wnight, I filled up the wanna-build database with all Debian source packages. buildd But... Doh! It seems it found its first FTBFS! What a lovely buildd!

MJ Ray: Annoying blog comment misfeatures: anti-spam: How not to do it (2)

Benjamin Seidenberg's Blog: New Anti-Spam Measures uses a simple maths test, which should work, but it produced a rambling SQL error for me. I emailed it as requested and got an error back saying Command died with status 1: "/usr/share/doc/spamassassin/examples/filter.sh" That may block all spam, but also blocks other mail, snatching defeat from the jaws of victory. [links in permalink version]

Mike Hommey: Targetted Spam

This morning, I got one of these standard cialis/viagra/xanax/valium/whatever spam you get numerous times in a day, but with a “test xul” subject. Well, that’s targetted.

Eric Dorland: Belated DebConf Conclusion

I'm terrible at the whole blogging thing, I've been back for two weeks and haven't found the time to summarize my time at DebConf. I had an excellent time. I met a lot of great people and even found a squash partner for the next DebConf. It was really quite unforgettable, so thanks to everyone involved.

Hanging out with [info]sfllaw there, I was exposed to a lot more Ubuntu-esque things that I really had before. Some people there were quite unhappy about Ubuntu. To me, it's just not really that interesting, one because I don't see it as being substantially better or different from Debian and two because it looser stand on freedom. But hey, this is free software, people seem to like it, and I'm glad to see something related to Debian getting money and attention, rather than say RedHat or SUSE. I think a lot of developers would be happier with Ubuntu if it was just easier to ignore.

Then there was that dinner, and the events surrounding it. While I and many others won't miss Ted, I don't think he was treated at all fairly. Being thrown out in the middle of conference when seemly he did nothing wrong there was not very civil. If people could not stand to be around him, they did not have to be around him. He could have just as easily been removed from the project after the conference was over.

Enough griping though. If I came away with anything from the conference, it was a renewed vigor to work on Debian. Now if only my schedule would permit it.

Uwe Hermann: CC Hits [Update]

I stumbled over CC Hits today, which looks like an interesting site with great potential. It's basically a digg-like site (implemented using ning.com, it seems) which doesn't list articles, but rather Creative Commons licensed songs. You can vote for the songs you like, just like you vote for articles on digg.com. The site seems to be quite new, and there's not too much traffic yet, but I imagine it could become a very useful resource to find high-quality Creative Commons music. Which is similar to what I'm doing with my Creative Commons music podcast (subscribe here, yadda yadda), and most of the other CC music podcasts do, for that matter. There's just too much CC music of varying quality out there by now — it's not so much a problem anymore to find some freely and legally available CC music (like it used to be a few years ago). It's more an issue of finding good music and/or music of certain genres you like... Anyways, I'm surely going to checkout CC Hits and use it to find new CC artists and songs for my podcast. Oh, and if you have any suggestions for more sources for good CC music, please leave a comment. </spam> Update 2006-06-05: On a related note, here's a song for all the geeks reading this: Code Monkey (MP3, 3.6 MB) by Jonathan Coulton, Creative Commons licensed, of course.

4 June 2006

Enrico Zini: Dapper on XEN (part 1/1, unfinished)

I need to do some work on a Dapper system, so it's time to try out xen:
apt-get install linux-image-2.6-xen-686 xen-hypervisor-3.0-i386 xen-utils-3.0 xen-tools
xen-tools tries to recommend xen, which is old and has been requested to be removed from the archive. The recommends needs to be ignored, which is not that trivial to do with aptitude. The linux-image doesn't happen to have an initrd. The bug has already been reported. One can recreate one using:
mkinitrd -o/boot/initrd-2.6.16-2-xen-686.img  2.6.16-2-xen-686
Then one adds this to /boot/grub/menu.lst:
title Xen
root (hd0,0)
kernel /boot/xen-3.0-i386.gz
module /boot/vmlinuz-2.6.16-2-xen-686 root=/dev/hda1
module /boot/initrd.img-2.6.16-2-xen-smp
And it boots lovely:
# xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0      939     2 r-----  4677.9
Now xen-tools provides xen-create-image. I'll try to create the Dapper image (deboostrap in my system has already been changed to be able to install dapper):
xen-create-image --size=4G --swap=128M --dhcp --volume=marvin \
                 --hostname=cavazza --dist=dapper --fs=xfs
But I get:
[...]
Creating swapfile : /dev/marvin/cavazza-swap
Done
Creating disk image: /dev/marvin/cavazza-root
Done
Creating xfs filesystem
Done
Installing the base system.   This will take a while!
Copying files from host to image.
Finished
Something went wrong with the debootstrap installation
Aborting
I love detailed error messages. This one is not. So I'll have to do by hand. The documentation says:
Before you can start an additional domain, you must create a configuration file. We provide two example files which you can use as a starting point:
  • /etc/xen/xmexample1 is a simple template configuration file for describing a single VM.
  • /etc/xen/xmexample2 file is a template description that is intended to be reused for multiple virtual machines. Setting the value of the vmid variable on the xm command line fills in parts of this template.
But in Debian there's no trace of the two example files. I've reported to Guido Trotter. Then I googled for the two files and found them. Now, on to adapt Dapper to run under Xen. The good Ubuntu wiki has an HOWTO which crudely makes you install the Tarballed Pre-built installations of Xen 3.0. It's sad that xen-enabled kernels didn't make it into Dapper roper. I can make this:
kernel = "/boot/vmlinuz-xen-domu"
memory = 128
name = "Dapper"
disk = [ 'phy:marvin/dapper,hda1,w' ]
dhcp="dhcp"
root = "/dev/hda1 ro"
I used the pre-built kernel as a domU, but:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,1)
Sigh. I'll try with the Debian Xen-enabled kernels. Installing yaird and linux-image-2.6.16-2-xen-686_2.6.16-14_i386.deb and linux-modules-2.6.16-2-xen-686. It WORKS! Now, that's not Dapper: that's a debootstrap install of it. No user, no root password, no desktop, no shiny Ubuntu custom config. How to finish the installation? No idea. In the past, I could run base-config, but now it doesn't exist anymore. It seems that the best bet is not to use debootstrap, but to install the CD in the LVM partition using QEMU and then chroot into it and then install the debian xen kernel to boot it. A QEMU install will take ages, and I expect some trouble, like getting partman to see LVM. Maybe I better install on a disk image file and then use tar and netcat to bring the ubuntu installation out of the disk image and into the LVM image. For today, I didn't make it. This job slips another day. Frustration. I hope that at least this description of my efforts so far can be helpful to someone trying similar things. One suggestion I got was to boot the Dapper CD and install from there. I can't: this computer has no bootable CD. Update: I found out http://xensource.com/summerofcode.html and it says:
Project Idea 3: Xen Desktop Outside of Domain 0 This project would deliver a Xen desktop to the user of a client system that presents an abstraction of a virtual desktop to the user in which multiple guests share the virtual desktop, each with a subset of the desktop resources (pixels, etc). Smart management of the sound drivers would allow mixing of sound from multiple guests to the single device used for output. Microphone input could be broadcast to all guests. Technologies such as ALSA already emulate playback settings by downsampling for the hardware etc. so its not hard to imagine a xen-snd-front device munging the data to a common format used for the internal sound card. Issues: synchronization of playback.
So, what I'm trying to do has been proposed as a SoC project and (I guess) is something that can't be done overnight. Although I was planning to run a diskless gdm accessed with XDMCMP from domain0's X server, and to just hand out the audio card to the domU using pciback, so my task would have been easier. Thus I give up using Xen for this one. I'll work around the lack-of-bootable-cd limitation of this computer by installing Ubuntu using QEMU. Which I found out requires using the "Alternate install" CD. The desktop install CD is a live CD installing with Ubuntu Expresso, and the live CD doesn't seem to work in QEMU. Or, I'll install in a LVM partition in the laptop and then move it around using the network. This one's probably faster. Could this experience be an interesting use case for Edgy Eft?

Erich Schubert: How to avoid locking yourself out via iptables...

Martin F. Krafft blogged about how to rollback firewall changes in the case you managed to lock yourself out from the box It's even easier if you use my Pyroman firewall config tool. (apt-get install pyroman). If you run pyroman safe it will execute the new firewall rules - and if you don't type OK within 30 seconds, it will undo all changes. Note that it can also restore to a configuration set by a different firewall app. (It just restores the old iptables state and feeds it back to iptables - it will support anything your iptables version does.) Oh, and it's much faster than the other firewall scripts I've tested so far, since it doesn't spawn hundreds of iptables processes, but only one iptables-restore for setting the new rules in one transaction. Check the web page for other benefits; should just work on any Linux distribution with iptables and python (read: every). [Update: Martin, I was referring to the instructions you gave, to adding an at job and then running atrm to accept the changes. Yeah, what you script does is basically the same what mine does for rollback.]

Tollef Fog Heen: Hackergotchi for Robot101

Since I'm impatient and Robot101 didn't respond within ten minutes of me pinging him on IRC, I'm just posting the result of his request for a hackergotchi. Robot101 Above is JPEG, but there's an XCF available too, with full transparency goodness, etc. Next time, it'd be useful to have a starting image where the head is bit more than 180x230 pixels since doing cropping and resizes and such tend to end with the image not being great. Also, my space bar is failing and I'll have to call IBM when I get home. I'm actually quite disappointed that I seem to have worn out the space bar in about a year and a half.

Martin F. Krafft: A safer way to apply a new iptables ruleset

You probably now the feeling, that cold and hot rush of adrenaline after you've typed iptables-restore < new-ruleset and didn't get to see the shell prompt again: you've just locked yourself out of a machine that's potentially far away, and you feel like vanadlism, or screaming on the top of your lungs, or whatever. In my series "scripts to the rescue" (uh, which doesn't exist as a series actually), here's a new one: iptables-apply (and docbook manpage), which will make things easier for you. It applies the new ruleset and then prompts whether you like it. If you've locked yourself out, you cannot answer the prompt, and if you don't, the script rolls back the ruleset. Nice and simple. And surely beats my previous approach, which was:
echo 'iptables-restore < /etc/network/iptables'   at now + 2 min
iptables-restore < /etc/network/iptables.new
[...]
atrm ...
mv /etc/network/iptables .new, 
Now I hope the iptables maintainer feels inclined to put the script in with the package (see #370292).

3 June 2006

Joey Hess: new laptop

Well, I finally have a new laptop. Got it yesterday, spent about 3 hours installing and downloading all the software, and then let rsync run all last night to transfer over my home directory. Of course like any good Debian user I've filed a detailed installation report. I'm fairly pleased with the fujitsu p7120 so far. Compared to my old p1100:

Benjamin Seidenberg: New Anti-Spam Measures

(Sorry Robert, this is a meta-blog-post. Perhaps I should create a catagory for them?) Since being syndicated on Planet Debian, the amount of comment spam I’ve gotten has risen sharply. No spam has made it onto th site itself, since I moderate the first comment someone makes, but the emails have gotten annoying. Therefore, I put a turing test into place. Blind users will be happy to hear it’s not a CAPTCHA, instead it’s one more field to fill out that asks a very basic math question to prevent spambots from commenting. Users who registered back when I required it won’t even get the field, isn’t that nice?
To the readers of Planet Debian who are probably asking “Why Do I Care?”: If you don’t mind, try out the system to make sure it works. I figure the readership of that site will have a fairly diverse set of browsers and maybe even a few using accessibility ehancements that can confirm that the system has no problems. If you encounter any problems, email me at astronut@dlgeek.net or ping me on IRC (astronut on both freenode and oftc).

Ben Hutchings: LJ jumps the shark

This email was sent from LiveJournal / Six Apart through Responsys. You are receiving this email because your LiveJournal preferences indicate you are interested in receiving LJ News by email. If you do not want to receive LJ news by email, please login and edit your preferences: http://www.livejournal.com/editinfo.bml
They don't. I never set a preference for it and there is no such preference on that page. And I could have read that on the front page or [info]news anyway. WTF? Updated: Removed broken preformatting of the quoted text.

Robert Pickel: New proposal and info

You can find a pdf of my new proposal here.
.

The latest source can be found at svn:\\live.debian.net\casper-ng

Visit the Debian-Live webpage for more info.

Note: I am pretty sure the page will be moving next week, so I'll post the new info once that site is up.

Erich Schubert: MySpace bullshit: everybody is in your extended network

... in case you wondered, even when you've never even visited myspace, or are using lynx via some anonymization service, reject all cookies and so on: every profile page on myspace has a big banner saying "nickname is in your extended network". Well, if you consider the Internet your extended network that is true. Still that is bullshitting. What a marketing crap.

2 June 2006

DebConf6 Blog: DebConf6 Over - Thanks to all and pictures for the gallery (Posted by The DebConf6 Orga Team)

As you probably know by now: DebConf6 is over! It was an excellent event at a nice location with some amazing network details - such as 1.8km of cable to get all our areas linked into the local network, and having a fiber link into the tower - with 10mbit hubs. We would like to say thank you to all the people who helped to run and organize this conference, taking on tasks such as Additional thanks go to all the people who lent us their hardware, our sponsors for making the event possible in the first place (see the full list at debconf6.debconf.org), and to all the attendees who managed to keep on smiling even when things didn’t always turn out as expected.
While we are at it: There is a central gallery for DebConf6 behind gallery.debconf.org. As it is open for everyone, just create a user there and send a little mail to gallery-admins@debconf.org to get your account activated. We would like to have this as a central point for all pictures taken at DebConf6 (and all prior / following DebConf-Events), so we would really appreciate if you can (in addition to your own gallery) upload the pictures from DebConf6 or all prior events you attended there.

Martin F. Krafft: Keeping an eye on package involvement

I find my developer QA page to be unappropriately long. At the same time, I have completely lost track of which packages I maintain (well, sort of), (am supposed to) co-maintain, and to which packages I've subscribed via the PTS. A script to the rescue! Please excuse that it's bash (which sucks), but there just isn't another more rapid development tool for such petty tasks out there. Without further ado, you can download checkpkgs and give it a whirl:
  # use $DEBEMAIL
$ checkpkgs
  # use explicit email
$ checkpkgs dude@thisrocksmysocks.org
  # use separate PTS subscription email address
$ checkpkgs dude@thisrocksmysocks.org dude-pts@thisrocksmysocks.org
  # use separate PTS subscription email address and $DEBEMAIL
$ DEBPTSEMAIL=dude-pts@thisrocksmysocks.org checkpkgs
The output is quite simply a table of the following form:
hibernate;cameron@patrick.wattle.id.au;0;1;madduck-pts@debian.org
unifdef;bob@proulx.com;0;0;madduck-pts@debian.org
thinkpad;pkg-tpctl-devel@lists.alioth.debian.org;0;1;
The columns are:
  • package name
  • maintainer
  • whether I am the maintainer
  • whether I am a co-maintainer
  • the address with which I am subscribed to the PTS (if at all) (this is either ($1 or $2) or ($DEBEMAIL or $DEBPTSEMAIL))
So from the above output, I know that:
  • I am a co-maintainer of hibernate and I am properly subscribed
  • I am subscribed to unifdef but I am not a maintainer. Since I sponsored the package, I better keep track of it though.
  • I am a co-maintainer of thinkpad, but I have not yet subscribed to the PTS, so I better do this right now.
The script's only a quick hack, but maybe people come to like it. PS: I really need to set up version control again.

Next.

Previous.