Installing ntp package removes openmediavault

  • Having recently upgraded to 5 and wanting to run ntpd again, I installed the "ntp" package and carelessly let it proceed without noticing that installing ntp would remove openmediavault. I restored from backup as it seemed the easiest way to resolve the situation.


    This issue has been encountered by others:

    RE: Always read everything - it's essential

    https://www.reddit.com/r/OpenM…dentally_uninstalled_omv/


    Minimally there should be some warning in the documentation to not install ntp, as it will remove openmediavault.

    I searched the github issues and did not find anything related to this. Should I create a github issue for this?


    apt-get dry-run output for reference:


  • Minimally there should be some warning in the documentation to not install ntp, as it will remove openmediavault.

    I searched the github issues and did not find anything related to this. Should I create a github issue for this?

    Why does it need to be documented? You can do LOTS of things from the command line that will break OMV. apt itself told you it was going to uninstall OMV when you try to install ntp. OMV uses chrony. You shouldn't need ntp.

    omv 6.0.42-2 Shaitan | 64 bit | 5.19 proxmox kernel | plugins :: omvextrasorg 6.1.1 | kvm 6.1.23 | mergerfs 6.3.3 | zfs 6.0.11
    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.
    Please don't PM for support... Too many PMs!

  • We can and should not document everything because this would mean that such information must be maintained, otherwise the information will become outdated very fast. I don't want to do that. You?


    Finally apt will warn you about the consequences. Such warnings should not be ignored. A documentation will not prevent users from doing bad things.

  • With 4 and prior, I had run ntpd on OMV for years. I ran it on my OMV machine to allow all my other devices to get their time from it since it is the only machine I have running 24x7. It was never a problem and it worked well.


    I upgrade from 4 to 5 and see that the upgrade has removed ntpd. I figure the install has removed it to go back to the OMV default. The OMV installs sometimes do things like this. Should I have read the apt output carefully before proceeding? Yes, in fact I said so in my original post. So yes, it is my fault, but my experience with ntpd working on OMV for years had me assuming it would continue to work. The behavior has changed.


    All I was asking for was a short statement that contains "ntp" or "ntpd" in the docs, maybe release notes, that would help others avoid this, for example "OMV uses chrony for time synchronization. ntp/ntpd is not supported and should not be installed." Yes, you'd have to maintain that one line in the docs and yes it would need to be removed if the chrony to ntp switch were ever undone. I'd be happy to contribute a pull request on the docs (or however the docs are changed) however since that's been pre-rejected, I'll not spend that time.


    Thanks for your thoughtful responses to my request.

  • Having recently upgraded to 5 and wanting to run ntpd again, I installed the "ntp" package and carelessly let it proceed without noticing that installing ntp would remove openmediavault....


    Minimally there should be some warning in the documentation to not install ntp, as it will remove openmediavault.

    This just came up AGAIN in another forum. I hadn't seen this thread but the duality of the first post gave me a chuckle. Someone "carelessly" (ie, didn't read the output) lets a process run that clearly states it is going to remove a package... but they would read documentation indicating this would happen if they installed ntp

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!