Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zabbix:1.8 -> 4.0 | remove old packages #63581

Merged
merged 1 commit into from
Jul 11, 2019

Conversation

PsyanticY
Copy link
Contributor

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Assured whether relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@ofborg ofborg bot added 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` labels Jun 20, 2019
@PsyanticY
Copy link
Contributor Author

#40015

@ofborg ofborg bot added 8.has: clean-up 11.by: package-maintainer This PR was created by the maintainer of the package it changes 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10 labels Jun 20, 2019
@PsyanticY
Copy link
Contributor Author

@matthewbauer can you please have a look

@risicle
Copy link
Contributor

risicle commented Jun 25, 2019

nox-review builds for me, non-nixos linux x86_64

@AmineChikhaoui
Copy link
Member

@GrahamcOfBorg build zabbix

@matthewbauer
Copy link
Member

@GrahamcOfBorg build zabbix

@matthewbauer matthewbauer merged commit 99c04c7 into NixOS:master Jul 11, 2019
@PsyanticY
Copy link
Contributor Author

@matthewbauer thanks

@aanderse
Copy link
Member

aanderse commented Jul 11, 2019

@PsyanticY @matthewbauer This breaks zabbix for anyone who was running it on NixOS as it entirely removes postgresql support. Please see #63844 for a more thorough implementation which doesn't irreparable break existing installs. Also note that you dropped versions of zabbix which are supported upstream while keeping versions of zabbix which are not.

@PsyanticY
Copy link
Contributor Author

@aanderse your right about the possibility that dropping postgresql can break for people using it but there was no one using it since the module itself was broke ( notice the extra zabbix_server in the execstart in the systemd unit : serviceConfig.ExecStart = "@${pkgs.zabbix.server}/sbin/zabbix_server zabbix_server --config ${configFile}";) . for the 2.2 and previous version there end of support is august 31 (check this) . I did remove them since many people tried to upgrade zabbix but they got annoyed and dropped it since they needed to manage many packages, Also as a rule of thumb i think in nixpkgs we tend to only keep the latest version on any packages. For your PR i think it is way better then this one since it introduces many more functionalities and options

@aanderse
Copy link
Member

That isn't broke. That is a systemd feature.

@aanderse
Copy link
Member

aanderse commented Jul 12, 2019

Sorry I think I was confused and thought you dropped 3.0 which is supported, but didn't drop 3.4 which is not supported.

Also while some people argue only keeping latest version is the policy of NixOS this is not the case. NixOS has a flexible policy about keeping LTS releases. See php and postgtesql as examples where we provide our users long term stability, which is very important from my perspective.

@PsyanticY PsyanticY deleted the zabbix-4.0 branch July 12, 2019 10:07
@aanderse
Copy link
Member

@PsyanticY To follow up why this service was not broken I'll quote https://www.freedesktop.org/software/systemd/man/systemd.service.html:

If the executable path is prefixed with "@", the second specified token will be passed as "argv[0]" to the executed process (instead of the actual filename), followed by the further arguments specified.

@PsyanticY
Copy link
Contributor Author

@aanderse thanks for clearing that out i didn't knew about that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: clean-up 8.has: module (update) This PR changes an existing module in `nixos/` 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10 11.by: package-maintainer This PR was created by the maintainer of the package it changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants