Search Results: "mak"

23 March 2006

Gustavo Franco: Debian everywhere using LTSP.

I'm actually working on a CDD that uses LTSP - Linux Terminal Server Project to provide a complete desktop for thin-clients with more than 15000 end users in Brazil. It's really interesting if you consider that those users are living in areas with the lowest HDI (Human Development Index) here. Wait, are you teaching poor people what can be done with a computer, using Debian in a server/thin-client environment in a distributed network (with integrated authentication) across one of the biggest countries in the planet? Yes!

Well, of course i want to see more projects using our CDD (we support multiple profiles and all that) or more CDDs focused on thin-client solutions, whatever comes first. But what makes me happier with all this is that it benefits both end users, and the Debian project. Have you heard about pkg-ltsp?
?

pkg-ltsp history started in the end of the last year when i met with Otavio Salvador that already knew Petter and Vagrant - the LTSP folks in Debian at that point. I was already talking with Oliver Grawert (edubuntu fame) about cooperation, so it was just a matter of time put everything together, organize a online meeting and do the first upload under the group name. We jumped direct from 0.58debian4 (Nov) to 0.82debian1 (Mar), basically due to our organization as a group, and the work done by ogra, pere and vagrantc and some others (including me) in these four months.

If you're using ltsp and feels that you can contribute, join us. Hopefully we'll have more interesting stuff in the pkg-ltsp camp to announce before Etch, stay tuned...

Joey Hess: wiki/blog convergence

I wrote a wiki engine last week, maybe I should write a weblog engine next week? Here's my own take on converging the two, which has been done before, but which some differences in ikiwiki perhaps allow to be approached slightly differently. First, I plan for all pages in the wiki generate a rss feed for that single page, which can be subscribed to if you want to track changes to the page alone. Then, pages can have a blog embedded in them by adding a special tag to the page, which includes a list of globs for the pages on the wiki that comprise the blog. Something like "Blog/* !*/Discussion", to exclude discussion subpages from the blog. This makes the most recently created of those pages be inlined into the html version of the page (with a form at the bottom to make a new post, if you don't want to commit to svn by hand) ... and enables creation of a regular rss feed too. Some nice features that just fall out of this: ikwiki's TODO has the details (about half way down; that page needs to be implemented as a collection of pages/blog itself).

22 March 2006

Ross Burton: Name Dropped

Jeff Waugh was kind enough to name drop Devil's Pie at FOSDEM whilst being interviewed for Source21.nl.
...We haven't been talking about some of the really cool stuff you can do with gnome. Things like Devil's Pie or Brightside, which make the window manager work in totally different ways: they take Metacity which is a very conservative, very simple, it just manages your windows kind of window manager, and they turn it into something which does edge flipping and all kinds of cool stuff, a programmable window environment, those kind of things.
Yay Jeff! NP: Last.fm Neighbour Radio

Christine Spang: It s Official

The train has been booked. There’s no going back now! I’ll be staying at the (in?)famous Acetarium the night of April 5th, before attending the MIT Campus Preview Weekend, which starts the next day and lasts until the 9th. So I’ll be meeting Mako and Mika, and probably some other Debian people who have yet to be determined. Now, the real question: be scared, excited, or both? I am thinking this is going to be fun. Insane fun.

21 March 2006

Joey Hess: Birthday plans

Looks like I will be celebrating my 30th in Spain. I arrive in Madrid on my b-day. Oddly the only presents I want are also only apparently only available for shipping to Europe, so that works out pretty well, in theory: keyring kite This is a pretty good kite design, my only other one in this design is fanny pack sized and works pretty well. If you ever wondered how to make my happy with just 2 euros, this is how. pi=3 Er, that was my idea, so it's only fair..

Joey Hess: replacing stuff with busybox

