Search Results: "erich"

11 March 2006

Erich Schubert: GFDL vote - non-free.

I voted "1243" in the current Debian GFDL vote. If you are a Debian developer who hasn't voted yet, please do so ASAP. Democracy lives from participation, so make up your mind. Debian should reject the GFDL for the pointed out issues. From what I've heard from others, this option will likely win. Accepting documents with no invariant sections (except the copyright part) is a compromise I could live with, changing the social contract is not, so I rated it second. I am aware of the other issues with the GFDL, but I hope that these could be sorted out somehow with the FSF. They aren't unreasonable people, after all. And there is a certain amount of interpretation in any legal document. Probably only the copyright holders can sue, and why should they as long as e.g. the DRM used doesn't really prevent access to the original documents, or the transparent copy restriction is fulfilled since the original documents are still online? But I'm really close to voting "1342" instead. But since I'm really expecting people to rank 1 first, I don't think it matters much.

Erich Schubert: Why I'm proud of Debian

This is another example why I'm proud of Debian. I sometimes have the impression, that some distributions try to package stuff with as little effort as possible. Debian however has to support tons of different architectures, build daemons and pbuilder that mostly ensure you've got the build dependencies complete, tons of users of unstable and testing that will send you bug reports when you don't have the runtime dependencies right and so on. We have a really good quality assurance. On the very first day my selinux-basics package entered unstable, I already received feedback about the udev integration. So you might ask me, why I think this is really different from other distributions. There are of course distributions which have similar properties, but I think Debian has the biggest crowd. And Ubuntu is so closely tied to Debian that these things aren't that separable. Most Ubuntu packages are largely unmodified Debian packages. And changes done by Ubuntu - which for example tracks Gnome closer than Debian - will often be fed back into Debian again. For example fakeroot, or pbuilder are further examples on Debians best practises to do quality ensurance. Sane software shouldn't require real root privileges for building. The current Debian Vote on the GFDL is another example. I'm confident it will boil down to "Debian refuses the GFDL, because it contains too many restrictions for our users". Debian cares much for it's users. And the users of our users. And the users of our users of our users. ;-) As a whole, not just the majority which will probably never even consider changing a GFDL-licensed document. Of course, people are frequently annoyed by e.g. Debian not having the latest X.org betas in unstable, so they could try out Xgl, Aiglx and this other eye candy. Sorry about that, but I do think that the X task force knows how to set its priorities right, and you could probably just get these beta version from Ubuntu and run them on your Debian. Or build your own packages and offer them to others who want to try it, too. Or wait, like I do quite often (for example for ekiga, which is stuck in the NEW queue currently). It doesn't really hurt much to not have the newest, fancies toys. In fact, you are likely to be more productive when you don't care for these things.

Erich Schubert: Autopackage knows it better, not.

There is a, well, very arrogant page in the autopackage wiki, which basically boils down to "everything around Linux is crap, so if you write an app for Linux, do it our way". They totally have lost the grip of reality, apart from just writing a lot of things on Debian and other Linux distributions which is outright wrong. But it looks like Debian no longer is on it's own with outright refusing to support autopackage crap. Looks like Python, C++, GTK, GlibC and the GNU toolchain. Oh, and pretty much everybody else. So, dear autopackage, if everybody except you is stupid, why don't you just leave us alone, and write your own OS according to your rules? I bet you'll find out after some time why they were setup this way... and what breaks with $your_way. And developers: Ignore autopackage, at least until they've adopted a sane attitude towards cooperating and dropped their arrogance. And they offer a solution which actually solves problems, instead of introducing tons of new ones (especially bringing back fragmentation, and all the dependency hell and incompatibilities a good package mangement tries so hard to avoid) If you really think you need "average" users to be able to try your latest version without wating for an "experienced" user to build packages for them, maybe have a look at Klik. While I have a low opinion of this approach in total, Klik seems to have a much better design, and especially a much better attitude.

Philipp Kern: Christmas greeting

Erich, the personal message on your Christmas greeting is barely readable! But at least lynx gets it right, heh. So Merry Christmas to those who celebrate it! I guess that it might be a minority among geeks (Apart from the presents Even those neglecting the Christian faith celebrate or rather participate at something to get their Christmas presents *cough*) /me wonders: Why am I in such a blogging mood... o_O

