Package: sitesummary
Version: 0.1.60
Followup-For: Bug #1127467
User: [email protected]
Usertags: origin-ubuntu resolute ubuntu-patch
Control: tags -1 patch

Dear Maintainer,

Hello,

Here is the correct debdiff

Best,

-- System Information:
Debian Release: bookworm/sid
  APT prefers jammy-updates
  APT policy: (500, 'jammy-updates'), (500, 'jammy-security'), (500, 'jammy')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.19.0-41-generic (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru sitesummary-0.1.60build1/collect.d/system 
sitesummary-0.1.60ubuntu1/collect.d/system
--- sitesummary-0.1.60build1/collect.d/system   2023-09-09 18:52:54.000000000 
+0200
+++ sitesummary-0.1.60ubuntu1/collect.d/system  2026-02-09 10:12:40.000000000 
+0100
@@ -58,7 +58,11 @@
 
 # Document current runlevel, useful to differenciate LTSP
 # thin clients from diskless workstations.
-runlevel > runlevel
+if command -v systemctl >/dev/null 2>&1 && [ -d /run/systemd/system ]; then
+    systemctl list-units --type=target --state=active > runlevel
+elif command -v runlevel >/dev/null 2>&1; then
+    runlevel > runlevel
+fi

Reply via email to