nottelling

joined 1 year ago
[–] nottelling@lemmy.world 1 points 2 months ago* (last edited 2 months ago) (2 children)

You don't. That's not what caddy is. Use a bastion for ssh.

Edit: link https://www.redhat.com/sysadmin/ssh-proxy-bastion-proxyjump

[–] nottelling@lemmy.world 2 points 2 months ago

The answer to your overarching question is not "common maintenance procedures", but "change management processes"

When things change, things can break. Immutable OSes and declarative configuration notwithstanding.

OS and Configuration drift only actually matter if you've got a documented baseline. That's what your declaratives can solve. However they don't help when you're tinkering in a home server and drifting your declaratives.

I’m pretty certain every service I want to run has a docker image already, so does it matter?

This right here is the attitude that's going to undermine everything you're asking. There's nothing about containers that is inherently "safer" than running native OS packages or even building your own. Containerization is about scalability and repeatability, not availability or reliability. It's still up to you to monitor changelogs and determine exactly what is going to break when you pull the latest docker image. That's no different than a native package.

[–] nottelling@lemmy.world -1 points 3 months ago

Just cause you've never seen them doesn't make it not true.

Try using quadlet and a .container file on current Debian stable. It doesn't work. Architecture changed, quadlet is now recommended.

Try setting device permissions in the container after updating to Debian testing. Also doesn't work the same way. Architecture changed.

Redhat hasn't ruined it yet, but Ansible should provide a pretty good idea of the potential trajectory.

[–] nottelling@lemmy.world 0 points 3 months ago (2 children)

It isn't. It's architecture changes pretty significantly with each version, which is annoying when you need it to be stable. It's also dominated by Redhat, which is a legit concern since they'll likely start paywalling capabilities eventually.

[–] nottelling@lemmy.world 2 points 3 months ago

Every complaint here is PEBKAC.

It's a legit argument that Docker has a stable architecture while podman is still evolving, but that's how software do. I haven't seen anything that isn't backward compatible, or very strongly deprecated with notice.

Complaining about selinux in 2024? Setenforce 0, audit2allow, and get on with it.

Docker doing that while selinux is enforcing is an actual bad thing that you don't want.

[–] nottelling@lemmy.world 53 points 5 months ago (12 children)

So.... you're afraid of the command that does the thing you're trying to do?

[–] nottelling@lemmy.world 9 points 8 months ago* (last edited 8 months ago)

Your edit is a bad take. It doesn't matter if he's also selling shirts with MLK and Ghandi quotes. Nazi shit is Nazi shit. Doing Nazi shit, no matter what his own stupid rationalization, makes literally everything else he does irrelevant.

[–] nottelling@lemmy.world 10 points 8 months ago

I'm surprised no one's mentioned the security implications. Mounting with nosuid and nodev options can undermine rootkit or privileged escalation exploits.

[–] nottelling@lemmy.world 11 points 8 months ago

Flatpak is itself a file manager.

That duplicate of your folder in /run is due to filesystem links (or more likely a fuse mount, I've never actually looked into how flatpak works). But either way, they aren't copies of the data.

[–] nottelling@lemmy.world 26 points 8 months ago (4 children)

Don't "declutter" manually. Use your package manager.

[–] nottelling@lemmy.world 14 points 8 months ago (1 children)

You're going to want to look up things like symlinks, hard links, fuse filesystems, and bind mounts among other concepts. Your "whole directory" and other duplicates are artifacts of how the filesystem and process management works, and simply running fsearch or find over them is going to be confusing if you don't know what you're looking at.

One Unix concept that carries over to Linux is that everything is a file. Your shared memory space, process data, device driver interfaces, etc, all of it is accessible somewhere in the same virtual filesystem tree as the actual files.

Because of this, there's very little reason to have the whole filesystem indexed from root. If you're worried about space usage, you want to work with packages through the package manager. If you're worried about system integrity, you'll want package validators.

[–] nottelling@lemmy.world 11 points 8 months ago

The above is accurate, and can be considered accurate for any directory below or at well.

Per /run, it's also mounted in memory, so trying to "declutter" it won't get you anywhere and things will return on reboot.

 

Edit: ideally wifi cameras that I can solar power.

Looking to replace my Arlo cameras with something self-hostable. Arlo lets you store on a USB stick, but there's no way to get out from under their cloud, which gets more expensive all the time.

view more: next ›