9 March 2006

Erich Schubert: SELinux basics package in Debian

My selinux-basics package just entered unstable. The package will pull in some of the essential SELinux software to easy installation, contains some tweaks for Debian (e.g. disable legacy ttys via udev, despite them still being enabled in Debian stock kernels) and most importantly contain a tool that tests for some configuration changes required for smooth SELinux operation on Debian (e.g. use pam_selinux in ssh and login, disable /dev/xconsole) It's still a work in progress; especially this testing/fixing should be made into a modular app, and offer optional auto-fixing of these things when possible. The source currently is in the SELinux backport projects subversion repository. I'd appreciate your feedback, and of course patches.

Erich Schubert: Pyroman now in Debian

Pyroman, my firewall tool for multi-network firewalls, is now in Debian unstable. Or will be, on the next mirror push. Thank you, ftp-masters. I thought you were, like, inactive. ;-)

7 March 2006

Erich Schubert: LaySVN rewrite

Today I've rewritten most of my "laySVN" layered subversion tool. Tests had shown that most of the time was spent calling the "status" command of the underlying subversion client. This is probably due to locking, and the workaround is pretty simple: avoid calling it on single files, instead run it on the whole repository at once. This of course requires major changes to the code, so I've started a rewrite. I've already applied for a alioth project for it, I'll make the source available via svn.debian.org soon. "Layered subversion" means that you basically checkout multiple subversion repositories on top of each other. A file found or ignored in an "upper" layer will not be checked out in lower layers; ignoring a file in a layer will effectively "hide" it if it were in lower layers. This is an interesting alternative to branching. In branches, you have to "carry forward" changes from one branch to other branches. The base case - merging changes from a "lower" layer into an "upper" layer is usually quite easy. The other direction can get quite messy however. Assuming that multiple files were modified in the checkout, how are you going to commit these changes to the correct branches? Basically you'll have to commit the files to the correct branches, then do the merging magic. Along comes laySVN, where this common usage pattern is much easier. Changes will automatically be committed to the highest "layer" the file is in. A checkout will update the file to the version of the "highest" layer. The only case which is a bit more complex is when you want to make changes to a file on a different layer. Then you actually have to "add" the file to the appropriate layer. Not really difficult either, is it? A different name for "layered subversion" would probably be "difference branches", which are very similar.

Erich Schubert: LaySVN speed gains

The LaySVN project on alioth was approved, and the LaySVN subversion repository is created and populated. The rewrite came along nicely the last hour, the "status" command is now working on a repository-wide level again. The expected speed gains worked out just fine: on my real-world test repository (3.6 MB of data in it, this is /etc of a server I run) it now takes just below 1.5 seconds as opposed to 21.5 seconds before. I didn't run a profiler yet, obviously.

5 March 2006

Erich Schubert: LaySVN rewrite

Today I've rewritten most of my "laySVN" layered subversion tool. Tests had shown that most of the time was spent calling the "status" command of the underlying subversion client. This is probably due to locking, and the workaround is pretty simple: avoid calling it on single files, instead run it on the whole repository at once. This of course requires major changes to the code, so I've started a rewrite. I've already applied for a alioth project for it, I'll make the source available via svn.debian.org soon. "Layered subversion" means that you basically checkout multiple subversion repositories on top of each other. A file found or ignored in an "upper" layer will not be checked out in lower layers; ignoring a file in a layer will effectively "hide" it if it were in lower layers. This is an interesting alternative to branching. In branches, you have to "carry forward" changes from one branch to other branches. The base case - merging changes from a "lower" layer into an "upper" layer is usually quite easy. The other direction can get quite messy however. Assuming that multiple files were modified in the checkout, how are you going to commit these changes to the correct branches? Basically you'll have to commit the files to the correct branches, then do the merging magic. Along comes laySVN, where this common usage pattern is much easier. Changes will automatically be committed to the highest "layer" the file is in. A checkout will update the file to the version of the "highest" layer. The only case which is a bit more complex is when you want to make changes to a file on a different layer. Then you actually have to "add" the file to the appropriate layer. Not really difficult either, is it? A different name for "layered subversion" would probably be "difference branches", which are very similar.

Erich Schubert: Google blogsearch and old/bad data.

