--- /srv/rebuilderd/tmp/rebuilderdz02YLo/inputs/nut-server_2.8.3-3_ppc64el.deb +++ /srv/rebuilderd/tmp/rebuilderdz02YLo/out/nut-server_2.8.3-3_ppc64el.deb ├── file list │ @@ -1,3 +1,3 @@ │ -rw-r--r-- 0 0 0 4 2025-09-01 10:25:12.000000 debian-binary │ -rw-r--r-- 0 0 0 6316 2025-09-01 10:25:12.000000 control.tar.xz │ --rw-r--r-- 0 0 0 1949604 2025-09-01 10:25:12.000000 data.tar.xz │ +-rw-r--r-- 0 0 0 1949540 2025-09-01 10:25:12.000000 data.tar.xz ├── control.tar.xz │ ├── control.tar │ │ ├── ./md5sums │ │ │ ├── ./md5sums │ │ │ │┄ Files differ ├── data.tar.xz │ ├── data.tar │ │ ├── file list │ │ │ @@ -72,16 +72,16 @@ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-09-01 10:25:12.000000 ./usr/lib/systemd/system/ │ │ │ -rw-r--r-- 0 root (0) root (0) 1246 2025-09-01 10:25:12.000000 ./usr/lib/systemd/system/nut-driver-enumerator-daemon-activator.path │ │ │ -rw-r--r-- 0 root (0) root (0) 2477 2025-09-01 10:25:12.000000 ./usr/lib/systemd/system/nut-driver-enumerator-daemon-activator.service │ │ │ -rw-r--r-- 0 root (0) root (0) 1832 2025-09-01 10:25:12.000000 ./usr/lib/systemd/system/nut-driver-enumerator-daemon.service │ │ │ -rw-r--r-- 0 root (0) root (0) 1177 2025-09-01 10:25:12.000000 ./usr/lib/systemd/system/nut-driver-enumerator.path │ │ │ -rw-r--r-- 0 root (0) root (0) 2124 2025-09-01 10:25:12.000000 ./usr/lib/systemd/system/nut-driver-enumerator.service │ │ │ -rw-r--r-- 0 root (0) root (0) 649 2025-09-01 10:25:12.000000 ./usr/lib/systemd/system/nut-driver.target │ │ │ --rw-r--r-- 0 root (0) root (0) 5052 2025-09-01 10:25:12.000000 ./usr/lib/systemd/system/nut-driver@.service │ │ │ --rw-r--r-- 0 root (0) root (0) 3647 2025-09-01 10:25:12.000000 ./usr/lib/systemd/system/nut-server.service │ │ │ +-rw-r--r-- 0 root (0) root (0) 5027 2025-09-01 10:25:12.000000 ./usr/lib/systemd/system/nut-driver@.service │ │ │ +-rw-r--r-- 0 root (0) root (0) 3629 2025-09-01 10:25:12.000000 ./usr/lib/systemd/system/nut-server.service │ │ │ -rw-r--r-- 0 root (0) root (0) 1868 2025-09-01 10:25:12.000000 ./usr/lib/systemd/system/nut-udev-settle.service │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-09-01 10:25:12.000000 ./usr/lib/systemd/system-shutdown/ │ │ │ -rwxr-xr-x 0 root (0) root (0) 3878 2025-09-01 10:25:12.000000 ./usr/lib/systemd/system-shutdown/nutshutdown │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-09-01 10:25:12.000000 ./usr/lib/udev/ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-09-01 10:25:12.000000 ./usr/lib/udev/rules.d/ │ │ │ -rw-r--r-- 0 root (0) root (0) 15708 2025-09-01 10:25:12.000000 ./usr/lib/udev/rules.d/62-nut-usbups.rules │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2025-09-01 10:25:12.000000 ./usr/libexec/ │ │ ├── ./usr/lib/systemd/system/nut-driver@.service │ │ │ @@ -54,31 +54,31 @@ │ │ │ │ │ │ [Service] │ │ │ Environment=NUT_IGNORE_NOWAIT=true │ │ │ Environment=NUT_QUIET_INIT_NDE_WARNING=true │ │ │ EnvironmentFile=-/etc/nut/nut.conf │ │ │ SyslogIdentifier=%N │ │ │ ExecStartPre=-/usr/bin/systemd-tmpfiles --create /usr/lib/tmpfiles.d/nut-common-tmpfiles.conf │ │ │ -ExecStart=/bin/sh -c 'NUTDEV="`/usr/libexec/nut-driver-enumerator.sh --get-device-for-service %i`" && [ -n "$NUTDEV" ] || { echo "FATAL: Could not find a NUT device section for service unit %i" >&2 ; exit 1 ; } ; exec /usr/sbin/upsdrvctl -FF start "$NUTDEV"' │ │ │ +ExecStart=/bin/sh -c 'NUTDEV="`/usr/libexec/nut-driver-enumerator.sh --get-device-for-service %i`" && [ -n "$NUTDEV" ] || { echo "FATAL: Could not find a NUT device section for service unit %i" >&2 ; exit 1 ; } ; exec /usr/sbin/upsdrvctl start "$NUTDEV"' │ │ │ # SIGHUP: simple reload (ignore values we can not change on the fly) │ │ │ # SIGUSR1: reload-or-exit (let systemd resuscitate the service then) │ │ │ ExecReload=/bin/kill -USR1 $MAINPID │ │ │ ExecStop=/bin/sh -c 'NUTDEV="`/usr/libexec/nut-driver-enumerator.sh --get-device-for-service %i`" && [ -n "$NUTDEV" ] || { echo "FATAL: Could not find a NUT device section for service unit %i" >&2 ; exit 1 ; } ; /usr/sbin/upsdrvctl stop "$NUTDEV"' │ │ │ # Restart really always, do not stop trying: │ │ │ StartLimitInterval=0 │ │ │ Restart=always │ │ │ # Protract the "hold-off" interval, so if the device connection is │ │ │ # lost, the driver does not rapidly restart and fail too many times, │ │ │ # and then systemd would keep the unit failed without further retries. │ │ │ # Notably, this helps start "dummy-ups" drivers retranslating local │ │ │ # devices (so getting a chicken-and-egg problem for driver-upsd-driver │ │ │ # orderly series of initializations). More details in NUT issue #779. │ │ │ RestartSec=15s │ │ │ -Type=notify-reload │ │ │ -NotifyAccess=all │ │ │ +Type=forking │ │ │ + │ │ │ # Note: if you set up with systemd notification support, you can take │ │ │ # advantage of watchdog mechanism. Timeouts involved are deployment │ │ │ # dependent (how many devices you monitor, how stressed are they and │ │ │ # the monitoring system, protocol used -- e.g. SNMP walks can take long), │ │ │ # so distributions should not pre-define this (at least not to a small │ │ │ # value): │ │ │ #WatchdogSec=240s │ │ ├── ./usr/lib/systemd/system/nut-server.service │ │ │ @@ -54,24 +54,24 @@ │ │ │ LimitNOFILE=1048576 │ │ │ EnvironmentFile=-/etc/nut/nut.conf │ │ │ SyslogIdentifier=%N │ │ │ # Note: foreground mode "-F" by default skips writing a PID file (and │ │ │ # needs default Type=simple); we can use "-FF" here to create the file │ │ │ # anyway, so that old "upsd -c reload" works rather than systemd action: │ │ │ ExecStartPre=-/usr/bin/systemd-tmpfiles --create /usr/lib/tmpfiles.d/nut-common-tmpfiles.conf │ │ │ -ExecStart=/usr/sbin/upsd -FF │ │ │ +ExecStart=/usr/sbin/upsd -F │ │ │ ExecReload=/usr/sbin/upsd -c reload -P $MAINPID │ │ │ ExecStartPost=-/bin/grep -E 'Units|Max open files' /proc/${MAINPID}/limits │ │ │ # No tracking for PIDFile path and service attribute here (it might not │ │ │ # even exist). │ │ │ # If "-FF" or background-daemon mode is used, so that PID file exists │ │ │ # and "upsd -c stop" in particular can be used from command-line or │ │ │ # legacy scripts, it causes a clean and intentional exit of the daemon. │ │ │ # Then systemd should not revive it - hence restart it only on failure: │ │ │ Restart=on-failure │ │ │ -Type=notify │ │ │ +Type=simple │ │ │ #WatchdogSec=240s │ │ │ -NotifyAccess=main │ │ │ + │ │ │ │ │ │ [Install] │ │ │ WantedBy=nut.target │ │ │ Alias=upsd.service