No Brain No Headache

Category: Work Horrible Work

I’ve Always Thought The Expectation That I’d Get Any Work Accomplished During ‘Business Hours’ Was Morbidly Optimistic

During this worldwide and deadly pandemic a fair amount of ink was spilled about how difficult it was to stop working when the normal hours of business operation were finished. I find this kind of hilarious because it’s nearly impossible for me to get anything at all accomplished that takes more than 10 minutes because I absolutely know I will be disturbed at least once during that increment. I spend more time talking people thorough problems they’re trying to solve in completely inane ways during the day than I do working on things that would potentially solve some of those problems ahead of them being dragged to my (virtual or otherwise) desk like the corpse of a murder victim.
That person is dead. You should really be thinking more about burying them before they start to stink than how we could potentially jolt them back to life with a sufficient charge of electricity.

I’m an operations guy at heart despite what my job title may say about being senior guy who cleans up terrible messes or whatever. I wouldn’t say that I run towards the sound of a car accident necessarily but I do chase ambulances just to see what broke and who might be responsible. It’s a terrible habit that I’ve never successfully broken myself of. The one aspect of those situations that I’ve handled better as the years progress is waiting until everyone clears out of the office or until the Slack DMs slow down to 3 per second or so. I’m not going to get anything accomplished while the people who are right up against a hard deadline (sorry!) or the gawkers who read trade magazines are peppering me with (dumb) questions and (well intentioned) ineffectual offers to help out if they can.

Anyway, obvious mockery of self improvement listicle sites aside, I think this guide, which ironically was published before Covid-19 was a virus we are all too familiar with, has a solid list of strategies to avoid feeling like you can never mentally leave work. It was what instigated all of the venting at the beginning of this post in large part because I wish I was better at incorporating straightforward measures towards making work a lesser part of my life. It’s a short and pointed list that avoids all of fellow pandemic kids tactics that more irksome sites lean on especially hard and we could all use a 1100 word break from that.

Deleting Weirdly Named Shit Is Weird

One of the internal dev servers at work got bitten by this old Jenkins bug that I noticed a month or so because it popped up in the firewall logs. Because this isn’t a production machine and is mainly used as an internal testing server (it’s also running a pmta server which is pretty scary), we just shut it down and disconnected it from the network. I assumed the developers would probably torch the entire machine and start over. They didn’t and I had to find the offending lurkers and rescue this box. I’ll admit that I did it the laziest way: I just installed Sophos and waited for the client to either confirm that I had an admittedly tentative false positive or start crap bombing the cloud console with notifications. The crap bombing commenced about 75 seconds after the client piece was finished installing. It managed to open about 12 cases in our ticketing system before I could even disconnect the network.

Once the AV picked up on it I at least knew which file was being obnoxious and could go clobber it and make sure it hadn’t set up any cron jobs to reestablish itself afterwards. The path was something like /tmp/.jenkins/jenkins/-bash. Yup: -bash. It was the end of a pretty long day and it took forever for me to remember how delete a file like this in bash. I hadn’t actually considered that when I first started sawing on it. The remember this idiot from this particular situation is that bash assumed everything that begins with a hyphen is going to be an argument. I futzed around with quotation marks and backticks for a while and got nowhere but frustrated. The oddly easy answer was this: rm -v — -bash. That didn’t come from memory or anything like that but a frustrating round of trying to google up a solution with every query I could think of that didn’t actually use a hyphen which becomes an exclusion argument for that search. So, the short story is that everything after the double hyphen becomes a filename that bash no longer cares about evaluating. In retrospect, I probably should have renamed it and taken a look at what it was actually doing. It was the end of a long day though so I just nuked it from ssh. It was the only way to be sure. Actually, I wasn’t ever sure so I yanked the network again and kicked off an AV scan before I left. A learning experience, yet again, that wasn’t a whole lotta fun especially when my load average is above 4 on an already aging server that I apparently need to preserve.

Page 2 of 2

Powered by WordPress & Theme by Anders Norén