netdata-web 1.42.1 is inaccessible

Bug #2042644 reported by Nick
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
netdata (Debian)
Fix Released
Unknown
netdata (Ubuntu)
Status tracked in Noble
Mantic
Fix Released
Undecided
Unassigned
Noble
Fix Released
Undecided
Unassigned

Bug Description

[ Impact ]

 * Any attempt to load netdata's dashboard produces a white screen with the text "File does not exist, or is not accessible: ", rendering netdata unusable except for automated alerting.

 * There is a patchfile which, due to upstream refactoring, is producing a no-op, always-failing code path:

  ```
    char web_filename[FILENAME_MAX + 1];
    struct stat statbuf;
    if (stat(web_filename, &statbuf) != 0) {
         w->response.data->content_type = CT_TEXT_HTML;
         buffer_strcat(w->response.data, "File does not exist, or is not accessible: ");
         buffer_strcat_htmlescape(w->response.data, web_filename);
  ```

 * Dropping this patchfile repairs netdata.

[ Test Plan ]

 1. Install mantic; this can be done in a container (`docker run --rm ubuntu:mantic`), a VM, or on your usual system if you are currently running mantic.
 2. apt install -y netdata
 3. systemctl enable --now netdata
 4. Go to the netdata dashboard at http://localhost:19999
 5. You will see "File does not exist, or is not accessible: "

 Once this update lands, loading the dashboard will instead produce netdata's usual interactive charts.

[ Where problems could occur ]

 * This could continue to break the netdata dashboard but in a different way.
 * Since netdata is a webserver, an error might allow remote file access to other parts of the file system that should not be available, perhaps by e.g. http://localhost:19999/../../../../../../../etc/passwd

[ Other Info ]

 * This has been report in Debian here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1043415, and fixed here: https://git.progress-linux.org/users/daniel.baumann/debian/packages/netdata/commit/?h=debian&id=ea0a37349fdac3149b723c3113140dfb65c71444
 * The same patch was imported to ubuntu/devel in https://git.launchpad.net/ubuntu/+source/netdata/commit/debian/patches?h=applied/ubuntu/noble-devel&id=9d9a3cad49e708749d9c4bac2c590b833c3efdfa

My original bug report is below:

----------

If I try to access netdata's dashboard it tells me "File does not exist, or is not accessible: ". It is supposed to be telling me a path, according to

https://github.com/netdata/netdata/blob/5fc5d414f948e9d7b417aa652fe46337b9db0a4a/web/server/web_client.c#L518-L523

but the path it produces is empty. For some reason find_filename_to_serve() is constructing and trying to stat() then returning an empty string.

## Reproduction

I can reproduce this in a fresh Mantic container:

<details><summary>Installation</summary>

```
p115628@coltrane:~/ubuntu-dev$ cat Dockerfile
FROM ubuntu:23.10
RUN apt-get update \
    && DEBIAN_FRONTEND=noninteractive apt-get upgrade --yes --with-new-pkgs \
    && DEBIAN_FRONTEND=noninteractive apt-get install --yes python3 sudo systemd
CMD ["/usr/bin/systemd"]
p115628@coltrane:~/ubuntu-dev$ podman build -t ubuntu-dev:23.10 .
STEP 1/3: FROM ubuntu:23.10
STEP 2/3: RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get upgrade --yes --with-new-pkgs && DEBIAN_FRONTEND=noninteractive apt-get install --yes python3 sudo systemd
Get:1 http://security.ubuntu.com/ubuntu mantic-security InRelease [109 kB]
Get:2 http://archive.ubuntu.com/ubuntu mantic InRelease [256 kB]
Get:3 http://archive.ubuntu.com/ubuntu mantic-updates InRelease [109 kB]
Get:4 http://archive.ubuntu.com/ubuntu mantic-backports InRelease [90.7 kB]
Get:5 http://security.ubuntu.com/ubuntu mantic-security/universe amd64 Packages [21.9 kB]
Get:6 http://security.ubuntu.com/ubuntu mantic-security/restricted amd64 Packages [146 kB]
Get:7 http://security.ubuntu.com/ubuntu mantic-security/multiverse amd64 Packages [3135 B]
Get:8 http://security.ubuntu.com/ubuntu mantic-security/main amd64 Packages [90.2 kB]
Get:9 http://archive.ubuntu.com/ubuntu mantic/restricted amd64 Packages [180 kB]
Get:10 http://archive.ubuntu.com/ubuntu mantic/universe amd64 Packages [18.8 MB]
Get:11 http://archive.ubuntu.com/ubuntu mantic/multiverse amd64 Packages [293 kB]
Get:12 http://archive.ubuntu.com/ubuntu mantic/main amd64 Packages [1808 kB]
Get:13 http://archive.ubuntu.com/ubuntu mantic-updates/multiverse amd64 Packages [3165 B]
Get:14 http://archive.ubuntu.com/ubuntu mantic-updates/universe amd64 Packages [24.5 kB]
Get:15 http://archive.ubuntu.com/ubuntu mantic-updates/main amd64 Packages [94.4 kB]
Get:16 http://archive.ubuntu.com/ubuntu mantic-updates/restricted amd64 Packages [146 kB]
Fetched 22.2 MB in 2s (14.7 MB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  adduser ca-certificates dbus dbus-bin dbus-daemon dbus-session-bus-common
  dbus-system-bus-common dmsetup gir1.2-glib-2.0 krb5-locales libapparmor1
  libargon2-1 libcryptsetup12 libdbus-1-3 libdevmapper1.02.1 libexpat1
  libfdisk1 libgirepository-1.0-1 libglib2.0-0 libglib2.0-data
  libgssapi-krb5-2 libicu72 libip4tc2 libjson-c5 libk5crypto3 libkeyutils1
  libkmod2 libkrb5-3 libkrb5support0 libnsl2 libpython3-stdlib
  libpython3.11-minimal libpython3.11-stdlib libreadline8 libsqlite3-0 libssl3
  libsystemd-shared libtirpc-common libtirpc3 libxml2 media-types
  networkd-dispatcher openssl python3-dbus python3-gi python3-minimal
  python3.11 python3.11-minimal readline-common shared-mime-info systemd-dev
  systemd-resolved systemd-timesyncd tzdata tzdata-icu xdg-user-dirs
Suggested packages:
  liblocale-gettext-perl perl cron quota ecryptfs-utils
  default-dbus-session-bus | dbus-session-bus low-memory-monitor krb5-doc
  krb5-user iw | wireless-tools python3-doc python3-tk python3-venv
  python-dbus-doc python3.11-venv python3.11-doc binutils binfmt-support
  readline-doc systemd-container systemd-homed systemd-userdbd systemd-boot
  libfido2-1 libqrencode4 libtss2-esys-3.0.2-0 libtss2-mu0 libtss2-rc0 polkitd
  | policykit-1
The following NEW packages will be installed:
  adduser ca-certificates dbus dbus-bin dbus-daemon dbus-session-bus-common
  dbus-system-bus-common dmsetup gir1.2-glib-2.0 krb5-locales libapparmor1
  libargon2-1 libcryptsetup12 libdbus-1-3 libdevmapper1.02.1 libexpat1
  libfdisk1 libgirepository-1.0-1 libglib2.0-0 libglib2.0-data
  libgssapi-krb5-2 libicu72 libip4tc2 libjson-c5 libk5crypto3 libkeyutils1
  libkmod2 libkrb5-3 libkrb5support0 libnsl2 libpython3-stdlib
  libpython3.11-minimal libpython3.11-stdlib libreadline8 libsqlite3-0 libssl3
  libsystemd-shared libtirpc-common libtirpc3 libxml2 media-types
  networkd-dispatcher openssl python3 python3-dbus python3-gi python3-minimal
  python3.11 python3.11-minimal readline-common shared-mime-info sudo systemd
  systemd-dev systemd-resolved systemd-timesyncd tzdata tzdata-icu
  xdg-user-dirs
0 upgraded, 59 newly installed, 0 to remove and 0 not upgraded.
Need to get 32.9 MB of archives.
After this operation, 112 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu mantic-updates/main amd64 libssl3 amd64 3.0.10-1ubuntu2.1 [1930 kB]
Get:2 http://archive.ubuntu.com/ubuntu mantic/main amd64 libpython3.11-minimal amd64 3.11.6-3 [839 kB]
Get:3 http://archive.ubuntu.com/ubuntu mantic/main amd64 libexpat1 amd64 2.5.0-2 [85.2 kB]
Get:4 http://archive.ubuntu.com/ubuntu mantic/main amd64 python3.11-minimal amd64 3.11.6-3 [2196 kB]
Get:5 http://archive.ubuntu.com/ubuntu mantic/main amd64 python3-minimal amd64 3.11.4-5 [26.8 kB]
Get:6 http://archive.ubuntu.com/ubuntu mantic/main amd64 media-types all 10.1.0 [27.5 kB]
Get:7 http://archive.ubuntu.com/ubuntu mantic/main amd64 tzdata all 2023c-9ubuntu1 [270 kB]
Get:8 http://archive.ubuntu.com/ubuntu mantic/main amd64 libkrb5support0 amd64 1.20.1-3ubuntu1 [33.0 kB]
Get:9 http://archive.ubuntu.com/ubuntu mantic/main amd64 libk5crypto3 amd64 1.20.1-3ubuntu1 [81.3 kB]
Get:10 http://archive.ubuntu.com/ubuntu mantic/main amd64 libkeyutils1 amd64 1.6.3-2 [9356 B]
Get:11 http://archive.ubuntu.com/ubuntu mantic/main amd64 libkrb5-3 amd64 1.20.1-3ubuntu1 [346 kB]
Get:12 http://archive.ubuntu.com/ubuntu mantic/main amd64 libgssapi-krb5-2 amd64 1.20.1-3ubuntu1 [142 kB]
Get:13 http://archive.ubuntu.com/ubuntu mantic/main amd64 libtirpc-common all 1.3.3+ds-1 [7790 B]
Get:14 http://archive.ubuntu.com/ubuntu mantic/main amd64 libtirpc3 amd64 1.3.3+ds-1 [80.9 kB]
Get:15 http://archive.ubuntu.com/ubuntu mantic/main amd64 libnsl2 amd64 1.3.0-2build2 [42.3 kB]
Get:16 http://archive.ubuntu.com/ubuntu mantic/main amd64 readline-common all 8.2-1.3 [55.7 kB]
Get:17 http://archive.ubuntu.com/ubuntu mantic/main amd64 libreadline8 amd64 8.2-1.3 [151 kB]
Get:18 http://archive.ubuntu.com/ubuntu mantic/main amd64 libsqlite3-0 amd64 3.42.0-1 [668 kB]
Get:19 http://archive.ubuntu.com/ubuntu mantic/main amd64 libpython3.11-stdlib amd64 3.11.6-3 [1917 kB]
Get:20 http://archive.ubuntu.com/ubuntu mantic/main amd64 python3.11 amd64 3.11.6-3 [579 kB]
Get:21 http://archive.ubuntu.com/ubuntu mantic/main amd64 libpython3-stdlib amd64 3.11.4-5 [9502 B]
Get:22 http://archive.ubuntu.com/ubuntu mantic/main amd64 python3 amd64 3.11.4-5 [22.9 kB]
Get:23 http://archive.ubuntu.com/ubuntu mantic/main amd64 libargon2-1 amd64 0~20190702+dfsg-3 [20.3 kB]
Get:24 http://archive.ubuntu.com/ubuntu mantic/main amd64 libdevmapper1.02.1 amd64 2:1.02.185-2ubuntu1 [139 kB]
Get:25 http://archive.ubuntu.com/ubuntu mantic/main amd64 libjson-c5 amd64 0.17-1 [35.2 kB]
Get:26 http://archive.ubuntu.com/ubuntu mantic/main amd64 libcryptsetup12 amd64 2:2.6.1-4ubuntu3 [242 kB]
Get:27 http://archive.ubuntu.com/ubuntu mantic/main amd64 libfdisk1 amd64 2.39.1-4ubuntu2 [145 kB]
Get:28 http://archive.ubuntu.com/ubuntu mantic/main amd64 libkmod2 amd64 30+20230519-1ubuntu3 [51.2 kB]
Get:29 http://archive.ubuntu.com/ubuntu mantic/main amd64 libapparmor1 amd64 4.0.0~alpha2-0ubuntu5 [47.6 kB]
Get:30 http://archive.ubuntu.com/ubuntu mantic/main amd64 libip4tc2 amd64 1.8.9-2ubuntu2 [22.2 kB]
Get:31 http://archive.ubuntu.com/ubuntu mantic/main amd64 libsystemd-shared amd64 253.5-1ubuntu6 [1872 kB]
Get:32 http://archive.ubuntu.com/ubuntu mantic/main amd64 systemd-dev all 253.5-1ubuntu6 [79.4 kB]
Get:33 http://archive.ubuntu.com/ubuntu mantic/main amd64 systemd amd64 253.5-1ubuntu6 [3060 kB]
Get:34 http://archive.ubuntu.com/ubuntu mantic/main amd64 adduser all 3.137ubuntu1 [101 kB]
Get:35 http://archive.ubuntu.com/ubuntu mantic-updates/main amd64 openssl amd64 3.0.10-1ubuntu2.1 [1188 kB]
Get:36 http://archive.ubuntu.com/ubuntu mantic/main amd64 ca-certificates all 20230311ubuntu1 [152 kB]
Get:37 http://archive.ubuntu.com/ubuntu mantic/main amd64 libdbus-1-3 amd64 1.14.10-1ubuntu1 [209 kB]
Get:38 http://archive.ubuntu.com/ubuntu mantic/main amd64 dbus-bin amd64 1.14.10-1ubuntu1 [39.0 kB]
Get:39 http://archive.ubuntu.com/ubuntu mantic/main amd64 dbus-session-bus-common all 1.14.10-1ubuntu1 [79.2 kB]
Get:40 http://archive.ubuntu.com/ubuntu mantic/main amd64 dbus-daemon amd64 1.14.10-1ubuntu1 [118 kB]
Get:41 http://archive.ubuntu.com/ubuntu mantic/main amd64 dbus-system-bus-common all 1.14.10-1ubuntu1 [80.4 kB]
Get:42 http://archive.ubuntu.com/ubuntu mantic/main amd64 dbus amd64 1.14.10-1ubuntu1 [24.5 kB]
Get:43 http://archive.ubuntu.com/ubuntu mantic/main amd64 dmsetup amd64 2:1.02.185-2ubuntu1 [79.1 kB]
Get:44 http://archive.ubuntu.com/ubuntu mantic/main amd64 libglib2.0-0 amd64 2.78.0-2 [1525 kB]
Get:45 http://archive.ubuntu.com/ubuntu mantic/main amd64 libgirepository-1.0-1 amd64 1.78.1-1 [72.7 kB]
Get:46 http://archive.ubuntu.com/ubuntu mantic/main amd64 gir1.2-glib-2.0 amd64 1.78.1-1 [180 kB]
Get:47 http://archive.ubuntu.com/ubuntu mantic/main amd64 krb5-locales all 1.20.1-3ubuntu1 [13.4 kB]
Get:48 http://archive.ubuntu.com/ubuntu mantic/main amd64 libglib2.0-data all 2.78.0-2 [40.3 kB]
Get:49 http://archive.ubuntu.com/ubuntu mantic/main amd64 libicu72 amd64 72.1-3ubuntu3 [10.8 MB]
Get:50 http://archive.ubuntu.com/ubuntu mantic/main amd64 libxml2 amd64 2.9.14+dfsg-1.3 [764 kB]
Get:51 http://archive.ubuntu.com/ubuntu mantic/main amd64 python3-dbus amd64 1.3.2-5 [99.0 kB]
Get:52 http://archive.ubuntu.com/ubuntu mantic/main amd64 python3-gi amd64 3.46.0-1 [229 kB]
Get:53 http://archive.ubuntu.com/ubuntu mantic/main amd64 networkd-dispatcher all 2.2.4-1 [15.5 kB]
Get:54 http://archive.ubuntu.com/ubuntu mantic/main amd64 shared-mime-info amd64 2.2-1 [459 kB]
Get:55 http://archive.ubuntu.com/ubuntu mantic/main amd64 sudo amd64 1.9.14p2-1ubuntu1 [900 kB]
Get:56 http://archive.ubuntu.com/ubuntu mantic/main amd64 systemd-resolved amd64 253.5-1ubuntu6 [289 kB]
Get:57 http://archive.ubuntu.com/ubuntu mantic/main amd64 systemd-timesyncd amd64 253.5-1ubuntu6 [34.6 kB]
Get:58 http://archive.ubuntu.com/ubuntu mantic/main amd64 tzdata-icu all 2023c-9ubuntu1 [135 kB]
Get:59 http://archive.ubuntu.com/ubuntu mantic/main amd64 xdg-user-dirs amd64 0.18-1 [18.4 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 32.9 MB in 2s (14.0 MB/s)
Selecting previously unselected package libssl3:amd64.
(Reading database ... 4327 files and directories currently installed.)
Preparing to unpack .../libssl3_3.0.10-1ubuntu2.1_amd64.deb ...
Unpacking libssl3:amd64 (3.0.10-1ubuntu2.1) ...
Selecting previously unselected package libpython3.11-minimal:amd64.
Preparing to unpack .../libpython3.11-minimal_3.11.6-3_amd64.deb ...
Unpacking libpython3.11-minimal:amd64 (3.11.6-3) ...
Selecting previously unselected package libexpat1:amd64.
Preparing to unpack .../libexpat1_2.5.0-2_amd64.deb ...
Unpacking libexpat1:amd64 (2.5.0-2) ...
Selecting previously unselected package python3.11-minimal.
Preparing to unpack .../python3.11-minimal_3.11.6-3_amd64.deb ...
Unpacking python3.11-minimal (3.11.6-3) ...
Setting up libssl3:amd64 (3.0.10-1ubuntu2.1) ...
Setting up libpython3.11-minimal:amd64 (3.11.6-3) ...
Setting up libexpat1:amd64 (2.5.0-2) ...
Setting up python3.11-minimal (3.11.6-3) ...
Selecting previously unselected package python3-minimal.
(Reading database ... 4653 files and directories currently installed.)
Preparing to unpack .../00-python3-minimal_3.11.4-5_amd64.deb ...
Unpacking python3-minimal (3.11.4-5) ...
Selecting previously unselected package media-types.
Preparing to unpack .../01-media-types_10.1.0_all.deb ...
Unpacking media-types (10.1.0) ...
Selecting previously unselected package tzdata.
Preparing to unpack .../02-tzdata_2023c-9ubuntu1_all.deb ...
Unpacking tzdata (2023c-9ubuntu1) ...
Selecting previously unselected package libkrb5support0:amd64.
Preparing to unpack .../03-libkrb5support0_1.20.1-3ubuntu1_amd64.deb ...
Unpacking libkrb5support0:amd64 (1.20.1-3ubuntu1) ...
Selecting previously unselected package libk5crypto3:amd64.
Preparing to unpack .../04-libk5crypto3_1.20.1-3ubuntu1_amd64.deb ...
Unpacking libk5crypto3:amd64 (1.20.1-3ubuntu1) ...
Selecting previously unselected package libkeyutils1:amd64.
Preparing to unpack .../05-libkeyutils1_1.6.3-2_amd64.deb ...
Unpacking libkeyutils1:amd64 (1.6.3-2) ...
Selecting previously unselected package libkrb5-3:amd64.
Preparing to unpack .../06-libkrb5-3_1.20.1-3ubuntu1_amd64.deb ...
Unpacking libkrb5-3:amd64 (1.20.1-3ubuntu1) ...
Selecting previously unselected package libgssapi-krb5-2:amd64.
Preparing to unpack .../07-libgssapi-krb5-2_1.20.1-3ubuntu1_amd64.deb ...
Unpacking libgssapi-krb5-2:amd64 (1.20.1-3ubuntu1) ...
Selecting previously unselected package libtirpc-common.
Preparing to unpack .../08-libtirpc-common_1.3.3+ds-1_all.deb ...
Unpacking libtirpc-common (1.3.3+ds-1) ...
Selecting previously unselected package libtirpc3:amd64.
Preparing to unpack .../09-libtirpc3_1.3.3+ds-1_amd64.deb ...
Unpacking libtirpc3:amd64 (1.3.3+ds-1) ...
Selecting previously unselected package libnsl2:amd64.
Preparing to unpack .../10-libnsl2_1.3.0-2build2_amd64.deb ...
Unpacking libnsl2:amd64 (1.3.0-2build2) ...
Selecting previously unselected package readline-common.
Preparing to unpack .../11-readline-common_8.2-1.3_all.deb ...
Unpacking readline-common (8.2-1.3) ...
Selecting previously unselected package libreadline8:amd64.
Preparing to unpack .../12-libreadline8_8.2-1.3_amd64.deb ...
Unpacking libreadline8:amd64 (8.2-1.3) ...
Selecting previously unselected package libsqlite3-0:amd64.
Preparing to unpack .../13-libsqlite3-0_3.42.0-1_amd64.deb ...
Unpacking libsqlite3-0:amd64 (3.42.0-1) ...
Selecting previously unselected package libpython3.11-stdlib:amd64.
Preparing to unpack .../14-libpython3.11-stdlib_3.11.6-3_amd64.deb ...
Unpacking libpython3.11-stdlib:amd64 (3.11.6-3) ...
Selecting previously unselected package python3.11.
Preparing to unpack .../15-python3.11_3.11.6-3_amd64.deb ...
Unpacking python3.11 (3.11.6-3) ...
Selecting previously unselected package libpython3-stdlib:amd64.
Preparing to unpack .../16-libpython3-stdlib_3.11.4-5_amd64.deb ...
Unpacking libpython3-stdlib:amd64 (3.11.4-5) ...
Setting up python3-minimal (3.11.4-5) ...
Selecting previously unselected package python3.
(Reading database ... 5678 files and directories currently installed.)
Preparing to unpack .../00-python3_3.11.4-5_amd64.deb ...
Unpacking python3 (3.11.4-5) ...
Selecting previously unselected package libargon2-1:amd64.
Preparing to unpack .../01-libargon2-1_0~20190702+dfsg-3_amd64.deb ...
Unpacking libargon2-1:amd64 (0~20190702+dfsg-3) ...
Selecting previously unselected package libdevmapper1.02.1:amd64.
Preparing to unpack .../02-libdevmapper1.02.1_2%3a1.02.185-2ubuntu1_amd64.deb ...
Unpacking libdevmapper1.02.1:amd64 (2:1.02.185-2ubuntu1) ...
Selecting previously unselected package libjson-c5:amd64.
Preparing to unpack .../03-libjson-c5_0.17-1_amd64.deb ...
Unpacking libjson-c5:amd64 (0.17-1) ...
Selecting previously unselected package libcryptsetup12:amd64.
Preparing to unpack .../04-libcryptsetup12_2%3a2.6.1-4ubuntu3_amd64.deb ...
Unpacking libcryptsetup12:amd64 (2:2.6.1-4ubuntu3) ...
Selecting previously unselected package libfdisk1:amd64.
Preparing to unpack .../05-libfdisk1_2.39.1-4ubuntu2_amd64.deb ...
Unpacking libfdisk1:amd64 (2.39.1-4ubuntu2) ...
Selecting previously unselected package libkmod2:amd64.
Preparing to unpack .../06-libkmod2_30+20230519-1ubuntu3_amd64.deb ...
Unpacking libkmod2:amd64 (30+20230519-1ubuntu3) ...
Selecting previously unselected package libapparmor1:amd64.
Preparing to unpack .../07-libapparmor1_4.0.0~alpha2-0ubuntu5_amd64.deb ...
Unpacking libapparmor1:amd64 (4.0.0~alpha2-0ubuntu5) ...
Selecting previously unselected package libip4tc2:amd64.
Preparing to unpack .../08-libip4tc2_1.8.9-2ubuntu2_amd64.deb ...
Unpacking libip4tc2:amd64 (1.8.9-2ubuntu2) ...
Selecting previously unselected package libsystemd-shared:amd64.
Preparing to unpack .../09-libsystemd-shared_253.5-1ubuntu6_amd64.deb ...
Unpacking libsystemd-shared:amd64 (253.5-1ubuntu6) ...
Selecting previously unselected package systemd-dev.
Preparing to unpack .../10-systemd-dev_253.5-1ubuntu6_all.deb ...
Unpacking systemd-dev (253.5-1ubuntu6) ...
Selecting previously unselected package systemd.
Preparing to unpack .../11-systemd_253.5-1ubuntu6_amd64.deb ...
Unpacking systemd (253.5-1ubuntu6) ...
Selecting previously unselected package adduser.
Preparing to unpack .../12-adduser_3.137ubuntu1_all.deb ...
Unpacking adduser (3.137ubuntu1) ...
Setting up adduser (3.137ubuntu1) ...
Selecting previously unselected package openssl.
(Reading database ... 6622 files and directories currently installed.)
Preparing to unpack .../00-openssl_3.0.10-1ubuntu2.1_amd64.deb ...
Unpacking openssl (3.0.10-1ubuntu2.1) ...
Selecting previously unselected package ca-certificates.
Preparing to unpack .../01-ca-certificates_20230311ubuntu1_all.deb ...
Unpacking ca-certificates (20230311ubuntu1) ...
Selecting previously unselected package libdbus-1-3:amd64.
Preparing to unpack .../02-libdbus-1-3_1.14.10-1ubuntu1_amd64.deb ...
Unpacking libdbus-1-3:amd64 (1.14.10-1ubuntu1) ...
Selecting previously unselected package dbus-bin.
Preparing to unpack .../03-dbus-bin_1.14.10-1ubuntu1_amd64.deb ...
Unpacking dbus-bin (1.14.10-1ubuntu1) ...
Selecting previously unselected package dbus-session-bus-common.
Preparing to unpack .../04-dbus-session-bus-common_1.14.10-1ubuntu1_all.deb ...
Unpacking dbus-session-bus-common (1.14.10-1ubuntu1) ...
Selecting previously unselected package dbus-daemon.
Preparing to unpack .../05-dbus-daemon_1.14.10-1ubuntu1_amd64.deb ...
Unpacking dbus-daemon (1.14.10-1ubuntu1) ...
Selecting previously unselected package dbus-system-bus-common.
Preparing to unpack .../06-dbus-system-bus-common_1.14.10-1ubuntu1_all.deb ...
Unpacking dbus-system-bus-common (1.14.10-1ubuntu1) ...
Selecting previously unselected package dbus.
Preparing to unpack .../07-dbus_1.14.10-1ubuntu1_amd64.deb ...
Unpacking dbus (1.14.10-1ubuntu1) ...
Selecting previously unselected package dmsetup.
Preparing to unpack .../08-dmsetup_2%3a1.02.185-2ubuntu1_amd64.deb ...
Unpacking dmsetup (2:1.02.185-2ubuntu1) ...
Selecting previously unselected package libglib2.0-0:amd64.
Preparing to unpack .../09-libglib2.0-0_2.78.0-2_amd64.deb ...
Unpacking libglib2.0-0:amd64 (2.78.0-2) ...
Selecting previously unselected package libgirepository-1.0-1:amd64.
Preparing to unpack .../10-libgirepository-1.0-1_1.78.1-1_amd64.deb ...
Unpacking libgirepository-1.0-1:amd64 (1.78.1-1) ...
Selecting previously unselected package gir1.2-glib-2.0:amd64.
Preparing to unpack .../11-gir1.2-glib-2.0_1.78.1-1_amd64.deb ...
Unpacking gir1.2-glib-2.0:amd64 (1.78.1-1) ...
Selecting previously unselected package krb5-locales.
Preparing to unpack .../12-krb5-locales_1.20.1-3ubuntu1_all.deb ...
Unpacking krb5-locales (1.20.1-3ubuntu1) ...
Selecting previously unselected package libglib2.0-data.
Preparing to unpack .../13-libglib2.0-data_2.78.0-2_all.deb ...
Unpacking libglib2.0-data (2.78.0-2) ...
Selecting previously unselected package libicu72:amd64.
Preparing to unpack .../14-libicu72_72.1-3ubuntu3_amd64.deb ...
Unpacking libicu72:amd64 (72.1-3ubuntu3) ...
Selecting previously unselected package libxml2:amd64.
Preparing to unpack .../15-libxml2_2.9.14+dfsg-1.3_amd64.deb ...
Unpacking libxml2:amd64 (2.9.14+dfsg-1.3) ...
Selecting previously unselected package python3-dbus.
Preparing to unpack .../16-python3-dbus_1.3.2-5_amd64.deb ...
Unpacking python3-dbus (1.3.2-5) ...
Selecting previously unselected package python3-gi.
Preparing to unpack .../17-python3-gi_3.46.0-1_amd64.deb ...
Unpacking python3-gi (3.46.0-1) ...
Selecting previously unselected package networkd-dispatcher.
Preparing to unpack .../18-networkd-dispatcher_2.2.4-1_all.deb ...
Unpacking networkd-dispatcher (2.2.4-1) ...
Selecting previously unselected package shared-mime-info.
Preparing to unpack .../19-shared-mime-info_2.2-1_amd64.deb ...
Unpacking shared-mime-info (2.2-1) ...
Selecting previously unselected package sudo.
Preparing to unpack .../20-sudo_1.9.14p2-1ubuntu1_amd64.deb ...
Unpacking sudo (1.9.14p2-1ubuntu1) ...
Selecting previously unselected package systemd-resolved.
Preparing to unpack .../21-systemd-resolved_253.5-1ubuntu6_amd64.deb ...
Unpacking systemd-resolved (253.5-1ubuntu6) ...
Selecting previously unselected package systemd-timesyncd.
Preparing to unpack .../22-systemd-timesyncd_253.5-1ubuntu6_amd64.deb ...
Unpacking systemd-timesyncd (253.5-1ubuntu6) ...
Selecting previously unselected package tzdata-icu.
Preparing to unpack .../23-tzdata-icu_2023c-9ubuntu1_all.deb ...
Unpacking tzdata-icu (2023c-9ubuntu1) ...
Selecting previously unselected package xdg-user-dirs.
Preparing to unpack .../24-xdg-user-dirs_0.18-1_amd64.deb ...
Unpacking xdg-user-dirs (0.18-1) ...
Setting up libip4tc2:amd64 (1.8.9-2ubuntu2) ...
Setting up media-types (10.1.0) ...
Setting up libkeyutils1:amd64 (1.6.3-2) ...
Setting up libapparmor1:amd64 (4.0.0~alpha2-0ubuntu5) ...
Setting up libicu72:amd64 (72.1-3ubuntu3) ...
Setting up xdg-user-dirs (0.18-1) ...
Setting up libglib2.0-0:amd64 (2.78.0-2) ...
No schema files found: doing nothing.
Setting up libtirpc-common (1.3.3+ds-1) ...
Setting up libargon2-1:amd64 (0~20190702+dfsg-3) ...
Setting up libsqlite3-0:amd64 (3.42.0-1) ...
Setting up systemd-dev (253.5-1ubuntu6) ...
Setting up krb5-locales (1.20.1-3ubuntu1) ...
Setting up libkrb5support0:amd64 (1.20.1-3ubuntu1) ...
Setting up tzdata (2023c-9ubuntu1) ...

Current default time zone: 'Etc/UTC'
Local time is now: Fri Nov 3 07:26:16 UTC 2023.
Universal Time is now: Fri Nov 3 07:26:16 UTC 2023.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

Setting up libglib2.0-data (2.78.0-2) ...
Setting up libdbus-1-3:amd64 (1.14.10-1ubuntu1) ...
Setting up sudo (1.9.14p2-1ubuntu1) ...
Setting up libk5crypto3:amd64 (1.20.1-3ubuntu1) ...
Setting up libfdisk1:amd64 (2.39.1-4ubuntu2) ...
Setting up libdevmapper1.02.1:amd64 (2:1.02.185-2ubuntu1) ...
Setting up dmsetup (2:1.02.185-2ubuntu1) ...
Setting up dbus-session-bus-common (1.14.10-1ubuntu1) ...
Setting up libgirepository-1.0-1:amd64 (1.78.1-1) ...
Setting up libkrb5-3:amd64 (1.20.1-3ubuntu1) ...
Setting up dbus-system-bus-common (1.14.10-1ubuntu1) ...
Setting up openssl (3.0.10-1ubuntu2.1) ...
Setting up libjson-c5:amd64 (0.17-1) ...
Setting up readline-common (8.2-1.3) ...
Setting up libxml2:amd64 (2.9.14+dfsg-1.3) ...
Setting up dbus-bin (1.14.10-1ubuntu1) ...
Setting up libkmod2:amd64 (30+20230519-1ubuntu3) ...
Setting up tzdata-icu (2023c-9ubuntu1) ...
Setting up libreadline8:amd64 (8.2-1.3) ...
Setting up dbus-daemon (1.14.10-1ubuntu1) ...
Setting up ca-certificates (20230311ubuntu1) ...
Updating certificates in /etc/ssl/certs...
137 added, 0 removed; done.
Setting up dbus (1.14.10-1ubuntu1) ...
Setting up shared-mime-info (2.2-1) ...
Setting up libgssapi-krb5-2:amd64 (1.20.1-3ubuntu1) ...
Setting up libsystemd-shared:amd64 (253.5-1ubuntu6) ...
Setting up gir1.2-glib-2.0:amd64 (1.78.1-1) ...
Setting up libcryptsetup12:amd64 (2:2.6.1-4ubuntu3) ...
Setting up libtirpc3:amd64 (1.3.3+ds-1) ...
Setting up systemd (253.5-1ubuntu6) ...
Created symlink /<email address hidden> → /lib/systemd/system/getty@.service.
Created symlink /etc/systemd/system/multi-user.target.wants/remote-fs.target → /lib/systemd/system/remote-fs.target.
Created symlink /etc/systemd/system/sysinit.target.wants/systemd-pstore.service → /lib/systemd/system/systemd-pstore.service.
Initializing machine ID from D-Bus machine ID.
/usr/lib/tmpfiles.d/systemd-network.conf:10: Failed to resolve user 'systemd-network': No such process
/usr/lib/tmpfiles.d/systemd-network.conf:11: Failed to resolve user 'systemd-network': No such process
/usr/lib/tmpfiles.d/systemd-network.conf:12: Failed to resolve user 'systemd-network': No such process
/usr/lib/tmpfiles.d/systemd-network.conf:13: Failed to resolve user 'systemd-network': No such process
/usr/lib/tmpfiles.d/systemd.conf:22: Failed to resolve group 'systemd-journal'.
/usr/lib/tmpfiles.d/systemd.conf:23: Failed to resolve group 'systemd-journal'.
/usr/lib/tmpfiles.d/systemd.conf:28: Failed to resolve group 'systemd-journal'.
/usr/lib/tmpfiles.d/systemd.conf:29: Failed to resolve group 'systemd-journal'.
/usr/lib/tmpfiles.d/systemd.conf:30: Failed to resolve group 'systemd-journal'.
Creating group 'systemd-journal' with GID 999.
Creating group 'systemd-network' with GID 998.
Creating user 'systemd-network' (systemd Network Management) with UID 998 and GID 998.
Setting up systemd-timesyncd (253.5-1ubuntu6) ...
Creating group 'systemd-timesync' with GID 997.
Creating user 'systemd-timesync' (systemd Time Synchronization) with UID 997 and GID 997.
Created symlink /etc/systemd/system/dbus-org.freedesktop.timesync1.service → /lib/systemd/system/systemd-timesyncd.service.
Created symlink /etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service → /lib/systemd/system/systemd-timesyncd.service.
Setting up libnsl2:amd64 (1.3.0-2build2) ...
Setting up systemd-resolved (253.5-1ubuntu6) ...
Converting /etc/resolv.conf to a symlink to /run/systemd/resolve/stub-resolv.conf...
mv: cannot move '/etc/resolv.conf' to '/etc/.resolv.conf.systemd-resolved.bak': Device or resource busy
Cannot take a backup of /etc/resolv.conf.
ln: failed to create symbolic link '/etc/resolv.conf': Device or resource busy
Cannot install symlink from /etc/resolv.conf to ../run/systemd/resolve/stub-resolv.conf
Creating group 'systemd-resolve' with GID 996.
Creating user 'systemd-resolve' (systemd Resolver) with UID 996 and GID 996.
Created symlink /etc/systemd/system/dbus-org.freedesktop.resolve1.service → /lib/systemd/system/systemd-resolved.service.
Created symlink /etc/systemd/system/sysinit.target.wants/systemd-resolved.service → /lib/systemd/system/systemd-resolved.service.
Setting up libpython3.11-stdlib:amd64 (3.11.6-3) ...
Setting up libpython3-stdlib:amd64 (3.11.4-5) ...
Setting up python3.11 (3.11.6-3) ...
Setting up python3 (3.11.4-5) ...
Setting up python3-gi (3.46.0-1) ...
Setting up python3-dbus (1.3.2-5) ...
Setting up networkd-dispatcher (2.2.4-1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/networkd-dispatcher.service → /lib/systemd/system/networkd-dispatcher.service.
Processing triggers for libc-bin (2.38-1ubuntu6) ...
Processing triggers for ca-certificates (20230311ubuntu1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
--> 0d411b8abfa
STEP 3/3: CMD ["/usr/bin/systemd"]
COMMIT ubuntu-dev:23.10
--> 0139403ba22
Successfully tagged localhost/ubuntu-dev:23.10
0139403ba221c7b7104cc6c3c368e6e31c300c6d676f1d6920691519c4a8bfea
p115628@coltrane:~/ubuntu-dev$ podman run --rm -it -d ubuntu-dev:23.10 # boot
09e8a0c11551fedd44029c7625e1195cdd20e5f0e9fc9ca5ed220e0b89cb1318
p115628@coltrane:~/ubuntu-dev$ podman ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
09e8a0c11551 localhost/ubuntu-dev:23.10 /usr/bin/systemd 16 seconds ago Up 15 seconds ago hungry_elion
p115628@coltrane:~/ubuntu-dev$ podman exec -it hungry_elion bash
root@09e8a0c11551:/# apt-get install netdata curl
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  fonts-font-awesome fonts-glyphicons-halflings libbrotli1 libcap2-bin libcurl4 libjs-bootstrap libldap-common libldap2 libmnl0 libnetfilter-acct1
  libnghttp2-14 libpam-cap libpsl5 librtmp1 libsasl2-2 libsasl2-modules libsasl2-modules-db libssh-4 libuv1 libyaml-0-2 netdata-core netdata-plugins-bash
  netdata-plugins-python netdata-web publicsuffix python3-six python3-urllib3 python3-yaml
Suggested packages:
  libsasl2-modules-gssapi-mit | libsasl2-modules-gssapi-heimdal libsasl2-modules-ldap libsasl2-modules-otp libsasl2-modules-sql apcupsd iproute2 iw
  lm-sensors nc fping python3-psycopg2 python3-pymysql python3-requests python3-brotli python3-cryptography python3-idna python3-openssl python3-socks
The following NEW packages will be installed:
  curl fonts-font-awesome fonts-glyphicons-halflings libbrotli1 libcap2-bin libcurl4 libjs-bootstrap libldap-common libldap2 libmnl0 libnetfilter-acct1
  libnghttp2-14 libpam-cap libpsl5 librtmp1 libsasl2-2 libsasl2-modules libsasl2-modules-db libssh-4 libuv1 libyaml-0-2 netdata netdata-core
  netdata-plugins-bash netdata-plugins-python netdata-web publicsuffix python3-six python3-urllib3 python3-yaml
0 upgraded, 30 newly installed, 0 to remove and 0 not upgraded.
Need to get 14.6 MB of archives.
After this operation, 57.8 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu mantic/main amd64 libcap2-bin amd64 1:2.66-4ubuntu1 [34.2 kB]
Get:2 http://archive.ubuntu.com/ubuntu mantic/main amd64 libmnl0 amd64 1.0.4-3ubuntu1 [13.2 kB]
Get:3 http://archive.ubuntu.com/ubuntu mantic/main amd64 libpam-cap amd64 1:2.66-4ubuntu1 [12.4 kB]
Get:4 http://archive.ubuntu.com/ubuntu mantic/main amd64 libyaml-0-2 amd64 0.2.5-1 [52.8 kB]
Get:5 http://archive.ubuntu.com/ubuntu mantic/main amd64 python3-yaml amd64 6.0.1-1 [121 kB]
Get:6 http://archive.ubuntu.com/ubuntu mantic/main amd64 libnghttp2-14 amd64 1.55.1-1 [72.8 kB]
Get:7 http://archive.ubuntu.com/ubuntu mantic/main amd64 libpsl5 amd64 0.21.2-1 [59.0 kB]
Get:8 http://archive.ubuntu.com/ubuntu mantic/main amd64 libuv1 amd64 1.44.2-1 [91.0 kB]
Get:9 http://archive.ubuntu.com/ubuntu mantic/main amd64 publicsuffix all 20230209.2326-1 [131 kB]
Get:10 http://archive.ubuntu.com/ubuntu mantic/main amd64 libbrotli1 amd64 1.0.9-2build8 [309 kB]
Get:11 http://archive.ubuntu.com/ubuntu mantic/main amd64 libsasl2-modules-db amd64 2.1.28+dfsg1-3 [20.2 kB]
Get:12 http://archive.ubuntu.com/ubuntu mantic/main amd64 libsasl2-2 amd64 2.1.28+dfsg1-3 [53.4 kB]
Get:13 http://archive.ubuntu.com/ubuntu mantic/main amd64 libldap2 amd64 2.6.6+dfsg-1~exp1ubuntu1 [193 kB]
Get:14 http://archive.ubuntu.com/ubuntu mantic/main amd64 librtmp1 amd64 2.4+20151223.gitfa8646d.1-2build4 [58.2 kB]
Get:15 http://archive.ubuntu.com/ubuntu mantic/main amd64 libssh-4 amd64 0.10.5-3ubuntu1 [187 kB]
Get:16 http://archive.ubuntu.com/ubuntu mantic-updates/main amd64 libcurl4 amd64 8.2.1-1ubuntu3.1 [319 kB]
Get:17 http://archive.ubuntu.com/ubuntu mantic-updates/main amd64 curl amd64 8.2.1-1ubuntu3.1 [216 kB]
Get:18 http://archive.ubuntu.com/ubuntu mantic/main amd64 fonts-font-awesome all 5.0.10+really4.7.0~dfsg-4.1 [516 kB]
Get:19 http://archive.ubuntu.com/ubuntu mantic/universe amd64 fonts-glyphicons-halflings all 1.009~3.4.1+dfsg-3 [118 kB]
Get:20 http://archive.ubuntu.com/ubuntu mantic/universe amd64 libjs-bootstrap all 3.4.1+dfsg-3 [129 kB]
Get:21 http://archive.ubuntu.com/ubuntu mantic/main amd64 libldap-common all 2.6.6+dfsg-1~exp1ubuntu1 [30.6 kB]
Get:22 http://archive.ubuntu.com/ubuntu mantic/main amd64 libsasl2-modules amd64 2.1.28+dfsg1-3 [69.8 kB]
Get:23 http://archive.ubuntu.com/ubuntu mantic/universe amd64 libnetfilter-acct1 amd64 1.0.3-4 [7318 B]
Get:24 http://archive.ubuntu.com/ubuntu mantic/universe amd64 netdata-core amd64 1.42.1-1 [1780 kB]
Get:25 http://archive.ubuntu.com/ubuntu mantic/universe amd64 netdata-plugins-bash all 1.42.1-1 [653 kB]
Get:26 http://archive.ubuntu.com/ubuntu mantic/universe amd64 netdata-web all 1.42.1-1 [9152 kB]
Get:27 http://archive.ubuntu.com/ubuntu mantic/universe amd64 netdata all 1.42.1-1 [8158 B]
Get:28 http://archive.ubuntu.com/ubuntu mantic/main amd64 python3-six all 1.16.0-4 [12.4 kB]
Get:29 http://archive.ubuntu.com/ubuntu mantic/main amd64 python3-urllib3 all 1.26.16-1 [102 kB]
Get:30 http://archive.ubuntu.com/ubuntu mantic/universe amd64 netdata-plugins-python all 1.42.1-1 [115 kB]
Fetched 14.6 MB in 0s (39.7 MB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libcap2-bin.
(Reading database ... 7516 files and directories currently installed.)
Preparing to unpack .../00-libcap2-bin_1%3a2.66-4ubuntu1_amd64.deb ...
Unpacking libcap2-bin (1:2.66-4ubuntu1) ...
Selecting previously unselected package libmnl0:amd64.
Preparing to unpack .../01-libmnl0_1.0.4-3ubuntu1_amd64.deb ...
Unpacking libmnl0:amd64 (1.0.4-3ubuntu1) ...
Selecting previously unselected package libpam-cap:amd64.
Preparing to unpack .../02-libpam-cap_1%3a2.66-4ubuntu1_amd64.deb ...
Unpacking libpam-cap:amd64 (1:2.66-4ubuntu1) ...
Selecting previously unselected package libyaml-0-2:amd64.
Preparing to unpack .../03-libyaml-0-2_0.2.5-1_amd64.deb ...
Unpacking libyaml-0-2:amd64 (0.2.5-1) ...
Selecting previously unselected package python3-yaml.
Preparing to unpack .../04-python3-yaml_6.0.1-1_amd64.deb ...
Unpacking python3-yaml (6.0.1-1) ...
Selecting previously unselected package libnghttp2-14:amd64.
Preparing to unpack .../05-libnghttp2-14_1.55.1-1_amd64.deb ...
Unpacking libnghttp2-14:amd64 (1.55.1-1) ...
Selecting previously unselected package libpsl5:amd64.
Preparing to unpack .../06-libpsl5_0.21.2-1_amd64.deb ...
Unpacking libpsl5:amd64 (0.21.2-1) ...
Selecting previously unselected package libuv1:amd64.
Preparing to unpack .../07-libuv1_1.44.2-1_amd64.deb ...
Unpacking libuv1:amd64 (1.44.2-1) ...
Selecting previously unselected package publicsuffix.
Preparing to unpack .../08-publicsuffix_20230209.2326-1_all.deb ...
Unpacking publicsuffix (20230209.2326-1) ...
Selecting previously unselected package libbrotli1:amd64.
Preparing to unpack .../09-libbrotli1_1.0.9-2build8_amd64.deb ...
Unpacking libbrotli1:amd64 (1.0.9-2build8) ...
Selecting previously unselected package libsasl2-modules-db:amd64.
Preparing to unpack .../10-libsasl2-modules-db_2.1.28+dfsg1-3_amd64.deb ...
Unpacking libsasl2-modules-db:amd64 (2.1.28+dfsg1-3) ...
Selecting previously unselected package libsasl2-2:amd64.
Preparing to unpack .../11-libsasl2-2_2.1.28+dfsg1-3_amd64.deb ...
Unpacking libsasl2-2:amd64 (2.1.28+dfsg1-3) ...
Selecting previously unselected package libldap2:amd64.
Preparing to unpack .../12-libldap2_2.6.6+dfsg-1~exp1ubuntu1_amd64.deb ...
Unpacking libldap2:amd64 (2.6.6+dfsg-1~exp1ubuntu1) ...
Selecting previously unselected package librtmp1:amd64.
Preparing to unpack .../13-librtmp1_2.4+20151223.gitfa8646d.1-2build4_amd64.deb ...
Unpacking librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2build4) ...
Selecting previously unselected package libssh-4:amd64.
Preparing to unpack .../14-libssh-4_0.10.5-3ubuntu1_amd64.deb ...
Unpacking libssh-4:amd64 (0.10.5-3ubuntu1) ...
Selecting previously unselected package libcurl4:amd64.
Preparing to unpack .../15-libcurl4_8.2.1-1ubuntu3.1_amd64.deb ...
Unpacking libcurl4:amd64 (8.2.1-1ubuntu3.1) ...
Selecting previously unselected package curl.
Preparing to unpack .../16-curl_8.2.1-1ubuntu3.1_amd64.deb ...
Unpacking curl (8.2.1-1ubuntu3.1) ...
Selecting previously unselected package fonts-font-awesome.
Preparing to unpack .../17-fonts-font-awesome_5.0.10+really4.7.0~dfsg-4.1_all.deb ...
Unpacking fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ...
Selecting previously unselected package fonts-glyphicons-halflings.
Preparing to unpack .../18-fonts-glyphicons-halflings_1.009~3.4.1+dfsg-3_all.deb ...
Unpacking fonts-glyphicons-halflings (1.009~3.4.1+dfsg-3) ...
Selecting previously unselected package libjs-bootstrap.
Preparing to unpack .../19-libjs-bootstrap_3.4.1+dfsg-3_all.deb ...
Unpacking libjs-bootstrap (3.4.1+dfsg-3) ...
Selecting previously unselected package libldap-common.
Preparing to unpack .../20-libldap-common_2.6.6+dfsg-1~exp1ubuntu1_all.deb ...
Unpacking libldap-common (2.6.6+dfsg-1~exp1ubuntu1) ...
Selecting previously unselected package libsasl2-modules:amd64.
Preparing to unpack .../21-libsasl2-modules_2.1.28+dfsg1-3_amd64.deb ...
Unpacking libsasl2-modules:amd64 (2.1.28+dfsg1-3) ...
Selecting previously unselected package libnetfilter-acct1:amd64.
Preparing to unpack .../22-libnetfilter-acct1_1.0.3-4_amd64.deb ...
Unpacking libnetfilter-acct1:amd64 (1.0.3-4) ...
Selecting previously unselected package netdata-core.
Preparing to unpack .../23-netdata-core_1.42.1-1_amd64.deb ...
Unpacking netdata-core (1.42.1-1) ...
Selecting previously unselected package netdata-plugins-bash.
Preparing to unpack .../24-netdata-plugins-bash_1.42.1-1_all.deb ...
Unpacking netdata-plugins-bash (1.42.1-1) ...
Selecting previously unselected package netdata-web.
Preparing to unpack .../25-netdata-web_1.42.1-1_all.deb ...
Unpacking netdata-web (1.42.1-1) ...
Selecting previously unselected package netdata.
Preparing to unpack .../26-netdata_1.42.1-1_all.deb ...
Unpacking netdata (1.42.1-1) ...
Selecting previously unselected package python3-six.
Preparing to unpack .../27-python3-six_1.16.0-4_all.deb ...
Unpacking python3-six (1.16.0-4) ...
Selecting previously unselected package python3-urllib3.
Preparing to unpack .../28-python3-urllib3_1.26.16-1_all.deb ...
Unpacking python3-urllib3 (1.26.16-1) ...
Selecting previously unselected package netdata-plugins-python.
Preparing to unpack .../29-netdata-plugins-python_1.42.1-1_all.deb ...
Unpacking netdata-plugins-python (1.42.1-1) ...
Setting up libpsl5:amd64 (0.21.2-1) ...
Setting up libyaml-0-2:amd64 (0.2.5-1) ...
Setting up fonts-glyphicons-halflings (1.009~3.4.1+dfsg-3) ...
Setting up libbrotli1:amd64 (1.0.9-2build8) ...
Setting up libsasl2-modules:amd64 (2.1.28+dfsg1-3) ...
Setting up libnghttp2-14:amd64 (1.55.1-1) ...
Setting up python3-yaml (6.0.1-1) ...
Setting up libldap-common (2.6.6+dfsg-1~exp1ubuntu1) ...
Setting up libsasl2-modules-db:amd64 (2.1.28+dfsg1-3) ...
Setting up libcap2-bin (1:2.66-4ubuntu1) ...
Setting up python3-six (1.16.0-4) ...
Setting up libuv1:amd64 (1.44.2-1) ...
Setting up librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2build4) ...
Setting up libmnl0:amd64 (1.0.4-3ubuntu1) ...
Setting up libsasl2-2:amd64 (2.1.28+dfsg1-3) ...
Setting up libssh-4:amd64 (0.10.5-3ubuntu1) ...
Setting up libnetfilter-acct1:amd64 (1.0.3-4) ...
Setting up python3-urllib3 (1.26.16-1) ...
Setting up libpam-cap:amd64 (1:2.66-4ubuntu1) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.36.0 /usr/local/share/perl/5.36.0 /usr/lib/x86_64-linux-gnu/perl5/5.36 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.36 /usr/share/perl/5.36 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Setting up publicsuffix (20230209.2326-1) ...
Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ...
Setting up libldap2:amd64 (2.6.6+dfsg-1~exp1ubuntu1) ...
Setting up libjs-bootstrap (3.4.1+dfsg-3) ...
Setting up netdata-core (1.42.1-1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/netdata.service → /lib/systemd/system/netdata.service.
/usr/sbin/policy-rc.d returned 101, not running 'start netdata.service'
Setting up netdata-plugins-bash (1.42.1-1) ...
Setting up netdata-plugins-python (1.42.1-1) ...
Setting up netdata-web (1.42.1-1) ...
Setting up libcurl4:amd64 (8.2.1-1ubuntu3.1) ...
Setting up curl (8.2.1-1ubuntu3.1) ...
Setting up netdata (1.42.1-1) ...
Processing triggers for libc-bin (2.38-1ubuntu6) ...
root@09e8a0c11551:/# systemctl status netdata
○ netdata.service - netdata - Real-time performance monitoring
     Loaded: loaded (/lib/systemd/system/netdata.service; enabled; preset: enabled)
     Active: inactive (dead)
       Docs: man:netdata
             file:///usr/share/doc/netdata/html/index.html
             https://github.com/netdata/netdata
root@09e8a0c11551:/# systemctl start netdata
root@09e8a0c11551:/# systemctl status netdata
● netdata.service - netdata - Real-time performance monitoring
     Loaded: loaded (/lib/systemd/system/netdata.service; enabled; preset: enabled)
     Active: active (running) since Fri 2023-11-03 07:30:31 UTC; 2s ago
       Docs: man:netdata
             file:///usr/share/doc/netdata/html/index.html
             https://github.com/netdata/netdata
   Main PID: 442 (netdata)
      Tasks: 59 (limit: 307)
     Memory: 20.4M
        CPU: 415ms
     CGroup: /system.slice/netdata.service
             ├─442 /usr/sbin/netdata -D
             ├─444 /usr/sbin/netdata --special-spawn-server
             ├─668 /usr/bin/python3 /usr/lib/netdata/plugins.d/python.d.plugin 1
             └─671 /usr/lib/netdata/plugins.d/nfacct.plugin 1

Nov 03 07:30:31 09e8a0c11551 systemd[1]: Started netdata.service - netdata - Real-time performance monitoring.
Nov 03 07:30:31 09e8a0c11551 netdata[442]: CONFIG: cannot load cloud config '/var/lib/netdata/cloud.d/cloud.conf'. Running with internal defaults.
Nov 03 07:30:31 09e8a0c11551 netdata[442]: 2023-11-03 07:30:31: netdata INFO : MAIN : CONFIG: cannot load cloud config '/var/lib/netdata/cloud.d/cloud.conf'. Running with internal defaults.
Nov 03 07:30:31 09e8a0c11551 netdata[442]: 2023-11-03 07:30:31: netdata INFO : MAIN : Found 0 legacy dbengines, setting multidb diskspace to 256MB
Nov 03 07:30:31 09e8a0c11551 netdata[442]: 2023-11-03 07:30:31: netdata INFO : MAIN : Created file '/var/lib/netdata/dbengine_multihost_size' to store the computed value
Nov 03 07:30:31 09e8a0c11551 netdata[442]: Found 0 legacy dbengines, setting multidb diskspace to 256MB
Nov 03 07:30:31 09e8a0c11551 netdata[442]: Created file '/var/lib/netdata/dbengine_multihost_size' to store the computed value
Nov 03 07:30:33 09e8a0c11551 perf.plugin[672]: no charts enabled - nothing to do.
Nov 03 07:30:33 09e8a0c11551 debugfs.plugin[697]: debugfs.plugin should run with CAP_DAC_READ_SEARCH.
Nov 03 07:30:33 09e8a0c11551 debugfs.plugin[697]: debugfs.plugin should either run as root (now running with uid 995, euid 995) or have special capabilities. Without these, debugfs.plugin cannot access /sys/kernel/debug. To enable capabilities run: sudo setcap cap_dac_read_search,cap_sys_ptrace+ep /usr/lib/netdata/plugins.d/debugfs.plugin; To enable setuid to root run: sudo chown root:netdata /usr/lib/netdata/plugins.d/debugfs.plugin; sudo chmod 4750 /usr/lib/netdata/plugins.d/debugfs.plugin;
```

