-
-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
All uses of StartLimitInterval in NixOS are wrong #45786
Comments
In [1] the I agree we should use [1] systemd/systemd@6bf0f40 |
@cyounkins Nice find, I agree with the suggestion. We should probably also try and make usage of
|
…on of etwa alte scheiße 😌 (#38) * Copy devShell template work from old darwin branch * Remove `numtide/devshell` (@manveru had an issue with it... don't remember exactly what it was) * Consume `bitte-cli` as an overlay * Fix breakages due to changes in `nixpkgs` API (`stdenv.lib` removal, obsolescence of `goPackagePath` etc) * Add (new?) upstream nixos modules to `disabledModules` so that they don't interfere with ours. This includes `nomad`, `promtail` and `ssm-agent` * Add `isSystemUser = true;` to `ssm-agent` user as it is now required. * Fix deprecation warnings (NixOS/nixpkgs#45786) * Remove derivable arguments from `mkHashiStack` and derive them instead * Use `nixpkgs`/`nixos-2105` branch as baseline * Alias `nix` -> `nixUnstable` in overlay to avoid tripping current `nixos-rebuild` * Use hydra from git as the `nixpkgs` version was having build issues at the time of this writing * Remove cachix as it is no longer used and currently fails to build * Use `NIX_CONFIG` and the newish `extra-` prefix to implement repository-specific binary caches via the `devShell` template.
Issue description
Lots of services (around 20) use
This is wrong, it should be in
unitConfig
, notserviceConfig
, so the setting is ignored.See the
systemd.unit
man page, notsystemd.service
man page, that hasStartLimitIntervalSec
: https://www.freedesktop.org/software/systemd/man/systemd.unit.htmlAlso see https://selivan.github.io/2017/12/30/systemd-serice-always-restart.html
Related #45785
Impact
With commit 74495e4 being current
master
, here's a quick widespreadness analysis of the issue:The text was updated successfully, but these errors were encountered: