Austria Day 1: Travel and trying to stay awake in Vienna

It seems like we were just planning for this trip, and somehow it’s already time for us to embark on this next journey… this time to Austria! I woke up and went for my 15km (~9.2 mi) run because I have to at least get in one last one before taking a couple weeks off, right? It was drizzling, but wasn’t too bad. Getting through the airport in Saint Louis was no problem at all, and our flight to Philadelphia was (thankfully) uneventful. On our flight from Philly to Budapest, we had a little turbulence around Nova Scotia, but overall, it wasn’t bad either. However, the only person on the flight with his light on sat directly in front me of, and the only two people talking the whole time were behind us. Hahaha. That made sleeping a bit difficult, but that probably wouldn’t have happened anyway.

I was able to get Deb’s seat changed so that she wasn’t sitting behind me, but it turns out that the row numbers didn’t align on this old 767-300 plane. Alas, she still wasn’t directly across the aisle from me. Bummer, but I think that we might have both been too tired to chat anyway.

At Budapest airport, the car rental process was completely painless, and we ended up with this Kia Ceed. For some reason, I opted for the handheld GPS just in case there were some areas along the way where I didn’t have mobile data. With our bags all packed up in the car, we started out toward Vienna, but after about an hour of driving I realised that something was wrong. We should have been much closer to Vienna than we were. I had accidentally configured the GPS to “avoid toll roads and motorways” so it was still going to be ~4 hours. I wasted all that time, but thankfully figured it out within an hour and we were still ahead of schedule. Once I got that taken care of, we made it in ~2 hours thereafter, and still ended up arriving at the residence early.

Vienna - Mar Suite Apartments Simmering - Courtyard
Vienna – Mar Suite Apartments Simmering – Courtyard

We got set up in our flat (the Mar Suite Apartments in Simmering), and headed out for the evening. We took the train to Vinothek St. Stephen to get a few bottles of Austrian wines for our nights here in Vienna, and then to the Billa market right across from our flat to buy some bottled water and light snacks.

After getting the wines and snacks all situated in the flat, we left for our one activity of the day, but we were both quite tired. Having not yet become acclimated with the transit system, I chose poorly on the trains to take, and we ended up not making it. Fortunately, it wasn’t a huge deal to miss the one activity. Instead, we just went to dinner at Sixta earlier than our reservation. The owner said that it was no problem, and seated us ahead of schedule. We started with an order of spinach dumplings in brown butter, and they were absolutely delicious! For our mains, I got chicken with spinach in a cream sauce. It was wrapped in prosciutto, which wasn’t really necessary and added a little too much salt for my liking, but the dish was still pleasant. Deb got pork loin cutlets with potato pancakes (called “napkin dumplings” here). I enjoyed the spinach dumpling starter so much that I got another order as a “dessert” before we left. 🙂

On our way out, the owner stopped us and offered us a digestif of a hazelnut liqueur and the three of us (owner included) toasted. He said “this is only for really good people”. It was a wonderful surprise, and such an incredibly nice gesture!

We headed back to the flat, each took a quick shower, and settled in for the night with the first of our Austrian wines. Deb had the 2017 Zierfandler-Rotgipfler from Stift Klosterneuburg (the oldest winery in Austria [founded in 1114]), which had a beautiful nose of white acacia flowers and tropical fruits. I had the 2015 St. Laurent Reserve from the same producer, and though it had nice acidity, it paled in comparison to the beauty of Deb’s Zierfandler-Rotgipfler. We went to bed quite early (for us) at around 22:00. It was a long day, but overall, not too bad given the huge amount of travel! Of course, it helped that the beds were extremely comfy, and the room was pitch black from the darkening shades built into the windows.

Vienna - Mar Suite Apartments Simmering - Bedroom
Vienna – Mar Suite Apartments Simmering – Bedroom

Rebooting MacOS into recovery mode to disable System Integrity Protection (SIP) without the command key

My love for Apple and especially MacOS does not run deep. Actually, it is essentially nonexistent. I was recently reminded of the myriad reasons why I don’t like MacOS, and one of them is that the OS should never stand in the way of what the operator wants to do. In this case, I found that even the root account couldn’t write to certain directories that MacOS deemed special. That “feature” is known System Integrity Protection. I’m not going to rant about how absurd it is to disallow the root account the ability to write, but instead I’d like to present the method of disabling System Integrity Protection.

First of all, one needs to get into the Recovery Mode of MacOS. Typically, this wouldn’t be all that difficult when following the instructions provided by Apple. Essentially, to get into Recovery Mode, one just has to hold Command+R when booting up the system. That’s all fine and dandy if it is a physical host and one has an Apple keyboard. However, my situation called for Recovery Mode from a virtual machine and using a non-Apple keyboard (so no Command key). Yes, yes, I know that MacOS offers the ability to set different key combinations, but then those would still have to be trapped by VMWare Fusion during boot. Instead, I figured that there had to be a way to do it from the MacOS terminal.

After digging through documentation and man pages (I’ll spare you the trials and tribulations of trying to find answers 😛 ), I finally found that, yes, one CAN reboot MacOS into Recovery Mode without the command key. To do so, open up the Terminal and type the following commands:

nvram "recovery-boot-mode=unused"
reboot recovery

The Apple host will reboot and the Recover Mode screen will be presented:

MacOS Recovery Mode - Utilities - Terminal
Click to enlarge

Now, in the main window, there are plenty of tasks that can be launched. However, I needed a terminal, and it might not be readily apparent, but to get it, you click on the “Utilities” menu in the top menu bar (see the screenshot above), and then select “Terminal”. Thereafter, it is fairly simple to disable System Integrity Protection via the following command:

csrutil disable

All that’s left is to reboot by going to the Apple Menu and clicking on “Restart”.

Though the procedures of getting to the MacOS Recovery menu without using the Command key and disabling System Integrity Protection are not all that difficult, they were a pain to figure out. Furthermore, I’m not sure why SIP disallows root’s write permissions anyway. That seems absurd, especially in light of Apple’s most recent glaring security hole of allowing root access without a password. 😳

Cheers,
Zach

Python’s M2Crypto fails to compile

When updating my music server, I ran into a compilation error on Python’s M2Crypto. The error message was a little bit strange and not directly related to the package itself:

fatal error: openssl/ecdsa.h: No such file or directory

Obviously, that error is generated from OpenSSL and not directly within M2Crypto. Remembering that there are some known problems with the “bindist” USE flag, I took a look at OpenSSL and OpenSSH. Indeed, “bindist” was set. Simply removing the USE flag from those two packages took care of the problem:


# grep -i 'openssh\|openssl' /etc/portage/package.use
>=dev-libs/openssl-1.0.2m -bindist
net-misc/openssh -bindist

In this case, the problems makes sense based on the error message. The error indicated that the Elliptic Curve Digital Signature Algorithm (ECDSA) header was not found. In the previously-linked page about the “bindist” USE flag, it clearly states that having bindist set will “Disable/Restrict EC algorithms (as they seem to be patented)”.

Cheers,
Nathan Zachary