</details>

Here is the bug:

```
root@09e8a0c11551:/# curl http://localhost:19999
File does not exist, or is not accessible: root@09e8a0c11551:/#
root@09e8a0c11551:/# ls /usr/share/netdata/web/
asset-manifest.json dashboard_info.js images netdata-swagger.yaml sitemap.xml
console.html dashboard_info_custom_example.js index-node-view.html old static
css demo.html index.html precache-manifest.e2d3811ef5e4b7e75e1f56d6ee92ef2c.js switch.html
dash-example.html demo2.html infographic.html refresh-badges.js tv-react.html
dashboard-react.js demosites.html lib registry-access.html tv.html
dashboard.css demosites2.html main.css registry-alert-redirect.html v0
dashboard.html favicon.ico main.js registry-hello.html v1
dashboard.js fonts manifest.json robots.txt v2
dashboard.slate.css goto-host-from-alarm.html netdata-swagger.json service-worker.js version.txt
root@09e8a0c11551:/#
root@09e8a0c11551:/#
root@09e8a0c11551:/# ls /usr/share/netdata/web/version.txt
/usr/share/netdata/web/version.txt
root@09e8a0c11551:/# curl http://localhost:19999/version.txt
File does not exist, or is not accessible: root@09e8a0c11551:/#
root@09e8a0c11551:/#
root@09e8a0c11551:/# curl http://localhost:19999/sitemap.xml
File does not exist, or is not accessible: root@09e8a0c11551:/#
root@09e8a0c11551:/#
root@09e8a0c11551:/# curl http://localhost:19999/index.html
File does not exist, or is not accessible: root@09e8a0c11551:/#
```