Martin- ric Racine: You asked about embedding Debian with busybox.
Would anybody happen to have more details about exactly which packages Busybox can replace while still providing just enough functionality to boot a Debian-based system up to an X display manager?
This is in general an impossible question to answer since any given Debian package may or may not work with any given utility from busybox. What we do at work to shoehorn a X-capable embedded Debian-based arm system into 32 mb or so of flash, is to install our set of packages, then tweak things until busybox diverts nearly every utility it supports. Then we snapshot the files used for a shutdown, boot, and the specific use of the system we want to support, and copy just those files over to our image, which ranges from 4 to 32 mb. For the busybox related parts of this, we use a program I wrote called busybox-links to set busybox up to divert everything cleanly and (semi-)reversably using dpkg-divert (and in some cases update-alternatives). busybox-links also tweaks a number of init scripts to work with busybox, stuff like editing /etc/init.d/hwclockfirst.sh to run hwclock without the --noadjfile parameter, which busybox lacks, and a dozen or so other such changes. Happily busybox readlink now supports -f, so the main set of things that had to be patches doen't anymore. This set of tweaks likely won't be sufficient for your system, but you can add more in a like vein. busybox-links is contained in our ads-additions package. As for reducing the tweaked Debian system down to just the files needed to run, we use the adsrootbuilder, which is still quite specific to our systems, but which I hope to eventually make less so. Both these packages can be downloaded from our apt repository:
deb-src http://www.applieddata.net/developers/linux/debian ads main contrib non-free
Of course, that's just one of many ways to do it. Part of the problem of embedding Debian right now is that there are as many ways to do it as there are people doing it, and no agreement on the right way, and so little progress in some areas. In the future, I for one would like to see a broad agreement in Debian that making init scripts and the like compatable with busybox is worth doing if it doesn't make them significantly slower or uglier. Then I could send all these tweaks in as patches, which would be a better use of my time than maintaining them going forward, and would make Debian an overall more flexible and more useful system for embedding. (PS, RE what debootstrap installs; it's based on whatever is > standard priority. If you have improvements, might I suggest talking to its maintainer, not blogging?)

Andres Salomon: python and ruby

Martin pointed out something that I’ve complained about before, and was subsequently given the reason for (by piman, iirc). It makes sense, but it’s still kind of lame for usability purposes. Of course, that’s the python interpreter, not a front-end for users. What I really miss from ruby is something like irb for python. I don’t want a full-fledged IDE; I want a quick command line thing that can be spawned for testing code snippets, or for inspecting objects. I want it to support tab completion (it’s quite useful to be able to type “foo”.<tab><tab>, and get a list of all String methods). I’ve mentioned my desire for such a thing before, but no one’s ever pointed anything out. I just did a quick google search for “irb for python”, and discovered ipython. It seems to almost do what I want; “foo”.<tab><tab> doesn’t quite work, but x=”foo” and x.</tab><tab> does work. Nifty! Of course, it seems to have its own stupid exit behavior:

In [4]: exit
Do you really want to exit ([y]/n)? y
Yes, I really want to exit; otherwise, I wouldn’t have typed “exit”…

Ross Burton: Go Rowan Go

Vicky and myself have said this before, but I'll say it again. For the top man in the Church of England, the current Archbishop of Canterbury Rowan Williams is surprisingly moderate, progressive and possibly even cool (via The Guardian):
The Archbishop of Canterbury, Rowan Williams, has stepped into the controversy between religious fundamentalists and scientists by saying that he does not believe that creationism - the Bible-based account of the origins of the world - should be taught in schools. … Dr Williams spoke of his determination to hold the third-largest Christian denomination together in its row over the place of gay clergy. He was also highly critical of parts of the church in Africa and said he did not wish to be seen as "comic vicar to the nation", speaking out on issues where he can make no difference.

Riku Voipio: krooger effect

Umm no. The krooger effect is that every time krooger appears MJ. Ray and some other people start defending jonathan/ted walther regardless of what loony things he has done in past. Somehow absolutely obvious things like "You get banned from women-targeted mailing list for sending sexists mails" get turned upside down into "poor krooger is a victim of religious discrimination".

[ 7 ] Choice 6: Jonathan aka Ted Walther
[ 6 ] Choice 8: None Of The Above

Make sure your ballot includes it. It's not religious discrimination, and it's not again universal human rights declarations vote that someone is just not fit as our DPL.

Even those who rank Ted Walther low should admit that he asked some of the trickiest questions in part III and mixed it up a bit.

"Mixing up issues" is about the last quality a DPL should have. His questions where not hard, but irrelevant. Most Debian Developers couldn't care less about arguing in the internet about Tax registrations or religious discrimination on IRC.

20 March 2006

Jonathan McDowell: Nominet EGM

I was in Oxford on Thursday for the Nominet EGM. There were a variety of changes that they wanted to make and while in general the principle behind them seemed good the detail was a bit worrying, and I believe had been badly communicated. However I was still surprised to find that the vote was defeated; I'd expected a narrow victory. There are some more details on The Register, who were the only people to send someone I believe. What's scary is the percentage of members who didn't vote. Nominet has just under 3000 members. I wouldn't have said more than 60 people turned up to the EGM, and some of them were Nominet staff or multiple people from the same member organisation. Only 10% of members actually bothered to vote. That's quite a pathetic number. Even if you don't take on the view point that Nominet are a member run organisation (and I do and I think they work very well in general and try to do the right thing and promote good practises), this was a vote that would have given the board the right to modify pricing as they wished. Surely that's something you're interested in even if all you do is treat Nominet as a normal supplier? There's more to the changes than that obviously, but I would have thought price changes were something that might at least make beancounters sit up and take notice. Do you work for an organisation who's a Nominet member? Were you aware there was an EGM taking place? Did your organisation vote? Are you aware there's a PAB election starting from this Friday? Are you planning to vote? Have you ever been to an AGM? If not, why not? What about the members lunches? It's somewhat disappointing to see such a low level of member involvement. Nominet do seem to try to talk to people and get their opinions, but you have to actually turn up for that to happen...

19 March 2006

David Pashley: Atom feed and Planet Debian

I upgraded my atom feed to atom 1.0 during the week. This appears to have broken my entries on Planet Debian. If anyone has any ideas on what I can do to make planet like me with a valid atom 1.0 feed, please let me know. Update: I've changed my feed from having html content to xhtml, which isn't encoded. Hopefully Planet will like this. If not I'll have to fix it in the morning.

Rapha&#235;l Hertzog: My favorite candidates

So the DPL vote just started and I crafted my ballot. So it’s my turn to give you my opinion on the various candidates. Here’s my top 3 by order of preference:
  1. Jeroen van Wolffelaar
    I had the occasion to work with Jeroen due to our common involvement in Debian-QA and his work on the PTS. He’s only Debian Developer since 2004 but he’s the proof that you can get involved in core teams if you’re willing to work. His commitment to Debian is impressive. He’s also a strong proponent of the DPL team concept, and he managed to gather a well-balanced team. With some changes to the DPL team concept, this can make a big difference this year. Yes, I hope to be able to serve the project as a member of his team.
  2. Steve McIntyre
    I worked with Steve on numerous occasions due to our common involvement in debian-cd. He’s very moderate, appreciated by many people and could be very effective in mediating internal conflicts since he’s not involved in any core team. I look forward working with him, his platform is very attractive.
  3. Anthony Towns
    Anthony has been doing a great job for a long time, and I really appreciate his efforts to communicate what he does. I like his idea to bring momentum to the project… and he proposed the last general resolution to bring us to a conclusion on the GFDL problem. That’s the kind of initiative that I’m also expecting from a leader. His strong opinions do not suit everybody but at least he’s trying new ideas.
All the other candidates are well-intentionned (except one) but they do no match all my (fuzzy) criterion for a good DPL.

Adam Rosi-Kessel: randomplay 0.52 released

It’s been a while since I announced a release of randomplay, my command-line ‘itch a scratch’ music player. It is most useful for maintaining a random shuffle over many sessions—for example, I use it to make sure I don’t ever hear the same song in any three month period. This new version features the much sought ‘back a song’ keybinding. It also announces the “random weight” preference of the current song as it plays.

Rapha&#235;l Hertzog: Revisiting the DPL team concept

I have not been very much involved in this year DPL campaigning, but I’m part of two DPL teams, thus I feel the need to give my point of view on the subject. I’m not really satisfied by how the current DPL team worked out, and being on the DPL candidate team of both Jeroen and Andreas gave me the opportunity to gather information on what really happened. Also I’ve met Bdale yesterday and he gave me his opinion as well (and I really enjoyed that dinner. Thanks bdale!). Just for the record, I’ll try to sum up what really happened: Branden had agreed to be a participant of the DPL team concept, but wasn’t a major proponent of the idea. This, combined with his personal problems, explains why he didn’t make use of the full potential of a DPL team. Does it invalidate the DPL team concept? No, I don’t think so because the concept will evolve this year. Let’s see how it can change. Both DPL teams would this year receive all the mails sent to leader@debian.org. This means that the members are involved from the beginning and not only on request of the leader, which means that they can pro-actively take over if they see that the DPL doesn’t manage to follow up up to its expectations (which hopefully won’t be needed this year). Furthermore I expect that the team would be informed of what the DPL does, so that the team can give its opinion on everything done, and prevent big errors (nobody is perfect, errors do happen). But the most important thing is that the team should not stand behind the DPL, but next to him taking initiatives, and I expect the DPL to work with the team members for the best of Debian. As such I expect the DPL to accept most of the proposals of his team if there’s a consensus on it, even if he doesn’t personnaly think that’s it’s a priority for his DPL mandate. If I am part of an elected DPL team, I will work on that basis. I do have many ideas to try, and will make proposals. I ran once for the DPL election, and if you check my platform, you can see that I always had ideas for Debian and you can see that I worked on several of them which are nowadays very common (such as the PTS, alioth, collaborative maintenance). I won’t miss an opportunity to get the project moving forward.

Junichi Uekawa: Venturing into emacs-muse, a wiki engine.

I've decided to take a look at emacs-muse (muse-el Debian package).I share many of JoeyH's sentiments with regards to what wiki should have.But maybe that's only an evidence that I'm an old-type.One thing I liked about emacs-wiki (which is what emacs-muse is a fork of)is that it allowed editing of wiki files from emacs, or whatever plain text editor,and allowed viewing of HTML after processing. They are just plain text, and can be controlled with version controlled systems.There was this nifty thing called elserv-wiki, which made emacs a webserver, and allowed wiki editing, but apparently, it's not available for museyet, and thus I can't make it a fully-fledged wiki engine.I'm slowly exploring the space.Apparently, emacs-muse doesn't really work right now for Japanese PDF generation, somebody needs to hack on it. HTML output works, so no problem right now.RSS output seems to be unavailable, along with handling of ChangeLog which used to exist in emacs-wiki.Anyway, I converted tokyodebian project webpage to emacs-muse, rather than hand-crafted HTML, and I'm happy.

Erich Schubert: Explaining Debian

Josh, Martin F. Krafft and Wouter talked about how to explain Debian with a few sentences. You mustn't feel awkward about explaining that, instead you should be prepared. If it helps you, think you are selling a product, not showing how "nerdy" you are. You are doing great stuff, you can earn your living with it quite well and you like it. That is perfect, so be proud about it. You need to have what is called an "elevator pitch". That is a short preso you could give while going up a few floors with an elevator on your way to a meeting, back, at a conference, at a party... That format seems most appropriate to me, and there are good guides on how to do elevator speeches. Rehearsing makes sense, too. You'll however likely want some variants, depending on the audience. My first stab at writing such a speech:
Debian is a Linux-based operating system [software for computers] made by volunteers, of which I am one. It is in fact one of the most widely used operating systems worldwide, and usually picked because of its reliability and security, while being entirely customizable to fit your needs. And it's development community really makes the difference, there are so many bright people there, doing amazing new software.
(notice: I extend the development community to floss, beyond just the official DDs, because thats the way it is. There is nothing wroing with bragging about e.g. what the Gnome people do, because you can use it with Debian, too.) and optionally, depending on the audience:
There are also variants suiteable for novice users, such as schools. You can run it on laptops and desktop computer as well as on mainframes or embedded devices. You can do everything with it.
or:
The city of munich is just switching to it for their computers. This saves the city a lot of money, while becoming independant from Microsoft.
or:
Our computer science department has almost only Linux on its computers. And many other universities do the same. Can you think how cool it is to have millions around the world use your software?
and of course:
That is so cool, I can do stuff I really like to do, meet really cool and bright people and earn my living doing so. That's heaven on earth.
[Update: someone might consider the use of "guys" to be sexistic. Well, of course there are very cool grrrls there, too. I've replaced it with "people" now, so I don't neet to explain grrrls next. ;-)]

