Search Results: "ghe"

2 November 2005

Erich Schubert: Apache2 + FastCGI + Suexec hell

It took me hours to get FastCGI and Suexec working properly. I'm so annoyed by the horrible docs available for it only. First I tried using fcgid (which at least is DFSG-free) but wasn't able to run moinmoin properly at all. So I gave up on that quickly. So I ended up trying "non-free" libapache2-mod-fastcgi. Oh what a mess. Getting the non-suexec fastcgi working was easy. Now I tried to make it a bit more secure... The "Documentation" claims that all you need to do is enable the SuExec Wrapper. So I configured a "FastCgiServer", set -user and -group appropriately, somehow found out that I need to chown the executeable and the dir containing the executeable accordingly, and that the user and group need to be higher than 100 - ok. (Although group www-data would have been okay, I guess). Reloaded apache. And the fastcgi process is started and running with the right userid. By now I was using a mini test-fastcgi, which prints getuid() - and so I could see that despite my process runing as a different user, it still returned 33 (=www-data). Damn! The reason I found out later after manually changing URIs to find the right docs etc. was that I need to enable mod_suexec, then add the SuexecUserGroup option to my vhost. For incoming requests, FastCGI will check for a running fcgi server with the same path and the same user and group ids as the one you defined in the fastcgi config. Otherwise it will start a new dynamic server. And there is no "FastCgiUserGroup" option or something obvious to configure the user and group name for the cgi path - but you need to do that for mod_suexec. Apache config is a PITA anyway. With its pseudo-XML syntax etc. - we really need to get rid of it sometime... So here is a short howto for using suexec and mod_fastcgi on apache2:

30 October 2005

Clint Adams: This garden that I built for you that you sit in now and yearn

I was cruelly manipulated into reading Three Ethical Moments in Debian by Dr. B. I laughed. I cried. I was shocked. I now regret not having read it while listening to Bit Shifter.

29 October 2005

Michael Banck: 29 Oct 2005

Systems 2005 Another year, another Systems. This year, however, sadly the first time without Jens, so organization was harder than usual. C&L again provided an Open Source area where we had a booth along with GNOME, KDE, the several BSDs, PostgreSQL and some smaller Open Source projects. As we were not able to build up the booth on Sunday already, there was only a pretty bad location left on Monday, facing towards the wall. Roland Stigge provided a huge 1,5 by 1,5 metre Debian swirl banner, which we mounted in the vicinity of the (too small for that) booth. Michael Ablassmeier brought a Shuttle PC and a TFT display so we could show visitors around the Debian desktop and point them towards further information on the internet. Credativ again kindly shipped posters and flyers. We sold the former and distributed the latter to passing visitors. Unfortunately, Credativ did not receive any LinuxTag DVDs this year, and we were unable to obtain some from other people (apparently they are spared for LinuxWorldExpo in Frankfurt next month, though most visitors there should know Debian already I guess), so we only had about 30 DVDs, which were left from the pack I took back from LinuxTag myself. We sold those for 2 EUR, and later distributed some shiny new Breezy CDs the GNOME booth acquired on Thursday and had some Sarge CDs pressed at a nearby CD production booth which we sold for 2 EUR as well. After some initial doubts on whether we would be able to properly man the booth, it turned out that the local Debian community was enough to guarantee presence except for Friday morning. Michael Ablassmeier, Erich Schubert, Simon Richter, Roland Stigge and Rene Engelhard manned the booth besides me. So we were in the fortunate position that we had two people at the booth most of the time while shuffling around personnel, while most other booths were operated by the same one or two people throughout the week. This year, almost all people I asked (I usually offered a flyer and asked "Do you know Debian already?" to all passing visitors, unless they quickly tried to run through our territory) knew about Debian at least somewhat, and surprisingly many people said they had Debian installed and were happy with it. Thanks to the Sarge release and the almost-official amd64 archive (the respective lack of which were by far the most prominent questions last year), we had almost no recurring questions to answer; probably the most frequent question was about Ubuntu and our relationship with it, but those were pretty scarce and I expected much more of that. Likewise, only very few people were unhappy about Debian (far outweighed by the happy bunch), and most of that seemed to be due to specific technical issues rather than any general reservations about the Debian development or community processes. Most of the remaining questions were pretty specific, e.g. people having issues installing Debian on their hardware or trying to do some exotic stuff. To summarize, it was a nice having a booth again and getting in touch with visitors and users. I did not see much else of Systems this year due to being busy with university as well, but I do not think it would have been worth it anyway. Murray Cumming and Joerg Kress (who were managing the GNOME booth) helped me dismantle the booth and carry back the hardware and leftovers on Friday evening and we decided to have dinner together at a nice pub in Munich.

