Russ Allbery: Review: Commitment Hour
| Series: | League of Peoples #2 |
| Publisher: | Eos |
| Copyright: | April 1998 |
| ISBN: | 0-380-79827-1 |
| Format: | Mass market |
| Pages: | 343 |
| Series: | League of Peoples #2 |
| Publisher: | Eos |
| Copyright: | April 1998 |
| ISBN: | 0-380-79827-1 |
| Format: | Mass market |
| Pages: | 343 |
With my new ISP providing native IPv6 transit, enabling IPv6 in Debian is pretty trivial, just update /etc/networking/interfaces:
iface eth0 inet6 static pre-up modprobe ipv6 address 2001:67c:1388::2 netmask 64 gateway 2001:67c:1388::1if you have a Linux router, enable packet forwarding:
echo 1 > /proc/sys/net/ipv6/conf/all/forwardingand add AAAA records to DNS:
danielpocock.com. IN AAAA 2001:67c:1388:1000::9Yes, that really is enough to get up and running. Apache was already configured to listen on IPv6 and just needed a restart. However, it is not quite secure: the configuration above routes all traffic on all ports. If somebody has the time to port scan my 64 billion trillion possible IPv6 addresses (every IPv6 customer is allocated a /48 as standard), they might end up connecting to some service that should not be public. ip6tables The ip6tables tool for IPv6 does just about everything that iptables does for IPv4. It is tempting to just rewrite an existing firewall script, adding an extra rule for the IPv6 version of every host. For example, my web server is 195.8.117.9, so I copy the 9 off the end and assign the IPv6 address 2001:67c:1388:1000::9 to the same server and add the ip6tables firewall rule:
iptables --append FORWARD -p tcp -d 195.8.117.9 --dport http -j ACCEPT ip6tables --append FORWARD -p tcp -d 2001:67c:1388:1000::9 --dport http -j ACCEPTNotice that my IPv6 addressing simply involves re-using the same last byte as the IPv4 equivalent? This is a very easy way to start. However, it is not quite so simple. IPv6 requires a couple of extra rules, in the simplest form:
# Allow traffic for link-local addresses: ip6tables -A INPUT -s fe80::/10 -j ACCEPT # Normally, link-local packets should NOT be forwarded and don't need an # entry in the FORWARD rule. # However, when bridging in Linux (e.g. in Xen or OpenWRT), the FORWARD rule is # needed: ip6tables -A FORWARD -s fe80::/10 -j ACCEPT # Allow all ICMPv6 traffic (optional for IPv4, mandatory for IPv6): ip6tables -A INPUT -p icmpv6 -j ACCEPT ip6tables -A FORWARD -p icmpv6 -j ACCEPTThis works, but it turns out that it is less than ideal. Beyond that, the firewall can be significantly enhanced by rate-limiting the ICMPv6 packets and various other mechanisms as demonstrated with a practical netfilter example in Appendix B of RFC 4890 The question that arises, how to enable wide use of IPv6 without every sysadmin having to familiarise themselves with all these details of filtering ICMPv6 packets? Debian firewall packages My next step will be to look over the existing firewall packages in Debian to see which of them may answer that question. It would be really useful to hear feedback from anybody else who has already undertaken such an evaluation. If none of them are suitable, and if permitted by the licensing terms of RFC 4890, I may well wrap their sample code into a Debian package that can be used as a foundation for people building their own custom firewall scripts.
| Week | Squeeze | Wheezy | Diff |
|---|---|---|---|
| 43 | 284 (213+71) | 468 (332+136) | +184 (+119/+65) |
| 44 | 261 (201+60) | 408 (265+143) | +147 (+64/+83) |
| 45 | 261 (205+56) | 425 (291+134) | +164 (+86/+78) |
| 46 | 271 (200+71) | 401 (258+143) | +130 (+58/+72) |
| 47 | 283 (209+74) | 366 (221+145) | +83 (+12/+71) |
| 48 | 256 (177+79) | 378 (230+148) | +122 (+53/+69) |
| 49 | 256 (180+76) | 360 (216+155) | +104 (+36/+79) |
| 50 | 204 (148+56) | 339 (195+144) | +135 (+47/+90) |
| 51 | 178 (124+54) | 323 (190+133) | +145 (+66/+79) |
| 52 | 115 (78+37) | 289 (190+99) | +174 (+112/+62) |
| 1 | 93 (60+33) | 287 (171+116) | +194 (+111/+83) |
| 2 | 82 (46+36) | 271 (162+109) | +189 (+116/+73) |
| 3 | 25 (15+10) | 249 (165+84) | +224 (+150/+74) |
| 4 | 14 (8+6) | 244 (176+68) | +230 (+168/+62) |
| 5 | 2 (0+2) | 224 (132+92) | +222 (+132/+90) |
| 6 | release! | 212 (129+83) | +212 (+129/+83) |
| 7 | release+1 | 194 (128+66) | +194 (+128/+66) |
| 8 | release+2 | 206 (144+62) | +206 (+144/+62) |
| 9 | release+3 | 174 (105+69) | +174 (+105/+62) |
;; Removes submit@bugs.debian.org from the recipients of a reply-all message.
(defun debian-remove-submit (recipients)
(delq nil
(mapcar (lambda (recipient)
(and (not (string-equal (nth 1 recipient) "submit@bugs.debian.org"))
recipient))
recipients)))
(defun debian-add-bugrecipient (recipients bugnumber)
(let* ((bugaddress (concat bugnumber "@bugs.debian.org"))
(addresses (mapcar (lambda (x) (nth 1 x)) recipients))
(exists (member bugaddress addresses)))
(if exists
recipients
(append (list (list (concat "Bug " bugnumber) bugaddress)) recipients))))
;; TODO: msg should be made optional and it should default to the latest message in the bugreport.
;; NB: bugnumber and msg are both strings.
(defun debian-bts-reply (bugnumber msg)
;; Download the message to ~/mail-copy-fs/imported.
(let ((msgpath (format "~/mail-copy-fs/imported/bts_%s_msg_%s.msg" bugnumber msg)))
(let* ((url (format "http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=%s;mbox=yes;bug=%s" msg bugnumber))
(download-buffer (url-retrieve-synchronously url)))
(save-excursion
(set-buffer download-buffer)
(goto-char (point-min)) ; just to be safe
(if (not (string-equal
(buffer-substring (point) (line-end-position))
"HTTP/1.1 200 OK"))
(error "Could not download the message from the Debian BTS"))
;; Delete the HTTP headers and the first "From" line (in order to
;; make this a message, not an mbox).
(re-search-forward "^$" nil 'move)
(forward-char)
(forward-line 1)
(delete-region (point-min) (point))
;; Store the message on disk.
(write-file msgpath)
(kill-buffer)))
;; Import the mail into the notmuch database.
(let ((msgid (with-temp-buffer
(call-process "~/.local/bin/notmuch-import.py" nil t nil (expand-file-name msgpath))
(buffer-string))))
(notmuch-mua-reply (concat "id:" msgid) "Michael Stapelberg <stapelberg@debian.org>" t)
;; Remove submit@bugs.debian.org, add <bugnumber>@bugs.debian.org.
(let* ((to (message-fetch-field "To"))
(recipients (mail-extract-address-components to t))
(recipients (debian-remove-submit recipients))
(recipients (debian-add-bugrecipient recipients bugnumber))
(recipients-str (mapconcat (lambda (x) (concat (nth 0 x) " <" (nth 1 x) ">")) recipients ", ")))
(save-excursion
(message-goto-to)
(message-delete-line)
(insert "To: " recipients-str "\n")))
;; Our modifications don t count as modifications.
(set-buffer-modified-p nil))))
In case you want to get updates, you can find the latest version of this code in my configfiles git repository.
To add a single message to the notmuch database and get its message ID, I have
written this simple python script (using python-notmuch), located in
~/.local/bin/python-import.py:
#!/usr/bin/env python
# vim:ts=4:sw=4:et
import notmuch
import sys
if len(sys.argv) < 2:
print "Syntax: notmuch-import.py <filename>"
sys.exit(0)
db = notmuch.Database(mode=notmuch.Database.MODE.READ_WRITE)
(msg, status) = db.add_message(sys.argv[1])
print msg.get_message_id()
If you have any improvements, I d love to hear about it. If it s useful for
you, enjoy.
I've provided a new patch #701061 for
lintian to warn about font packages that are not marked as Multi-Arch
foreign or allowed. Its already included in the lintian by Neils
Thykier and will be part of version
2.5.12. The following tag has been implemented
font-package-not-multi-arch-foreign
A Bit of History for this implementation is as follows:
We got a bug report on one of the fonts in pkg-fonts team that its not
been installed in i386 architecture on a amd64 multi-arch system
#694864. We were first confused but
Daniel Kahn Gillmor
pointed
that we indeed need to mark all font packages as Multi-Arch
foreign. He proposed that we should write a lintian check for this
which I volunteered to do and then forgot!. Recently I was checking my
QA page and landed into Ubuntu's page of my package where I saw they
were patching imported font package and marking them as Multi-Arch:
foreign and I suddenly remembered my promise! and this patch was the
result of same enlightenment :-).
Since there is huge number of font packages maintained by pkg-fonts
devel we targeted this for Jessie release.
Here by I request all font package maintainers to consider marking their packages as Multi-Arch foreign. I also request people to join us on pkg-fonts-devel and help us doing this for all font packages maintained by the team, we really lack people in the team.
I just received a WD 500GB Blue, to replace the hard drive of my wife's computer. First thing after unpacking: start to test. And I was right to do it... there are bad blocks on it.
The story: I tend to do proactive replacement of hard drive, to avoid losing too much data or be in hurry when the current one fails. There are two ways to monitor a hard drive:
Jan 24 18:16:08 foo kernel: [ 1965.343980] ata5.00: exception Emask 0x50 SAct 0x39 SErr 0x800 action 0x6 frozen Jan 24 18:16:08 foo kernel: [ 1965.343991] ata5.00: irq_stat 0x08000000, interface fatal error Jan 24 18:16:08 foo kernel: [ 1965.344001] ata5: SError: HostInt Jan 24 18:16:08 foo kernel: [ 1965.344036] ata5.00: failed command: READ FPDMA QUEUED Jan 24 18:16:08 foo kernel: [ 1965.344055] ata5.00: cmd 60/08:00:18:31:44/00:00:1a:00:00/40 tag 0 ncq 4096 in Jan 24 18:16:08 foo kernel: [ 1965.344059] res 40/00:2c:e6:c2:fd/00:00:26:00:00/40 Emask 0x50 (ATA bus error) Jan 24 18:16:08 foo kernel: [ 1965.344071] ata5.00: status: DRDY Jan 24 18:16:08 foo kernel: [ 1965.344081] ata5.00: failed command: WRITE FPDMA QUEUEDIt is a good time to think about changing your hardrive -- but it is maybe too late. Smartmontools (aka smartd) is dedicated tool to monitor hard drives and do a good job. I think it is not installed by default in Debian, but it should be. It scans your hard drive for SMART capabilities and monitor the health of the HD using internal tools. In the case of bad blocks, you will start to see entry like that:
Feb 17 14:05:17 bar smartd[1268]: Device: /dev/sda [SAT], 1 Currently unreadable (pending) sectors Feb 17 14:35:17 bar smartd[1268]: Device: /dev/sda [SAT], 1 Currently unreadable (pending) sectorsObviously when you see this log, it is also a good time to change your hard drive. In the case of my wife's HD, I just got data from logcheck. It means that the error is not that important (transient failure, something is wrong but the HD can cope with it). But I still decided to get a new one for my wife. Whenever, I receive a new drive, the first thing I do is to check it for errors. You can do that using the program badblocks in write mode. It takes ages to test (count up to 1 day for 1TB on USB), but at the end you know that you have a good candidate -- where it is worth install your data. You just have to follow this procedure
The following warning/error was logged by the smartd daemon: Device: /dev/sda [SAT], 15 Currently unreadable (pending) sectorssyslog entries:
Mar 2 20:52:57 foo kernel: [ 8317.419715] ata4.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x0 Mar 2 20:52:57 foo kernel: [ 8317.419724] ata4.00: irq_stat 0x40000008 Mar 2 20:52:57 foo kernel: [ 8317.419732] ata4.00: failed command: READ FPDMA QUEUED Mar 2 20:52:57 foo kernel: [ 8317.419747] ata4.00: cmd 60/80:00:00:af:08/00:00:28:00:00/40 tag 0 ncq 65536 in Mar 2 20:52:57 foo kernel: [ 8317.419750] res 41/40:00:65:af:08/00:00:28:00:00/40 Emask 0x409 (media error) <F> Mar 2 20:52:57 foo kernel: [ 8317.419758] ata4.00: status: DRDY ERR Mar 2 20:52:57 foo kernel: [ 8317.419764] ata4.00: error: UNC Mar 2 20:52:57 foo kernel: [ 8317.423959] ata4.00: configured for UDMA/133I am not blaming any particular brand (like Western Digital), all computer parts I have ever bought had to follow the same procedure and it is a known fact that computer parts as a non-zero percentage of chance to be DOA (dead on arrival) or after a few weeks. But as a consumer you should be aware of that and take action to avoid spending 10h configuring your computer to see it failing after a week... The waste of time to test is a win on the long term.
Alas. The blogosphere has been slammed with discontent.
Count me as one of them.
It s been a long time since the last position (I ve held) of significance in Ubuntu, a LoCo Council Member, which I left with a heavy heart.
I felt, at the time, that Ubuntu, The Community was no longer in control of Ubuntu The Distro .
Technical opinions of Ubuntu community members started to get disregarded (starting with the gawd-awful Yahoo search switch), and it continued to get worse as Canonical stopped becoming a contributor to Ubuntu and started becoming it s sole guiding force.
In comes the mess called Ubuntu One which, for the record, is a wrong name, it s not Ubuntu in any sense, it s not Community driven, it just uses Ubuntu as one of it s platforms.
Trading on Ubuntu s good name started this mess.
Slowly, like the ship of theseus, Canonical started to swap out bit by bit until nothing was left without Canonical assignment.
I always assumed it was so that selling the code for another company to use the code for non-free purpose was the reason. Oh well.
Look at us now: Starting off on an ill-thought out path because others are unwilling to say they just didn t understand the whole problem.
This is a long way of saying:
Ex-Ubuntu ers: You re welcome in Debian. I ve set up #ubuntu-expats on oftc. Please join us. You re welcome there.
Working in Debian has been an absolute dream; it feels like contributing to Ubuntu in the early days.
Come. Have a say. Re-join a Community that isn t just Like us on Facebook .
I still consider myself an Ubuntu Community Member, but I don t think there s any community left.
Mark Shuttleworth recently critized Jonathan Riddell for proposing Xubuntu and others join the Kubuntu community. I thought I could make a few amendments to Mark s writing:
Jonathan Mark says that Canonical Kubuntu is not taking care of the Ubuntu community.
Consider for a minute, Jonathan Mark, the difference between our actions.
Canonical Kubuntu, as one stakeholder in the Ubuntu community, is spending a large amount of energy to evaluate how its actions might impact on all the other stakeholders, and offering to do chunks of work in support of those other stakeholder needs.
You, as one stakeholder in the Ubuntu community, are inviting people to contribute less to the broader project [all the X and Wayland -based desktops], and more to one stakeholder [Unity and Mir].
Hmm. Just because you may not get what you want is no basis for divisive leadership.
Yes, you should figure out what s important to Kubuntu Ubuntu Unity and Mir, and yes, you should motivate folks to help you achieve those goals. But it s simply wrong to suggest that Canonical Kubuntu isn t hugely accommodating to the needs of others, or that it s not possible to contribute or participate in the parts of Ubuntu which Canonical Kubuntu has a particularly strong interest in. Witness the fantastic work being done on both the system and the apps to bring Ubuntu Plasma to the phone and tablet. That may not be your cup of tea, but it s tremendously motivating and exciting and energetic.
See Mark? I only needed to do a little search and replace on your words and suddenly, meaning is completely reversed!
Canonical started looking only after its own a couple of years ago and totally dumped the community. Many people have noticed this and written about this in the past two years.
How dare you say Jonathan or anyone from Kubuntu is proposing contributing less to the broader community? The broader community uses X and/or Wayland.
Canonical recently came with Mir, a replacement for X and Wayland, out of thin air. Incompatible with X and Wayland.
No mention of it at all to anyone from X or Wayland.
No mention of it at FOSDEM one month ago, even though I, as the organizer of the Cross Desktop DevRoom, had been stalking your guy for months because we wanted diversity (and we got it: Gnome, KDE, Razor, XFCE, Enlightenment, etc, we even invided OpenBox, FVWM, CDE and others!). I even wrote a mail to you personally warning you Unity was going to lose its opportunity to be on the stand at FOSDEM. You never answered, of course.
Don t you think Mir, a whole new replacement for X and Wayland, which has been in development for 8 months, deserved a mention at the largest open source event in Europe?
Come on, man.
It is perfectly fine to say yes, Canonical is not so interested in the community. It s our way or the highway .
But do not pretend it s anything else or someone else is a bad guy.
In fact, is there any bad guy in this story at all!? I think there is not, it s just people with different visions and chosen paths to achieve them.
Maybe Mir and Unity are great ideas, much better than X and Wayland. But that s not what we are talking about. We are talking about community, and Canonical has been steadily destroying it for a long time already. If you cannot or do not want to see that, you ve got a huge problem going on.
git rebase --interactiveand rewrite it all into a single sensible set of commits. Also please do remember to develop on a branch, or if you did not
git pull --rebaseis your friend to avoid unnecessary merges.
$ wget http://git.netsurf-browser.org/netsurf.git/plain/Docs/env.sh
$ less env.sh
$ source env.sh
$ ns-apt-get-install
$ source env.sh
$ ns-clone
$ ns-make-libs install
This frontend supports the cocoa, the windowing system of MacOS X, on both PPC (version 10.5) and X86 (10.6 or later). The port is usefully functional and is integrated into the CI system, built natively on Mac mini systems as a jenkins slave. The port is written in objective C and currently has no active maintainer. $ source env.sh
$ ns-make -C $ TARGET_WORKSPACE /$ NS_BROWSER TARGET=gtk
$ source env.sh
$ cd $ TARGET_WORKSPACE /$ NS_BROWSER
$ ns-make
$ ./nsgtk
Next round of phpMyAdmin 4.0 translation status report is coming.
So let's look at which translations are at 100% right now (some changes this week due to new strings to translate):
Almost complete:
As you can see, there is still lot of languages missing, this might be your opportunity to contribute to phpMyAdmin. Also you are welcome to translate phpMyAdmin 4.0 using translation server.
If your language is already fully translated and you want to help as well, you can translate our documentation as well.
Filed under: English Phpmyadmin 0 comments Flattr this!
This is the first freeze in which I'm involved with upload rights. And it turned out to be a quite interesting ride so far, so I thought it would be nice to write about it.| days | received | sent | Kogan |
|---|---|---|---|
| 2 | 127.24 | 41.54 | 177 |
| 10 | 959.39 | 299.6 | 1373 |
(Looking for those graphs online, I realized that I never properly published them, besides that old post)
I ve been playing with snapshot.d.o, which is a fantastic resource if you want to look at Debian from an historical perspective (well, since 2005 at least).
Team maintenance

