Skip to content

u/Max-P

In this archive from Apr 2013 to Mar 2026

4
posts
311
comments
3
media
1.9k
score

It's perspective. Something that for me is an easy "type 3 commands, back in business in 30 seconds" is someone else's entire evening panicking thinking they lost their essay due tomorrow.

Depending on that same perspective, Arch is either virtually indestructible, or extremely fragile. I've personally had way more issues with every other distro, because the user friendly bits break and now you have to fix the problem and the user friendliness mod on top.

For example: my network is statically configured. No NetworkManager, no nothing. Pros: incredibly simple: IP gets configured during boot, done. Cons: if I plug it into a different network, it won't work. But I'm still better off my way, because there isn't any "figure out an IP address" mechanism involved that can go wrong. I can accidentally unplug the network cable, plug it back in, and it's like nothing happened, downloads not interrupted. Because no software went in, detected an unplugged cable, and unconfigured the interface for me, nor is there anything to reconfigure it once cable is plugged back in. It kept its IP, it kept its connections, nothing was reset, because my setup literally doesn't care whether there's a cable or not.

I'm still waiting for the promised spectacular explosion ๐Ÿคท

[2013-06-01 18:18] [PACMAN] Running 'pacman -r /mnt -Sy --cachedir=/mnt/var/cache/pacman/pkg --noconfirm base'
1 points

That tends to happen when you update and don't restart when some systemd/logind/SDDM/Plasma things update, things get out of sync and it stops being able to talk to logind to unlock the session.

Reboot usually fixes it until next time. In the meantime, follow the instructions to unlock it, save unsaved documents to do a proper reboot.

1 points

Yes. I had an Arch server that reached a whopping 6.5 years of continuous, uninterrupted uptime. Kernel was getting old, but was rock solid and all it did was run VMs anyway. My desktop easily gets a month of uptime there and there, I reboot for kernel updates, and DE updates, if I'm closing everything I might as well do a full reboot.

The reality with Arch is that it's extremely simple, and thus hard to break and easy to fix when it does break. The difficulty is when people mess up an update 2h before a presentation or paper is due, panic, forget how they set up everything, follow bad advice in desperation, break it more. If you just keep calm and rollback, everything is usually just fine.

6 points

They're very opposed camps too: Nix is about reliably and reproducibly rebuilding the same system every time, including configurations. Meanwhile, Arch is about as close to just configure make make install as it gets: pacman puts the files in the right place, up to the user to do something with it. Even Gentoo's build system is a lot more complicated with its use flags and all. The appeal of Arch is the simplicity, which directly translates to ease of tinkering with the system because there's literally nothing in your way.

2 points

YT Premium is the only subscription I feel like I actually get my money worth out of it.

I hate YouTube as a platform, but I love the creators that are on it. I guess it's debatable for music given the trainwreck copyright is, but there's small producers on YT Music too. And the algorithm isn't something I'll get out of pirating my music. I pick a vibe and it's got me pretty figure out.

I always have music or some video in the background while I work, it's worth it for me. They're probably still losing money on me. And thankfully, that's the one area where privacy doesn't matter much, I'm a total nerd, big surprise.

1 points

Me, with about 30GB of stuff in /usr and just cleaned up a solid 150GB from the pacman cache...

Wasted space? Maybe. But I've got 10 years worth of development tools piled ip, and now I can successfully compile pretty much anything that comes my way from GitHub or whatever. Obscure Perl script? I probably have the dependencies already somehow. Android app? Yep.

I have like 4 TB free across my 3 zpools, it's not like I'm short on space.

1 points