28 October 2005

Per-Arne Hellarvik: OK...I know I'm smart...But this was fun..

All-Around Awesome


You have:
77% SCIENTIFIC INTUITION and
77% EMOTIONAL INTUITION
The graph on the right represents your place in Intuition 2-Space. As you can see, you scored well above average on emotional intuition and well above average on scientific intuition. (Weirdly, your emotional and scientific intuitions are equally strong.)


Your Emotional Intuition
score is a measure of how well you understand people, especially their
unspoken needs and sympathies. A high score score usually indicates
social grace and persuasiveness. A low score usually means you're good
at Quake.

Your Scientific Intuition
score tells you how in tune you are with the world around you; how well
you understand your physical and intellectual environment. People with
high scores here are apt to succeed in business and, of course, the
sciences.



Try my other test!
The 3 Variable Funny Test
It rules.






My test tracked 2 variables How you compared to other people your age and gender:
free online datingfree online dating
You scored higher than 80% on Scientific
free online datingfree online dating
You scored higher than 82% on Interpersonal
Link: The 2-Variable Intuition Test written by jason_bateman on Ok Cupid, home of the 32-Type Dating Test

Gunnar Wolf: Yet Another Meme

Nice one, Mike! I would have liked to end up being more humane, though ;-)



  
    
    
    
    
    
    
    
    
    
  

      Much More Scientific

      

You have:
77% SCIENTIFIC INTUITION and
47% EMOTIONAL INTUITION

    

      
The graph on the right represents your place in Intuition 2-Space. As you can see, you scored about average on emotional intuition and well above average on scientific intuition.Keep
in mind that very few people score high on both! In effect, you can
compare your two intuition scores with each other to learn what kind of
intuition you're best at. Your scientific intuition is stronger than
your emotional intuition.


Your Emotional Intuition
score is a measure of how well you understand people, especially their
unspoken needs and sympathies. A high score score usually indicates
social grace and persuasiveness. A low score usually means you're good
at Quake.

Your Scientific Intuition
score tells you how in tune you are with the world around you; how well
you understand your physical and intellectual environment. People with
high scores here are apt to succeed in business and, of course, the
sciences.



Try my other test!
The 3 Variable  Funny Test
It rules.




    

      
    










  



   My test tracked 2 variables How you compared to other people your age and gender:
free online datingfree online dating
You scored higher than 80% on Scientific
free online datingfree online dating
You scored higher than 7% on Interpersonal


  


Link: The 2-Variable Intuition Test written by jason_bateman on Ok Cupid, home of the 32-Type Dating Test

Mike Hommey: The 2-Variable Intuition Test

Very Well-Rounded You have:
62% SCIENTIFIC INTUITION and
62% EMOTIONAL INTUITION
The graph on the right represents your place in Intuition 2-Space. As you can see, you scored above average on emotional intuition and above average on scientific intuition. (Weirdly, your emotional and scientific intuitions are equally strong.)
Your Emotional Intuition score is a measure of how well you understand people, especially their unspoken needs and sympathies. A high score score usually indicates social grace and persuasiveness. A low score usually means you’re good at Quake. Your Scientific Intuition score tells you how in tune you are with the world around you; how well you understand your physical and intellectual environment. People with high scores here are apt to succeed in business and, of course, the sciences.


Try my other test!
The 3 Variable Funny Test
It rules.

My test tracked 2 variables How you compared to other people your age and gender:
free online dating free online dating
You scored higher than 30% on Scientific
free online dating free online dating
You scored higher than 36% on Interpersonal
Link: The 2-Variable Intuition Test written by jason_bateman on Ok Cupid, home of the 32-Type Dating Test

26 October 2005

Meike Reichle: Berlinux 2005

This weekend I was in Berlin, at the Berlinux 2005. I have to work until about 17:00 on Fridays so I couldn't attend the first day, instead I arrived at Berlin at about 19:00, just in time for the Social Event :) The Social Event was really nice, well organized with little group tables to sit and chat and very delicious food. Apparently there was also a tuxracer tournament planned but that couldn't be done due to some technical problems (didn't follow that too closely). The evening was very nice anyway I ate a lot and talked to the other attending Debian people. We didn't stay up too long since the exhibition was scheduled to start at 09:00 the next day.
When we got to the Technical University on the next morning the first thing I noticed was a huge transparent hanging over the entrance. Upon closer inspection however it advertised some events for this semester's new students, not Berlinux. Shame. We quickly checked with the Information desk, where we were told to check back with them before giving our talks, since there had been some last minute room changes. Given the quite chaotic organisation in the run-up of this event I must say I wasn't too surprised. (There had been quite a mess regarding the preparation of the talks, many speakers only read on the site when - and that - they were giving their talks, deadlines suddenly popped up and then started wandering ... All in all preparations had been a bit confusing.) Also the planned Berlinux CD had somehow not worked out, so there were no CDs available.
With such good news we went on to the Debian booth to set up the usual stuff. The biggest attraction certainly was Frank Ronneburg's Debian-controlled model railway. Kids had to be forcibly moved on and grown-up men were seen regressing to small children again ;) Unfortunately attendance was rather low anyhow and a lot of the people walking by were regular students on their way to some other events.
At least the talks managed to attract a higher number of people. I can't estimate for shit so I have got no idea how many people attended my talk on user friendly system administration. But I was rather content with the number and so were the other speakers I talked to (The only one who was a bit unfortunate was Alexander 'Tolimar' Schmehl who had to compete with Klaus Knopper giving a talk at the same time.) After the talks were over we killed some more time at the booth, playing with Frank's model railway and Wolfgang Borgert's Nokia 770 (It has Mahjong! Yay!). It should be noted that when we were finally taking down the booth a very brave person walked around with a laptop collecting criticism and suggestions for improvement. There were so many of them that I had to help him out with my Thinkpad's power supply :)

I am not sure how much the Debian project benefited from the whole event since the attendance was so low and we got very few questions. Personally though I quite enjoyed the event. The talk went well (I got a few laughs and good questions afterwards), I met a bunch of new and very interesting people and had a really great Pizza. I hope Berlinux Organisation picks up a few of the suggestions they received. For the moment, my conclusion is that I'd probably give a talk there again, I am however not so sure if I'd go there only to man the Debian booth.

PS: Sadly they didn't have name tags either, so I don't even have something to put on my "trophy board" :(
Hint: Most speaker love souvenirs, give them a piece of paper with their name and your logo on it and they are happy people :)

25 October 2005

Axel Beckert: X on IBM ThinkPad 760ED

As many of my friends know, I installed Debian GNU/Linux 3.0 aka Woody on my IBM ThinkPad 760ED (Pentium 1, 133 MHz, 48 MB RAM, 1 GB HD) named bijou at Chemnitzer Linux-Tage this spring. Although many helped me trying to configure X, I didn’t get rid of the LCD “forgetting” more or less pixels each row so that the picture got blurred towards the right rim. During Berlinux, a not so convinced Linux user (he told me he likes the feeling of Windows, but got stick with Debian because his modem just didn’t work with Windows) told me that he had similar problems with a graphics card with similar chips as the ones in my ThinkPad. Since I never was sure, if my problem is a hardware defect, a driver or a configuration problem (but I tended to hardware defect or a not supported chipset, since I read about several Trident 96xx and 98xx chipsets to be unsupported under Linux), his comment was a ray of hope to me. He told me he found the solution on Werner Heuser’s TuxMobil website, whom I showed my X problem also Berlinux but who hadn’t an idea what it could be. He also told me, that XFree86 4.x doesn’t support this graphics chip, but XFree86 3.3.x does. But somehow I had forgotten that TuxMobil not only has informations about Linux on laptops but also a big bunch of links to pages which deal with specific models. I can’t remember, if I looked there already back in March, but it felt like I didn’t although my own small text about bijou is linked there, too. I looked through the other 760/770 ED/XD pages and on the second or third I found someone who seems to have had the same problem and also with a 760ED. He wrote, someone else has gone down that path already so he linked directly to the XF86Config he found elsewhere. That sounded like an easy earned money so I followed the link — 404. Shit! For luck a few lines down he linked also his own XF86Config, so I grabbed it, uncommented everything unnecessary and put in the essential parts of his XF86Config of which the most important parts probably were the modelines. The one for 1024×768 was commented as the only one working, those for 800×600 and 640×480 were commented out. Then I downgraded X to XFree86 3.3.6. It didn’t work as expected. The display stayed black which was less than I had accomplished before. Shit! But giving up is not my style. So first I reduced the color depth. No change. Then I started with reducing the resolution. With 800×600 and 16 bit color depth, it finally worked. No hardware defect, no unsupported graphics chip. Just not the right modelines. That was all. YESSS! I guess the guy whose XF86Config I used didn’t have a 760ED but a similar model with a LCD with higher resolution. because my 760ED definitely has no 1024×768 resolution because 800×600 fills the screen completely. Still leaves the problem with the svgalib: The system just freezes with a black screen if I start a svgalib application like e.g. zgv. First I found out, that svgalib indeed has a configuration file which (at least under Woody) can be found at /etc/vga/libvga.conf. Copied the modelines from the now working XF86Config, configured the mouse and tried again. Freeze. Hmmm, in the config there is mentioned that if svgalib doesn’t correctly recognise the graphics card’s chipset, you can hardcode it with a configuration directive, e.g. “chipset VGA” for otherwise unsupported chipsets. And that worked, although only with 640×480 yet. So I tried the only setting for Trident cards found in the list of supported chipsets. And what happend? Right, the system froze again. So svgalib probably recognised the card as Trident and used the only available Trident driver which was obviously the wrong one. So here are my XF86Config and my libvga.config working on the IBM ThinkPad 760ED. But nevertheless — this 0€ laptop has just proven that it can be even more useful than it already was with text mode only. I also already played Frozen Bubble up to level 25 or so on the train back from Berlin. Old hardware rules. But I now also have another problem (again): Since X works now, I can run Galeon 1.2 on the ThinkPad, but GTK 2 respective GNOME 2 are much slower than in the 1.x versions and also need much more ressources, which the laptop just does not have. And since I — as most of the people who read my blog or Planet Debian should know ;-) — don’t like Galeon 1.3, I probably won’t dist-upgrade my ThinkPad to Sarge that fast although I already thought about it. XFree86 3.x isn’t in Sarge either IIRC but this should be no problem since the Woody packages are said to work under Sarge, too. Well, still yet another reason for forwardports.org… ;-) Or maybe I can get Kazehakase running on Woody so I can drop at least the whole ballast GNOME 2 comes with. We’ll see…

22 October 2005

Eric Warmenhoven: The case against GOOG

So yesterday Google announced their earnings, beating estimates, sending their stock even higher. Every time someone says GOOG can’t possibly go any higher, they’re promptly proved wrong. So I’m not going to say that GOOG can’t go any higher. I am going to say though that it’s overpriced given the cards that are showing. Peter Lynch compared the stock market to a game of seven card stud, where every new piece of information released about a company is like a new card showing. The more you find out about a company, the more accurately you can gauge the value of a company, and thus whether it’s worth buying. The problem with Google (and similarly with Apple, but to a lesser extent) is that they try very, very hard not to release any information. What’s worse is that Google has built up a mystique about itself, so that any little piece of information (like an otherwise irrelevant partnership with Sun) gets turned into wild rumor and speculation (like that Google will make a web-based Office suite). If you believe the speculation will come true, that means that it will effectively break one of Microsoft’s monopolies, thereby entitling Google to its current market cap. But that means that Google has to deliver on something they’ve never even hinted that they’re working on. If Google’s going to keep its stock from going through a “correction”, it better start showing some more of its cards, and they better be good. Otherwise, they may end up like another company that valued secrecy and was going to take down a different monopoly.

