Search Results: "will"

22 April 2007

Lars Wirzenius: Debian: Packaging school, third time

I'll be giving the third installment of my Debian packaging tutorial on Wednesday, May 5, 17-21, at Arcada in Helsinki. There's a few places left, e-mail Simon R nnqvist at simon@iki.fi if you're interested. He's taking care of the arrangements. There's no participation fee. If you can bring your own laptop, with Debian (or compatible system) and the package build-essential installed, things will be simpler.

Christian Perrier: Royal evening

So, second round will be S. Royal vs. N. Sarkozy. Noone will doubt where does my preference go. I've always supported S gol ne Royal and I will of course continue to do so. I however doubt she will make it. Sarkozy's advance is quite important in polls and polls fail less and less often. My personal hope is that the 87% participation ratio (the highest ever for a French presidential election) means that many people feel that our president is who we vote for...and if we want the right wing out, we have to vote. This is particularly obvious among the youngest people and I hope that it means a revival of the political conscience in this country.

Neil Williams: Mandatory -dbg packages for libraries

I'd like to see all library source packages having a minimum of 4 binary packages required by Policy: the SONAME, the -dev (without SONAME), the -dbg (with SONAME) and a -doc package (without SONAME). (Libraries for perl or other non-compiled languages would be exempt from -dbg packages but not -doc.)

Currently, only a -dev is mandated. I'm currently writing a GtkHTML extension for quicklist and writing code to use an undocumented library is PITA.

Libraries without a -dbg are worse because Debian doesn't need any upstream involvement to create -dbg packages. Things like that make Debian a nicer environment to be upstream, not just a nice environment to be a DD or user.

Are there libraries written in compiled languages that cannot provide a -dbg?

Jesus Climent: Donate a laptop!

During the last DebConfs I have advocated for people to donate their old laptops to developers that are not so fortunate with their economical situation. This year’s DebConf I will not be attending, but nevertheless, I would like you to think about it. If you have an spare laptop that you don’t use and you think you can give it up, bring it along with you and give it to someone who is in need of one.

Christian Perrier: Vote - 1st round

So, today is the first round of the French presidential election. I already explained where is my preference going, also who I fear the most and who I absolutely don't want ever (no link here: I will never give a link to this guy and his party's web site. You don't want to read the kind of crap they write, do you? This is of course Le Pen). For those reading this and not familiar with the French presidential eletion voting system, a few more hints: We have 12 candidates this year. on first round, a president may be elected if (s)he gets more than 50% of votes (not counting white and null votes). This is of course nearly impossible. The highest probability is thus for a second round. Here, the two best ranked candidates would stay and the president is elected among one of them two. That second round will happen on May 5th. Candidates are (non neutral comments!): Though choice, isn't it? Out of these 12, 4 have some chances to reach the second round: Bayrou, Royal, Le Pen and Sarkozy. It is pretty sure that Sarkozy will reach the second round (unfortunately, should I say). Bayrou and Royal have the best chances to be the second candidate (apparently the disaster of 2002 where Le Pen reached the second round will not happen, though still possible). So, let's vote and vote well...but, first of all, vote! See you at 20:01 +02:00.

Wichert Akkerman: Debian upgrade experience