Neil McGovern: Note to self<br />

To remove a old chroot, you can use rm -rf. However, make sure that /home isn't mounted under the chroot.

Uwe Hermann: Help: How do I boot Debian on a Sun Sparc Ultra 10?

Dear Lazyweb, I was trying to boot Debian on a Sun Sparc Ultra 10 box yesterday, without success. I got myself this Sparc box from eBay many months ago, but until yesterday it was merely standing around here and taking up valuable space (just like the other dozen or so computers standing around in my room). So I thought I should really make some use of it, finally... I booted it up and noticed that it came with SunOS 5.8 pre-installed. It boots quite fine into the graphical login prompt, but I don't have the root password (or the password for any other account). So my first task was to reset the root password. But I failed so far. Out of curiosity I connected the machine to my laptop and ran nmap on it. It has several ports open (e.g. ntp, ssh, X11, nfs, ...), so I could probably try to find a remote root exploit (or run an ssh brute-force attack) and crack it open that way ;) While I might try that later just for the fun of it, I wanted to simply boot a Debian first and change the root password manually. That sounded simpler at first... Anyways, here's what I tried so far: Boot into single-user mode As I had no experience whatsoever with Sparcs, it took me some time to read up all the stuff I needed... After a bit of googling, I found out that I need to press STOP+A to get into the boot prompt (the box has OpenBoot 3.19). There, I can type boot -s to boot into single user mode. Unfortunately, you still need the root password to boot into single-user mode. Argh! Boot from CD-ROM Next, I found out how to boot from CD-ROM. Typing boot cdrom in the boot prompt should do the trick. So I downloaded and burned a the current Debian "businesscard" image for Sparc:

