I can't understand why the shitty python sickness is allowed to exist in a systems context. Now that Ubuntu 20.04 uses netplan I have to check the number of spaces on each line before relying on a network config. Yaml sucks. A space to many or to few brings down your server networking. Throw this shitty lang out!

  • 3
    I like it, in editors that make it easy to edit :)
  • 8
    I second this, indentation based syntax is horrible.

    Just give me my { }
  • 5
    And being so picky about white space this shitty solution lets a key like dhcp4 have valid values like true or yes, false or no. Sure, everything goes. But spacing, that's critical. I vote for i having maybe or perhaps as well.
  • 4
    And now if you have recursive schemas? Try to understand which object is a child of which! Or try to copy-paste some syntax in the right place! YAML is a fucking mess and we should collectively abandon it ASAP.
  • 4
    Luckily there is
    sudo netplan try
    You can just test your white space before applying it. Hell yes, I did. All I got was a blank line in my terminal and I was at once locked out of my server, had to resort to a real terminal.
    That's how this rant started out.
  • 1
    Unpopular opinion - I like YAML... but only as long as it doesn't touch my system configs... I don't mind it when fiddling with docker or some config for an application, basically anything non-critical that won't make me loose access to the system in case of a typo. As mentioned above - Ubuntu in all their wisdom decided to switch to netplan for no God damn reason (what was wrong with NetworkManager or nmcli? Too RHEL hence had to be thrown out asap? Cool, then fully commit and make Ubuntu a clown OS it deserves to be).
  • 2
    @theKarlisK if only JSON had proper comments.... :(
  • 1
    @theKarlisK I am a Ubuntu fan boy since forever. But this might just change my mind.
  • 2
    @Ubbe for me it's a love-hate relationship with Ubuntu - I love it for how quickly you can get up and running with Docker on it, I love the HW support it has, I love available software range, but I hate Snap, I hate the default GNOME DE it comes with (all the Unity hard-coded tweaks and adjustments that you can't get rid of completely because it either breaks stuff or comes back with the next update) - the best solution is not to use GNOME or Ubuntu if you want to customize it, I hate their way of upgrading system - stuff always breaks.
  • 1
    @theKarlisK The netplan is (at least Canonical thinks so) easier to generate e.g. from cloud-init.
  • 1
    @theKarlisK hmmm rolling release ftw?
  • 0
    @sbiewald yeah, I can see that much but I find it quite annoying how RHEL decided to deprecate ifup/ifdown skripts completely starting with the release 8, yet Ubuntu went "watch dis" and snorted it all up into 'netplan'.
  • 1
    @LotsOfCaffeine Ubuntu 20.04 is the reason why I switched to OpenSUSE Tumbleweed.
  • 1
    @theKarlisK nice, I actually wanted to check out opensuse after I learned that it has a rolling release edition.

    But I think my next install will also be arch-based, probably Artix to avoid systemd.
  • 1
    Ifup still works.

  • 1
    @LotsOfCaffeine I used Fedora 27 up until Fedora 30, then with 31 I started having problems with WiFi/BT adapter and with 32 I can't keep the power consumption down as well as Nvidia/Intel hybrid graphics to behave - the WiFi/BT adapter problem is Realtek kernel module fault and GPU problems are 50:50 driver and Wayland updates fault.

    At home, however, I'm sporting Manjaro KDE on my desktop. Used Arch with Budgie but my WiFi adapter was acting a bit wonky on vanilla Arch, had some weird performance problems periodically (never found the cause, but I'm guessing I needed some of the Sysctl tweaks or modprobe module options added during boot like the ones Manjaro adds thanks to MHWD). I checked out OpenSUSE by complete chance - I was using Ubuntu 19.04 for a while but apart from Docker and Libvirt, which worked like champs, everything else felt like a chore ... I like openSUSE for how much RHEL/CentOS/Fedora like it is. I don't quite like their package/software management approach tho.
Add Comment