With the recent release of Debian etch (usability note: why can't that URL be per-release? All the info on sarge suddenly is not reachable at the location people bookmarked anymore) I figured I would try upgrading some servers to it. Debian has always had excellent in-place migration handling, so this should be easy, right? If only.. I will stay with sarge for a while longer.

Michael Prokop: Booting from USB pen: troubleshooting and pitfalls

As grml supports booting from usb devices (harddisk installation via grml2hd as well as booting from usb pens via grml2usb) and I helped many people at debugging booting problems I think I stumbled upon every existing pitfall. 8-) There are several situations where booting might fail. So here we go with a summary of the most common pitfalls and possible solutions:
  1. The Bootsplash is displayed, the kernel loads but you very soon get a:
  2. ran out of input data
    System halted
    
    Reason: everything OK, except for the filesystem used on your usb device. So instead of fat16 you use for example fat32. Fix: use the appropriate filesystem (fat16 for usb pens usually).
  3. When trying to boot from USB you get something like:
  4. Invalid operating system
    
    Possible reason: the partition layout is not ok. Very probably there’s no primary partition or none has the flag ‘bootable’ set. (Read on for further details.)
  5. When trying to boot from USB you get something like:
  6. No operating system found.
    
    Possible reason: you forgot to set the boot-flag on the partition. Or you did not install an operating system at all. ;-)
  7. When trying to set up the partition(s) on the USB device cfdisk reports something like:
  8. FATAL ERROR: Bad primary partition 0: Partition ends in the final partial cylinder
    
    Reason: the partition layout is not ok. Either use fdisk (requires detailed knowledge about partition setup!) or better: use a fronted of libparted, like gparted. gparted does an excellent job at setting up an appropriate partition layout for booting from USB (read on for details about the correct setup). As long as cfdisk has problems with the layout - it will exit on errors - your usb pen very probably does not have a valid partition setup for booting. Please notice that fdisk very often uses defaults which are not OK, whereas gparted uses the appropriate heads, sectors/track and cylinders settings. So if you really want to use fdisk for setting up the appropriate partition layout you might have to enter the ‘extra functionality (experts only)’ menu of fdisk.
  9. The system never displays the bootsplash of the usb device at all? Checklist:
    • does your system support booting from USB at all? Check settings in BIOS.
    • do you use the correct USB mode in BIOS? Check BIOS again, usually you want to use USB-HDD mode. Not possible? See USB-ZIP mode.
    • is "booting from USB" in the appropriate order of the booting sequence? Check the "boot"-section in your BIOS.
    • is the bootable flag set on the boot-partition? Check for example with cfdisk.
    • is the partition used for booting the first partition and a primary one on your device? Check with cfdisk again.
    • is the partition layout ok? The first partition (the one used for booting) has to start at cylinder 1/sector 63, otherwise booting will fail on most (all?) x86 systems. Check with ‘cfdisk -P s /dev/..’ or ‘fdisk -l -u /dev/…’. Do *not* trust the output of ‘fdisk -l /dev/…’. Really.
  10. syslinux does not work on your system (b0rken BIOS for example)? Possible solution: use grub instead.
  11. Kernel boots but fails to find the root filesystem with something like:
  12. kernel-panic: unable to mount root-fs...
    
    Yes? Then the root= argument in your kernel commandline (specified in the bootloader, usually lilo, grub or isolinux/syslinux) is pointing to the wrong device. Solution: adjust the root=-option in your bootmanager’s configuration. Tip: use root=UUID instead of root=/dev/[hs]d…
  13. All of the above tips don’t work? Maybe your USB pen is even larger than 1GB?
  14. Possible reason: Some BIOSes offer different modes for USB booting. The proper mode to boot a USB stick is USB-HDD. If that doesn’t work or is not supported by your system, you need to format your USB-Stick as USB-ZIP. To do this, the syslinux source distribution contains an utility called mkdiskimage, which you can use to re-format your USB stick in USB-ZIP format. For more information refer to the USB-webpage in the grml-wiki and Bootable USB Key in the knoppix-wiki.
I mentioned the correct partition layout several times. Reminder: a first, primary partition with fat16 (as filesystem as well as partition’s system id!) with bootable-flag set. The partition should start behind MBR at 1st cylinder and 63rd sector (see www.ata-atapi.com/hiwmbr.htm and thestarman.pcministry.com/asm/mbr/index.html for more details about MBR). So how does a correct partition look like? Output in several formats as reference:
# fdisk -l -u /dev/sda
Disk /dev/sda: 1039 MB, 1039663104 bytes
255 heads, 63 sectors/track, 126 cylinders, total 2030592 sectors
Units = sectors of 1 * 512 = 512 bytes
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63     2024189     1012063+   6  FAT16
# fdisk -l /dev/sda
Disk /dev/sda: 1039 MB, 1039663104 bytes
255 heads, 63 sectors/track, 126 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1         126     1012063+   6  FAT16
# sfdisk -d /dev/sda
# partition table of /dev/sda
unit: sectors
/dev/sda1 : start=       63, size=  2024127, Id= 6, bootable
/dev/sda2 : start=        0, size=        0, Id= 0
/dev/sda3 : start=        0, size=        0, Id= 0
/dev/sda4 : start=        0, size=        0, Id= 0
Tip: if you have a working stick, store your partition layout using ’sfdisk -d /dev/sda > sfdisk.sda’ for later restore (via ’sfdisk /dev/sda < sfdisk.sda’). This is also very useful for cloning a working setup to other devices (though you might have to adjust cylinder/units later on). And of course you can use it as backup if you ran [sc]fdisk-commands on the wrong device. ;-)

Russell Coker: praying for rain

Paul Dwerryhouse posted a comment about the Prime Minister asking people to pray for rain. I don't think that Johnny is suggesting this because he's overly religious (compare his actions with the New Testament of the Bible). The fact is that the Australian government has no plans to deal with global warming, the inefficient distribution of water, and the large commercial farms that produce water inefficient crops such as rice and cotton in areas that have limited amounts of water. This means that small farmers should pray, no-one else will help them!

I wonder if the farmers will ever work out that the National party is doing absolutely nothing for them by it's alliance with the Liberal party. Maybe if farmers could actually get a political party that represents their interests then things would change.

21 April 2007

Erich Schubert: More AppArmor FUD^W PR:

I didn't intend to write (ok, rant...) on this topic again, but a few days ago, this "AppArmor FAQ", was posted to the Linux Kernel Mailing list. Again, this is a lot of 'marketing stuff', and doesn't have the facts quite right...Some quotes:
In the traditional UNIX model, files do have names but not labels, and applications only operate in terms of those names.
No. In the traditional UNIX model, filenames point to inodes, and the inodes contain data such as file modification dates and permissions. This is where SELinux stores the labels it uses for access control. In fact, the "unix owner" and "unix group" are pretty much the same thing as SELinux labels. And also work pretty much the same way.
Contrary to popular belief, AppArmor is *not* "Pathnames R Us", but rather "Use native abstractions to mediate stuff": when you mediate something, you should use the native syntax that users normally use to access the object.
Maybe the appropriate term would have been "naive abstractions"?And, no, security systems shouldn't be designed around what a user can easily grasp, because that might just not work... it should be designed around the way resources are handled and how you can successfully restrict access."Contrary to popular belief", SELinux *does* use path names. Actually in a very convenient way for the users. So I wouldn't claim SELinux is really harder to use than AppArmor because of its use of path names.The difference is that SELinux doesn't rely on the path names, but it still gives the user the possibility to use them. In fact, the only way I know to get a proplerly labeled filesystem is based on path names.If I'd for example keep my web stuff in /home/www, I can tell SELinux that the appropriate label is httpd_sys_content_t by doing
semanage fcontext -a -t httpd_sys_content_t /home/www
restorecon -R /home/www
In AppArmor, I'd need to modify the policy for several applications to achieve this, because of it's dependency on path names. SELinux also uses an abstraction. One that is very convenient for users actually. SELinux does access control on object classes. What I'm doing in above example is to put these files into the "Web site data files" class. So please stop scaring people of "labels". That is just the technical term for what is an "object class", a concept every developer will be familiar with. (SELinux policy development has a couple of OOP-like features, btw., for example it is possible to give an application access to 'all log files'.)There are, however, some true statements hidden in there:
We also acknowledge that pathname based access control requires a way to perform pathname matching in the kernel, and this comes at a cost higher than comparing object labels [...]
So by providing string matching in the kernel, AppArmor trades run-time performance to grant reduced administrative work. It is however not obvious how large the difference in "reduced administrative work" is between AppArmor testing the filename "run-time" compared to SELinux using filenames to relabel files "on demand" (or, with restorecond, even on creation by using inotify).What I still seriously dislike is the FUD spread by AppArmor people such as
Label-based security (exemplified by SELinux, and its predecessors in MLS systems) attaches security policy to the data. As the data flows through the system, the label sticks to the data, and so security policy with respect to this data stays intact. This is a good approach for ensuring secrecy, the kind of problem that intelligence agencies have.
Why should this only be useful to "intelligence agencies"? Some people live in countries with very strict privacy requirements, and we might want to use these techniques to lessen the risk of leaking data. In AppArmor, I can copy a file with private customer data to the web server directory, and it becomes readable by the web server. In SELinux, the file will still be unreadable by the web server. Does that really sound like "only useful to intelligence agencies" to you?Dear AppArmor people, please stop trying to invoke fear of the NSA, just to make people use AppArmor. That makes you look very untrustworthy, you know...The SELinux kernel code is part of the Linux kernel, AppArmor is not. So in theory, that code has been reviewed much better than yours, and is maybe even less likely to contain a "NSA backdoor" than yours. Changes to SELinux are openly discussed on a mailing list, and go through peer review there. They foolow a very strict coding style, which makes review easier; obfuscated code doesn't have a place there. It's not like we were running a binary blob from the NSA we can't have a look at.

