June 20, 2020

1278 words 6 mins read

We need to start getting some experience with using Ubuntu 2004

We need to start getting some experience with using Ubuntu 2004

Under normal circumstances, we would have a decent number of machines running Ubuntu 20.04 by now, probably including our login servers. But the situation is not normal, because ongoing world and local events still have us working from home, making it not so simple to install and deploy a new physical server with a new version of Ubuntu. However, it really looks like this is the new normal so we s

hould start dealing with it.

It may or may not make sense to spend limited in-office time upgrading perfectly good 18.04 machines to 20.04 (I speculated about this back here in early August), although I suspect we’re going to wind up doing some of it. I think it does make sense to install completely new machines on Ubuntu 20.04 for more lifetime, and we’re certainly going to have some of those. We have what I believe is a working 20.04 install system, but what we don’t currently have are any continuously running 20.04 machines, especially ones that normal people can use, explore, and see what’s broken or odd. In the past actually operating new versions of Ubuntu has frequently turned up surprises, so the sooner we start doing that the better.

The obvious thing to do is to build a few 20.04 test servers. We’re likely going to run Apache on some 20.04 machines, so one test server should have an Apache install. Another one should be a general login server, which would let us look into how various programs that people use behave on 20.04. We should also build a third server that’s completely expendable and we can experiment with rebooting and other things that may blow up. All of these have to be built on physical hardware, since we don’t currently have any virtualization environment (and anyway we’d be running most 20.04 machines on physical hardware).

(Running on actual physical hardware has periodically turned up practical problems. Since it’s now eight years after that issue, perhaps we should experiment with no longer supplying that kernel parameter in 20.04.)

PS: An expendable test server is where it would be very nice to have some way to roll back the root filesystem to an initial state. This can apparently be done through LVM, which Ubuntu does support for the root filesystem, and I may experiment with it following eg the Arch wiki.

(This is one of the entries that I write partly to motivate myself to start working on something. We’ve been mostly ignoring Ubuntu 20.04 so far and it would be very easy to keep on doing so.)

(3 comments.)

Author: cks

Date: 2020-10-18

URL: https://utcc.utoronto.ca/~cks/space/blog/linux/Ubuntu2004GettingExperience

utoronto.ca

Using DMARC information is complicated in practice in the real world (2020-10-01) As part of a planned switch to rspamd as our anti-spam system well our spam recognition system Ive been taking a closer look at how our test rspamd scores some email and what it reports about why This has given me a new and unhappy view of DMARC in the real world building on how DKIM looks for our good email So let me tell you a story starting with the background The university is now a big user o.. Using DMARC information is complicated in practice in the real world
If you send automated email, you should scan it with anti-spam software (2020-10-13) Partly in light of Microsoft SharePoints problem with spam here is an obvious thing: If you send automated email to the outside world you should always run it through some anti-spam system and raise big alarms if they ever trigger If I was doing this today I would use ClamAV and rspamd because theyre free and what Im used to but anything will do You should do this even if you arent allowing extern..
An illustration of why running code during import is a bad idea (and how it happens anyway) (2020-10-29) Its a piece of received wisdom in Python programming that while you can make your module run code when its importd you normally shouldnt Importing a module is supposed to be both fast and predictable doing as little as possible But this rule is not always followed and when its not followed you can get bad results: If youve remotely logged in to a Fedora machine and have no console session there an..
Link: [Firefox] Navigational Instruments (2020-10-26) Mike Hoyes Navigational Instruments via is about a bunch of underknown or underappreciated features in Firefox I learned some really useful tricks from the article including this one: Holding down Alt while selecting text allows you to select text within a link without triggering the link In fact I used the tip to copy the title of the article from the article because in the article the title is a..
Link: Old-School Disk Partitions (2020-10-04) Warner Loshs Old-School Disk Partitions via is a discussion of how disk partitioning worked and evolved in the early days of Unix up through 43 BSD This has more information than what I wrote about how major and minor device numbers worked in V7 because I missed that various disk device drivers had their own partitioning tables for minor numbers Warner Loshs blog has a lot of interesting writing o..
Remote power control for your machines comes in two flavours (2020-09-27) In yesterdays entry on our trouble free remote reboot of our machines I mentioned that remote power control for all of our machines would be nice When I said that I was insufficiently specific because there are actually two forms of remote power control and we mostly have one of them but its not always good enough I will call these two sorts of remote power control external and internal remote pow..
What you’re looking for with a Grafana dashboard affects its settings (2020-08-21) Recently I wrote about how we chose our time intervals in dashboards where the answer is that we mostly use $__interval because for our purposes this is the best option But this raises the question of what is our purpose with our dashboards Put another way why do we not care about seeing brief spikes in our dashboards? Broadly speaking I think that dashboards can be there to look for signs of obvi..
Go packages can have more than one init() function (2020-10-15) Go has some surprisingly complex rules for how packages are initialized partly because package level variables can be initialized based on the value returned from function and method calls and then other variables can be initialized from them As part of package initialization you can have an initialization function called init that will be called Or at least thats what I would have told you before..
Putting some extra ‘obvious’ information into our temperature alerts (2020-08-01) As part of our Prometheus system we monitor the temperature in our machine rooms and wiring areas and send out alerts if the temperature gets what we consider to be too high The alert email generated for high temperatures is a slight variation of our general alert message; it has some generic framing a specific message generated in Prometheus to describe the situation and a convenient link to the ..
“It works on my laptop” is a blame game (2020-08-16) There is an infamous dialog between developers and operations teams eg where the core of the exchange is the developer saying it works on my laptop and then the operations team saying well pack up your laptop its going into production Sometimes this is reframed as the developer saying it works on my laptop deploy it to production One of many ways to understand this exchange is as a game of who is ..