ftbd

joined 2 years ago
[–] ftbd@feddit.org 8 points 5 days ago

Klar, warum sollte ich auch wissen wollen wie groß ein Möbelstück ist

[–] ftbd@feddit.org 4 points 6 days ago (1 children)

How do they ask permission without filming them first though? With such a device, I'd assume it is always recording and sending data to Meta servers.

[–] ftbd@feddit.org 5 points 1 week ago (1 children)

Sometimes when I buy things on ebay, they are shipped by Amazon anyway. I wonder if there's a way to avoid this?

[–] ftbd@feddit.org 7 points 1 week ago

Politik von konservativen für konservative

[–] ftbd@feddit.org 5 points 1 week ago

Wenn wir die öffentlichen Mittel, die bisher an Microsoft verschwendet werden nutzen würden, um Sicherheitsforscher:innen und kernel devs zu beschäftigen sollte sich das Problem doch lösen lassen. Das schafft Arbeitsplätze, Kompetenz hier vor Ort, lässt die Bürger:innen direkt von den Steuerausgaben profitieren und macht Deutschland/Europa zu einem echten Software- und IT-hub.

Mit der ~~CD~~U wird sowas natürlich nicht passieren, aber man wird ja wohl noch träumen dürfen.

[–] ftbd@feddit.org 2 points 1 week ago (2 children)

A docker container is not a whole separate Linux server, it uses the kernel running on the host

[–] ftbd@feddit.org 10 points 2 weeks ago

Bilder die man hören kann

[–] ftbd@feddit.org -1 points 2 weeks ago (1 children)

Idk why you're getting downvoted, you speak the truth

[–] ftbd@feddit.org 10 points 2 weeks ago

No, it's not. We all know that we cannot afford to put any more CO2 into the atmosphere. So reasonably, any new CO2 that is emitted would have to be (permanently) removed via carbon capture. That would be the true cost of emitting CO2, but instead, these effects are externalized to global society as a whole, making gas at the pump artificially cheap by cheating everyone else.

[–] ftbd@feddit.org 122 points 2 weeks ago* (last edited 2 weeks ago) (22 children)

Awww, did someone get addicted to unsustainable energy sources that are artificially cheap due to externalized costs?

Edit: For context, the highest price shown in this picture is still 32% cheaper than gas was in Germany BEFORE your genius president decided to start a war, and around 42% cheaper than it is now. And seeing as we're still burning fossils like there's no tomorrow, it is apparently not nearly expensive enough yet.

[–] ftbd@feddit.org 1 points 2 weeks ago (1 children)

Bin mal gespannt, was der Spaß dann pro kg CO2 kostet. Nach Marktwirtschaft-Doktrin sollte das dann doch der Betrag sein den es kostet, CO2 zu emittieren, oder? Oder??

[–] ftbd@feddit.org 3 points 2 weeks ago

Man könnte ja naiverweise annehmen, dass Parteien die sich "law and order" aufs Banner schreiben sich dann auch für die Einhaltung jeglicher Gesetze stark machen, also nach außen z.B. illegale Angriffskriege aufs schärfste kritisieren und entsprechende Konsequenzen ziehen, egal gegen wen sich diese Kritik richtet. Im inneren könnte man vermuten dass die Einhaltung europäischen Rechts, die Verpflichtungen die Deutschland zur Dekarbonisierung hat, und die tatsächliche Durchsetzung des Grundgesetzes (insbesondere des Diskriminierungsverbotes) oberste Priorität haben.

Aber von populistischen Parteien wie der ~~CD~~U sollte man natürlich nicht erwarten, dass auch drin ist was auf der Verpackung steht.

 

Hi everyone!

I'm in the process of finally doing containers right in my NixOS installation. This is my 'wishlist':

  • podman containers should be run by users with minimal permissions
  • separate user per container
  • containers managed by systemd services for easier management

My current work-in-progress setup looks like this:

For each service (called $name), I have:

  • a user and corresponding group (referred to as $uid in the following)
  • a directory /srv/$name owned by $uid, in which mounted volumes are located

My containers are declared like this:

virtualisation.oci-containers.containers = {
    $name = {
        image = ...;
        ports = [ ... ];
        volumes = [
            "/srv/${name}/config:/config"
            ...
        ];
        user = $uid:$gid;
        extraOptions = [
            "--security-opt=no-new-privileges:true"
        ];
    };
};

Now for the parts I don't fully understand yet:

  • some images allow setting environment.PUID to specify a user. Does setting this option (and not setting user=$uid in the container declaration itself) mean that the container will be run as root, and the program inside will merely use PUID when e.g. creating files? This would still allow a malicious container to run commands as root on the host, right?

  • virtualisation.oci-containers.containers creates a systemd service. Since this is not a user-service for my user $uid, I need sudo to start/stop the container. Does that mean that the systemd service is run with root permissions, but it executes the command to spawn the container as $uid? If whatever is running inside the container was malicious, is there a functional difference between the container being started 'by root as $uid' and it being started by me (after logging in as $uid)?

  • Is it feasible to make these systemd services user-services owned by $uid instead?

  • Are there further hardening steps I forgot about?

Thanks for your input!

view more: next ›