Daniel Burrows: Wikified aptitude TODO list.

I've been able to crib more time lately for Debian, so I'm hoping that I can stop just keeping my head above water (barely) and start on the pile of new work that I'd like to do. For a while I've been accumulating a mental list of stuff that sucks in aptitude, but mental lists have the drawbacks that no-one else knows about them and that they never seem to be available when I want them.

I've now got a nice page in the Debian wiki holding aptitude's current TODO list. The entries range from changes that are trivial but will improve the user experience, to deep and difficult changes that no-one will notice. Since I don't expect a team of magic pixies to do the coding for me, I figure I might have the majority of the design and coding done in a year or so.

Julien Blache: Call for help: SANE

I am currently going through the SANE bugs reported on bugs.d.o. There are quite a few of them, and verifying them already takes a long, long time; fixing them is another story entirely, given I own none of the affected scanners or platforms. I’ll be going through the bugs this week-end, re-reading the logs, tagging/retitling as needed so hopefully the list will be easier to read. If you have - or are affected by - an open bug against SANE, please try to reproduce the bug on an up-to-date unstable system. I’ll be uploading a CVS snapshot to unstable today for that purpose. SANE is a complex piece of software that is best maintained in a team, if only because there’s so much hardware involved that the more maintainers you have, the more different hardware you can have too. If you have a scanner, have some knowledge about USB, shared libraries, GTK among other things and want to help, mail me and tell me what you can/want to do. Some knowledge about SCSI can help too, though SCSI scanners aren’t exactly mainstream anymore. I currently own only 3 scanners, one old SCSI scanner and a pair of nearly identical USB scanners; so that really makes 2 scanners. If you have some scanners lying around that you don’t use anymore, I (and the SANE developers too) could probably use them. I’m primarily interested in any scanner that is involved in one of the bugs currently open against SANE. I’m also looking for a scanner supported by the epson backend (the Epson scanners I have are supported by the snapscan backend). Now, back to these damn bugs.

Mike Hommey: svk shortcuts

J rg, you can significantly reduce the number of commands to type by using some of the useful svk shortcuts. First, you can create the mirror and check it out with a simple one liner:

