Unit ntp.service not loaded

  • Hi,

    I see this when updating OMV.

    Is there a way to fix it ? Tanks


    Code
    Failed to stop ntp.service: Unit ntp.service not loaded.
    Unit ntp.service does not exist, proceeding anyway.
    Created symlink /etc/systemd/system/ntp.service → /dev/null.
    Failed to stop systemd-timesyncd.service: Unit systemd-timesyncd.service not loaded.
    Unit systemd-timesyncd.service does not exist, proceeding anyway.
    Created symlink /etc/systemd/system/systemd-timesyncd.service → /dev/null.
  • votdev

    Hat das Label gelöst hinzugefügt.
  • votdev

    Hat das Label OMV 6.x (RC1) hinzugefügt.
    • Offizieller Beitrag

    the ouput is no error, it simply informs you that the ntp and systemd-timesyncd services are not available on your system

    Would it make sense to check to see if they exist before trying to disable? This might avoid countless posts about an "error" like the saltstack patch threads.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    Would it make sense to check to see if they exist before trying to disable?

    Uhhhmmm, really, ... no.

    Code
    Failed to stop ntp.service: Unit ntp.service not loaded.
    Unit ntp.service does not exist, proceeding anyway.

    I mean, the first line is talking about an error, but the second line will explain why it happens.


    If only users would read the error messages and warnings in the UI that carefully.... I really do not want to take care about everything that could potentially make users worry. That's crazy and impossible.


    I really do not want to make things more complicated that necessary.

    Changing a nice one-liner like

    Code
    deb-systemd-helper disable ntp.service || :

    to something else will really hurt me.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!