Unfortunately, this makes netdata unusable.

## Versions

```
root@09e8a0c11551:/# cat /etc/os-release
PRETTY_NAME="Ubuntu 23.10"
NAME="Ubuntu"
VERSION_ID="23.10"
VERSION="23.10 (Mantic Minotaur)"
VERSION_CODENAME=mantic
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=mantic
LOGO=ubuntu-logo
root@09e8a0c11551:/# apt-get policy netdata netdata-web
E: Invalid operation policy
root@09e8a0c11551:/# apt-cache policy netdata netdata-web
netdata:
  Installed: 1.42.1-1
  Candidate: 1.42.1-1
  Version table:
 *** 1.42.1-1 500
        500 http://archive.ubuntu.com/ubuntu mantic/universe amd64 Packages
        100 /var/lib/dpkg/status
netdata-web:
  Installed: 1.42.1-1
  Candidate: 1.42.1-1
  Version table:
 *** 1.42.1-1 500
        500 http://archive.ubuntu.com/ubuntu mantic/universe amd64 Packages
        100 /var/lib/dpkg/status
```

Related branches

Revision history for this message
Nick (kousu) wrote :
Download full text (30.4 KiB)

I am allowed to look at the special path /netdata.conf, and it tells me that netdata-web is supposed to be loaded from /usr/share/netdata/web like I expect:

