• rtxn@lemmy.world
    link
    fedilink
    English
    arrow-up
    18
    arrow-down
    4
    ·
    6 hours ago

    My full-time job literally involves dealing with systemd’s crap. There is a raspberry pi that controls all of our signage. Every time it is powered on, systemd gets stuck because it’s trying to mount two separate partitions to the same mount point, whereupon I have to take a keyboard and a ladder, climb up the ceiling, plug in the keyboard, and press Enter to get it to boot. I’ve tried fixing it, but all I did was break it more.

    • Asetru@feddit.org
      link
      fedilink
      arrow-up
      23
      arrow-down
      1
      ·
      edit-2
      2 hours ago

      systemd gets stuck because it’s trying to mount two separate partitions to the same mount point

      Uh… Sounds like it’s not really systemd’s fault, your setup is just terrible.

      I’ve tried fixing it, but all I did was break it more.

      If you’re unable to fix it, maybe get somebody else? Like, this doesn’t sound like it’s an unfixable issue…

      • jj4211@lemmy.world
        link
        fedilink
        arrow-up
        11
        ·
        3 hours ago

        Uh… Sounds like it’s not really system’s fault, your setup is just terrible.

        I don’t know his specific issue, but the general behavior of systemd going completely nuts when something is a bit ‘off’ in some fashion that is supremely confusing. Sure, there’s a ‘mistake’, but good luck figuring out what that mistake is. It’s just systemd code tends to be awfully picky in obscure ways.

        Then when someone comes along with a change to tolerate or at least provide a more informative error when some “mistake” has been made is frequently met with “no, there’s no sane world where a user should be in that position, so we aren’t going to help them out of that” or “that application does not comply with standard X”, where X is some standard the application developer would have no reason to know exists, and is just something the systemd guys latched onto.

        See the magical privilege escalation where a user beginning with a number got auto-privileges, and Pottering fought fixing it because “usernames should never begin with a number anyway”.

      • BaumGeist
        link
        fedilink
        arrow-up
        3
        ·
        2 hours ago

        I’m gonna laugh if it’s something as simple as a botched fstab config.

        In the past, it’s usually been the case that the more ignorant I am about the computer system, the stronger my opinions are.

        When I first started trying out Linux, I was pissed at it and would regularly rant to anyone who would listen. All because my laptop wouldn’t properly sleep: it would turn off, then in a few minutes come back on; turns out the WiFi card had a power setting that was causing it to wake the computer up from sleep.

        After a year of avoiding the laptop, a friend who was visiting from out of town and uses Arch btw took one look at it, diagnosed and fixed it in minutes. I felt like a jackass for blaming the linux world for intel’s non-free WiFi driver being shit. (in my defense, I had never needed to toggle this setting when the laptop was originally running Windows).

        The worst part is that I’m a sysadmin, diagnosing and fixing computer problems should be my specialty. Instead I failed to put in the minimum amount of effort and just wrote the entire thing off as a lost cause. Easier then questioning my own infallibility, I suppose.

        • interdimensionalmeme
          link
          fedilink
          arrow-up
          1
          ·
          1 hour ago

          A typo in fstab shouldn’t wreck the system. Why is that not resilient ? I added an extra mount point to an empty partition but forgot to actually create it in LVM.

          During boot, device not found and boot halted, on a computer with no monitor/keyboard