Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
* Move to using CPack for repository configuration packages.
This simplifies testing of changes to the configuration itself, as well
as making package builds marginally faster.
* Fix CMake handling for old RPM distros.
* Fix openSUSE detection.
* Fix file installation.
* Override code ownership for packaging/repoconfig/CMakeLists.txt
This way changes won’t bother people who aren’t actually responsible for
it.
* Update CI skip logic to work correctly with new repoconfig setup.
* Add improved status messages.
|
|
|
|
|
|
|
|
|
|
* add netdata journald configuration
* update uninstaller
* put in "/usr/lib/systemd/journald@netdata.conf.d/"
* update uninstaller
* Update CMakeLists.txt
Co-authored-by: Austin S. Hemmelgarn <ahferroin7@gmail.com>
* Update system/systemd/journald@netdata.conf
* fix
* usr/lib
---------
Co-authored-by: Austin S. Hemmelgarn <ahferroin7@gmail.com>
|
|
Related to https://github.com/netdata/netdata/issues/17899.
Netdata docker-compose setup is updated to match one in "Recommended way" section.
|
|
|
|
|
|
* Improve anacron detection in updater.
Instead of only checking the parent and grandparent processes, walk up
the process tree until we either find anacron or find init (or hit the
recursion limit for the function, which is currently 50 iterations).
This is needed because at least on some systems there is more than one
intermediate process between the script and anacron.
* Fix PID selection.
|
|
* Add improved handling for TLS certificates for static builds.
* Properly replace symlinks.
* Fix shellcheck warning.
* Fix option handling.
- Persist certificate handling mode and check URL across reinstalls.
- Properly consume the arguments for the certificate handling options.
* Add five minute hard timeout on certificate check.
* Differentiate specific error results from curl.
* Persist cert handling options regardless of how they’re passed in.
* Escape slashes in REINSTALL_OPTIONS.
* Fix escaping of reinstall options.
|
|
|
|
|
|
* Disable updater jitter when run from anacron.
* Adjust checking to account for busybox ps.
* Check process grandparents as well to handle the use of run-parts.
* Make anacron check more portable.
On Linux when procfs is mounted, use that instead of `ps` because some
older Linux systems apparently don’t support the `ppid` field in `ps`.
Also, allow a variable number of spaces prior to the PID when parsing
`ps` output, as this is less portable than I first realized.
* Address a few additional issues in the detection code.
* Fix additional regexes when parsing ps output.
|
|
|
|
|
|
* Use bundled protobuf for openSUSE packages.
Since their system copy seems to have major issues.
* Force vendored Abseil to be a static build.
Without this, we end up with linking issues if there’s an existing copy
of Abseil on the system.
|
|
|
|
|
|
|
|
* upd_libbpf: Update libbpf
* upd_libbpf: Update legacy eBPF
* upd_libbpf: Update CO-RE
|
|
|
|
|
|
|
|
Semver does not have the concept of a tweak
field. To address this, we just drop the major
field which has not changed in ages. We can
simply ignore/drop old sentry releases if/when
we perform any major releases.
|
|
|
|
* Restructure packaging related files to better reflect usage.
* Remove redundant variable declaration.
* Fix variable name.
|
|
|
|
|
|
|
|
* Check for supplementary components in libexec during runtime checks.
This should catch issues like what the PR it’s part of is fixing.
* Fix building DEB packages with CPack.
This both disables the logs-management plugin in the builds (which has
never actually worked properly in our packages for multiple reasons)
and fixes a botched merge involving the OS detection in the build system.
* Fix up CI checks.
|
|
|
|
|
|
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
|
|
|
|
|
|
End of life upstream as of 2024-05-23.
|
|
(#17732)
If not explicitly set using exported environment variables, the choice
of compilers and compiler targets used by CMake does not get propagated
to sub-porjects created with ExternalProject_Add or
FetchContent_Declare.
In most cases this does not matter, because very few people are building
using non-default compilers for their environment, but it can cause
issues in two specific cases:
- If building for the same system that the build is happening on, but
using a non-default compiler specified using CMake arguments (instead
of via exported environment variables), sub-projects will still use
the default compiler for the system, which may result in linking
errors (or runtime failures even if the link succeeds).
- If cross-compiling and not using the preferred approaches of either a
toolchain file or exported environment variables, sub-projects may not
even build for the correct CPU architecture, causing the build to
fail.
This adds logic to ensure that the compiler and compiler targets get
propagated correctly even if they are just specified on the command
line, thus avoiding the above two possibilities.
|
|
|
|
* Define a single variable to identify OS.
* Remove comments.
* Move version-detection logic to separate module.
* s/VERSION/NETDATA_VERSION/g
* Hard-code NETDATA_VERSION wherever possible.
Now `program_version` is only used for getting or
setting the host's field.
* Update version variables
* Add license, fix variable name and provide better message.
|
|
|
|
* Clean up DEB package dependencies.
- dpkg is an implicit dependency for all DEB packages by virtue of them
being DEB packages, and we do not support any platforms that have an
old enough version to be an issue, so we don’t need a versioned
dependency on it either, so simply drop the explicit dependency on
dpkg.
- We also don’t support any platforms that ship an old enough version of
libcap2-bin to cause us problems, so remove the version constraint on
that as well.
- The lsb-base predepend is only needed if the user is using a
non-systemd init system. We don’t fully support this setup with our
native packages, and it’s a non-default configuration for Debian and
completely unsupported on Ubuntu, so it’s safe to assume that the
user knows what they are doing if they need it and not explicitly
require this.
- The apps plugin was missed in #17584, so fix it’s conflicts line here.
- The chartsd plugin _requires_ bash to function correctly, so actually
depend on it instead of recommending it (this will be a no-op on a
vast majority of systems, but is still useful insurance against users
doing stupid things).
- The CUPS and FreeIPMI plugins both pull in all the things they
actually need via automatic dependency generation, so there is no
reason for us to pull in full installs of CUPS or FreeIPMI as
dependencies.
- Everything in the Go plugin that was using `sudo` has been converted
to use `ndsudo` instead, so we don’t need to ask for `sudo` at all for
it anymore.
- The Python plguin _requires_ Python to function correctly, so actually
depend on it instead of recommending it.
* Fix typo.
|
|
|
|
|
|
|
|
|
|
|