My boot time has just slowed down significantly, from around 30 seconds to around 2 minutes.

I have LUKS encryption enabled, and the slowdown is after entering my password, so I’m wondering if it’s to do with the decryption but not sure how to tell for sure.

The only things that have changed are that I had a fairly big Libreoffice update today and have just connected to a new wireless network, although I haven’t mounted any shares yet.

Debian 13, Wayland, GNOME

  • confuser@lemmy.zip
    link
    fedilink
    arrow-up
    2
    ·
    5 hours ago

    I’m not using Debian or gnome but on nixos I updated recently and my boot time got faster by like 5 seconds

  • JadeEast@quokk.au
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    6 hours ago

    Slow boots/shutdowns are a systemdicks feature. You probably need to disable a timer or set it to 1 second or something.

    • abadidonque@feddit.ukOP
      link
      fedilink
      arrow-up
      19
      ·
      11 hours ago

      Thank you. I’ve found the culprit - it’s nmbd.service

      If I uninstall samba the slowdown disappears

      • BCsven@lemmy.ca
        link
        fedilink
        arrow-up
        1
        ·
        1 hour ago

        Did you add an SMB share to your fstab? If so it might be waiting on server share to become visible to finish booting

      • nfms@lemmy.ml
        link
        fedilink
        English
        arrow-up
        9
        ·
        10 hours ago

        Install samba, disable this service and check again. You might want/need samba, this particular service may not be required for samba to operate correctly.

  • Tenebris Nox@feddit.uk
    link
    fedilink
    English
    arrow-up
    4
    ·
    12 hours ago

    Do you have any mounted shares? I found this happened after I set it up to mount a network share after login.

    • abadidonque@feddit.ukOP
      link
      fedilink
      arrow-up
      2
      ·
      11 hours ago

      I’ve connected to the new network but haven’t yet authorised the mounting of any shares.

      Edit: Did you get a permanent slow down when booting, after mounting the share?

      • Carl [he/him]@hexbear.net
        link
        fedilink
        English
        arrow-up
        3
        ·
        10 hours ago

        I have a network share set up, and I’ve found that when it isn’t available Linux slows to a crawl for the entire duration that it spends trying to auto-connect, but when it is available it doesn’t slow me down at all.

        • abadidonque@feddit.ukOP
          link
          fedilink
          arrow-up
          2
          ·
          10 hours ago

          Interesting. I’ve just uninstalled samba and added the share via the nautilus file manager and so far everything seems to be fine again…

  • doubtingtammy@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    11 hours ago

    Do you have auto system updates? Like, if you restart as soon as startup is complete, does it still take a long time to boot?

  • deadcade@lemmy.deadca.de
    link
    fedilink
    English
    arrow-up
    3
    ·
    13 hours ago

    Last time I saw this happening on a laptop, the power brick (sorta) gave out. If it is a laptop, try unplugging it from the wall and booting it on battery alone.

    Be sure to check dmesg for any errors as well, alongside systemd-analyze blame

  • stravanasu@lemmy.ca
    link
    fedilink
    arrow-up
    1
    ·
    11 hours ago

    Check if other things far away from the laptop slow down during boot or not. In that case you might temporarily be getting superpowers during boot. If not, it could be a gravitational problem with the laptop; test if a plumb line gets deflected towards it during boot.

  • sun_is_ra@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    1
    ·
    13 hours ago

    I don’t know your setup in order to judge but maybe there is a service that is trying to connect to the internet or do dns lookup which is taking too long with the new router or even timing out?

    Just to eliminate this possibility try to reboot without internet connection (maybe turn your router off for the test)