• 0 Posts
  • 25 Comments
Joined 1 year ago
cake
Cake day: September 8th, 2023

help-circle



  • My process for project identification has been:

    1. Be annoyed at ads/payment structure/whatever in some app or service
    2. Search https://alternativeto.net/ for alternatives to the thing I’m annoyed with (filtering by Open Source and my devices)
    3. Try out 1-2 of the top alternatives
    4. Settle on what service I want to run
    5. Install, route the subdomain, etc. if necessary (otherwise just access via my tailnet)

    As for how to deploy, docker / podman are great! With podman I’d recommend looking into their systemd integrations too. Incus is a neat LXC option too, meant more for longer term services (less micro service focused, good and bad).

    Hope this helps!


  • Haha I’ve had a journey to get here, all because I have a 12th gen Framework.

    Initially I got Debian Sid working but ran into power management issues with the module system. I switched over to arch and loved that for a while but frankly I was too careless and kept breaking my system. The way I use Arch it wasn’t a stable daily driver. Then I switched over to NixOS and loved it, but I bricked 3 of 4 ports with a firmware update (again me being careless). Graciously, Framework helped me fix the issue.

    After all of that I decided to go with a distro that is officially supported by Framework. Between Ubuntu and Fedora I choose Fedora since they don’t have ads for Ubuntu Pro :) I also like SELinux by default and wanted to broaden my horizons


  • I tried Debian + Nix once upon a time too. Honestly flatpaks and containers did everything I needed and more, and every dev team I’ve been on already has familiarity with the container workflow.

    I’m a huge fan of Debian and Nix, don’t get me wrong, but it was shy of perfect for my use case. Glad it works for you though! I’ve been using Fedora + Nix home-manager with flakes for almost two years and I don’t think I’ll ever go back









  • It’s definitely a skill that I haven’t mastered either! That being said I think it’s one of the pillars of being a bonafide “super user” and I’d like to set there one day :)

    Maybe I’ll take inspiration from this post and write something up about what I learn in the future about manpages.

    Cheers and happy tinkering!


  • Thanks for putting this out for public benefit! I haven’t messed around with MacOS much but the things you’ve mentioned are nice to know.

    I believe that’s a shell/bash standard variable, but I need to learn where it came from and how it works

    You may know this already, but I’ve found the man (as in manual) utility to be one of the most useful things in GNU/Linux user space. I don’t have much insight into ‘${file##*/}’ off the cuff, but I can tell you there’s manual entries for file, sh, and bash that may help you track it down.

    # simply type man [some-command]
    man file
    man sh
    man bash
    man man # very useful for getting started!
    

    Manpages are local to your system so they’re extremely fast to pull up and searchable!

    Here’s some online info on man if you’re interested:

    (30 sec read) Unix stack exchange tips & tricks

    (5 min read) It’s FOSS writeup



  • Ah! I think I see the confusion.

    # /etc/subuid
    privatenoob:100000:65536
    

    This denotes the range of subuids that are available to your user.

    -u 100000:65536

    This part specifies two things ([UID]:[GID]) even though it’s the same syntax as the earlier part that specifies one range :)

    I suspect what you will want to do is use the following:

    # change ownership of the directory to the UID:GID that matches something in your subuid:subgid range, in this case 10000:10000
    podman unshare chown -R 100000:10000 /home/privatenoob/media/storage1/Filmek/
    

    Then we can specify that the user in the container can match the user (UID) we specified above:

    ExecStart=podman run --name=radarr -u 10000:10000 -p 7878:7878 -v radarr-config:/config -v /home/privatenoob/media/storage1/Filmek:/data --restart unless-stopped lscr.io/linuxserver/radarr:latest
    

    As a note, if you copy/pasted that ExecStart line, you might have gotten the invalid argument error because you entered 100000 (outside of your subuid range, i.e. >65536) instead of 10000.

    There’s a nice guide that gives a great walkthrough. I’ll dig through my bookmarks and add it here when I get some time.

    Hope this helps!


  • There are a few ways around it. The simplest is to add the --privileged option.

    The more secure method with podman is by specifying a user (ex -u 10001:10001) from your extended subuid:subgid range after your full and proper setup of rootless podman :-)

    Then instead of chown you’ll want to use the oddly named podman unshare tool to automatically set the permissions of the host directory. You would then want to start your service with systemctl --user instead of sudo systemctl



  • Socialism has to to with collective ownership of the means of production and distribution of goods, not cost to the consumer. Goods and services may typically be free at the time of use (funded by taxes ahead of time) but that does NOT mean free as in without cost.

    Again, like most of the other people in this thread, you’re confusing free as in freedom (software movement), and free as in without cost.

    I agree that socialism is not the scary term that staunch capitalists seem to believe that it is. However, perpetuating misunderstandings about what socialism means will not help find a healthy balance.