svk cp svn+ssh://joerg@svn.debian.org/svn/debconf-data/ /chekout/directory
It will ask you the base URI to mirror (in case you’d actually want to mirror svn+ssh://joerg@svn.debian.org/svn/, for example), and then the depot path for the mirror and the local svk copy. The checkout will then be available in /checkout/directory. Then, to get updates from svn:

svk up -sm
And you can also push your changes into svn with

svk push

Andrew Pollock: [life/americania] On the right to bear arms

Steven's blog post reminded me that I had to make a note about the two email responses I received to my own. I received one email from Pro Guns Person A quite quickly after my blog post went up. He was quite civil, and had things to say such as:
The truth is, if a few good citizens were armed and nearby, they would have had a chance to stop the killer before he could do any more harm.
and went on to say how if a person really wanted to, they'd break laws to get guns, so gun control doesn't achieve anything, except leaving the good guys unable to defend themselves. Sure, they'd break laws to get guns. You can't stop them if they really want to, but you can make it harder. And you have to make it harder universally. It's no good if one state cracks right down, if people can just pop over to the next state and pick up a firearm instead. I agree with Steven. Leave the gun toting to the people trained in their use (i.e. law enforcement). Frankly, it disturbs me that "defending yourself" equates to being able to shoot the attacker. I think it's Texas where you can legally shoot trespassers. Scary stuff. Pro Guns Person A went on to say:
To close, again without intending offense, please do not call for gun control if you aren't even a citizen of this country. The real problem is the societal issues that drive people to do these things. The truth is, fifty years ago in this country, people could leave loaded guns in their unlocked cars, even in high school parking lots...and nothing like this ever happened. But now, even though we have far more restrictive gun laws, things like this do happen, because of the societal problems.
I have the right to express my opinion, irrespective of my citizenship, as do you, Mr Pro Guns Person A. You don't have to like my opinion, just as I don't have to like yours, but I respect your right to have your opinion. No offense taken, either. You were very polite in putting across your point, I appreciate it. (By the way, I agree. Society's gone to pot.) Pro Guns Person B's email was along a similar theme: the bad people will always get their mitts on a gun, and the good people won't be able to defend themselves.
Think about these figures (I'll write about the US, since that's the nation you wrote about now): In the state of Arizona the gun per person ratio is 2,5 (on average 2,5 guns owned by 1 person, and these are the legally purchased ones). In the state of New York there is an official prohibition on guns. So why is it that New York has the higher armed crime rate among those two? (and one of the highest across the country)
I don't think reverting the entire US to a "wild wild west" scenario is really going to help matters at all. Sarah was saying that she'd found some statistic somewhere, probably saying something like what this page is saying. Now this was done at a Federal level, so that's why it worked, whereas anything done piecemeal, is going to cause a situation like what Pro Gun Person B was describing in his email.

20 April 2007

Jan Wagner: Is DNSSEC ready for wild life?

Today the RIPE DNS for LIRs Training Course did take place. (some not up to date course material can be found here)
Managing some thousands of zones inclusive nameserver infrastructure behind since several years, I thought it would be neat to provide a secure dns chain to our costumers.
After going deeper into the material within the course, I recognized the following impacts: Since the last issue isn’t solved (yet), it doesn’t make any sence for me to invest resources into setting up DNSSec infrastructur, cause the end user would not recognize if the communication with the resolving nameserver or the resolving nameserver itself is taken over. Any complaints and/or hint? Did I missed something? , , ,

Kai Hendry: Web kiosk Video

My sister and her friend “interviewed” me about Webconverger. Can you tell we had no script or production skills for this video? In other Webconverger news I’ve made a 100% Free software Webconverger version by removing Adobe Flash from Webconverger. So the above video will not work in the “noflash” version. I think that might be a good thing… ;) Flash-free and totally Free Software version of Webconverger On a personal note, this week I am making the move to London, so I might be offline for a few days.

Jaldhar Vyas: It's A Most Magical Time Of Year

Yesterday was Akshaya Trtiya (Akkha Trij in Gujarati.) It is notable for being auspicious all day long, one of only 4 days in the year when you don't have to look at the muhurta. I did Lakshmi puja (kanakadhara stotra patha) and began several new projects which I will blog about soon. But the real reason boys and girls love Akshaya Trtiya is it is the day when Akshaya Trtiya Akshaya brings presents to all the good children. This year I got Feisty Fawn from Kubuntu, a six-in-one games set for drinking about 20 gallons of Coke Zero courtesy of mycokerewards.com, and some Philip K. Dick books for winning a caption contest on a blog. All is not well. There are some atheist secularist communists who claim that Akshaya Trtiya Akshaya doesn't exist and people should refer to the day as "Thursday." Well boo to you I say. Boooooooooo!

Gustavo Franco: Lenny and my work on new tasks.

I've started Lenny related work on my tasksel branch, hopefully joeyh will merge some of that, until now the new stuff is:

* Add lamp-server task.
Linux + Apache + Mysql + PHP, Python and Perl (LAMP^3). In other words this th web-server task + mysql-server and phpmyadmin. Keep in mind that our database-server for Etch installs PostgreSQL so you can install lamp-server + database-server and go with a full LAMP stack and both mysql and pgsql.

* Add lightweight-web-server task.
lighttpd with php4 and php5 support, perl and python are side effects due to fastcgi.

* Reintroduce backup-server task.
Bacula and related tools, basically.

* Add ltsp-server task.
This experimental task doesn't install a complete ltsp system yet, you need to run ltsp-build-client manually. Actual work for a fresh install is being done into ltsp-client-builder udeb.

My goal for Lenny is if you select both desktop environment and ltsp server you will end with a system ready to provide GNOME (KDE or Xfce) for thin or fat clients on the LAN. We just need the task ready, polish ltsp-client-builder, and solve some pending stuff in other packages: I think I've sorted out the nfs-kernel-server export issue (thanks Steinar!), we're still missing dhcp and tftp configuration or the possibility to 'preseed' it (wishlist bugs opened) to have all this working out of the box. Once in place you will be able to impress your friends spreading Debian on the LAN using a usb keychain or live cd.

Get ready for some more server related work, but I'll keep up with the desktop stuff also. :-)

Joerg Jaspert: Switching to bzr for &#8220;offline&#8221; edits considered - useless

Bastian describes his move to bzr, away from svn. Fine, use what you want, but please chose a better reason than one can do (small) local checkins and later a big commit or “like to have the whole repo stored locally”. :) You can do that with svn repositories too, using svk, and you wouldn t need to use a version control system that only scares people away. So, install svk. Then run the following commands for the svn repositories you want to sync (using an alioth.d.o one as example, replace the values as needed):
 svk mirror svn+ssh://joerg@svn.debian.org/svn/debconf-data/ //alioth/debconf-data
 svk sync //alioth/debconf-data
 svk copy -p //alioth/debconf-data //local/debconf-data -m "Copy to local"