```
root@09e8a0c11551:/# curl http://localhost:19999/netdata.conf
# netdata configuration
#
# You can download the latest version of this file, using:
#
# wget -O /etc/netdata/netdata.conf http://localhost:19999/netdata.conf
# or
# curl -o /etc/netdata/netdata.conf http://localhost:19999/netdata.conf
#
# You can uncomment and change any of the options below.
# The value shown in the commented settings, is the default value.
#

# global netdata configuration

[global]
        run as user = netdata

        # option 'web files owner' is not used.
        web files owner = root

        # option 'web files group' is not used.
        web files group = root
        # glibc malloc arena max for plugins = 1
        # glibc malloc arena max for netdata = 1
        # cpu cores = 4
        # libuv worker threads = 24
        # hostname = 09e8a0c11551
        # host access prefix =
        # enable metric correlations = yes
        # metric correlations method = ks2
        # timezone = Etc/UTC
        # OOM score = 0
        # process scheduling policy = batch
        # process nice level = 19
        # pthread stack size = 8388608

[db]
        # update every = 1
        # mode = dbengine
        # dbengine page cache size MB = 32
        # dbengine extent cache size MB = 0
        # dbengine enable journal integrity check = no
        # dbengine disk space MB = 256
        # dbengine multihost disk space MB = 256
        # memory deduplication (ksm) = yes
        # cleanup obsolete charts after secs = 3600
        # gap when lost iterations above = 1
        # enable replication = yes
        # seconds to replicate = 86400
        # seconds per replication step = 600
        # cleanup orphan hosts after secs = 3600
        # dbengine use direct io = yes
        # dbengine pages per extent = 64
        # storage tiers = 3
        # dbengine parallel initialization = yes
        # dbengine tier 1 multihost disk space MB = 128
        # dbengine tier 1 update every iterations = 60
        # dbengine tier 1 backfill = new
        # dbengine tier 2 multihost disk space MB = 64
        # dbengine tier 2 update every iterations = 60
        # dbengine tier 2 backfill = new
        # delete obsolete charts files = yes
        # delete orphan hosts files = yes
        # enable zero metrics = no
        # replication threads = 1

[directories]
        # config = /etc/netdata
        # stock config = /usr/lib/netdata/conf.d
        # log = /var/log/netdata
        # web = /usr/share/netdata/web
        # cache = /var/cache/netdata
        # lib = /var/lib/netdata
        # home = /var/lib/netdata
        # lock = /var/lib/netdata/lock
        # plugins = "/usr/lib/netdata/plugins.d" "/etc/netdata/custom-plugins.d"
        # registry = /var/lib/netdata/registry
        # stock health config = /usr/lib/netdata/conf.d/health.d
        # health config = /etc/netdata/health.d

[logs]
        # debug flags = 0x0000000000000000
        # debug = /var/log/netdata/debug.log
        # error = /var/log...

Revision history for this message
Nick (kousu) wrote :

```
root@09e8a0c11551:/# mkdir /tmp/netdata-web
root@09e8a0c11551:/# chown netdata:netdata /tmp/netdata-web
root@09e8a0c11551:/# echo "hello" > /tmp/netdata-web/index.html
root@09e8a0c11551:/# chown -R netdata:netdata /tmp/netdata-web
root@09e8a0c11551:/# sudo -u netdata cat /tmp/netdata-web/index.html
hello
root@09e8a0c11551:/# systemctl restart netdata
```

```
root@09e8a0c11551:/# curl http://localhost:19999/netdata.conf 2>/dev/null | grep -C 2 netdata-web