But now it gets even worse: the maintainers of the package have email accounts with "ransomware.download" tld. Is this supposed to be funny?[

Yes, basically. People can use whatever email they want, be it Gmail, Hotmail, or cock.li. That includes people who paid a couple bucks for a weird TLD and put their email server there.

And it shouldn't bother you, it's just a domain name. A user isn't inherently more trustable just because of what their email look like. You should always check the PKGBUILD to verify it's not doing anything weird. And if you think about it, if you were to put ransomware on the AUR you wouldn't publish it from a ransomware.download domain, you'd make a generic Gmail to blend in.

Can the package maintainer manipulate the build process in a way that is not described in the PKGBUILD file?

Not really. The PKGBUILD can use some additional files like installing postinstall scripts but they'll all be described in the PKGBUILD, directly or indirectly. As long as what it downloads and builds seems legit, it should be fine.

50 points

By toolkit they probably mean GTK and Qt, and the compositors.

Touchscreens are different because they're absolute positioning and usually don't display a cursor. Libinput has no way to know whether you're expecting a short touch to be a click, click and drag or whatever. If you press and hold, should it do a right click, or do you just intend to hold a button pressed? Should the treshold be pressure sensitive, like force touch on iOS/macOS?

It's contextual. If you're a drawing application, you want whatever the user touches to draw. If you're a GUI you may want to snap to the finger and scroll a view. Or maybe you're actually drag and dropping something. Or you may want touches to instantly be registered as clicks because there's no scrolling possible and you want the fastest possible response time like a game.

It can't know, so it's left up to the application, or GUI toolkit to handle it in a sensible way for what it wants to achieve. That's simpler and better than having dozens of configuration options trying to handle everyone's use case, which then needs to be maintained forever.

Touchpads, in contrast, are pretty standard in the way they're used so it makes more sense to give them common behaviour. And they are meant to be mouse replacement, so mapping them to equivalent mouse movements makes sense, that's how we use them. Nobody draws with their touchpad. You probably can't enable tap to click for touch screens, because it's not a touchpad and it's as useful as enabling tap to click on a mouse: it doesn't make sense, mouse can't sense taps (except the Magic Mouse).

1 points

I would assume when running as an X11 application the driver doesn't really matter and NVIDIA shouldn't get in the way, but I run AMD so I wouldn't know it all just works for me.

Depending on your needs you might even be able to get away with running it in software rendering if you really have to.

1 points

Most Wayland compositors can run as X11 applications, so you can run Weston/Sway/Gamescope/KWin/Mutter or whatever you want in your X11 session, and then run Waydroid in it.

3 points

Well that's pretty straightforward: you're out of space on the root partition, and it's actually all used up.

Boot up the Arch installer, and use your favorite partitioning utility to add space to the root partition. I think (g)parted can do that just fine and will even move the data on disk if needed. If you're rather go the GUI way, you can boot up Parted Magic or an Ubuntu live ISO, or install Arch to your USB stick so you can temporarily boot off USB to do whatever needs to be done.

Of course as is always the case with moving partitions, make sure you also take a backup of everything valuable. It's usually fine, but if the computer crashes midway, it won't be easy to recover.


In the meantime you can also free up some space by doing some cleanup, like clearing pacman's cache (pacman -Scc), clear the system logs (journalctl --vacuum-size=32M) and uninstalling things you don't need.


You can also symlink some of the bigger folders like /var elsewhere, which will solve your flatpak problems specifically. Supposedly you don't have 20GB for your whole Arch install as that's tiny and if it's really all you have to work with, you'll have to learn to be space-efficient and that definitely involves not using Flatpaks because those are essentially like having a Fedora install on the side.

2 points

For an expert install, maybe. I've maintained an install on a similarly sized disk (VM for my TV). The main issue I ran into is keeping logs and caches cleared, or even disabled. With so little space, it's easy to get into a situation where you don't even have enough disk space to download updates. I had to set my pacman cache to /tmp/pacman to download the packages in RAM and then install them.

Generally one of the optimizations I'd do for small space is... NoExtract all the development stuff, unused locales, man pages, documentation, anything that's not essential. If you want to compile stuff from the AUR, you need to hold the downloaded sources or git repo, a copy of that for $srcdir, all the build artifacts and intermediate steps, the installed package in $destdir and finally the built pacman package. That's not insanely space hungry, but it adds up.


You're better off with maybe 20-30GB and see how much you can reclaim on the Windows install instead. There's often easy couple GBs to free up when you delete all the restore points and updates.

If you're really, *really adventurous, there's a btrfs driver for Windows. A possible long term solution that's space efficient could be to have a shared home/data partition, and shrink down the Windows partition to maybe 40-50GB, 20GB for the Linux root partition, and the rest shared home folder between the two OS.

It is also technically possible to in-place convert an NTFS partition to btrfs, and run Windows off it and also install Linux on it, and dual-boot them... but that's too crazy even for me.

6 points

Depends on how fresh your template is and network speed. Pacstrap uses the host's cache so I don't even need to download the updated packages and don't end up with a bunch of package files in the VM's pacman cache.

Sure it ain't for everybody and there's probably nicer more robust solutions. But the point is, it's so incredibly easy to just pacstrap that it's a perfectly viable option. I don't do it enough to bother automating it, the benefits aren't worth the time investment setting up automation.

1 points

They're simple to use tools but rather complex under the hood. With Arch my setup is basically, make zvol, make partitions on it, format, mount on the host, pacstrap into it and done. Container? Skip zvol and formatting partition, mkdir and pacstrap into it and presto, 20 seconds later you got a container ready to go. The limiting factor is disk speed so why even bother copying a template, pacman already saturates the disk writes with a regular install.

I've worked with Packer and it's okay but there's no raw qemu option for it, libvirt support is bleh, and just generally, you need to set it up and adjust your build script and whatnot for each individual needs. And it still needs to boot up the VM, SSH into it, run some provisioning script on it. I skip all of that, entirely. By the time Packer's done booting up the VM and SSH'd into it, pacstrap is already done on the host and my image fully baked and ready to go. No cloud-init, no metadata volume, no metadata network service, nothing. It just works. Packer is a tool oriented for CI and Cloud deployments, which we do use at work but we also use Ubuntu Server and cloud environments which is what Packer is intended for.

For disposable VMs I'm gonna nuke hours later it's easier and faster to just install a fresh one, and with Arch I already have latest versions of everything out of the box either from official repos or my personal AUR repo.

And that's my whole point: Arch becomes so easy to install when you're familiar with it, that you don't even care about extra tooling. You can just install Arch without thinking about it as easily as you would rsync some files.

1 points

Not really, you'll just end up booting it up and needing to update and it takes about the same amount of time.

The point is, it's so easy to do I don't even feel the need for templates. You can just pacscrap it from the host like you would in the installer and have a fully baked VM before you even launch it. It's like a 10-20 lines bash script to automate it.

1 points

Arch is easier:

  • The initiation to installing Arch the hard way is a (necessary) pain. At first. Now that I got the hang of it, using Arch is just the most easy and convenient way.

After a while you become pretty comfortable with that too, and you start feeling that other distro installers are annoying and you wish there was a well documented way to manually install it.

I use VMs a lot, and I'm at a point where I'm like, I'll just install Arch because it's genuinely the easiest and fastest way to get there. Don't even have to deal with a cloud-init image of Ubuntu or whatever. Just pop a terminal, make a blank volume, mount it, pacstrap into it, configure some things, set up bootloader, unmount and boot VM and it comes right up basically instantly. Don't even need to add a virtual GPU or deal with viewing the VM window to install, just slap it on the network and preconfigure SSH, good to go.

7 points

They modify a fair bit of them. It's not always bad, like the sites-enabled/sites-available thing. It's better for some users, especially those that want to apt install a thing and it runs out of the box. The default configurations aren't insane, they just have a tendency of getting in your way when you don't want the defaults. For what I do, I prefer to make my own configs from scratch because I do weird shit.

A good chunk of packages are configured via debconf and it renders a template into the actual config files, which can be confusing at times, but also makes it annoying because you have to integrate your config the way they intend because if you just overwrite it, it could be overwritten by an update. Those are fairly rare these days thankfully.

I also generally don't want things I install to be automatically configured with some defaults and automatically started. Oh you pulled in Apache as a dependency? Now you have a whole web server running on your machine you may not even know about. If the service doesn't start (ie. you broke its config or whatever), apt considers the whole package to have failed to install and your apt is hosed until you fix your completely unrelated service. I know MySQL is down I'm upgrading because my config is too new, just update the damn package and leave me alone.

But the issue is really that they try to be a little too helpful. What I like of Arch's packages is that all pacman does is drop the files on your filesystem and it's up to you to configure it, start it and enable it. The default config (if any!) is exactly the same as upstream ships and uses in their documentation. Like, 99% of the time I install dnsmasq is because I want to do something specific with it in userspace, like for a VM or configuring some weird network device. I don't want my computer to automatically advertise itself as a DHCP+DNS server on my network just because I installed the dnsmasq package to TFTP my router's firmware.

Debian just likes to turn everything on and sometimes ship convoluted default configs so that they can handle most use cases with debconf and additional packages. Like, if you apt install phpmyadmin on Debian, you'll end up with Apache+PHP+MySQL configured and running publicly on your machine with phpMyAdmin served at http://your-ip/phpmyadmin. This is part of why they have this whole sites-enabled and modules-enabled and conf.d everywhere: so they can drop files there from other packages and automatically wire them in. Install a PHP extension? It drops a config file to automatically enable it. I'm sure it's great for sysadmins that just want to install a Wordpress on a customer's server without having to go fiddle with the web server configuration. I don't personally like nor want that.

It's ultimately a question of what you want out of your distro, not that one is inherently bad. Debian users sometimes complain that Arch ships bad or too basic config files too, it's not just Arch users disliking what Debian does because we're better. It's a design choice. I started with Ubuntu because it was so simple to just install Apache, drop my PHP files in /var/www/ and be good to go for web development. Hella lot easier than it was on Windows XP! But not anymore, I run Arch because I set up weird stuff all the time.

9 points

Yeah, this was mostly for small use cases like OP where they own their workstation. I was mostly addressing the "Arch is too unstable" type of thinking I see here all the time. It's perfectly viable if you know what you're doing and a revert plan so you can be back in business ASAP if you need it for work. It's your workstation, do whatever works best for you. There can be problems but in 12 years of Arch, I've never had a problem that prevented me from doing my job and serve my customers.

IMO the harder part in an enterprise setting would be to even get the Arch repos to be approved at all during an audit, especially not the AUR. Or even explaining what ArchLinux is to a clueless auditor used to the Windows world. ArchLinux just doesn't have the certifications whereas at least we can from Canonical and RedHat. We luckily got the whole of Ubuntu's repos approved at work which at lets us run whatever we want as long as it's in the allowed repos.

Regardless of the distro, I'd do tiered rollouts. I've had apt shit itself often enough, I skip the approach entirely. At work we have a CI/CD pipeline building and automatically testing gold images of systems, and we deploy those as a new VM and switch traffic over to it and then delete the old one. As a last defense, we run a check on the services running on the new instance and cancel rollout if it doesn't pass basic health.

At work our workstations are all Mac, and I'm a platform engineer not IT, so I don't deal with desktops. But I'd approach it a similar way except we'd roll those gold images to testing computers/laptops so they can be auto tested. As for the actual rollout, I'd do immutable system images and an A/B partition scheme with a shared writable /home partition with snapshots before booting the new system, as well as daily snapshots in case users fuck up. Secure boot, TPM and dm-verity on the immutable system images just in case. If the new system image fails to boot, there's be a bootloader option to revert to the old image and also revert to the snapshot of the home directory, so a failed rollout could be fixed self-served. From there it depends on the use case, devs would get to use Docker or Podman and rootless containers. At that point if they want to install their own WM manually, power to them, if that's in accordance with company policies. Devs would likely have freedom in that regard. They get to execute arbitrary code anyway as part of their workflow, at that point it's a policy and monitoring problem.

I believe it would be more reliable and less burden than whatever our IT department does to our MacBooks, at this point I have a direct line to that team and I'm part of their first tier of testing because it somehow breaks pretty often. But they do like, manual pushing of packages through MDM, and is precisely the reason I go with gold images for our servers because it just leaves no room for any kind of package update problems and drifting. Full distro swap? No problem, users could still revert in case of problems and file a ticket. I'd even include a reimage tool in the ESP so they can download and apply arbitrary images from our systems if they really bork their computer that badly. I would never run a bare distro at scale and trust any package manager to reliably keep everything good.

Such a setup would be distro-agnostic, so if I deemed Arch to be the easiest to manage, I'd do Arch. But in an enterprise setting, you gotta think of your coworkers too and whatever random hire HR brings in, so I'd probably do Fedora or Ubuntu for that case or whatever distro is decided on anyway, not Arch. But if we were to use Arch and knew I'd be on a team of Arch users, it could work and could be compliant without much more burden. Could be Gentoo for all that matters, it'd still be built from scratch every time through a CI/CD pipeline and verified with automated tests so that the basics like can it connect to corporate WiFi and launch Firefox would be covered, independently of the chosen distro.

I manage my family's (Arch) computers that way although skipping the whole CI/CD and auto testing part, it's worked out pretty well for me. They don't care what distro they run, they don't even know what they run. I picked Arch because it's the distro I feel enabled me to best provide them the user experience I want to deliver. Same with my servers and a few of my legacy customers where I provide them the platform.

4 points

I'm happy that I can keep using Arch in my professional life, never let people tell you it's just a toy distro and not used in a professional setting ๐Ÿ‘๐Ÿซก๐Ÿ‘

I think the people that say this are just people that haven't used Arch enough to be confident navigating issues in a professional setting. It typically comes with something like "I run updates and now my workflow is broken and I can't get any work done", which for me is basically "my computer is broken for 10 minutes at a moment where I have time to tinker with the computer to get it back up and running". Or the "I need a tutorial specifically for the distro I'm using or I can't figure out how to install anything" crowd.

Linux is Linux, if you know your Linux well enough you can practically get anything running on anything. Worst comes to worst, there's containers, and if that ain't enough, there's VMs.

I haven't run into anything that made me feel like Arch is inadequate professionally in the 12 years I've been using it (still the same OG install btw). If anything I've found it to be more reliable and dependable than the other "enterprise" distros that tries to do too much. I need newer versions of stuff much more often than I need an old version of something. And Arch has been great at serving as a canary for upcoming changes as well, so I can prepare and get ready before they hit stable distros on the servers and have a mountain of things to fix all at once. My stuff is always ready for latest everything.

Arch's just not for everyone and I feel a lot of people pressure themselves into Arch because of memes and then get burned and then hate on it because they keep running into problems or expect things to just work effortlessly. Ultimately you gotta use what's comfortable and reliable for you. I break Ubuntu much easier than I break Arch because it's always trying to outsmart me.

Fixing Linux boxes is literally my job, there ain't much Arch can throw at me that'd be a dealbreaker.

45 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

โ†orโ†’
Previous / next file
โ†‘orโ†“
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.