Jonas Smedegaard: IT@school
Siri and I are on a journey through India and Nepal,
with the aim of learning about needs of Debian derivatives,
to improve Debian and encourage closer integration.
Siri and I are on a journey through India and Nepal,
with the aim of learning about needs of Debian derivatives,
to improve Debian and encourage closer integration.
Bye bye reproducible.debian.net
After an amazing 15 months I've just "pulled the plug" on reproducible.debian.net - well, not really (at all), instead now we have https://tests.reproducible-builds.org!
It's still a bit rough and not really yet where I want it to be (more on that soon), but hopefully it will be there, rather soon!
And hopefully our patches for dpkg will soon be merged too. At least some, right now I'm slightly puzzled there are seven now, I thought we had 3 or 4 my point here is: while Debian as a whole will freeze late 2016, the core toolchain for Stretch should be ready much sooner. So pretty please
The Linux Foundation is an industry organisation dedicated to promoting, protecting and standardising Linux and open source software[1]. The majority of its board is chosen by the member companies - 10 by platinum members (platinum membership costs $500,000 a year), 3 by gold members (gold membership costs $100,000 a year) and 1 by silver members (silver membership costs between $5,000 and $20,000 a year, depending on company size). Up until recently individual members ($99 a year) could also elect two board members, allowing for community perspectives to be represented at the board level.
promoting, protecting and standardising Linux and open source softwareif doing so benefits their corporate membership rather than the community as a whole. This isn't a positive step.
So after living here in Finland for 6 months I've now bought a flat.
We have a few days to sort out mortgage paperwork, and assuming there
are no problems we'll be moving into the new place on/around the 1st of March.
Finally I'll be living in Finland, with a sauna of my very own.
Interesting times.
In more developer-friendly news I made a new release of
Lumail with the integrated support for
IMAP. Let us hope people like it.
rm -rf -ed.
For anyone else with this motherboard, the config is included below.
This inspired me to fix the config for my Asus Sabertooth 990FX motherboard. Also included below.
To install, copy-paste to a file under /etc/sensors.d/ and run sensors -s to make sensors evaluate all of the set statemnents.
# Asus M5A97 R2.0
# based on Asus M5A97 PRO from http://blog.felipe.lessa.nom.br/?p=93
chip "k10temp-pci-00c3"
label temp1 "CPU Temp (rel)"
chip "it8721-*"
label in0 "+12V"
label in1 "+5V"
label in2 "Vcore"
label in2 "+3.3V"
ignore in4
ignore in5
ignore in6
ignore in7
ignore fan3
compute in0 @ * (515/120), @ / (515/120)
compute in1 @ * (215/120), @ / (215/120)
label temp1 "CPU Temp"
label temp2 "M/B Temp"
set temp1_min 30
set temp1_max 70
set temp2_min 30
set temp2_max 60
label fan1 "CPU Fan"
label fan2 "Chassis Fan"
label fan3 "Power Fan"
ignore temp3
set in0_min 12 * 0.95
set in0_max 12 * 1.05
set in1_min 5 * 0.95
set in1_max 5 * 1.05
set in3_min 3.3 * 0.95
set in3_max 3.3 * 1.05
ignore intrusion0
#Asus Sabertooth 990FX
# modified from the version at http://www.spinics.net/lists/lm-sensors/msg43352.html
chip "it8721-isa-0290"
# Temperatures
label temp1 "CPU Temp"
label temp2 "M/B Temp"
label temp3 "VCORE-1"
label temp4 "VCORE-2"
label temp5 "Northbridge" # I put all these here as a reference since the
label temp6 "DRAM" # Asus Thermal Radar tool on my Windows box displays
label temp7 "USB3.0-1" # all of them.
label temp8 "USB3.0-2" # lm-sensors ignores all but the CPU and M/B temps.
label temp9 "PCIE-1" # If that is really what they are.
label temp10 "PCIE-2"
set temp1_min 0
set temp1_max 70
set temp2_min 0
set temp2_max 60
ignore temp3
# Fans
label fan1 "CPU Fan"
label fan2 "Chassis Fan 1"
label fan3 "Chassis Fan 2"
label fan4 "Chassis Fan 3"
# label fan5 "Chassis Fan 4" # lm-sensor complains about this
ignore fan2
ignore fan3
set fan1_min 600
set fan2_min 600
set fan3_min 600
# Voltages
label in0 "+12V"
label in1 "+5V"
label in2 "Vcore"
label in3 "+3.3V"
label in5 "VDDA"
compute in0 @ * (50/12), @ / (50/12)
compute in1 @ * (205/120), @ / (205/120)
set in0_min 12 * 0.95
set in0_max 12 * 1.05
set in1_min 5 * 0.95
set in1_max 5 * 1.05
set in2_min 0.80
set in2_max 1.6
set in3_min 3.20
set in3_max 3.6
set in5_min 2.2
set in5_max 2.8
ignore in4
ignore in6
ignore in7
ignore intrusion0
chip "k10temp-pci-00c3"
label temp1 "CPU Temp"
lm-sensors configs for Asus Sabertooth 990FX and M5A97 R2.0 is a post from: Errata
It has been quite some time since last python-gammu release and it's time to push fixes to the users.
This is really just a bugfix release collecting minor fixes and fixes testsuite with recent Gammu versions.
Full list of changes:
Filed under: English Gammu python-gammu Wammu 0 comments
Version 6 of git-annex, released last week, adds a major new feature;
support for unlocked large files that can be edited as usual and committed
using regular git commands.
For example:
git init
git annex init --version=6
mv ~/foo.iso .
git add foo.iso
git commit -m "added hundreds of megabytes to git annex (not git)"
git remote add origin ssh://sever/dir
git annex sync origin --content # uploads foo.iso
Compare that with how git-annex has worked from the beginning, where
git annex add is used to add a file, and then the file is locked,
preventing further modifications of it. That is still a very useful way to
use git-annex for many kinds of files, and is still supported of course.
Indeed, you can easily switch files back and forth between being locked and
unlocked.
This new unlocked file mode uses git's smudge/clean filters, and I was
busy developing it all through December. It started out playing
catch-up with git-lfs somewhat, but
has significantly surpassed it now in several ways.
So, if you had tried git-annex before, but found it didn't meet your needs,
you may want to give it another look now.
.git/lfs/objects/.
One of the main reasons git-annex used locked files, from the very
beginning, was to avoid that second copy. A second local copy of a large
file can be too expensive to put up with. When I added unlocked files in
git-annex v6, I found it needed a second copy of them, same as git-lfs
does. That's the default behavior. But, I decided to complicate
git-annex with a config setting:
git config annex.thin true
git annex fix
Run those two commands, and now only one copy is needed for unlocked files!
How's it work? Well, it comes down to hard links. But there is a tradeoff here,
which is why this is not the default: When you edit a file, no local backup is
preserved of its old content. So you have to make sure to let git-annex
upload files to another repository before editing them or the old version
could get lost. So it's a tradeoff, and maybe it could be improved.
(Only thin out a file after a copy has been uploaded?)
This adds a small amount of complexity to git-annex, but I feel it's well
worth it to let unlocked files use half the disk space. If the git-lfs
developers are reading this, that would probably be my first suggestion
for a feature to consider adding to git-lfs. I hope for more opportunities
to catch-up to git-lfs in turn.
In case you ever wanted to look at Icinga2, even into distributed features, without messing with installing whole server setups, this might interesting for you.
At first, you need to have a running Docker on your system. For more information, have a look into my previous post!
$ git clone https://github.com/joshuacox/docker-icinga2.git && \
cd docker-icinga2
$ make temp
[...]
$ make grab
[...]
$ make prod
[...]
$ make enter
docker exec -i -t cat cid /bin/bash
root@ce705e592611:/# openssl passwd -1 f00b4r
$1$jgAqBcIm$aQxyTPIniE1hx4VtIsWvt/
root@ce705e592611:/# mysql -h mysql icingaweb2 -p -e \
"UPDATE icingaweb_user SET password_hash='$1$jgAqBcIm$aQxyTPIniE1hx4VtIsWvt/' WHERE name='icingaadmin';"
Enter password:
root@ce705e592611:/# exit
$ make enter
docker exec -i -t cat cid /bin/bash
root@ce705e592611:/# htpasswd /etc/icinga2-classicui/htpasswd.users icingaadmin
New password:
Re-type new password:
Adding password for user icingaadmin
root@ce705e592611:/# exit
$ docker stop icinga2 && docker stop icinga2-mysql
icinga2
icinga2-mysql
$ cp -a /tmp/datadir ~/docker-icinga2.datadir
$ echo "~/docker-icinga2.datadir" > ./DATADIR
$ docker start icinga2-mysql && rm cid && docker rm icinga2 && \
make runprod
icinga2-mysql
icinga2
chmod 777 /tmp/tmp.08c34zjRMpDOCKERTMP
d34d56258d50957492560f481093525795d547a1c8fc985e178b2a29b313d47a
Now you should be able to access the IcingaWeb2 web interface on http://localhost:4080/icingaweb2 and the Icinga Classic UI web interface at http://localhost:4080/icinga2-classicui.
For further information about this Docker setup please consult the documentation written by Joshua Cox who has worked on this project. For information about Icinga2 itself, please have a look into the Icinga2 Documentation.
Last week was mostly focused on refactoring. I've completely rewritten user interface language selection and related metadata handling. The code is object based and fully covered by testsuite, what was impossible with previous one.
Besides that, there was usual amount of bug fixes and few improvements to the phpMyAdmin container for Docker.
All handled issues:
Filed under: English phpMyAdmin 0 comments
About one month has passed and here is the usual updated of TeX Live packages for Debian, this time also with an update to biber to accompany the updated version of biblatex. Nothing spectacular here besides fixes for some broken links of fonts.
As a bonus this time, I provide (auto-generated) links to the packages on CTAN, so that one can check the package descriptions and manuals.
Updated packages
academicons, acro, apnum, babel, babel-french, babel-icelandic, babel-spanish, babel-vietnamese, bclogo, biblatex, bibtexperllibs, calxxxx-yyyy, chemformula, chemgreek, chess-problem-diagrams, chickenize, cjk-gs-integrate, cmcyr, csplain, datatool, dvips, embrac, enotez, etex-pkg, fibeamer, fithesis, invoice, isodoc, l3kernel, latexdiff, luamplib, mathastext, mcf2graph, media9, nameauth, newpx, newtx, newtxsf, nucleardata, paralist, pdftex, pgfplots, pict2e, pmxchords, prftree, ptex, reledmac, schwalbe-chess, siunitx, tempora, tetex, tex4ht, texinfo, texlive-cz, texlive-docindex, texlive-scripts, thalie, thuthesis, tkz-orm, uantwerpendocs, unicode-data, xassoccnt, xespotcolor.
New packages
continue, ecobiblatex, econometrics, getitems, librebodoni, lshort-estonian, moodle, nimbus15, seuthesix, uantwerpendocs.
Enjoy.
Xerces is an XML library for several languages, but if a very common library in Java.
I recently came across a problem with code intermittently throwing a NullPointerException inside the library:
java.lang.NullPointerException
at org.apache.xerces.dom.ParentNode.nodeListItem(Unknown Source)
at org.apache.xerces.dom.ParentNode.item(Unknown Source)
at com.example.xml.Element.getChildren(Element.java:377)
at com.example.xml.Element.newChildElementHelper(Element.java:229)
at com.example.xml.Element.newChildElement(Element.java:180)
You may also find the NullPointerException in ParentNode.nodeListGetLength() and other locations in ParentNode.
Debugging this was not helped by the fact that the xercesImpl.jar is stripped of line numbers, so I couldn t find the exact issue. After some searching, it appeared that the issue was down to the fact that Xerces is not thread-safe. ParentNode caches iterations through the NodeList of children to speed up performance and stores them in the Node s Document object. In multi-threaded applications, this can lead to race conditions and NullPointerExceptions. And because it s a threading issue, the problem is intermittent and hard to track down.
The solution is to synchronise your code on the DOM, and this means the Document object, everywhere you access the nodes. I m not certain exactly which methods need to be protected, but I believe it needs to be at least any function that will iterate a NodeList. I would start by protecting every access and testing performance, and removing some if needed.
/** * Returns the concatenation of all the text in all child nodes * of the current element. */ public String getText() StringBuilder result = new StringBuilder(); synchronized ( m_element.getOwnerDocument()) NodeList nl = m_element.getChildNodes(); for (int i = 0; i < nl.getLength(); i++) Node n = nl.item(i); if (n != null && n.getNodeType() == org.w3c.dom.Node.TEXT_NODE) result.append(((CharacterData) n).getData()); return result.toString();Notice the synchronized ( m_element.getOwnerDocument()) block around the section that deals with the DOM. The NPE would normally be thrown on the nl.getLength() or nl.item() calls. Since putting in the synchronized blocks, we ve gone from having 78 NPEs between 2:30am and 3:00am, to having zero in the last 12 hours, so I think it s safe to say, this has drastically reduced the problem. The post NullPointerExceptions in Xerces-J appeared first on David Pashley.com.
I refuse to be bound by software I cannot negotiate with.
http://social.gl-como.it/photos/valhalla/image/75f28c7ef6c17319f09b858b882bca49
Almost 9 months after I took ownership of the Neovim RFP, I finally
tagged & uploaded Neovim to Debian. It still has to go through the NEW
queue, but it will soon be in an experimental release near you.
I'm holding off uploading it to unstable for the time being for a couple reasons.
What happened in the reproducible
builds effort between January 10th and January 16th:
data.tar are reproducible, with the patches, dpkg-deb uses the --clamp-mtime option added in tar/1.28-1 when available. An updated package has been uploaded to the experimental repository. This removed the need for a modified debhelper as all required changes for reproducibility have been merged or are now covered by dpkg.
armhf build system, allowing to run 6 more armhf builder jobs, right there. (h01ger)
Stop requiring a modified debhelper and adapt to the latest dpkg experimental version by providing a predetermined identifier for the .buildinfo filename. (Mattia Rizzolo, h01ger)
New X.509 certificates were set up for jenkins.debian.net and reproducible.debian.net using Let's Encrypt!. Thanks to GlobalSign for providing certificates for the last year free of charge. (h01ger)
Survey URL: http://goo.gl/forms/hdoQZKjs80
I am doing an Obnam survey. The goal of this survey is to collect
feedback from those who use Obnam, or have tried it, to guide the
project in the future.
The survey will run until February 29, 2016.
Goals:
E: xxxx: maintainer-script-should-not-use-adduser-system-without-home postinst:23 'adduser --system --quiet --ingroup xxxx --no-create-home xxxx'
Next.