Lucas Nussbaum: DPL game
When Francesca started her DPL game, I too started think about possible candidates. Here is my shortlist of dream candidates:
- <insert your name here>
- <or here>
- <or there>
- <or even there>
When Francesca started her DPL game, I too started think about possible candidates. Here is my shortlist of dream candidates:
when francesca started her DPL game, I also started
thinking about people I'd like to encourage to stand as a DPL candidate.
unfortunately my initial "short list" contained 18 names, which doesn't fit
the game's rules very well.
after waiting a bit, 9 of them were mentioned by others already, so I can
leave them out here (which also means no public hug,
sorry, please complain to the inventor of the game!). from the remaining 9,
I've now chosen my Fantastic Four (in alphabtic order of first names):
in my opinion, the DPL task is mostly about managing, & those four
people are in my experience all very good at organising projects &
dealing with people, & are therefore well suited for this task.
let's see if they feel motivated to take on the challenge!
(the nomination period has already started,
so don't hestitate!)
My previous entry, about templating, didn't make it into Planet Debian.
This entry is just a test to see if it is my fault.
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.
As folks know, I ve been hacking on Firehose. I ve been debating doing some work to modify / extend / replace DACA, and I could use some help writing new wrappers around static check code, so, who wants to hack?
Any UI folks? I could use a UI to view Firehose data, something spiffy and colorful.
Hackers? Send in some wrappers for your favorite static checking code. Send in pull requests or email me with a pointer to the repo :)
Hack on, folks!
If you use LVM with Wheezy on a solid-state drive, you really want to install the latest lvm2 update (i.e. 2.02.95-6, which contains the changes of -5). Otherwise, if you set issue_discards=1 in /etc/lvm/lvm.conf, you will experience severe data loss when using pvmove. Happened to me twice, once I didn't care (chroot data being lost), the second time (today) I did. Not fun, especially when the backup of the data was scheduled for the same day.
A new Armadillo version 3.800.0 is
now out. Conrad picked a new numbering scheme to coincide with the
relicensing from LGPL to MPL 2.0. The new version 0.3.800.0 of the corresponding
RcppArmadillo
package (which still uses GPL 2 or later) is now on CRAN. It also contains the updated version of our paper as
the package vignette.
The summary of the main changes follows:
Changes in RcppArmadillo version 0.3.800.0 (2013-03-01)Courtesy of CRANberries, there is also a diffstat report for the most recent release As always, more detailed information is on the RcppArmadillo page. Questions, comments etc should go to the rcpp-devel mailing list off the R-Forge page.
- Upgraded to Armadillo release Version 3.800.0 (Miami Beach)
- Armadillo is now licensed using the Mozilla Public License 2.0
- added
.imbue()for filling a matrix/cube with values provided by a functor or lambda expression- added
.swap()for swapping contents with another matrix- added
.transform()for transforming a matrix/cube using a functor or lambda expression- added
round()for rounding matrix elements towards nearest integer- faster
find()- fixes for handling non-square matrices by
qr()andqr_econ()- minor fixes for handling empty matrices
- reduction of pedantic compiler warnings
- Updated vignette to paper now in press at CSDA
- Added CITATION file with reference to CSDA paper
LDAP supports syntax and comparator methods. The syntax specifies how the entry should look. Usually this is some form of text, but numbers or stuff like telephone numbers are supported as well. The comparators specifies how the values are compared. Most of the text comparators are defined to apply the handling of insignificant spaces. Insignificant space handling normalizes the use of spaces. First all leading and trailing spaces are removed. All the internal spaces are normalized to at most two spaces. At the end all strings starts and ends with one space to allow proper sub-string matches. The resulting strings are used for comparisons. This behavior makes sense most of the time. If the user want to find something in the directory, he usually don't cares about spaces, but about content. But I found one occurrence where this produces some grieve. Postfix supports LDAP since some time. And lets say, it does not care about spaces in its queries. This is no problem as e-mail addresses do not contain spaces. Or do they?
Yes, e-mail addresses can contain spaces. This is not widely known, but still allowed. This addresses are quoted and the command looks like RCPT TO:<" test"@example.com>. The local part is quoted and contains a space at the beginning. And this is where the problem starts. Postfix sanitizes the address. It uses a simplified internal representation of the address for all lookups. So the address gets test@example.com. This form is used in all table lookups. The LDAP table uses the internal form of the address. This address is copied verbatim into the query. This query may look this way (mail= test@example.com). It is sent to the server this way. The LDAP server applies the insignificant space modifications. The query is now interpreted and the comparator specified modifications are applied. The query gets effectively changed to (mail=test@example.com). And this is where the fun starts. Postfix accepts undeliverable mails. Depending on the setup, such LDAP queries may be used to check for valid addresses. Because of the space handling, the sender can add spaces to the beginning of the address and it will still be considered valid. In later steps this addresses are not longer valid. Addresses starting with spaces are considered invalid in some locations of Postfix. What surprised me a bit is that virtual alias handling did not map them. The unmodified addressed showed up on the LMTP backend server. That's why they showed up my radar. I would say Postfix is wrong in this case. The LDAP server applies the spec correctly and defines spaces in e-mail addresses as insignificant. Postfix on the other side considers them significant. The easiest fix would be to not allow any spaces in the LDAP table.
| Editor: | Sheila Williams |
| Issue: | Volume 35, No. 6 |
| ISSN: | 1065-2698 |
| Pages: | 112 |
tmux helper by Joerg Jaspert <joerg@ganneff.de>
Call as: tm CMD [host]...
CMD is one of
ls List running sessions
s Open ssh session to host
ms Open multi ssh sessions to hosts, synchronizing input
$anything Either plain tmux session with name of $anything or
session according to TMDIR file
TMDIR file:
Each file in $TMDIR defines a tmux session.
Filename is the commandline option $anything
Content is defined as:
First line: Session name
Second line: extra tmux options
Any following line: A hostname to open a shell with in the normal
ssh syntax. (ie [user@]hostname)
Environment variables recognized by this script:
TMPDIR - Where tmux stores its session information
DEFAULT: If unset: /tmp
TMSORT - Should ms sort the hostnames, so it always opens the same
session, no matter in which order hostnames are presented
DEFAULT: true
TMOPTS - Extra options to give to the tmux call
Note that this ONLY affects the final tmux call to attach
to the session, not to the earlier ones creating it
DEFAULT: -2
TMDIR - Where are session information files stored
DEFAULT: $ HOME /.tmux.d
TMWIN - Where does your tmux starts numbering its windows?
This script tries to find the information in your config,
but as it only checks $HOME/.tmux.conf it might fail.
So if your window numbers start at anything different to 0,
like mine do at 1, then you can set TMWIN to 1
tm ls is shorter than tmux ls
More interestingly, tm s HOSTNAME opens a tmux session with the first
window being a ssh shell to HOSTNAME. Should you later type tm s
HOSTNAME again, it will attach to the existing session.
But the real kicker for me (and colleagues) actually is the ms
subcommand of it. ms being short for multi-session, it is my way of
no-longer using clusterssh. Basically you type tm ms HOST1 user@HOST2
and it opens a session with one tmux window consisting of two
panes. Showing you host1 and host2 at the same time. And the input
to both is synchronized, that is - all your input is send to both of
them. You aren t limited to just two hosts, do as many as you wish.
Actually, I have no idea if tmux has an upper limit, but I did already
have more than 100 hosts open at once. The major limitation there is
not tmux - but simply the available screenspace, as all hosts are shown
in ONE window! (The one advantage of clusterssh, it uses one xterm per host)
This is quite helpful in all kinds of administration work involving
clusters - imaging installing a package on 5 hosts of a cluster, you
usually want it on all of them - or any kind of situations where one
wants to run one command on many systems.
As I m already said, I m lazy. And so there is a way to easily define
multisessions that one uses regulary, by creating files inside the
directory behind $TMDIR, usually $ HOME /.tmux.d. They are simple
text files and let you easily define sessions you can then (re)open
with a simple tm whateveritsname.
And if you want the whole script by now: tm
Boot-Class-Path: oncrpc-1.0.7.jar gmetric4j-1.0.2.jar
As no absolute path is specified, the JVM will look for those JARs in the same directory where the jmxetric.jar is located.
Furthermore, the JVM will expect the exact filenames to match. If other filenames are used (e.g. for a newer version of gmetric), then the JVM command line needs to specify the filenames and locations, for example:
-Xbootclasspath/a:/opt/ganglia/jmxetric/gmetric4j-1.0.3.jar
Starting JBoss 7 with JMXetric
To start with, unpack a vanilla JBoss distribution:
$ mkdir ~/opt
$ cd ~/opt
$ tar xzf ~/Downloads/jboss-as-7.1.0.Final.tar.gz
Now get the JMXetric code and put it, together with dependencies, in the same directory:
$ mkdir -p ~/opt/ganglia/jmxetric
$ cd ~/opt/ganglia/jmxetric
$ wget http://search.maven.org/remotecontent?filepath=info/ganglia/jmxetric/jmxetric/1.0.2/jmxetric-1.0.2.jar
$ wget http://search.maven.org/remotecontent?filepath=info/ganglia/gmetric4j/gmetric4j/1.0.2/gmetric4j-1.0.2.jar
$ wget http://search.maven.org/remotecontent?filepath=org/acplt/oncrpc/1.0.7/oncrpc-1.0.7.jar
Set up a config file for JMXetric:
$ mkdir -p ~/opt/ganglia/jmxetric/etc
$ cd ~/opt/ganglia/jmxetric/etc
$ wget https://raw.github.com/ganglia/jmxetric/master/etc/jmxetric.xml
$ cp jmxetric.xml jmxetric-jboss.xml
$ vi jmxetric-jboss.xml
and insert the following code:
<!-- report web server request count --> <mbean name="jboss.as:subsystem=web,connector=http" pname="http"> <attribute name="requestCount" type="int32"/> </mbean>Finally, tell JBoss about the agent:
$ cd ~/opt/jboss-as-7.1.0.Final
$ vi bin/standalone.conf
and apply the following changes to standalone.conf:
--- bin/standalone.conf
+++ ../jboss-as-7.1.0.Final.for-jmxetric/bin/standalone.conf
@@ -4,6 +4,7 @@
## ##
##############################################################################
+JBOSS_MODULES_SYSTEM_PKGS="org.jboss.logmanager"
#
# This file is optional; it may be removed if not needed.
#
@@ -48,6 +49,8 @@
#
if [ "x$JAVA_OPTS" = "x" ]; then
JAVA_OPTS="-Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"
+ JAVA_OPTS="$JAVA_OPTS -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Xbootclasspath/p:$JBOSS_HOME/modules/org/jboss/logmanager/main/jboss-logmanager-1.2.2.GA.jar -Xbootclasspath/p:$JBOSS_HOME/modules/org/jboss/logmanager/log4j/main/jboss-logmanager-log4j-1.0.0.GA.jar -Xbootclasspath/p:$JBOSS_HOME/modules/org/apache/log4j/main/log4j-1.2.16.jar"
+ JAVA_OPTS="$JAVA_OPTS -javaagent:$HOME/opt/ganglia/jmxetric/jmxetric-1.0.2.jar=host=jboss-host.example.org,port=8649,wireformat31x=true,config=$HOME/opt/ganglia/jmxetric/etc/jmxetric-jboss.xml"
JAVA_OPTS="$JAVA_OPTS -Djboss.modules.system.pkgs=$JBOSS_MODULES_SYSTEM_PKGS -Djava.awt.headless=true"
JAVA_OPTS="$JAVA_OPTS -Djboss.server.default.config=standalone.xml"
else
Note that we are adding some of the core JBoss logging code to the boot classpath - that is because JMXetric depends on the logger, and like many monitoring agents, it is impacted by JBoss bug AS-3681. Adding these extra classpath settings is the workaround.
Now go ahead and start JBoss, you should see a log message informing you that JMXetric is operational:
$ cd ~/opt/jboss-as-7.1.0.Final $ chmod a+x bin/*.sh $ bin/standalone.sh ========================================================================= JBoss Bootstrap Environment JBOSS_HOME: ... . . . ========================================================================= JMXetricAgent instrumented JVM, see https://github.com/ganglia/jmxetric 12:59:34,395 INFO [info.ganglia.gmetric4j.GMonitor] Setting up 1 samplers 12:59:34,536 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA 12:59:34,617 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA 12:59:34,653 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.0.Final "Thunder" starting . . .I hope this example is useful for you. Please feel free to share recipes you develop for collecting useful JVM metrics, and also any custom charts/reports through collaboration with the Ganglia community mailing list, the Ganglia wiki or your own blog.
rrs@zan:/media$ sudo lvextend -r -v -L 100G /dev/BackupDisk/DATA
This post is just a status update for the Openstack packaging, after the next version froze last week.
The Openstack bi-annual summit of next April will take place this year in Portland, Oregon, and if everything goes as plan, Grizzly will be released just before the summit. Grizzly will be out a bit before the next Ubuntu in April, as releases are following the one of Ubuntu. Openstack uses town names for it s release names: Austin, Bextar, Cactus (2011.1), Diablo (2011.2), Essex (2012.1), Folsom (2012.2), Grizzly (2013.1).
I started to seriously work on the Openstack packaging in October, and never stopped working on its packaging until now. Slowly, but surely, preparing all the packages and their dependency python modules. One package at a time, working all this every day. Folsom works now pretty well and can be used in production, and I maintain it for security (along with Essex, which is in Wheezy).
Then Grizzly was frozen last week, on the 22nd of February, with the G3 release. As I already worked on packaging the G2 release in January, managing the packaging of G3 was fast. On late Sunday, I had a repository with Grizzly built, and its corresponding python (build-)dependencies. But while just building your own repository is easy, having all the dependencies in Debian is a lot more work.
As of today, if I include all the python modules, I have (at least) touch around 50 packages in total when working on Openstack. Many of them were simply built from scratch. The only python dependency that needs an upgrade in Experimental, so that all dependencies are satisfied, is a new version of pep8. The rest of is new python modules that were not in Debian, and which are currently waiting in the NEW queue for ftp masters approval: python-pecan, python-tablib, python-wsme and websockify. Some of these python modules have been waiting there for a long time, like python-pecan (it s been waiting in the NEW queue for more than 35 days now), some like websockify and python-wsme have been uploaded only this week. I really hope it can be possible to have all of Grizzly in Debian before the next Openstack summit (this depends mainly on the ftp-masters).
Note that I do not intend to apply security patches in Grizzly until it is released as the new Openstack stable. So use my private Grizzly repository as your own risk. I intend to fix this by working on some constant integration to have nightly builds, like many people are doing with Openstack. If you want to try it out:
deb http://archive.gplhost.com/debian grizzly main
For the past few days I've been making minor changes to my static-site generator, templer (source on github). The recent changes have all had one aim, which was to allow me to rebuild my main site.
Now I've finished http://www.steve.org.uk is up to date, and the source code to the website is stored in a mercurial repository.
No real functional changes have been made, but I've rationolized several ad-hoc bits of the site, marked areas are depreciated/unsupported where appropriate, and removed a few things that were completely broken.
I almost removed the software for Microsoft Windows, but didn't. By a strange coincidence I was recognized as the author of a windows utility back in 2004 - almost ten years ago now - on Hacker News. Guess I made the right choice.
I'm going to spend a while working on my slaughter documentation in the next week or two, although "the definitive guide" is a great starting point.
"Yes, this is dog" - Landscape in The Mist (1984).
=item 1 as the test for a single-column tag. That's now
disambiguated with Z<>.
There are various other changes pending, but alas I don't have time for a
proper release at the moment. (Particularly since I'll probably be
tackling coding style changes and a switch to Module::Build in the next
release.)
You can get the latest version from CPAN or from the
podlators distribution page.
A maintenance release of inline is now
on CRAN, and is being uploaded to Debian. The release fixes two minor bugs kindly reported by users.
As the two previous releases appear to not have been announced here, their NEWS entries are included as well.
Changes in inline version 0.3.11 (2013-02-26)Courtesy of CRANberries, there is also a diffstat report for the most recent release. A few more details are available at the R-Forge page.Changes in inline version 0.3.10 (2012-10-03)
- Fix bug in
cfunctionfor.Cconvention with raw vectors.- Correct
cfunctionto use.Platform$dynlib.extas the file extension for the library file (unless on Windows).- Allow
rcppwrapper to pass another plugin (as eg RcppArmadillo)Changes in inline version 0.3.9 (2012-10-02)
getDynLib()error message corrected as suggested by Yasir Suhail- Added
rcpp()wrapper forcxxfunction()which setsplugin="Rcpp"- Converted NEWS to NEWS.Rd
- New maintainer, after having coordinated releases (along with Romain) since 0.3.5 in June 2010
- Uncoordinating hijacking of package by CRAN maintainers with a single word change in
cfunction.Rto prevent an error under an unreleased version of R
Next.