Search Results: "ean"

3 October 2006

Pierre Habouzit: My commitment in Debian, dunc-tank, and related matters

I've chosen debian because it fulfills an ideal. For me Debian is about to build an Universal OS , and when decisions has to be taken, it's based: To live decently, I do work also in a start-up company that also happen to write closed-source software. That gives me enough money to eat and live well, and beeing able to dedicate my free time on Debian and free software. That means I've done the choice on purpose not to mix my paid work with Debian, because I don't want to balance the decisions I take in Debian I against my well-beeing. That said, I'm completely OK with people having paid works intimately related to their DD work. And if their work is intimately related to etch beeing released in time, then well, I wish them a lot of courrage. I wouldn't have the guts. I'm OK with this because we are talking about people that are not able to impose decisions to me that I judge irealist or bad. And still, I can dismiss such decision thanks to the CTTE if needed. Though, when it comes to delegates, it's a full different story, because I do have to interact with those guys in my allday Debian work, and that undoing their decisions needs a GR as per constitution. It's way less easy than going in front of the CTTE. And if Delegates are paid whichever the entity that pays them is, they will have to balance technical choices against beeing able to eat tonight (or reimburse their house, or ). Obviously, one will say that it's OK here, it's not a salary, and that the currently discussed[1] contract is not about doing the RM releasing Debian in time, but helping toward that goal, or trying to release in time not sacrificing the release quality. I answer bullshit! to that. Our RM have at least I happen to hope so more higher standards than that. If they accept that mission it's to see it completed. I'm already fearing for them getting down if they can't achieve that.
I also know that at least one of the dunc-tank board member[2] would like to see a structure able to fund DD's to work on Debian, and be able to live from that. I'm sorry, but that's an option I don't want the project to take. And if dunc-tank is a prelude to that, so please don't even think of starting it. When there is money in the game, the donator,employer,boss, and the guy accepting that money have at least a moral contract if not a legally binding one of results. And I see no investor that would happen to be interessed into a contract where the due in line is undefined. Thinking otherwise looks like complete naivety to me. So either it won't work, either people will have to take into account other parameters than technical quality when the will have to make choices. I see in my paid work what such things mean, and I do consider me lucky, I'm in a company where people do know what quality means. Though the company also has to live, and that sometimes makes us take choices that I don't like at all. I never want have to even consider such choices in Debian. I'm sorry, but putting such considerations in the project is jeopardizing what the project means and represent to me. The sole structure that would maybe fit would be some bounty board, with the following things done: And even with that some kind of checking that the job has been done correctly has to be done somewhere, and I don't see clearly who could do that, but I suppose that's doable to find some fair reviewers plus the donator(s) for that.
That said dunc-tank does not meet any of the previous requirements, is driven by delegates, and works around the thorny problem of finding a consensus among the DD's in the worst possible way. Those are the reasons[4] why I think dunc-tank is a bad idea.
And to the people offended that I seconded the recall, this is about the fact that I found the way dunc-tank has been imposed to us after having asked for our opinion, and heard the acute opposition of some of us hideous, and about the fact that beeing the DPL, or even a delegate and in dunc-tank at the same time is a conflict of interests. It's not a matter of beeing pro or against dunc-tank, matter against which there is no course of action for me anyway, as it has been on purpose and artificially kept outside of Debian.
Notes [1] I should say imposed upon us [2] And I fear more people would like to see this happen [3] even if someone already started that bounty [4] maybe there is more, I tried to lay down the more important to me

Simon Law: Day against DRM


