summaryrefslogtreecommitdiffstats
path: root/packaging
AgeCommit message (Collapse)Author
2022-10-31feat(packaging): add CAP_NET_RAW to go.d.plugin (#13909)Ilya Mashchenko
2022-10-31bump go.d.plugin to v0.42.0 (#13913)Ilya Mashchenko
2022-10-31Prompt users about updates/claiming on unknown install types. (#13890)Austin S. Hemmelgarn
2022-10-30[ci skip] Update changelog and version for nightly build: v1.36.0-290-nightly.netdatabot
2022-10-29[ci skip] Update changelog and version for nightly build: v1.36.0-288-nightly.netdatabot
2022-10-28[ci skip] Update changelog and version for nightly build: v1.36.0-284-nightly.netdatabot
2022-10-27bump go.d.plugin v0.41.2 (#13903)Ilya Mashchenko
2022-10-27Record installation command in telemetry events. (#13892)Austin S. Hemmelgarn
This way we can differentiate what type of thing users were trying to do for a given run of the kickstart script.
2022-10-27[ci skip] Update changelog and version for nightly build: v1.36.0-280-nightly.netdatabot
2022-10-26Fix duplicate error code in kickstart.sh. (#13887)Austin S. Hemmelgarn
* Fix duplicate error code in kickstart.sh. * Fix error codes.
2022-10-26[ci skip] Update changelog and version for nightly build: v1.36.0-273-nightly.netdatabot
2022-10-25[ci skip] Update changelog and version for nightly build: v1.36.0-264-nightly.netdatabot
2022-10-24bump go.d.plugin v0.41.1 (#13874)Ilya Mashchenko
2022-10-24app to api netdata cloud (#13856)Timotej S
2022-10-24[ci skip] Update changelog and version for nightly build: v1.36.0-257-nightly.netdatabot
2022-10-23[ci skip] Update changelog and version for nightly build: v1.36.0-254-nightly.netdatabot
2022-10-22[ci skip] Update changelog and version for nightly build: v1.36.0-252-nightly.netdatabot
2022-10-21bump go.d.plugin to v0.41.0 (#13861)Ilya Mashchenko
2022-10-21[ci skip] Update changelog and version for nightly build: v1.36.0-248-nightly.netdatabot
2022-10-20[ci skip] Update changelog and version for nightly build: v1.36.0-246-nightly.netdatabot
2022-10-19Properly propagate errors from installer/updater to kickstart script. (#13802)Austin S. Hemmelgarn
This should result in errors in these scripts being properly deaggregated, instead of being always reported as ‘generic’ failures, thus simplifying diagnosis of end-user problems with the installation or update process.
2022-10-18[ci skip] Update changelog and version for nightly build: v1.36.0-238-nightly.netdatabot
2022-10-17Further improvements to the new service installation code. (#13774)Austin S. Hemmelgarn
* Improve OpenRC detection. - Check for rc-update command, without that we don’t work so it’s ‘not OpenRC’. - Sort checks so that less expensive ones run first. - If we see `/etc/init.d/local` and it’s got a shebang line with `openrc-run`, then assume we’re dealing with OpenRC. This file gets installed by default as part of OpenRC itself. * Fix runit detection. - `/lib/rc/sv.d` is only used on some runit systems (notably Artix), not all, so don’t bail if we can’t find it. - Check not just for a `runit` command, but also `runsvdir`. * Add support for systemd in WSL. THis just involves running the normal systemd check if we detected WSL, and updating the service manager type appropriately. * Fix tmpdir handling for service installation. * Fix invocation of service install script. * Add fallback to detected but not running service managers. Currently supported for systemd and OpenRC. If no other service manager is detected, but we detected that either systemd or OpenRC is present but not running, fall back to them instead of outright failing. This does not allow starting/stopping the agent using the service manager, but _does_ happen to work for installing the service properly on an offline system. * Fix service-type fallback handling. If we see systemd, even if it not booted into it, we should not install init.d or LSB init scripts. * Fix recursion bug in initd install type checking. * Skip initd if OpenRC is found. Just like systemd, any OpenRC on the system automatically means that it’s _not_ a classic init.d setup. * Fall back to init.d in WSL in some cases. If there is no _usable_ systemd, and the service manager otherwise looks like an init.d setup, fall back to an init.d setup. * Support LSB style init scripts in WSL as well. Also consolidate and update the error message that gets printed when running under WSL. * Fix typo in LSB init script handling code. * Fix command handling for LSB and initd service management. Instead of using `service`, just run the init scripts directly. This way we avoid any bugs in `service` that would cause it to pretend that systemd is in use even though it isn’t. * Fix botched partial commit. * Restructure service type detection to not rely on return codes. * Added option to display service type detection results. This should simplify debugging.
2022-10-17Improve error and warning messages in the kickstart script. (#13825)Austin S. Hemmelgarn
2022-10-17[ci skip] Update changelog and version for nightly build: v1.36.0-228-nightly.netdatabot
2022-10-15[ci skip] Update changelog and version for nightly build: v1.36.0-226-nightly.netdatabot
2022-10-14[ci skip] Update changelog and version for nightly build: v1.36.0-220-nightly.netdatabot
2022-10-13Fix existing install detection for FreeBSD and macOS. (#13243)Austin S. Hemmelgarn
2022-10-13[ci skip] Update changelog and version for nightly build: v1.36.0-211-nightly.netdatabot
2022-10-12bump go.d.plugin v0.40.4 (#13808)Ilya Mashchenko
2022-10-12[ci skip] Update changelog and version for nightly build: v1.36.0-209-nightly.netdatabot
2022-10-11Add Fedora 37 to CI and package builds. (#13489)Austin S. Hemmelgarn
Tentative release date is 2022-08-09.
2022-10-11Add Ubuntu 22.10 to supported distros, CI, and package builds. (#13785)Austin S. Hemmelgarn
* Add Ubuntu 22.10 to supported distros, CI, and package builds. Expected release date is 2022-10-20. * Fix handling of netcat in newer Debian and Ubuntu distros.
2022-10-11[ci skip] Update changelog and version for nightly build: v1.36.0-202-nightly.netdatabot
2022-10-10Stop pulling in netcat as a mandatory dependency. (#13787)Austin S. Hemmelgarn
It’s only used by a single exporter which is itself not in widespread usage. Requiring users to install netcat themselves if they want to use that exporter is not a significant burden, and not pulling it in ourselves reduces our install footprint for ‘regular’ users without really impacting usability for them.
2022-10-10Update libbpf 1.0.1 (#13778)thiagoftsm
2022-10-10[ci skip] Update changelog and version for nightly build: v1.36.0-189-nightly.netdatabot
2022-10-08[ci skip] Update changelog and version for nightly build: v1.36.0-185-nightly.netdatabot
2022-10-07[ci skip] Update changelog and version for nightly build: v1.36.0-183-nightly.netdatabot
2022-10-06bump go.d.plugin v0.40.3 (#13771)Ilya Mashchenko
2022-10-06Overhaul handling of installation of Netdata as a system service. (#13451)Austin S. Hemmelgarn
* Install templated files from system directory on target system. This will allow more robust handling of auto-updates and installation of service files. * Add a script to handle installing Netdata as a system service. This uses the files installed as a result of the previous commit, and provides more robust detection and system handling than the existing code used for this purpose. A subsequent commit will convert the various installation mechanisms to use this script instead of their own internal code for this purpose. * Assorted cleanup and fixes for install-service.sh script. * Use new service install script on installs when present. * Fix missing .gitignore line. * Fix install command. * Integrate with warning handling in kickstart script. * Fix systemd version check. * Explicitly exit successfully when done. * Further fixes. * Fix handling of start commands on service install. * Fix handling of passing service commands in installer. * Fix handling of inability to detect service manager type. * Centralize install-service.sh invocation and improve error reporting. * Fix typos in Linux service handling.
2022-10-06[ci skip] Update changelog and version for nightly build: v1.36.0-178-nightly.netdatabot
2022-10-05[ci skip] Update changelog and version for nightly build: v1.36.0-174-nightly.netdatabot
2022-10-04Add CloudLinux OS detection to the updater script (#13752)Pulseeey
2022-10-04[ci skip] Update changelog and version for nightly build: v1.36.0-169-nightly.netdatabot
2022-10-03Add CloudLinux OS detection to kickstart (#13750)Pulseeey
2022-10-01[ci skip] Update changelog and version for nightly build: v1.36.0-165-nightly.netdatabot
2022-09-30Add info for Docker containers about using hostname from host. (#13685)Austin S. Hemmelgarn
* Add info for Docker containers about using hostname from host. By directly mounting `/etc/hostname` into the container read-only. * Update packaging/docker/README.md Co-authored-by: DShreve2 <david@netdata.cloud> * Update packaging/docker/README.md Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud> Co-authored-by: DShreve2 <david@netdata.cloud> Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
2022-09-30bump go.d v0.40.2 (#13747)Ilya Mashchenko
2022-09-30[ci skip] Update changelog and version for nightly build: v1.36.0-160-nightly.netdatabot