Public bug reported:

Installing freedombox with systemd 261.2 results in an error in the
postinst coming from systemd-tmpfiles:

root@s2:~# apt policy systemd
systemd:
  Installed: 261.2-1ubuntu1
  Candidate: 261.2-1ubuntu1
  Version table:
 *** 261.2-1ubuntu1 100
        100 http://archive.ubuntu.com/ubuntu stonking-proposed/main amd64 
Packages
        100 /var/lib/dpkg/status
     259.5-0ubuntu3 500
        500 http://archive.ubuntu.com/ubuntu stonking/main amd64 Packages
root@s2:~# apt install freedombox

[...]


Setting up freedombox (26.9.1ubuntu2) ...
Creating group 'infinoted' with GID 974.
Creating user 'infinoted' (Infinoted collaborative editing server) with UID 974 
and GID 974.
Creating group 'syncthing' with GID 973.
Creating user 'syncthing' (Syncthing file synchronization server) with UID 973 
and GID 973.
Creating group 'plinth' with GID 972.
Creating user 'plinth' (FreedomBox service) with UID 972 and GID 972.
Detected unsafe path transition /var/lib/plinth (owned by plinth) → 
/var/lib/plinth/firstboot-wizard-secret (owned by root) during canonicaliz
ation of var/lib/plinth/firstboot-wizard-secret.
dpkg: error processing package freedombox (--configure):
 old freedombox package postinst maintainer script subprocess failed with exit 
status 73
dmesg: read kernel buffer failed: Operation not permitted
                                                         Processing triggers 
for dbus-broker (37-5ubuntu5) ...
Processing triggers for install-info (7.2-5ubuntu2) ...
Processing triggers for libc-bin (2.43-2ubuntu2) ...
Processing triggers for rsyslog (8.2512.0-1ubuntu5) ...
Processing triggers for man-db (2.13.1-1build1) ...
Processing triggers for dracut (112-1) ...
Processing triggers for postfix (3.11.4-1ubuntu3) ...
Restarting postfix
Processing triggers for php8.5-cli (8.5.9-0ubuntu1) ...
Processing triggers for php8.5-fpm (8.5.9-0ubuntu1) ...
NOTICE: Not enabling PHP 8.5 FPM by default.
NOTICE: To enable PHP 8.5 FPM in Apache2 do:
NOTICE: a2enmod proxy_fcgi setenvif
NOTICE: a2enconf php8.5-fpm
NOTICE: You are seeing this message because you have apache2 package installed.
Errors were encountered while processing:
 freedombox
needrestart is being skipped since dpkg has failed
Error: Sub-process /usr/bin/dpkg returned an error code (1)

Also observed in autopkgtest:
https://autopkgtest.ubuntu.com/results/autopkgtest-
stonking/stonking/amd64/f/freedombox/20260810_054002_daa40@/log.gz

This is blocking systemd migration.

** Affects: freedombox (Ubuntu)
     Importance: Undecided
     Assignee: Nick Rosbrook (enr0n)
         Status: New

** Affects: systemd (Ubuntu)
     Importance: Undecided
     Assignee: Nick Rosbrook (enr0n)
         Status: New


** Tags: update-excuse

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2163668

Title:
  freedombox postinst fails with systemd-tmpfiles warning

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/freedombox/+bug/2163668/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to