Google Blogsearch suffers a lot from having old or bad data (including spam) in it. I have the impression that they are waiting for new pings by blogs who have pinged them before - but when deleted, these blogs won't ping them any more. With pretty much any search term, I've found spam entries in there. :-(

2 March 2006

Erich Schubert: SSDDiff autotoolized

I just managed around to learn the very basics of autotools, and as a first execrise, used them on my "SSDDiff" xmldiff application. So you can now build it with the usual "./configure && make" command (if you have C++ STL and libxml2, that is, but these have been really standard for years now) So there is a new tarball on the Alioth project page which should be a lot easier to install. Get it while it's hot. ;-) A few words about ssddiff: SSDDiff is an "diff" application for XML files, which can output into a "merged" format, "xupdate" diffs or "marked" versions of the source files. The algorithm used is very good at dealing with structural changes, but it uses rather much memory and is not the fastest. So it's a good choice when you have a difficult case (one could say it tries to do a "semantic diff"). If you have CVS files or database tables dumped to XML, use other tools.

1 March 2006

Erich Schubert: Hello, Planet SELinux!

Planet SELinux Hello, Planet SELinux. The SELinux part of my blog is now syndicated there, too. I really appreciate SELinuxNews and the new planet. This means that some of my recently raised concerns are already being tackled: fight AppArmor by community support, too, not only technical superiority. ;-)

Erich Schubert: Microsoft GTA

So Microsoft has released a new AJAX toy, currently on preview.local.live.com. It's not particularly new, though. In one pane it's like Google Maps, overlaid with a car image, in the other pane it's like Amazons local search. I wonder if they actually licensed Amazons imagery for it. I'm impressed: it works with firefox. But it's rather slow (seems like they are not doing view image preloading, like with the map). The final version will probably be called Microsoft GTA: Reality, and if they manage to add gore after you've driven over pedestrians (who is this guy, anyway? Did he give the permission to be included in this toy? is there no privacy in the US?) when going down one-way-streets the wrong way, it can probably even become a big seller. More likely they'll give it away for free, not making any money with it.

28 February 2006

Erich Schubert: On AppArmor vs. SELinux

Some might have read recent news such as Novell SELinux killer rattles Red Hat, or Dan Walsh's critique of Novells AppArmor release, concerned with "unix like fragmentation in the security sector". While I also do think that SELinux is both more mature in the core system and more powerful than AppArmor (with a big plus being that SELinux is in the vanilla kernel) - I do think that AppArmor can quickly become a true SELinux killer, by just being better documented and easier to use. SELinux has serious deficiencies in documentation and development community. Almost all the available SELinux documentation is based around the policy as published by the NSA, which is "superseded by the reference policy project". This is the policy currently in Debian and used in the Gentoo SELinux docs - which hasn't received any updates in months now. The newer "reference policy" is updated every few days, by exporting Tresys' internal SVN into a public CVS on sourceforge. Dan Walsh claimed "multiple distributions shipping with SELinux including Fedora Core (2,3,4 and soon 5), Red Hat Enterprise Linux 4, Gentoo, Debian, Ubuntu, Suse and Slackware. " Which is not entirely true. SuSE has AppArmor now, Fedora and RHEL are pretty much the same, and apparently neither Gentoo, Debian, Ubuntu or Slackware are up to date with SELinux. Or actually involved in the current development. So that basically makes 1 distribution using current SELinux and 1 distribution using AppArmor... Looks like a tie to me. Also with the development it's pretty much down. AppArmor was developed by a small company called Immunix, and is now backed by big Novell, owner of SuSE. Current SELinux is mostly developed by a small company called Tresys, and somewhat backed and used by RedHat. Both have the feeling of "closed door" commercial development, which may be the reason why it reminds some people of the old Unix wars. Both of course claim to do an open development, with for example the current SELinux Symposium. But if you look closely at the Agenda and the speakers, it's fairly obvious that this is pretty much a business meeting, with some university speakers talking about the security concepts used. Just one quote from the site:
Developer Summit
An invitation only meeting for the core developers of SELinux to discuss future plans for SELinux and upcoming technologies.
The winner of this "war" between AppArmor and SELinux will be whoever manages to incorporate community development best, and get the other distributions like Debian, Ubuntu and Slackware to support their efforts. Currently neither of them has the air of actively supporting them, which is really bad. Widespread adoption is also where grSecurity has failed before.

