Eat, Drink and talk LinuxEvent Date and Time: Wed, 08/01/2014 - 19:30 - 23:00
I'm currently setting up a new PXE-boot environment which uses docker for serving DHCP and TFTPD, which is my first "real" usage of any note. It is fun, although I now discover I'm not alone in using docker for this purpose.
Otherwise life is good, and my blog-spam detection service recently broke through the 11 million-rejected-comment barrier. The Wordpress Plugin is seeing a fair amount of use, which is encouraging - but more reviews would be nice ;)
I could write about work, I've not done that since changing job, but I'm waiting for something disruptive to happen first..
ObQuote: Dune. (film)
My desktop boxen are getting on. Over a year ago I started to think about replacing at least one of them: Twin Dilema. The boxen are even older now, really feeling the strain and I've still not done anything about it...
This autumn I ripped the hard-disk out of an old Sky+ box I had, and put that into my desktop PC. It is faster and larger than the original drive and as a result has bought some life back into my PC. However the writing is on the wall and it will need replacing this year.
Since I last thought about this, I have managed to get the gas boiler replaced and have the ancient windows done. That did cost a fortune, a lot more than the £1k of a decent desktop, but I will get some of that back in reduced energy bills. It looks like a ~ 10% reduction at the moment. If you assume a 10% annual energy inflation that adds up to a total saving over 30 years of around £16.5k which covers the cost of the boiler but not the windows and doors.
So, got a beep this morning from our work monitoring system. One of our customers domain names is hosted with livedns.co.uk (which, as far as I can tell, is part of the Fasthosts franchise)... It appears that Fasthosts have managed to entirely break their DNS:brettp@laptop:~$ host www.fasthosts.com ;; connection timed out; no servers could be reached brettp@laptop:~$ whois fasthosts.com | grep -i "Name Server" Name Server: NS1.FASTHOSTS.NET.UK Name Server: NS2.FASTHOSTS.NET.UK Name Server: NS1.FASTHOSTS.NET.UK Name Server: NS2.FASTHOSTS.NET.UK brettp@laptop:~$ whois fasthosts.net.uk | grep -A 2 "Name servers:" Name servers: ns1.fasthosts.net.uk 18.104.22.168 ns2.fasthosts.net.uk 22.214.171.124 brettp@laptop:~$ host -t ns fasthosts.net.uk 126.96.36.199 ;; connection timed out; no servers could be reached brettp@laptop:~$ host -t ns fasthosts.net.uk 188.8.131.52 ;; connection timed out; no servers could be reached brettp@laptop:~$
So, that's fasthosts core nameservers not responding, good start! They also provide livedns.co.uk, so lets have a look at that:brettp@laptop:~$ whois livedns.co.uk | grep -A 3 "Name servers:" Name servers: ns1.livedns.co.uk 184.108.40.206 ns2.livedns.co.uk 220.127.116.11 ns3.livedns.co.uk 18.104.22.168 brettp@laptop:~$ host -t ns ns1.livedns.co.uk 22.214.171.124 ;; connection timed out; no servers could be reached brettp@laptop:~$ host -t ns ns1.livedns.co.uk 126.96.36.199 ;; connection timed out; no servers could be reached brettp@laptop:~$ host -t ns ns1.livedns.co.uk 188.8.131.52 ;; connection timed out; no servers could be reached
So, erm, apparently that's all their DNS servers "Not entirely functioning correctly"! That's quite impressive!
Very early on in my Linux life, I came across this suggested header for crontab and I’ve used it ever since. So much so that I am always slightly thrown when I come across a crontab without it! No, you don’t need it, yes the standard commented header works just fine, but, if like me you prefer things neatly lined up, then this might suit you:MAILTO= # _________________________ 2. Minute - Minutes after the hour (0-59) # | # | ______________________ 2. Hour - 24-hour format (0-23). # | | # | | ___________________ 3. Day - Day of the month (1-31) # | | | # | | | ________________ 4. Month - Month of the year (1-12) # | | | | # | | | | ______________5. Weekday - Day of the week. (0-6, 0 indicates Sunday) # | | | | | #__|_____|_____|_____|____|___Command_____________________________________________________________
And if you recognise this as your’s, then thank you!
Happy new year, friends!
2013 was a phenomenal year for Ubuntu. It is difficult to believe that it was just a year ago today that we announced Ubuntu for phones. Since then we have built and released the first version of Ubuntu for phones complete with core apps, delivered Mir in production on the phone, built a vastly simplified and more powerful new app delivery platform complete with full security sand-boxing, created a powerful smart scopes service to bring the power of native search and online content to devices, delivered a new SDK with support for QML, HTML5, and Scopes, built an entirely new developer.ubuntu.com, created extensive CI and testing infrastructure to ensure quality as we evolve our platform, shipped two desktop releases, extended the charm store, delivered Juju Gui, spun up multiple clouds with Juju, and much more.
In terms of Ubuntu for devices, I mentally picture 2013 as the year when we put much of the core foundational pieces in place. Everything I just mentioned were all huge but significant pieces of delivering a world-class Free Software convergence platform. Building this platform is not as simple as building a sexy GUI; there is lots of complex foundational work that needs doing, and I am incredibly proud of everyone who participated in getting us to where we are today…it is a true testament of collaborative development involving many communities and contributors from around the world.
So, 2013 was an intense year with lots of work, some tough decisions, and lots of late (and sometimes stressful) nights, but it laid down the core pillars of what our future holds. But what about 2014?
This time next year we will have a single platform code-base for phone, tablet, and desktop that adapts to harness the form-factor and power of each device it runs on. This is not just the aesthetics of convergence, it is real convergence at the code level. This will be complemented by an Ubuntu SDK in which you can write an app once and deliver it to any of these devices, and an eco-system in which you can freely publish or sell apps, content, and more with a powerful set of payment tools.
These pieces will appear one phase at a time throughout 2014. We are focusing on finishing the convergent pieces on phone first, then bringing them to tablet, and then finally bringing our desktop over to the new convergent platform. Every piece of new technology that we built in 2013 will be consumed across all of these form-factors in 2014; every line of code is an investment in our future.
Even more importantly though, 2014 will be the year when we see this new era of Ubuntu convergence shipping to consumers. This will open up Ubuntu to millions of additional users, provide an opportunity for app developers to get in on the ground floor in delivering powerful apps, and build more opportunity for our community than ever before.
I wish I could tell you that 2014 is going to be more relaxing than 2013. It isn’t. It is going to be a roller-coaster. There are going to be some late nights, some stressful times, some shit-storms, and some unnecessary politics, but my goal is to help keep us working together as a community, keep us focused on the bigger picture, keep our discourse constructive, and to keep the fun in Ubuntu.
Let’s do this.
Occasionally users are unable to connect to our FreeNX server, they report an error “Startup Session Failed”. Clicking on “Detail” shows that it is unable to find the server session file.
Searching for solutions suggested a number of options, including removing the server /tmp/.X1***-lock files, or simply removing FreeNX and installing NoMachine’s NXServer instead.
In the end the solution proved remarkably simple:
On the server run:# nxserver --list NX> 100 NXSERVER - Version 1.5.0-60 OS (GPL) NX> 127 Sessions list: Display Username Remote IP Session ID ------- --------------- --------------- -------------------------------- 1001 chris 192.168.1.52 1BC6B4B9C3CF4C2B6BD7137AC7FDE5DA 1000 helen - 87443D16622EC0751551685A93DD023B 1002 michelle 192.168.1.102 DBAC430C8AA8B414A5E2228970E2BBDC NX> 999 Bye
The session with no remote IP is for a session that has not ended properly. Terminate this session and users should be able to log in once again:# nxserver --terminate helen
Update: This problem was little more complex than I at first thought, all I had really done is allow one more user to login before the issue re-occurred. You also need to check is that there are no old lock files in /tmp/.X11-unix:# cd /tmp/.X11-unix #ls -al /tmp/.X11-unix# ls -al total 316 drwxrwxrwt 2 root root 4096 2014-01-02 12:48 . drwxrwxrwt 375 root root 315392 2014-01-02 12:48 .. srwxrwxrwx 1 root root 0 2013-07-24 17:04 X0 srwxrwxrwx 1 helen helen 0 2014-01-02 10:32 X1000 srwxrwxrwx 1 chris chris 0 2014-01-02 11:42 X1001 srwxrwxrwx 1 michelle michelle 0 2014-01-02 08:52 X1002 srwxrwxrwx 1 terry terry 0 2013-09-05 15:05 X1003
Notice that there is a .X11-unix file for terry X1003, but no corresponding user shown in nxserver –list above. Remove this spurious file and it should now work.
It would also make sense to ensure that the correct /tmp/.X1***-lock files are present:# cd /tmp # ls -al | grep -i X.*-lock -rw------- 1 nx nx 0 2014-01-02 10:32 .nX1000-lock -rw------- 1 nx nx 0 2014-01-02 11:42 .nX1001-lock -rw------- 1 nx nx 0 2014-01-02 08:52 .nX1002-lock -r--r--r-- 1 helen helen 11 2014-01-02 10:32 .X1000-lock -r--r--r-- 1 chris chris 11 2014-01-02 11:42 .X1001-lock -r--r--r-- 1 michelle michelle 11 2014-01-02 08:52 .X1002-lock
You should expect to see the correct number of lock files for your user sessions, in my case these required no changes, but if there had been spurious files, removing them would seem sensible.
If this has been helpful to you, please do consider rating this post or adding a comment!
Here we are again, another year, another dissatisfying look at what options I have for local photo management.
Here’s what I do now:
The question is how to improve that experience?
I can’t run F-Spot on multiple computers because it stores its SQLite database locally and even if the database file were synced between hosts or kept on the fileserver it would still need the exact same version of F-Spot on every machine, which is not feasible — my laptop and desktop already run different releases of Ubuntu and I want to continue being able to do that.
It would be nice to be able to import photos from any machine but I can cope with it having to be done from the desktop alone. What isn’t acceptable is only being able to view them from the desktop as well. And when I say view I mean be able to search by tags and metadata, not just navigate a directory tree.
It sounds like a web application is needed, to enforce the single point of truth for tags and metadata. Are there actually any good ones that you can install yourself though? I’ve used Gallery before and was never really satisfied with ease of use or presentation.
Your-Photos-As-A-Service providers like Flickr and even to some extent Google+ and Facebook have quite nice interfaces, but I worry about spending many hours adding tags and metadata, not bothering to back it all up, and then one day the service shuts down or changes in ways I don’t like.
I’m normally quite good about backing things up but the key to backups is to make them easy and automatic. From what I can see these service providers either don’t provide a backup facility or else it’s quite inconvenient, e.g. click a bunch of times, get a zip file of everything. Ain’t nobody got time for that, as a great philosopher once wrote.
So.. yeah.. What do you do about it?
Arbitrary tweets made by TheGingerDog (i.e. David Goodwin) up to 01 January 2014
Entered monthly 10km races in Regent's Park, reducing my time from 55:07 in January 4th to 43:28 on December 1st.
Entered the Hell of Ashdown cyclosportive in sub-zero conditions for over 100 miles & 7,500 ft of elevation (actual photo).
Had my lute returned after it was damaged.
Had a time-trial bike built and raced my first triathlon, duathlon and aquathlon.
More biking, including a long ride with my brother. Also performed on the viola da gamba in Bach's St John Passion with Belsize Baroque.
Amongst more triathlon preperation, I performed in a Linden Baroque concert of Handel's Israel in Egypt.
Raced my biggest event of the year—a "Half-Ironman" triathlon—hitting my time goal.
Whilst procrastinating about writing some letters, I created a small service to send letters without a printer.
Started cooking a little more adventurously.
Performed Geminiani's arrangement of Corelli's La Folia in the Fitzwilliam Museum with Le Petit Orchestre.
Ramped up my running volume so I could go over 1000km for the year. (Strava profile)