Change to the dir you want the checkout in, run
 svk co //local/debconf-data
Later on you use the following commands to get updates from svn to your system:
 svk sync //alioth/debconf-data
 svk smerge //alioth/debconf-data //local/debconf-data -m "Merge to local"
 svk up
Obviously the svk up should run in the dir you checked it out earlier. Now work. Have fun, use svk instead of svn and do the stuff you would normally do, like svk add/remove files, commit changes, etc. Whatever. Changes wont go upstream, to get it synced you need to run
 svk smerge -l //local/debconf-data //alioth/debconf-data
which will get your changes propagated upstream, preparing a commit message for you that is based on your local logs. Oh, dont want to have one big commit upstream? Try svk help smerge and use -I. Instead of //alioth you can take whatever you want, just not //local, as we want to keep //local for those stuff that doesnt get committed upstream directly.

19 April 2007

Benjamin Mako Hill: DebConf7: Derivatives Round Table

At DebConf7 in Edinburgh, I'm going to moderate a derivatives round table. At DebConf5 I put on a similar sort of panel. Here's the description I submitted (please ignore the placeholder list of panelists on the DC7 site):
The Debian-Derivers round-table will bring together representatives of organizations involved in producing Debian derived distributions to discuss the political, organizational, and social barriers to collaboration with Debian and with each other.
The idea is to bring together a representative group of folks from our derivative community -- groups like Ubuntu, Linspire, Knoppix, Guadalinex, Maemo, etc. etc. -- and provide a space where they can describe their successful and unsuccessful experiences working with Debian and with each other. On the other side, it will give Debian developers a chance to ask questions of the group, both individually and as a whole. My first step, of course, is to build that panel. If you have worked on or represent a Debian derivative and think you will be at DebConf, you may have a spot on my panel. Give me an email at mako@debian.org and lets talk!

Ross Burton: GNOME Mobile and Embedded Initiative

Well, it's finally public: the GNOME Mobile and Embedded Initiative (GMAE) is ready to rock and roll. OpenedHand has been a part of this from the very beginning, working on the platform before it was a platform, and helping to shape the platfom once the contributors with a common interest got together. It has been really exciting to see GMAE go from a twinkle in Jeff's eye to a real project, with real companies involved and real products using it. Hopefully this momentum will continue, and we'll achieve Complete World Domination in the embedded market by... well, 2010 sounds reasonable. NP: Remembranza, Murcof

Next.

Previous.