A large majority of our packages are maintained in a VCS repository, with Git being the clear winner now.
Possible goal for Jessie: standardize on a Git workflow, since every team tends to design its own?
Packaging helpers
Again, we have a clear winner here, with dh. It s interesting to note that, while dh was designed as a CDBS killer, it kind-of fails in that role.
Possible goal for Jessie: deprecate at least pure-debhelper packaging?
Patch systems and packaging formats
Again, clear winner with 3.0 (quilt).
The (dirty) scripts that generate those graphs are available in Git (but you need to connect to stabile to execute them, and it s rather time consuming hours/days).
Due to the data loss I blogged about, I had to reverse engineer the encryption used by git-annex for its encrypted special remotes. The file system on which the content lived has a bullet hole of 8 GB in it, which was helpfully discarded by pvmove. It's pretty unhappy about that fact, parts of the git repository are unusable and directories cannot be accessed anymore. git-annex cannot possibly run anymore.
This is my monthly summary of my free software related activities. If you re among the people who made a donation to support my work (78.31 , thanks everybody!), then you can learn how I spent your money. Otherwise it s just an interesting status update on my various projects.
Debian packaging
I wanted to update publican to the latest upstream release but I stopped after a few hours of work during which I filed two bugs that a modicum of testing should have caught before release. So I decided to wait for the next minor release.
I uploaded python-django 1.4.4 and 1.4.5, new upstream maintenance and security releases which thus went into wheezy. I also prepared a stable update of Django (1.2.3-3+squeeze5) which required me to backport the last 2 sets of security patches.
I uploaded a new revision of wordpress to fix a problem with TinyMCE (#700289) and to update/add many translation files (#697208).
Bug reporting and misc fixes
Live-build issue. I experienced some intermittent failures when building HDD live images with live-build on armel. Daniel Baumann directed me to the problematic piece of code (the oversizing of the image size was not enough) so I committed a small fix by increasing the oversizing factor to 6%.
Live-config issue. I also reported another issue that I diagnosed in live-config (#701788), namely that the script which setups sudo was failing when the default user is root.
git-buildpackage issue. I filed #700411 after noticing that git-import-orig imported the debian directory provided by upstream. Those directories are not used with 3.0 (quilt) source package and their presence in the upstream branch is thus harmful: any change to the upstream debian directory will result in conflicts when you merge a new upstream release in your packaging branch.
rubygems integration. Later I had to package a bunch of ruby applications that were using Bundler and I wanted to reuse as many packaged ruby modules that I could. But for this, those modules had to provide the required rubygems meta-information. I filed #700419 to request those on rake-compiler and with the help of C dric Boutillier (and others on #debian-ruby), we identified a bunch of ruby modules which could get those with a simple recompilation. I filed bin-nmu requests in #700605.
Misc bugs. simple-cdd offers to select profiles to install but I noticed that the associated debconf template was not translated (#700915). The startup scripts (provided by initscripts) in charge of activating the swap are supposed to handle a noswap kernel command line option to disable swap. In #701301, I reported that the option was not working correctly if quiet was present first in the command line due to spurious break statements.
Debian France
Administrative work. We were late for some legal procedures so I wrote the report of the last general assembly and sent it to the Tribunal d instance of Sarreguemines to record the changes in the administrative board. I also completed the special register of the association, it s a notebook that is legally required and that must document any important change in the governance structure of the association (new members of the board, headquarters change, new bylaws, etc.).
Galette developments. Debian France is funding a few enhancements to the Galette free software that we re using to manage the association. I am in touch with the Galette developer to answer his questions and ensure that his work will meet our needs.
Librement
I have been looking for talented developers who have a genuine interest in my Librement project. I want to fund the initial development of the project but I don t have the means to fund it entirely. So I really wanted to find developers who would find an interest beside the money that I would pay.
I got in touch with the team of developers from Scopyleft and they look like very good candidates. But they re heavy users of the Scrum development method and asked me to play the role of product owner . So I started to describe the project with user stories (i.e. create the backlog in the Scrum jargon), you can have a look at them here on trello.com. If you re interested by the topic of free software funding, feel free to review and to send me your comments.
My goal is clearly to have a minimal viable product with the first iteration(s) that I fund and then use the platform itself to fund further developments of the project.
Thanks
See you next month for a new summary of my activities.
5 comments Liked this article? Click here. My blog is Flattr-enabled.
| Editor: | Sheila Williams |
| Issue: | Volume 35, No. 6 |
| ISSN: | 1065-2698 |
| Pages: | 112 |
Next.