this post was submitted on 23 Sep 2024
771 points (95.5% liked)

linuxmemes

21263 readers
1103 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.

  • Please report posts and comments that break these rules!

    founded 1 year ago
    MODERATORS
    771
    submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] [email protected] 3 points 1 month ago (1 children)

    Curious, how does changing one of them to a different mount point make things worse?

    [–] [email protected] 13 points 1 month ago (2 children)

    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.

    [–] [email protected] 2 points 1 month ago

    Does indeed sound likely to be an fstab issue, unless system services are being used in a really weird way.

    [–] [email protected] 1 points 1 month ago (1 children)

    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

    [–] [email protected] 9 points 1 month ago (1 children)

    It will cause a critical error during boot if the device isn't given the nofail mount option, which is not included in the defaults option, and then fails to mount. For more details, look in the fstab(5) man page, and for even more detail, the mount(8) man page.

    Found that out for myself when not having my external harddrive enclosure turned on with a formatted drive in it caused the pc to boot into recovery mode (it was not the primary drive). I had just copy-pasted the options from my root partition, thinking I could take the shortcut instead of reading documentation.

    There's probably other ways that a borked fstab can cause a fail to boot, but that's just the one I know of from experience.

    [–] [email protected] 2 points 1 month ago (1 children)

    Cool ! The default should smarter than bork by default.

    [–] [email protected] 5 points 1 month ago* (last edited 1 month ago) (1 children)

    Its a 'failsafe' , like if part of the system depends on that drive mounting then if it fails then don't continue. Not the expected default, but probably made sense at some point. Like if brakes are broken don't allow starting truck, type failsafe.

    [–] [email protected] 4 points 1 month ago (3 children)

    Yea like the default is smart? How is it supposed to know if that's critical or not at that point? The alternative is for it to silently fail and wait for something else to break instead of failing gracefully? I feel like I'm growing more and more petty and matching the language of systemd haters but like just think about it for a few minutes????

    [–] [email protected] 2 points 1 month ago (1 children)

    the default is smart

    Looking at the systems that are supported, it makes the greatest sense to have the safest failure mode as default. If fault tolerance is available, that can be handled in the entry but, it makes sense but to assume. Having that capability built into the default adds more complexity and reduces support for systems that are not tolerant of a missing mount.

    [–] [email protected] 3 points 1 month ago

    Sorry if it looked otherwise, I was agreeing to BCsven. I agree with you

    [–] [email protected] 2 points 1 month ago

    The system failed for no good reason, failing is exactly what it should never ever do. If it had just continued, everything would have been fine.

    [–] [email protected] 1 points 1 month ago* (last edited 1 month ago)

    Edit: just saw your other comment, so this may not apply to you now....Not that the default is smart, but the default has been set to fail a boot if parts are missing. Imagine a rocket launch system check, is temperature system online, no, fail and abort. While as users -- for convenience--we want the system to boot even though a drive went offline, that may not be best default for induatrial applications. Or where another system relylies on first one to be up and coherent. So we have to use the nofail option, to contine the boot on missing drive.