Day against DRM
Originally uploaded by Naufragio.
Today is the day against DRM. Thousands of people around the world are spreading the word about Digital Restriction Management technologies. The interesting thing about the people building DRM systems is that they're doing evil. They may not think they're doing evil, after all they're generally good people, doing their jobs, feeding their families, and protecting their interests. It's not a big evil, but it is a subtle one. And that's why you shouldn't support them. For decades, the music industry has been making money by selling records and tapes. This was a good business, because it was difficult to produce records, and it was difficult to get tapes into the hands of consumers. They made quite a tidy sum over production and distribution of art, which is a pretty decent living. But then came the Internet. And the Internet got big. Big enough that you're reading what I'm writing, even though we come from completely different backgrounds and are probably miles apart. The interesting thing about the Internet is that copying a song and sending it to someone else costs almost nothing. Zip, zero, zilch. Now traditional media distribution houses are upset. The service they performed was valuable and the goods they sold were scarce. Nowadays, neither or those are true. People can record music in their garages, edit it on their computers, and publish it online. The digital medium has turned art from a scarce resource into an abundance. So what do companies do? They feel that they have to protect their existing business models so they try to push through legislation that would make it illegal to provide abundance. That's like arresting farmers for plant seeds they've harvested from their own wheat. But this is wrong. People are now using the Internet to make and distribute art like we've never seen before. The proliferation of new songs, new pictures, new videos is just enormous. The creative community has exploded through sharing, some of it illegal, and we can all see what a vibe this has caused. DRM is meant to put a stop to that. It's designed to have two components: one is the technology that monitors and restricts what you can do with the art that you've bought, the second is the legislation that makes it illegal to circumvent this technology. So only criminals will be able to give music to their friends. But criminals will do that anyway, laws won't prevent DVD duplication in Asia. They will, however, stop you from listening to music in ways some corporation doesn't want you to. What can you do about it? Make it known that you're against DRM. Make it known that you're against proprietary systems that stifle the creative spirit. And only purchase open systems. Not just because it's the right thing to do, but also because they won't hold you hostage.

Edd Dumbill: Living and coding on a Mac

For most of this year I've been working mainly on a Macbook Pro, having deserted my Ubuntu desktop.  Somebody wrote to me recently, kindly enquiring how this life was going, and asking some questions in particular.

Although of limited interest to some, I decided to answer the mail here, if for nothing else to record my views for future reference.

Q: How is developing on a Mac? Is TextMate really that good?

Developing Rails applications on a Mac is sweet, and yes, TextMate really is that good. My jilted .emacs languishes in lonely misery.

Developing other (non-Mac) stuff on a Mac is a real pain however, because nothing's where you'd expect it after years of Linux use.  Like several other developers I've seen, I run Ubuntu Linux in a virtual machine under Parallels for such work.

It's not just that Macs lack apt-get (as you can get it with fink), it's that they lack the reliability of Debian or Ubuntu's package repositories to underpin it. Running Linux in a virtual machine is far easier.

On the subject of TextMate,  perhaps the best compliment I can pay it is that using it reminds me of the last text editors I really felt at home in, CygnusEd and then FrexxEd on the Amiga. TextMate's most serious flaw is the inability to create split views, however. It seems to me that's a key programmers' feature, to be able to read from one source file at the same time as editing another.

Q: Is the hype about Ruby on Rails true?

I still think so. I resisted it for 6 months because I tend to be averse to anything that gets such a large amount of publicity, but then stepped aboard the train around the time of Rails 0.13.

I've not really looked back after my initial experiments seemed to bear out the claim of developing "ten times faster than PHP". I'll admit I find it hard to keep up with all the extra developments that get added at the Rails cutting edge, but then again I don't really need them.  Most of those additions are refinements, rather than core changes. Constraints on my time mean I tend to write in a common Rails subset, as opposed to flexing my muscles with the obscure but clever bits.Even if your taste isn't for Rails, then the trend that Rails, Django and friends have started is improving the web development playing field for all.

Q: What makes you happy and sad about the Mac?

The things that the Mac still scores on are:
The interesting thing to me is that none of these are very difficult to surmount, for want of a little resource.  The day of the Linux desktop, so perennially around the corner, will yet come.