Erich Schubert: SELinux packaging and policy team

I'm trying to put together a SELinux packaging team for Debian and Ubuntu. Current SELinux is still a major pita to get running... so we need to join our efforts in adopting policy to our needs and such. Upstream development is of an rather "uncooperative" model: both the selinux libraries and the reference policy are updated by a single person each, by exporting an internal VCS to a public CVS on sourceforge. If you want to add patches, you always have to send them through a mailing list, and hope for them to appear in the archive sometime soon. Or not. While this works okay for the libraries and utilities - which are fairly stable by now - I have doubts that this is appropriate for the policy. Given the amount of fixes/additions we'll need at least for the reference policy, I think more people should have write access to a shared repository. For this I've setup a subversion repository on svn.debian.org, with currently two branches: unmodified upstream and a debian branch. Note that we might also switch to an arch repository, when some big contributors prefer so. If users of other distributions (Gentoo?) want to join, they are welcome to do so. They can have their own branch, of course, albeit I don't think it's really necessary (maybe I should have named the "debian" branch "alioth-trunk" or so...) Basically anything is okay with me, that helps the reference policy and SELinux in picking up speed. If you'd like to get write access, send me an email with your alioth user id. Given the "unmodified upstream" branch, it should be fairly easy to extract patches from our repository to be included upstream, too.

27 February 2006

Erich Schubert: Spam fun

Todays PhD comic is very funny. Another spam fun I like a lot is Make p*nis fast - combining the usual enlargement stuff with pyramid schemes. On a completely unrelated note, a german bird flu joke:
Treffen sich ein B r, ein L we und ein Huhn.
Sagt der B r: "Wenn ich br lle, zittert der ganze Wald." Meint der L we: "Das ist garnichts, wenn ich br lle, zittert die ganze Savanne!"
Daraufhin das Huhn: "Wenn ich huste, zittert die ganze Welt."
Translation:
A bear, a lion and a chicken meet.
The bear says: "When I bellow, the whole forest is afraid.". The lion tops: "When I roar, the whole savannah goes into cover."
The chicken: "When I cough, the whole world panics."

26 February 2006

Erich Schubert: Cool Flashmob

I never thought much of these flashmobs. But admittedly have never seen one in reality, so maybe they are a lot of fun. ;-) Still I'm fine that this hype has pretty much died. I havn't heard of them for years. I've just come across these pictures of a flashmob in japan in 2003 - where people dressed up as Agent Smith from Matrix. This one seems pretty cool, albeit many of the pictures are "group shots", and there are way to many people taking photographs on the photographs. The (staged) fights however add a nice note to it. And on overall it's much more of a "collective show", instead of just people doing random stupid things such as rushing all into one shop and going up and down the stairs. The idea is way cool. People wearing a dark tuxedo, then suddenly pulling out dark sunglasses and an earplug and run off to hunt someone at a special place... that must be so funny to see when you've seen the movie. I wish I were there to give some first-hand impressions.

Erich Schubert: SELinux policy a day

I've been writing SELinux policy these days. Again. This time for the Reference Policy. I didn't get any feedback back yet for my policy, which is quite disappointing. Still the number of violations on my systems has gone down a lot, so I might actually be able to run strict some time soon. Which would be a major step. Unfortunately, I still have a couple of things to sort out with the utilities. And every now and then there is a new violation - monthly cronjobs for example are not that easy to observe without playing around. ;-) The Debian/Ubuntu packaging group is growing, and that means it's bigger than the "pretty much nonexistant" it was just a short time ago. Recent policy files I've written (which of course still contain bugs): dpkg, apt, tor, amavis, clamav.

25 February 2006

Erich Schubert: Galeon goodness.

I've built new galeon packages from CVS (get them here), that have working typeahead find again, working password prompts (so you can login to websites again) and - working flashblock. This is love! How to install flashblock with galeon: Enjoy a world with (next to) no unwanted flash!

Erich Schubert: OpenVPN usage graph

I was about to write a similar script, but then used Google first. Rodolphe Quiedeville already wrote a OpenVPN plugin for munin. It uses an odd hard-coded statusfile name, but that is easy to adopt to your needs. Since I already use munin to plot several system parameters, adding the VPN usage in there is a really nice extension.

Next.

Previous.