21 October 2005

Wouter Verhelst: More buildd work

I've gone from managing two buildd machines a few months ago, to five now, six or seven soon. Whew. New machines are bob and wendy (armeb), and ska/kiivi (ska was set up around the time kiivi broke down; kiivi's been fixed now, so that means one extra box too). Future ones may be jazz (m68k; Quadra950) and a third armeb box. Getting pretty crowdy—but nothing I can't handle. Yet. Though it is the highest number of buildd machines I've ever managed before. Since Christian Steigies is back from holiday, he had a look at garkin, his atari-with-CT60-board. It had lost its serial connection while he was away, so it didn't build anymore. But other than that the connection was gone, the box was still alive and kicking -- just needed to download a few megabytes of updates, which takes rather long through serial. In case you wonder: there's no ethernet connection, because the ethernet boards haven't been manufactured yet (they've been designed and ordered at the factory which will create them, but that hasn't happened yet). So with kiivi and garkin now both building again, the graph is going in the right direction again since a day or two. It's even more visible on the second graph; if you have a look at the new quarter graph, you'll see that the level of up-to-dateness is currently at its highest level in weeks; I count 28 days between now and the previous peak that is at approximately the same level as today. Which is good, of course. I'm quite happy about that quarter graph, BTW. The usefullness of the other two graphs (one with all information since the statistics were being gathered, one with the information of the last two weeks only) was seriously deteriorating. What this graph shows is way more useful... now if only there'd be a quarter version for the other graph as well...

20 October 2005

MJ Ray: Selling, the web, chipping and bloody hacking

The Internet Advertising Bureau thinks the UK spend could be over a billion for the first time. It's now 5.8% of the national advertising spend and is growing at a pretty remarkable rate. Is Christmas coming early for online? OSCommerce - the future will be templated. We're doing more OSCommerce work and 2.2 MS2 is a fairly typical PHP application, with some structure, but also lots of spaghetti code. The next version is looking a lot better, including this announcement from the lead developer. Templating and styling has to be the most-requested work. I find it a little worrying that OSCommerce is not more openly developed, but it'll be good when the new release ships. Jakob Neilsen has announced the top ten web design mistakes of 2005 and "Legibility Problems" are number one. This isn't a surprise to me. Many websites, including some big names, are totally broken if your browser defaults are light text on a dark background, because that's easier on your eyes. I once spotted the Disability Rights Commission getting this wrong. Even planet.debian.org is missing a:link color: ... . The second top mistake is bad linking, including:
"In particular, don't open pages in new windows"
.which is another thing which I find irritating on many sites. If I want a new window, I'll pick the link for a "new window" from the context menu, or by shift-clicking. Does Mozilla or Firefox or something have an "ignore _blank link targets" option yet? It's only a matter of time. My own company's web site has been updated and I've tried to take these on board. We don't do any of the worst things, but there are always things we can do better. Our site isn't that high a priority - there's so much else to do. The W3C's internationalisation working group has issued a note on working with time zones. I get a lot of unusual time zone requests while programming, but I'll remember these explanations and I think I usually follow the recommendations in s1.5 anyway. Also from W3C is a Working Draft of "Mobile Web Best Practices 1.0" which they'd like feedback on, if you use or develop for mobile web devices. At first glance, it seems that many of the items are stronger versions of the Web Content Accessibility Guidelines. PlayStation chipping is legal in Australia but not in the UK, where it was ruled illegal last year. Chipping is the practice of adding a part to the games console so that it can play imported titles. If the chipping and the risk of breaking it costs less than the difference between imported and domestic releases, some people will want to do it. It's competition between markets. I remember similar things for the old cartridge-based machines of my youth. UK law-makers seem to be trying to kill off that trade in favour of foreign companies that want to tightly control the consoles long after they've been sold. The ruling from Australia might bring the start of a backlash against the increasingly restrictive UK laws, but it's more likely that the EU, US and others will press Australia to fall into line. Copyright seems to be one of the few areas where free trade is being reduced, rather than increased. And finally, I remember the feeling of getting sparc32 Linux working.

Next.

Previous.