wget http://cdimage.debian.org/debian-cd/3.1_r1/sparc/iso-cd/debian-31r1a-sparc-businesscard.iso
cdrecord -eject -v speed=2 dev=/dev/hdc -data -pad debian-31r1a-sparc-businesscard.iso
Booting seems to work partially. SILO seems to start fine, and I get to the "boot:" prompt. When I press Enter I get to the point where it says "Loading Linux..." but then the screen turns black and nothing happens anymore (hangup). The same happens when I type "linux" or "rescue" on the "boot:" prompt. The monitor works fine, SunOS 5.8 can display graphics etc., so it's probably not a hardware problem. Netboot After that, I tried to perform a network boot. This was fun and I learned a lot about RARP and TFTP, as I have never played with this stuff before. While the netboot part itself worked, it didn't solve my real problem, unfortunately... First, I installed rarpd and tftpd on my laptop:

apt-get install rarpd tftpd
In /etc/ethers I added a line which tells rarpd which MAC address should be assigned to which IP address. I looked up the MAC address of the Sparc box (it's displayed when you boot) and then added "xx:xx:xx:xx:xx:xx 192.168.0.20" to /etc/ethers. I configured my laptop to have the IP address 192.168.0.19: ifconfig eth0 192.168.0.19 broadcast 192.168.0.255 netmask 255.255.255.0. Of course, I plugged an ethernet cable in the Sparc box and in my laptop so they can talk to each other. Then, I created /etc/xinetd.d/foobar which contained:

service tftp

disable = no
socket_type = dgram
protocol = udp
user = nobody
wait = no
server = /usr/sbin/in.tftpd
# server_args = /tftp

This should tell tftpd to serve the Debian netinst boot image from /tftp, but that didn't work for me. So I commented out the "server_args = /tftp" and let tftpd fall back to the default location /tftpboot. You need to reload xinetd after any change: /etc/init.d/xinetd reload. Also, tftpd is compiled with TCP wrapper support, so you have to temporarily allow the respective connections, e.g. by adding "ALL: 192.168.0.20" to /etc/hosts.allow. Don't forget to remove that line again later on! Now I downloaded the Debian netinst boot image for Sparc (hopefully the correct one):

wget http://http.us.debian.org/debian/dists/stable/main/installer-sparc/current/images/sparc64/netboot/boot.img
mkdir /tftpboot
mv boot.img /tftpboot/XXXXXXX
You need to place that image into /tftpboot using the name under which the Sparc box requests it. I found that name by net-booting the Sparc machine and watching the network traffic with Ethereal on my laptop... The final steps: boot the Sparc box, type STOP+A, type boot net. The Sparc machine gets the boot image from my laptop just fine (it seems), and I get to the "Loading Linux..." part again. But then I have the same problem as with the CD-ROM boot: the screen turns black, nothing happens anymore... Help?

Wouter Verhelst: Kerberos

I had nothing important to do this weekend, so I played a bit with kerberos. Pretty fun, that, and the Debian packages make it all so easy. First, when setting up Kerberos, you should note that there are two competing implementations: one is heimdal, the other is the MIT reference implementation. The former has some additional features (like storing principals in LDAP rather than plain files), but I found that krb5 was useful enough to me, so I didn't investigate further. Also, storing principals in LDAP isn't as useful as it sounds—kerberos is designed to make password replication unnecessary, so you want to store it on a machine with little or (preferably) no other jobs to do. You certainly do not want to store it in a server which will put it out to the world for all to see. Anyway. It's pretty well documented in info krb5-install (in the krb5-doc package); and the Debian packages let you do most of the setup through maintainer scripts and debconf questions, except for creating a new realm, which you do through a provided script. ... and this means that setting up kerberos on Debian is peanuts. Really. You need (at least) one KDC, which you do by installing the krb5-kdc package. For exactly one KDC (which will be your master KDC) you also need the admin daemon; you can get that one by installing krb5-admin-server. Then on the hosts in your network, you want to install krb5-utils, and libpam-krb5.so for authentication. After configuring them (as explained in the krb5-install document), you have a live kerberos system. It takes you about five minutes to do the initial setup (once you understand how the system works), and about 10 seconds to add a host to the system. Of course, doing kerberos setup is useless if all you want is to be able to log on to one system. But if you have more systems, you might want to use, e.g., the Kerberos support that is in OpenSSH, which you can do by adding the following two lines to both /etc/ssh/sshd_config and /etc/ssh/ssh_config (though obviously not on the same hosts:
KerberosAuthentication yes
GSSAPIAuthentication yes
... and with that, you'll have a kerberized setup. Fun.

Neil McGovern: Note to self:<br />

To remove a old chroot, you can use rm -rf. However, make sure that /home isn't mounted under the chroot.

Next.

Previous.