I would use Gitlab only in an airgapped network. Password resets sent to attacker-supplied emails is such a complete failure of a security model it seems like it is only a matter of time until the next critical vulnerability.
I think I didn’t make it clear enough: My laptop was on the power during the update process, when the power randomly cut out - for the first time in about 6 years, it doesn’t happen often. Of course you can interpret it as user error - but I think it’s reasonable to update my system when plugged into, normally reliable power. The laptop battery is pretty much dead, so it would’ve shut itself down automatically anyway.
I mean any which way you try to frame this, saying that you won’t use Arch anymore because you didn’t take the precautions necessary based on your situation is gonna take some heat here.
What precaution would you expect OP to would’ve done though? A fallback kernel would be my guess - that’s something many casual oriented distro do out of the box basically. . I read your post as “you’re right, don’t use arch” - something btw which I tend to agree with although I wouldn’t say that’s because of the precautions.
I use arch because there’s no black box magic. For an end user who expects or wants that… Yes, arch might not be the right choice.
Oh agreed! That’s why I’m with OP actually that arch might not be the right distro to go for.
The person I replied to basically said “that’s what you deserve for not doing it properly” if I understood it correctly - that’s what I’m confused about as well.
If you know your battery is shot and you don’t have a way to save your install if the power goes out, then you just don’t update. There are plenty of ways to protect against this that have already been mentioned (battery backup, backup kernel, etc). OP was just playing with fire.
That’s kind of overzealous. I would expect most desktop users to run kernel updates without being plugged into a UPS, this is functionally identical. It’s not like it’s an unrecoverable error, but yeah if you’re updating a critical system you should have redundancies in place.
Disclaimer: this only works when something with image creation goes wrong with an update. Which didn’t happen to me ever - unless I did a mistake or tested some kernel stuff. I only had bootloader errors when I screwed up pacman though. The fallback kernel in that case is on a USB stick…
I still don’t get the problem. Are you complaining you have to chroot into your system and finish the update because your power got interrupted? Is a 5 min detour into a live system making you unconfortable? This is how you would fix it in any distro except the image based ones and the arch wiki will guide you excellently how to do it. Good luck!
If it was on something like BTRFS it’d probably be fine, though I imagine there’s still a small window where the FS could flush while the file is being written. renameat2 has the EXCHANGE flag to atomically switch 2 files, so if arch maintainers want to fix it they could do
Write to temporary file
Fsync temporary file
Renameat2 EXCHANGE temporary and target
Fsync directory (optional, since a background flush would still be atomic, just might take some time)
Just having btrfs is not enough, you need to have automatic snapshots (or do them manually) before doing updates and configured grub to allow you to rollback.
Personally, I’m to lazy to configure stuff like that, I rather just pick my Vetroy USB from backpack, boot into live image and just fix it (while learning something/new interesting) than spend time preventing something that might never happen to me :)
Just about any Linux I’ve ever used keeps the previous kernel version and initrd around. And nowadays snapper makes a new snapshot before and after every package installation or update.
Yeah windows “cumulative update” upgrades for the past couple of years basically duplicate the whole system directory and apply the update to that leaving the existing one to roll back to if anything fails
But also I thought Linux distros normally keep the old Kernel around after an update so stuff like this doesn’t cause a boot failure?
Arch has no concept of “previous package”, so it doesn’t do this.
You could install linux-lts (or one of the other alternative kernels) side by side with the linux package, so you always have a bootable fallback, but like most things on Arch it’s not enforced.
Windows updates (and Windows Installer) are transactional. If the update or installation fails, it knows exactly how to revert back to the previous state.
Windows Installer supports this across multiple packages too - for example, a game might need some version of DirectX libraries which needs some version of the Visual C++ runtime (probably showing my age because I doubt games come bundled with DirectX any more). If one of the packages fails to install, it can handle rolling everything back. Linux can sometimes leave your system in a broken state when this happens, requiring you to manually resolve the issue - for example, on a Debian-based system if the postinst script for a package fails.
Any immutable distro, Debian, Ubuntu, all their derivatives, Fedora, all its derivatives, OpenSUSE, Slackware, …
Basically, 95+% of installed Linux systems would retain the old or a backup kernel during an upgrade.
They weren’t saying Debian and Ubuntu are immutable - they were saying “any immutable distro”, “Debian”, and “Ubuntu” as three separate items in a list.
I don’t really get why you couldn’t pick one of your other installed kernels and boot that, but you seem pretty intent on blaming arch and I don’t feel like trying to troubleshoot it, so that’s that I guess.
To be fair, it was about the bigots too. I had to look up the song after a certain group blew up about it. It’s a lovely song about inclusivity and what it might take for us to stop fighting eachother.
Endless horseshit recruiters coming at me with bullshit jobs
I come from a large firm. LinkedIn became what I would describe as occupational hubris as I would see partners from there making prideful post after post about increasing the toxicity of the place in words that made them sound all wise and stuff
I would further see many posts about young people abandoning pursuit of the profession and there being a dire shortage of entry level recruits. Responses to these posts always address lowering the educational and certification requirements, but never address the reality of working eighty hours a week, getting shat on, berated, and dehumanized the entire time for about sixty grand a year with maybe a five to ten percent chance of moving up to the real money.
Fuck all of them right in the eyeball with the white hot barbed penis of Satan himself.
Every once in a while, I’ll drive by that building. When I do, I open up the sun roof and throw them a Bronx salute out the roof as I pass by. I know somebody actually saw me do it because word got back to me about it. Petty I know, but satisfying nonetheless.
I make maybe one third of what I could if I had stuck it out, but I still make plenty to live on, and that increase would require me to be somebody I refuse to become.
I’m very mean to LinkedIn recruiters. I always let them pitch the job, but I always say “please review my job experience first, I don’t appreciate my time wasted”.
And usually my response is something like “What the hell made you think that pitching this IT Technician job to someone with the current job title of Senior Project Manager was a good idea? When I asked you to read through my job experience, I guess I made the mistake of thinking you could read.”
Oh man, that would have sounded so nice when I was still working in the industry.
I could just picture being stuck on site being berated in the middle of the night since some far away NOC thought deleting the switch configuration files was a good idea (again) and getting the offer to be a goat herder.
“Wait your telling me no human contact at all? Comes with a hut? Many KMs from the nearest technology?”
Yeah, never had a console. I recently did get the steam deck and that has definitely allowed me to play a few games I never had the time to play before. Still have a huge backlog though.
I wasn’t sure about the Steam Deck, but my god man - it truly is the best of all worlds.
[x] Playing games in bed with instant suspend/resume
[x] Easy emulation of old (and new) consoles
[x] Supports and excels at playing the vast majority of my old Steam games
[ ] Makes me snacks when I’m hungry.
I’ve played Chronotrigger on here, Skies of Arcadia, and Civ3. Lately I’ve been going through the Yakuza series for the first time.
I will say that I’m always a little tempted to get a console for the exclusive new titles, but I can never justify the price when I have such a big backlog of games already.
I will say that I’m always a little tempted to get a console for the exclusive new titles, but I can never justify the price when I have such a big backlog of games already
A while back, as a patient gamer, I waited until Wii & Wii games were cheap so I could buy it. I really want to catch up on all the Wii Zelda games. But by then, someone recommended how to get it work on PC, with higher res and on better screens.
And also by that time, I had too many games. So I look forward to playing Twilight Princess in 2030.
Pretty glad I skipped the current gen consoles - my last one was an Xbox one S. Still have it around to play DVDs and blu ray lol. Steam deck has been the best gaming purchase and I don’t see myself going back.
I still haven’t tried it, but I’ve heard how great Veloren apparently is. It’s an MMO voxel game that takes inspiration from Zelda: Breath of the Wild and is written in Rust.
kbin.life
Newest