[directories]
        web = /tmp/netdata-web
        # config = /etc/netdata
        # stock config = /usr/lib/netdata/conf.d
```

But still:

```
root@09e8a0c11551:/# curl http://localhost:19999/index.html
File does not exist, or is not accessible: root@09e8a0c11551:/#
```

Revision history for this message
Nick (kousu) wrote :

Oh and this happens for me even if I run netdata as `netdata -D` instead of `systemctl restart netdata`, so I don't think it's some weird systemd/capabilities thing.

Revision history for this message
Nick (kousu) wrote :

I built the corresponding v1.42.1 from upstream using their build script and it worked:

```
apt-get install build-essential autoconf pkg-config libelf-dev cmake pkg-config libuv1-dev uuid-dev libssl-dev libcap-dev libcups2-dev libjson-c-dev libjudy-dev liblz4-dev libmnl-dev libnetfilter-acct-dev libprotobuf-dev libsnappy-dev libssl-dev libuv1-dev libyaml-dev protobuf-compiler uuid-dev zlib1g-dev
git clone -b v1.42.1 https://github.com/netdata/netdata
cd netdata
NETDATA_CONFIGURE_OPTIONS="--disable-h2o" ./netdata-installer.sh # press enter once to start the build
```

```
root@09e8a0c11551:~/netdata# curl http://localhost:19999/version.txt 2>&1
5fc5d414f948e9d7b417aa652fe46337b9db0a4a
root@09e8a0c11551:~/netdata# curl http://localhost:19999/sitemap.xml 2>&1
<?xml version="1.0" encoding="UTF-8"?>
<!-- SPDX-License-Identifier: GPL-3.0-or-later -->
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
        <url>
                <loc>https://my-netdata.io/</loc>
                <lastmod>2017-01-02</lastmod>
                <changefreq>always</changefreq>
        </url>