As a balancing postscript, I will mention that there are some things that are Mac irritants to a sensible Linux person, which include filesystem case sensitivity, lack of decent SSH agent (yes, I've tried them all), not knowing what to kill -9 when things go pear-shaped, Apple's arrogance, crippled nature of some default apps (iChat won't put multiple accounts in the same window, Safari doesn't support keyboard navigation at all well, Quicktime player won't play movies fullscreen).

Holger Levsen: and in the darkness bind them

So according to Peter Lee, an execute from Disney, we have almost won against Digital Restriction Management (DRM). Interestingly five out of six quotes on that page give good arguments against DRM, even though three of them are from those people who want to restrict our means to share culture.

Please spread the word, why DRM is bad. This website, http://drm.info was launched today, on the global day against DRM.

Unfortunatly winning a battle doesn't mean winning the war. (Sorry for the military metaphor.) So I'm not surprised software patents are back on the agenda in Brussels (linked article in german only) and I do expect the fight against DRM to be a long one.

Martin F. Krafft: Ch-ch-ch-ch-changes

" turn and face the strain" After many years of accumulating computer usage habits, configuration files, scripts, shortcuts, and key combinations, I have reached a point where I'd much rather wipe the slate clean than to go about fixing bits and pieces here and there. This does not sound like the thing to do, but I really would prefer to rethink how I handle computers rather than put time into fixing things. Maybe it's time for me to work on madduck 2.0. I have a lot of computer-usage-related headaches these days. For instance:
  • my zsh configuration has grown beyond me. I have used the same configuration for 7+ years (the CVS history only dates back until 1999, but I did not use CVS from the start) across a total of 113 machines, each with their quirks and problems, and I think it's time to officially state that I've lost control.

  • my mutt configuration is patchy and many parts of it are ugly hacks that have worked in the past, but only because they are built on assumptions about the way I handle mail which may not hold much longer, because...

  • my mail processing is completely annoying:

    egrep -v '^[#[:space:]]*$' ~/.etc/procmail/rc.*   wc -l   tail -1
    8815 total
    
    Since those 8'815 lines in the end still don't do exactly what I want, I really have to rethink the way I do mail. Does anyone know of a way/system/approach to assign tags to email messages using statistic means (like Bayesian filters, or crm114) and how to get mutt to play along?
  • as an almost-first-day user of vim, and one of those "I use vim for everything types", my configuration file collection is massive. I have all these macros and mechanisms in place, which vim can now handle in a much smarter way, but I just have not found the time to migrate, nor would I really know how to start. And the vim documentation, despite all its links and cross references, is hardly very usable for it always assumes you read it cover to cover.

  • I have the feeling that the way I use X (Fluxbox) is suboptimal, I find myself juggling windows too much. I've tried ion3, but could not get it to do the things I want. I guess this is mostly related to things I should be automating, and more consistent use of the 10 workspaces I configured.

Things have to change, and I might have to face the strain. But why am I bringing this up now? Well, some time ago I tried once again to make the switch to Dvorak and my Kinesis keyboard, but I (once again) gave up after only a day. I realise that it'll take me several weeks to undo almost 20 years of QWERTY typing, but apart from a very slow typing rate (which is normal at the start), I found anything not related to authoring longer texts to be everything but ergonomic on this keyboard, and much of that is related to the configuration I have in place, and that it is geared towards a plain, flat QWERTY keyboard. It's mainly the position of the two Ctrl and Alt keys, which I use extensively, and which have four different meanings (from left to right): Ctrl, Meta, ModeSwitch, Mod3 (I use Mod3 to quick-start applications. E.g. Mod3-t gives me a terminal, Mod3-f starts Firefox.). In addition, my Caps-Lock key has served me well as Mod5 for window manipulation ever since I switched to ion3 post-Debconf5. It turns out that I need to use two hands or some non-ergonomic configuration of my digits for almost every operation: reading mail, even if only deleting all mail in a folder and moving on; writing mail; editing with vim; interacting with the shell; window manipulation. For instance:
  • Alt-tab requires me to lift my left hand completely above the keyboard, stretch both fingers, then make sure it finds the home row again.
  • Mod5-c, which I use to close windows, now requires both hands as the 'c' is on the right half with the Dvorak layout.
  • When in mutt, trying to just delete all messages in a folder and moving on can sometimes be a major pain (see the Dvorak layout on Wikipedia if you want to play along): hit 'D', which sometimes just ends up being 'f', which means forward. If unlucky in this way, I'll find myself within vim, having to 'ZZqn', which isn't that bad, but I first had to discover 'ZZ' to replace the awful ':wq' (or 'ZQ' for ':q!'). Switching folders ('c=foldername') isn't nice either, and sending an unsigned email that I don't want stored ('pff^W^W' or 'pff<space><BS>') gives me cramps on Dvorak.
All this in addition to the fact that I am still in the beginning stages of writing my thesis (I have started), makes me conclude that it will be better to further postpone learning Dvorak and adopting to the new keyboard until the thesis is well on its way (and the writing is flowing), because then it'll be much easier for me to rework my configuration one-by-one with the new keyboard in mind, and start learning Dvorak when I'm half-way there and know what I have to type. NP: Leech / Soundtrack to an Individual Emotion Picture Mindmovie

MJ Ray: First of the gang to the vote

Strange comments from Release Manager Andreas Barth predicting that this resolution would mean:
'The debian-installer has to be changed prior to release of Etch. This change alone would delay by at least 6 months, according to Joey's estimations.'
The resolution does not specify how it should be implemented technically. I'm pretty sure other options (such as dropping some hardware support from the official release) have been mentioned and there are probably suggestions that I'm unaware of. If the release managers choose to delay the release until debian-installer is changed, then that is their choice.
'Even fonts and videos would fall into the category where we would need source - but what is the source of a font? or a video stream? (and yes, fonts are "works that are executed by other means", i.e. displayed on the screen) That is a great new place for lots of new discussions that don't really help our users, but will definitly waste lots of time.'
The source of a font is what you used to make that font. Similarly for other work. It's pretty obvious in most cases. As far as I understand the concept of streaming video, we don't have it in the release, so that one seems a strange argument to me.
'We would be in a very bad situation e.g. with the debian-keyring (and all other sort of crypthographic stuff) - I definitly don't plan to distribute the sources for my public key (as the sources can also be used to generate the private key).'
I think this is the only interesting point: but is the debian-keyring made up of programs, rather than data that is input to a program? Do the private keys contain instructions which are executed by GnuPG? If not, note that source provision is only "strongly recommended" not required and there is a pretty strong reason for it not to be included in this small case.
'In summary, this proposal would delay the release of Etch by at least 6 months, probably even one year. Of course, any of the pending GRs can still overrule the result of this GR, but - that is not something we should be proud about, or even plan.'
In summary, I think we should remember that predictions can be wrong as well as right, even from a release manager, whether or not they are being paid for their time by an external organisation. Of course, the release manager could try to make those predictions true, but that would be pretty cynical. Vote to reaffirm DFSG 2! Update: shortly after publication of the above, someone at TU Wien wrote "yay for debian-legal fuckheads". Good argument(!) I can see why you are at university(!) Also, Andreas Barth's last blog post keeps changing the date, so it sits in the top place on planet for ages. I didn't think it was so weak as to need that sort of help. This update suggests it might be a software bug, though. Update 2: Hoho, guess I found part of the problem!

Julien Danjou: Pushing kexec support forward

General freeze is getting closer, so it was time for me to push things a little forward. I have uploaded a NMU of kexec-tools yesterday to delayed/5 which add support of init scripts. That means that you will just have to edit /etc/default/kexec, change USE_KEXEC=0 to 1 and reboot will use kexec. :-) Furthermore, this upload was acknowledged by the maintainer of kexec-tools, Khalid Aziz, so this is really good, thanks to him.

MJ Ray: "Firefox Not Really Free?"

"Debian developer Eric Dorland confirmed to internetnews.com that Debian will re-name Firefox and that the re-naming process could be completed as soon as next week." (in Firefox Not Really Free? [Sean Michael Kerner], tip to /Jonas) Another hat-tip to /Jonas for this thought-provoking suggestion: are MozCorp deliberately trying to mimic X-Oz's role in the XFree86 farce?

Clint Adams: The streets were paved with ambergris

So, I must say, he said, That hotel is much nicer than the one they put me in last time. It's this wonderful little bed and breakfast sort of thing, in an old renovated mansion. Ting and I were the only guests. The owner lives there and was very friendly. Nice, she said. And, he continued, in direct contrast to the place they usually put me, the sheets were both clean and soft, and none of the towels smelled like scallops. Internet access? she asked. Yeah: wireless. he replied. Nice, she said.

Evan Prodromou: 10 Vend miaire CCXV

Two of our good friends here in Montreal are Kate and Morgan. She's a Ph.D. student in philosophy at Rutgers, working on her dissertation here, and he's a game designer. They're from Australia originally, and they just got married Down Under about 4 weeks ago. Her dad and stepmom live in North America, though, so they're thoughtfully holding a wedding party next weekend for Kate and Morgan's American friends and family at their home in wt:Hudson (New York). We've driven through the area a few times in the past, but we haven't really stopped for long. From what Kate says, Hudson's a pretty town and early October means lots of leaf-peeping opportunities. Not that Montreal's any slouch in that respect right now, but it will be nice to see other people's leaves, I guess. There's also a Firefighter Museum and a Shaker Museum. I also just finished The Island at the Center of the World, a historical book about the 17th-century Dutch colony of New Netherlands (now New York). The main settlements were in the Hudson Valley between Manhattan and Albany (New York), so I'd like to find a nice one to stop at and look around. The drive down is about 4-1/2 hours, and I think we'll be OK doing it in one hop, even with the baby strapped down in the back seat. We're heading out on Friday evening, spending Saturday checking out the sights, then parties on Sunday and Monday (a holiday, Columbus Day, in the US). Monday night Maj got us tickets to see Massive Attack here in Montreal, so we'll be zooming back up highway 87 Monday afternoon and if we can avoid problems at the border in wt:Plattsburgh we'll be rockin' out (a bit) that evening. tags:

Parallel distrihoozit The discussions on the cc-licenses list over the last week have gotten increasingly heated. At heart is the very emotional issue of DRM (AKA TPM) technology, and to what extent its use is compatible with Open Source and Open Content. It's been a real shame -- several pages-long posts that really try to hammer a point into the head of someone who's just not listening since they're busy writing their own 10-page-long email. It's become impossible to read and some wiser heads have asked for a cooling-off period. Thankfully so. There is very little time left to continue this discussion. I really sincerely hope that people who are interested in seeing Commons licenses that are compatible with Debian and other Free Software pop in and say something to that effect. Cool heads who can state things in simple English are particularly welcome. The list allows posting to subscribers only -- kind of a damper on one-time posts -- but subscription only takes a second, and you can disable your subscription immediately after you're done. tags:

Busy Wednesday Ahead 2007 is going to be the year of wiki in Montreal. We're having two of the main wiki conferences -- RecentChangesCamp and Wikisym -- here in Montreal next year. And I guess it's time for the local wiki, open source, open content and "open other" community to start getting ready. At least in the wiki world we're taking the first steps. Wednesday 4 October (uhh... I mean, Duodi 12 Vend miaire) we're having Montreal Wiki Wednesday at 8655 rue St-Denis (metro Cremazie). Alain Desilets and Sunir Shah, who are both working on Wikisym, will be coming, as well as Anne Goldberg (principal organizer of RCC) and the inimitable Seb Paquet, who runs everything in this town. 15h-18h, fun times ahead. tags:

CC Salon Montreal But wait there's more! On top of WW, we're going to have a big Creative Commons Salon Montreal on Wednesday night, too. This will be the second time we've had a get-together in Montreal for CC so far, and I think it's going to be a good one. Maj and I are going to give an informal talk about Wikitravel and its CC license which has worked so well for us. I'm really gung-ho on the CC Salon idea. It's a great way to engage the interesting, fun part of CC -- and it's all about the fun, right? CC Salon Montreal is happening 4 Oct at 18:30h at L'am re boire, 2049 rue St. Denis (a mere 66-block walk from Wiki Wednesday!). Should be a good time. (On top of all this, I'll probably stop at YULblog on the way home, just to make the Web maven's trifecta for the night. tags:

2 October 2006

Erich Schubert: Folding tagclouds (cont'd)

I've been working a little bit more on the folding tagcloud for Debian packages. I've added closing of folds, and the code for displaying selected tags as well as matching packages is in place, too (you'll need to use a different .json data to actually see results though). To make it truly interactive, i.e. allow the selection of multiple tags until you get some results, I need to add more data files. So I'll have to decide now if I'm going to use a CGI (the "traditional" method), which will likely need to have some caching, or if I'll just precalculate everything into static .json files. I could even store them as .gz on the webserver; any browser with ajax capabilities should be able to do gzip decompression on the fly. This would offer maximum performance and security, but it means I'll need more magic in the javascript (and Javascript is ugly). Or I'll do a combination of both, use a tiny CGI serving the precalculated data; the CGI could then easily be replaced with a dynamic-caching CGI later. SVG rendering for the tag cloud would probably be also very cool. With some smart layouting algorithms, it could become much more cloud-like. And there could probably be a nice animation when "subclouds" are unfolded, pusing away the other folds. However, that would be much slower. Any animation means a slowdown, since it adds extra delays.

Jonathan McDowell: Credit where credit's due

I've been quiet recently. I spent a week with the cold, then a week being stressed. I'm hoping this week is uneventful. One thing I've been meaning to post about for the past month or so are some positive supplier experiences I've had. Like most people I'm quick to whine when things go wrong and I've had a few things I didn't expect to go smoothly be fine. First up, eBuyer. I mentioned in my initramfs post that I had a disk that had been damaged in transit (according to the manufacturer's diagnostic tool). I wasn't looking forward to trying to return this, as I feared eBuyer would try to weasel out of the RMA. However it all went smoothly. Took them a couple of days to issue the RMA authorisation number, but after that I sent it off including the receipt for the posting and they sent me an email to confirm when they had it and when they sent me out the new one. And credited the postage back to my credit card. I was gobsmacked. I've been using them as a cheap box shifter for a few years and always assumed that the instant I had any problems it would all be pain, but no. It wasn't the quickest of processes, but it did all proceed without me having to chase anyone. Next, Scan. I've hated them for years. Pre 2000 I vowed I'd never use them again for reasons I can't remember. In 2000 I capitulated and ordered a Scan 2000 DVD player from them (which is still going strong). However despite being stiffed £10 for next day delivery it didn't turn up, nor the next day and eventually I had to ring them and find they'd failed to authorise my card and hadn't bothered to contact me. I vowed I'd uphold my pledge never to use them and until recently had done so. And then I needed some 1U heatsinks in a hurry and the initial supplier I'd found were being slow about getting stock. Scan had enough in stock so I decided to risk it. And they turned up next day, with several text messages keeping me informed about progress. I'm won't be using them in general, but I might try them again at some point. Finally, regular readers (all 4 of you) will remember the pain I suffered at the hands of Xinit. Black Cat needed some new dedicated servers and I was having problems finding what I wanted (Xeon LVs for low power usage goodness). Neil had some good things to say about Sentral Systems (well, actually Flexiserv who morphed into Sentral) so I figured I may as well drop them an email. I wasn't really expecting much, so when they got back and said they thought they could do exactly what I wanted within a week I was sceptical. Especially as that was a complete server whereas even looking for the bare chips I was getting quoted lead times of at least 4 weeks. To be honest they didn't manage it in a week - it was more like a week and a half (I think the order was confirmed on a Nonday and delivered Wednesday week later). Damn fine. Plus they kept me informed throughout the process and the one time I considered ringing them to ask what the status was they sent me an email within an hour of me thinking it anyway. The servers are nice and nippy too. :)

Andreas Barth: "DFSG #2 applies to all programmatic works" and the release of Etch

If the proposal we are currently voting on (http://www.debian.org/vote/2006/vote_004) would be accepted, this would mean: In summary, this proposal would delay the release of Etch by at least 6 months, probably even one year. Of course, any of the pending GRs can still overrule the result of this GR, but - that is not something we should be proud about, or even plan. On a personal basis, if this GR becomes effective would also mean that I failed to manage the release of Etch.

Erich Schubert: Release asynchronity

When release draws near, more and more difficult decisions arise. Like: should I still upgrade the package to a newer upstream version? Enigma is a great puzzle game, very similar to Oxyd. Back when still using my trusty old Atari ST, I was a fan of oxyd. Debian unstable currenlty has Enigma 0.92, the latest released version. Experimental contains recent SVN snapshots of the game. Version 0.92 was released in 2005, and there have been huge improvements to Enigma in the mean time, including a new level form (XML-based, while the levels used to be lua scripts), a reorganization of the levels into level packs with increasing difficulty, tons of new levels and graphics for 1024x768. While the new versions are running quite stable, and a new release is expected for end of the year, it will probably be not on time for etch. So should I upload a SVN checkout to unstable (and eventuall etch) - I didn't receive bug reports for the experimental version so far, and enigma has shown before to be of high code quality - or stay with the latest released version? "Life" would be easier if enigma released a new version just in time for etch. ;-) Just kidding. I'd certainly prefer the new version; and while there are some known issues with it (a conflict between C++ exception handling and lua when nesting), these might as well apply to the current version. (For example, the screensaver tends to turn on while playing enigma, but upstream said this is actually a SDL issue, and it should apply to both versions) Maybe some people can test the enigma package from experimental and send me feedback reports. But don't blame me if you lose valueable hours of sleeping time by playing enigma. It can be quite addictive.

Erich Schubert: SELinux on Ubuntu status

In #selinux, we helped a user today to get some SELinux working on Ubuntu. I had posted before that I expect Ubuntu to be rather close to Debian in terms of SELinux support. This is not true. Ubuntu ships rather old versions of the toolchain and SELinux libraries. I doubt that you can use the reference policy with this toolchain; the selinux policy shipped by Ubuntu is no longer supported. Still these would mean that SELinux on Ubuntu would be in the same shape as it is on Gentoo. If it weren't for this critical issue:
sysvinit (2.86.ds1-6ubuntu8) dapper; urgency=low
* Disable SElinux again, nobody gave me a patch to fix the annoying message. -- Scott James Remnant Fri, 3 Feb 2006 17:54:55 +0000 Init. The process supposed to load the policy at boot, is not SELinux enabled on Ubuntu. At least the version in hoary. And edgy comes with upstart, which doesn't have SELinux support either, AFAIK. So to use SELinux on Ubuntu you'll have to build your own sysvinit (sysvinit from edgy might do the job). Or add SELinux support to upstart.

1 October 2006

Joachim Breitner: Latexki, a Wiki for LaTeX in Haskell and Python

After two years of using lkwiki, an old kwiki version that was extended to support full LaTeX documents to be managed and to store it's information in subversion, it is time for a rewrite. This week, I built the basic working foundation, in time for the new term at my University in Karlsruhe, but hopefully also for other people to use. So hereby, I announce:
Latexki, a Latex Wiki
Latexki consists of two parts: The latexki binary, written in Haskell, is called by subversion after a commit and generates the static wiki pages (both text and LaTeX-based). It only updates what's needed (since running latex is expensive), but tracks dependencies like \input in LaTeX. The other, actually optional, part is a CGI script written in python which provides simple write-access to the subversion repository and which should handle conflicts with the same grace as subversion itself.Some, especially the planet.debian.org readers, will now immediatelly say that this is the same idea as Joey's ikiwiki and that I should just have extended his software. Now, I had the idea independently (after all, lkwiki works like this for two years now), and while ikiwiki is more a general purpose wiki, I wanted to create a tool specifically tailored for the collaborative management of LaTeX documents, the text pages are just side-play. Also, I wanted to to my own thing to use the subversion bindings to access the repository directly, without the need of a working copy, for the edits. It turned out that with pysvn, this is not possible, but at least I don't have to call the svn binary and using temporary directories for the working directory should be a clean solution.While the code is basically working, it still needs some testing. I'm also very eager to hear comments about the code itself, especially from a security point of view, but also from a "how to this nicer in haskell" point of view. You can find the code on the wiki itself, as all non-wiki, non-latex files are just wrapped in <pre> and put on their own page. Also, the TODO list is long. Patches are welcome, and if you want to use the software yourself, I'll help with any deployment problems.To the lkwiki users: I plan to switch the lkwiki repository to latexki before the semester starts. Some files will have to be renamed, and some detail code to be written. Feel free to test the latexki code to make sure we don't have problems then.

Mike Hommey: Plugin API for browsers

Reading about the future of the (now) Adobe Flash Player plugin for Linux on the Penguin.SWF blog, I came to the conclusion that the plugin API for browsers (NP Runtime) just sucks.
Why on earth do a plugin need to depend on openssl, while the browser already deals with SSL and associated certificates. That also means plugins will deal very badly with client-side certificates.
I guess plugins also have to implement HTTP requests themselves…

30 September 2006

Florian Ragwitz: xmms2_0.2DrGonzo-1

The xmms2 project released 0.2DrGonzo recently. I've prepared packages for it, but as the new release adds two new plugins I needed to add two new binary packages. Therefor it'll need to go through the NEW queue again. In the meantime you can grab the source package and build it yourself for your architecture:

Zak B. Elep: More on being 0 16

Its the close of September. And just a week ago I turned 16: in hex, that is. Although I do distinctly remember how I wished coming back to being a 16-decimal-year-old then… So, how does it feel being one? I’ve barely begun to feel it. There has been a lot of distractions to keep me from contemplating too much about $age: That’s just the tip of the iceberg. Moving back to Manila again has its own issues; I still have to look for a better place to stay (not that I’m complaining about my Tita’s place in Malate, but hey, we’re already overcrowded… I suppose I’ll get my own flat once I think I can stay out beyond the 3 months,) and I have to get better internet connectivity (all the better for my chroots to keep updated, and finally get back on the Debian/Ubuntu packaging scene.) I also have to find some time to get a passport, a haircut, some nice pair of sneakers, and a Wii. I’ve yet to know what this being 0×16 business is all about, but this I have to say: Thanks $DEITY for all the fish.

29 September 2006

Edd Dumbill: Locking down portmap on Debian

Most sensible people are very wary of NFS and its potential for security holes. If you can at all help it, it's a good idea not to run NFS and portmap on a network interface with direct internet connectivity. However, this isn't always convenient. As I needed to have NFS sharing on a host exposed to the internet, I set about finding the various places I needed to firewall. The tools I typically use to verify I've done the right things are netstat -nap on the machine concerned, to check for listening processes, and nmap from remote hosts to sniff for open ports. Portmap and its associated programs mostly use 'tcpwrappers' for controlling access. The first step you ought to take in securing portmap is to ensure that your hosts.allow and hosts.deny files are set up to control access properly. In /etc/hosts.deny, deny access to allcomers:
mountd: ALL
statd: ALL
portmap: ALL
rquotad: ALL
Then in /etc/hosts.allow, let the good guys through (adjust for your network):
mountd: 192.168.0.
statd: 192.168.0.
portmap: 192.168.0.
rquotad: 192.168.0.
On top of this, however, you should firewall off the ports that these programs use. As I found out, this is not as easy as it sounds. Portmap assigns random ports for some of the services it starts. You can run rpcinfo -p to see the ports in use. An example run on one of my machines looks like this:
program vers proto   port
 100000    2   tcp    111  portmapper
 100000    2   udp    111  portmapper
 100003    2   udp   2049  nfs
 100003    3   udp   2049  nfs
 100003    4   udp   2049  nfs
 100003    2   tcp   2049  nfs
 100003    3   tcp   2049  nfs
 100003    4   tcp   2049  nfs
 100021    1   udp  32770  nlockmgr
 100021    3   udp  32770  nlockmgr
 100021    4   udp  32770  nlockmgr
 100021    1   tcp  32788  nlockmgr
 100021    3   tcp  32788  nlockmgr
 100021    4   tcp  32788  nlockmgr
 100005    1   udp   1005  mountd
 100005    1   tcp   1008  mountd
 100005    2   udp   1005  mountd
 100005    2   tcp   1008  mountd
 100005    3   udp   1005  mountd
 100005    3   tcp   1008  mountd
 100024    1   udp    863  status
 100024    1   tcp    866  status
Of these, nfs and portmapper always use the same ports, 2049 and 111, so ensure you block off these. What about the rest? Happily, there's a way to configure them to use constant ports so we can reliably firewall them. Life would be too easy if all this configuration was in the one place, so here's how to find the different places you need to change. Finally, if you're running quotas, be sure to do something similar with RPCRQUOTADOPTS in /etc/default/quota. See also: Finally, I ought to note that I've written this up in case it helps anybody else. As with everything I write here, I make no warranty about its accuracy. Security is hard and obscure (but that's no reason not make our best efforts!)

Next.

Previous.