Categories
BSD/Linux Computer Tech

(Forced) Move from zfsonlinux to Ubuntu ZFS

I upgraded the server from 14.04 to 16.04 and slowly discovered everything was not working perfectly with the ZFS functionality. Researching it appears zfsonlinux doesn’t support 16.04 since ZFS is a part of 16.04. However I couldn’t get the Ubuntu version to load and got this error. It gave me the pointer that the old trusty (14.04) version was the issue.

The following packages have unmet dependencies:
 zfsutils-linux : Depends: zfs-doc (= 0.6.5.6-0ubuntu15) but 0.6.5.7-1~trusty is to be installed
                  Depends: libnvpair1linux but it is not going to be installed
                  Depends: libuutil1linux but it is not going to be installed
                  Depends: libzfs2linux but it is not going to be installed
                  Depends: libzpool2linux but it is not going to be installed
                  Recommends: zfs-zed but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

So had to purge the non Ubuntu trusty packages and start over. This will find the old installed zfs packages:

dpkg -l|grep zfs

Then you can purge the packages old trusty (14.04) to remove them:

sudo apt-get purge zfs-doc

Make sure nothing odd is in /etc/apt. Then install the native Ubuntu version with the normal:

sudo apt install zfsutils-linux
Categories
Uncategorized

A message to my doomed colleagues in the American media

This is a very interesting piece from a Russian journalist to his US counterparts.

https://medium.com/@alexey__kovalev/message-to-american-media-from-russia-6e2e76eeae77#.2o2wa34xe

The end of it but the rest is worth a read as well:

You’re always losing
This man owns you. He understands perfectly well that he is the news. You can’t ignore him. You’re always playing by his rules — which he can change at any time without any notice. You can’t — in Putin’s case — campaign to vote him out of office. Your readership is dwindling because ad budgets are shrinking — while his ratings are soaring, and if you want to keep your publication afloat, you’ll have to report on everything that man says as soon as he says it, without any analysis or fact-checking, because 1) his fans will not care if he lies to their faces; 2) while you’re busy picking his lies apart, he’ll spit out another mountain of bullshit and you’ll be buried under it.
I could go on and on, but I think at this point you see where this is heading. See if any of this rings any bells if you covered Trump’s presser or watched it online.

Categories
Photos

SR-71 Pilots

From here – the post by the actual SR-71 pilot is a pretty interesting read. It also would make a great alt-band cover.

Categories
Security Tech

Black Mirror in real life – Chinese public credit scores

China, and specifically Shanghai for now, is instituting public credit scores to rank citizens by various factors. The end goal to improve the behavior of people by ranking them publicly. This has to have been in the works for awhile. Did Black Mirror just steal the plot for Nosedive from what China is actually doing?

Quite a few places are reporting it and here’s the NRP version. I read it first in the Economist weeks ago so they should get credit for breaking it really but NPR reminded me. A quote from NPR’s version:

“We want to make Shanghai a global city of excellence,” says Shao Zhiqing, deputy director of Shanghai’s Commission of Economy and Informatization, which oversees the Honest Shanghai app. “Through this app, we hope our residents learn they’ll be rewarded if they’re honest. That will lead to a positive energy in society.”

Shao says Honest Shanghai draws on up to 3,000 items of information collected from nearly 100 government entities to determine an individual’s public credit score.

A good score allows users to collect rewards like discounted airline tickets, and a bad score could one day lead to problems getting loans and getting seats on planes and trains.

Categories
Uncategorized

A story about carrots

I heard a great story about carrots today; they’re being so good for the eyesight is just a red herring to distract the Germans from the British competence in radar in WWII being the reason the British were so successful at finding and shooting down Germans.

Here’s the Snope blurb on it:

While carrots are a good source of vitamin A (which is important for healthy eyesight, skin, growth, and resisting infection), eating them won’t improve vision.

The purported link between carrots and markedly acute vision is a matter of lore, not of science. And it’s lore of the deliberately manufactured type.

