this post was submitted on 04 Oct 2023
717 points (95.2% liked)

linuxmemes

21355 readers
1511 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!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 1 year ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] AVincentInSpace@pawb.social 48 points 1 year ago* (last edited 1 year ago) (5 children)

    ya see, when i ssh into a server and i run some commands, sometimes i mess up, see, and i wanna reboot to get the system back to a known state, right

    and even if the system is in an unknown or invalid state, right,

    i don't wanna wait half a bloody hour for systemd to get tired of waiting for 1m30s countdowns and actually bounce the damn machine, if it bounces at all

    and i can't just hold the power button, see, because i'm 2000 miles away from the bloody box

    (I did not make that number up, by the way. I once has a hard drive get hot removed while it was mounted, couldn't umount it so I had to reboot, and it confused systemd so bad it took 27 minutes to shut down)

    EDIT: aw come on, are you really gonna downvote without leaving a reply?

    [–] seaQueue@lemmy.world 24 points 1 year ago* (last edited 1 year ago) (1 children)

    Check out systemd's userspace reboot feature, they implemented it to avoid long reboot times on server hardware.

    https://www.phoronix.com/news/systemd-254-Released

    [–] taladar@sh.itjust.works 1 points 1 year ago (1 children)

    That version is too new to be in any stable server distro yet.

    [–] seaQueue@lemmy.world 6 points 1 year ago

    Ah, fair enough. I've used it on my Arch boxes since shortly after release.

    [–] Sysosmaster@infosec.pub 24 points 1 year ago

    how is this any diffrent from SysV scripts hanging and preventing a reboot that way....

    you are blaming SystemD for an issue not part of SystemD, but a generic computing issue...

    and yes, you can still just hard reboot your system with SystemD as @elscallr@lemmy.world has point out....

    [–] elscallr@lemmy.world 10 points 1 year ago

    Raising Skinny Elephants Is Utterly Boring.

    It can be done remotely, even over SSH by writing to /proc/sysrq-trigger

    [–] whats_all_this_then@lemmy.world 6 points 1 year ago (3 children)

    I was wondering why my fedora install took ages to shutdown sometimes and the little googling I did got me nothing. Do i hate systemd now?

    [–] orangeboats@lemmy.world 5 points 1 year ago* (last edited 1 year ago)

    Do I hate systemd now?

    No, because that's not specific to systemd.

    I can quite clearly remember the long shutdown times back when Ubuntu was still using Upstart.

    Generally speaking, long shutdown times are an indication of a system issue (e.g. HDD going bad or slow network) or just scripts being written poorly, and could be worked around by changing the timeout value. Systemd defaults to 90 seconds, but you can change that to 30 secs or lower.

    [–] rivalary@lemmy.ca 4 points 1 year ago

    Heads up that you can hit [escape] key while booting or shutting down in order to see the console and tell what the computer is actually doing.

    [–] caseyweederman@lemmy.ca 3 points 1 year ago

    I mean. You can fix those with a bit of effort.

    [–] DAMunzy@lemmy.dbzer0.com 0 points 1 year ago

    I want init 6 back! It's a reflex to type that.