</urlset>
```

So there is something in, I guess, https://git.launchpad.net/ubuntu/+source/netdata/tree/debian?h=applied/1.42.1-1, that's knocking netdata on its back.

Revision history for this message
Nick (kousu) wrote :

I tried building from our source here and that worked -- but it built v1.43.2.

```
mkdir netdata-ubuntu
cd netdata-ubuntu
apt-get install -y git build-essential
git clone https://git.launchpad.net/ubuntu/+source/netdata
apt-get install dh-apache2 debhelper-compat libelf-dev cmake pkg-config libuv1-dev uuid-dev libssl-dev libcap-dev libcups2-dev libjson-c-dev libjudy-dev liblz4-dev libmnl-dev libnetfilter-acct-dev libprotobuf-dev libsnappy-dev libssl-dev libuv1-dev libyaml-dev pkg-config protobuf-compiler uuid-dev zlib1g-dev # everything from debian/control
dpkg-buildpackage -nc -uc -us -j$(nproc) -b -d
dpkg -i ../*.deb # netdata-apache2 failed to install but it's just an optional plugin
systemctl restart netdata
systemctl status netdata
```

```
root@09e8a0c11551:~/netdata-ubuntu/netdata# curl http://localhost:19999/sitemap.xml 2>&1
<?xml version="1.0" encoding="UTF-8"?>
<!-- SPDX-License-Identifier: GPL-3.0-or-later -->
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
        <url>
                <loc>https://my-netdata.io/</loc>
                <lastmod>2017-01-02</lastmod>
                <changefreq>always</changefreq>
        </url>
</urlset>
root@09e8a0c11551:~/netdata-ubuntu/netdata# curl http://localhost:19999 | head
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
100 11698 100 11698 0 0 10.<!doctype html><html><head><title>Netdata Agent Console</title><script>let pathsRegex = /\/(spaces|nodes|overview|alerts|dashboards|anomalies|events|cloud|v2)\/?.*/
2M let getBasename = function() {
          return window.location.origin + window.location.pathname.replace(pathsRegex, "")
       }
       let goToOld = function(path) {
         let goToUrl = getBasename() + path;
         if (path === "/v2") {
0 let pathsRegex = /(\/(spaces|nodes|overview|alerts|dashboards|anomalies|events|cloud)\/?.*)/
- if (pathsRegex.test(window.location.origin + window.location.pathname)) {
-: goToUrl = (window.location.origin + window.location.pathname).replace(pathsRegex, "/v2$1")
--:-- --:--:-- --:--:-- 11.1M
root@09e8a0c11551:~/netdata-ubuntu/netdata# curl http://localhost:19999/version.txt
1.43.2-1
```

Revision history for this message
Nick (kousu) wrote :

I tried building v1.42.1 from the source here and that failed (phew, finally some consistency)

```
mkdir netdata-ubuntu2
cd netdata-ubuntu2
apt-get install -y git build-essential
git clone https://git.launchpad.net/ubuntu/+source/netdata
apt-get install dh-apache2 debhelper-compat libelf-dev cmake pkg-config libuv1-dev uuid-dev libssl-dev libcap-dev libcups2-dev libjson-c-dev libjudy-dev liblz4-dev libmnl-dev libnetfilter-acct-dev libprotobuf-dev libsnappy-dev libssl-dev libuv1-dev libyaml-dev pkg-config protobuf-compiler uuid-dev zlib1g-dev # everything from debian/control
git checkout import/1.42.1-1
dpkg-buildpackage -nc -uc -us -j$(nproc) -b -d
dpkg -i ../netdata-*1.42.1*.deb
systemctl restart netdata
```

Producing the error:

```
root@09e8a0c11551:~/netdata-ubuntu/netdata# curl http://localhost:19999/version.txt
File does not exist, or is not accessible: root@09e8a0c11551:~/netdata-ubuntu/netdata#
```

Revision history for this message
Nick (kousu) wrote :

I've found the problem, it was this commit https://git.launchpad.net/ubuntu/+source/netdata/commit/debian/patches/upstream/0001-allow-symlinks.patch?h=applied/1.41.0-1&id=3b243dfbf6e6dfc45f29f4aea13442ab9f313e7b

That patch makes the code a no-op, with web_filename never getting filled in:

```
    char web_filename[FILENAME_MAX + 1];
    struct stat statbuf;
    if (stat(web_filename, &statbuf) != 0) {
         w->response.data->content_type = CT_TEXT_HTML;
         buffer_strcat(w->response.data, "File does not exist, or is not accessible: ");
         buffer_strcat_htmlescape(w->response.data, web_filename);
```

This was corrected in 1.43.0: https://git.launchpad.net/ubuntu/+source/netdata/commit/debian/patches/upstream/0001-allow-symlinks.patch?h=applied/1.43.0-1&id=1a9d47b69d9517476741e8bdaaf703adb5d19ac4 though I'm not sure if it was because it was trying to fix this bug; there's a note in the changelog that "Removing allow-symlinks.patch, not needed anymore (Closes: #1043415).", but https://bugs.launchpad.net/ubuntu/+source/netdata/+bug/1043415 is 404 for me so I am stumped. I guess it doesn't really matter though 😶

((and btw Debian is unaffected by this because they're further behind: they're only at netdata 1.29.3 which still has the `lstat()` call directly on that line instead of the `find_filename_to_serve()` helper.))

**So**: my request, please backport 1a9d47b69d9517476741e8bdaaf703adb5d19ac4 onto v1.41.1-1 and publish it as v1.41.1-2 so I can please use netdata again on my Mantic servers. Thank you :)

Revision history for this message
Nick (kousu) wrote :

Aaaaaaaah sorry I don't understand the branching strategy. 1a9d47b69d9517476741e8bdaaf703adb5d19ac4 is a merge. There doesn't seem to be a single commit that just drops 0001-allow-symlinks.patch. But hopefully I've explained myself clearly enough. Probably too much. Um. Sorry!

Nick (kousu)
description: updated
Revision history for this message
Nick (kousu) wrote :
Lukas Märdian (slyon)
Changed in netdata (Ubuntu Noble):
status: New → Fix Released
Lukas Märdian (slyon)
Changed in netdata (Ubuntu Mantic):
status: New → In Progress
Changed in netdata (Debian):
status: Unknown → Fix Released
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello Nick, or anyone else affected,

Accepted netdata into mantic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/netdata/1.42.1-1ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-mantic to verification-done-mantic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-mantic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in netdata (Ubuntu Mantic):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-mantic
Revision history for this message
Stanislav Bocinec (svacko) wrote :

Hello Timo,

I was also affected by the same issue. I've just manually installed the proposed packages on mantic https://launchpad.net/ubuntu/+source/netdata/1.42.1-1ubuntu0.1/+build/27638474 and I confirm it helped to solve the issue, I can finally access Netdata dashboard on http://localhost:19999

Revision history for this message
Mauricio Faria de Oliveira (mfo) wrote :

The previous comment confirmed the package in -proposed works, but didn't flip the verification tag.

I also performed a quick verification (thanks for the test plan), and it looks good; flipping tags.

...

$ lxc launch ubuntu:mantic netdata-mantic
$ lxc exec netdata-mantic -- su - ubuntu

Before:
---

$ sudo apt update
$ sudo apt install -y netdata

$ apt-cache policy netdata
netdata:
  Installed: 1.42.1-1
  Candidate: 1.42.1-1
  Version table:
 *** 1.42.1-1 500
        500 http://archive.ubuntu.com/ubuntu mantic/universe amd64 Packages
        100 /var/lib/dpkg/status

$ sudo systemctl enable --now netdata.service
$ sudo systemctl status netdata.service | grep Active:
     Active: active (running) since Mon 2024-04-01 18:59:25 UTC; 31s ago

$ ss -nlt | grep :19999
LISTEN 0 4096 127.0.0.1:19999 0.0.0.0:*

$ curl 127.0.0.1:19999; echo
File does not exist, or is not accessible:

After:
---

$ sudo add-apt-repository -yp proposed
$ sudo apt install -y -t mantic-proposed netdata

$ apt-cache policy netdata
netdata:
  Installed: 1.42.1-1ubuntu0.1
  Candidate: 1.42.1-1ubuntu0.1
  Version table:
 *** 1.42.1-1ubuntu0.1 100
        100 http://archive.ubuntu.com/ubuntu mantic-proposed/universe amd64 Packages
        100 /var/lib/dpkg/status
     1.42.1-1 500
        500 http://archive.ubuntu.com/ubuntu mantic/universe amd64 Packages

$ sudo systemctl status netdata.service | grep Active:
     Active: active (running) since Mon 2024-04-01 19:02:54 UTC; 18s ago

$ curl 127.0.0.1:19999; echo
<!doctype html><html><head><title>Netdata Agent Console</title><script>let pathsRegex = /\/(spaces|nodes|overview|alerts|dashboards|anomalies|events|cloud|v2)\/?.*/
...
        })</script></body></html>

tags: added: verification-done verification-done-mantic
removed: verification-needed verification-needed-mantic
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package netdata - 1.42.1-1ubuntu0.1

---------------
netdata (1.42.1-1ubuntu0.1) mantic; urgency=medium

  * Backport removing allow-symlinks.patch, not needed anymore (LP: #2042644).

 -- Nick Guenther <email address hidden> Fri, 03 Nov 2023 04:53:29 -0400

Changed in netdata (Ubuntu Mantic):
status: Fix Committed → Fix Released
Revision history for this message
Mauricio Faria de Oliveira (mfo) wrote : Update Released

The verification of the Stable Release Update for netdata has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.