In World War II, Britain’s air ministry spread the word that a diet of these vegetables helped pilots see Nazi bombers attacking at night. That was a lie intended to cover the real matter of what was underpinning the Royal Air Force’s successes: Airborne Interception Radar, also known as AI. The secret new system pinpointed some enemy bombers before they reached the English Channel.

British Intelligence didn’t want the Germans to find out about the superior new technology helping protect the nation, so they created a rumor to afford a somewhat plausible-sounding explanation for the sudden increase in bombers being shot down. News stories began appearing in the British press about extraordinary personnel manning the defenses, including Flight Lieutenant John Cunningham, an RAF pilot dubbed “Cat’s Eyes” on the basis of his exceptional night vision that allowed him to spot his prey in the dark. Cunningham’s abilities were chalked up to his love of carrots. Further stories claimed RAF pilots were being fed goodly amounts of this root vegetable to foster similar abilities in them.

The disinformation was so persuasive that the English public took to eating carrots to help them find their way during the blackouts.

Categories
Uncategorized

Plato was right about democracy 

It’s amazing the number of rightist blogs that go into how Plato was right about democracy turning to tyranny discussing such well prior to 2016! They were on to something. Either ironic or they’re libertarian. It really doesn’t matter which side with the current polarization we’re going there.

http://freedomoutpost.com/plato-explains-tyrants-arise/

http://mobile.wnd.com/2015/10/how-tyrants-arise-platos-eerily-accurate-words/

And just for something neutral here’s Wikipedia:

https://en.m.wikipedia.org/wiki/Republic_(Plato)

Categories
BSD/Linux Security Tech

The wonders of Let’s Encrypt and Certbot in relation to StartSSL/StartCom issues

All websites should be encrypted. Definitely don’t do anything secure over an unencrypted connection.

To support that the site has always had SSL setup. However I just discovered that the SSL certs the site uses by StartSSL have been revoked by all major browsers it appears!

A little digging for a new free SSL cert site came up with Let’s Encrypt. That in combo with Certbot is SUPER EASY to get certs and keep them up to date. All for free! I’ll probably even donate it’s so easy now!

The trick for certbot for me was to use the standalone check so I didn’t have to mess with the NGINX server’s folder security.

$ certbot certonly --standalone -d example.com -d www.example.com

Then you just point NGINX to the PEM files it creates and you’re set!

ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem;

EASY PEASY! Now Chrome and Safari work again!

Then to renew all the certs at once you can run this

certbot renew --pre-hook "service nginx stop" --post-hook "service nginx start"
Categories
Photos

Bad ass taxidermy

Carl Akeley, considered the father of modern taxidermy, was attacked by this leopard he poses with.

The leopard latched on to Akeley’s left hand, chomping down with all its might, and kicking at him with its back legs like a rabid 80-pound feral housecat intent on brutally mutilating him beyond recognition and burying his body in the back yard. When his attempts to pull his hand out of the leopards’ jaws only made the creature bite down harder, Akeley, locked in a life or death fistfight with one of the most perfect predators nature ever created, did one of the most insane things ever – he punched his fist further into the leopard’s mouth.

Yes, you are reading that correctly. Carl Akeley, noted philanthropist and respected wildlife conservationist, punched a fucking leopard in the esophagus from the inside. The leopard gagged, Akeley pulled his hand out, and then he took the thing, bodyslammed it to the ground, and jumped on it with both knees, crushing it to death. Akeley, bleeding profusely from horrific wounds on both hands, clawed to shit, still recovering from a recent battle with malaria, and barely able to stand, then picked up the leopard (despite a shattered hand), threw it over his shoulder, walked back to camp with it, and taxidermized it for a museum exhibit

From here: http://www.badassoftheweek.com/akeley.html

Categories
Art Photos Uncategorized

Topography of US and Europe by sunset shadows

US

Europe

From here:
http://imgur.com/a/klLBZ

Categories
BSD/Linux Tech

Duplicity restore

As a part of restoring all the posts from the old Drupal server I finally had to use Duplicity to restore a backup. Always wondered how it’d actually work. Twas easy! This restores a backup from 9/1/2014 to /tmp/restore.

duplicity restore –time 2014-09-01 s3+http://rack_deb/drupal /tmp/restore2