** Description changed:
Current server-live Stonking image builds are failing for arm64 and
ppc64el with the following error message:
Need to get 1141 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://ftpmaster.internal/ubuntu stonking/main ppc64el passwd ppc64el
1:4.19.3-2ubuntu1 [1141 kB]
Fetched 1141 kB in 2s (615 kB/s)
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such
device)
(Reading database ... 8707 files and directories currently installed.)
Preparing to unpack .../passwd_1%3a4.19.3-2ubuntu1_ppc64el.deb ...
Unpacking passwd (1:4.19.3-2ubuntu1) over (1:4.19.3-2ubuntu1) ...
Setting up passwd (1:4.19.3-2ubuntu1) ...
/proc/ is not mounted, but required for successful operation of
systemd-tmpfiles. Please mount /proc/. Alternatively, consider using the
--root= or --image= switches.
dpkg: error processing package passwd (--configure):
- old passwd package postinst maintainer script subprocess failed with exit
status 1
+ old passwd package postinst maintainer script subprocess failed with exit
status 1
Errors were encountered while processing:
- passwd
+ passwd
E: Sub-process /usr/bin/dpkg returned an error code (1)
The error occurs during the package reinstall process, which runs after
debootstrap to remove the docs for minimized base layers. With latest
passwd (=1:4.19.3-2ubuntu1), the package's postinst script uses systemd-
- tmpfiles, which requires/proc to be mounted, causing the error.
+ tmpfiles, which requires /proc to be mounted, causing the error.
It is unclear to me why this issue does not occur for amd64, riscv64,
and s390x.
A possible solution could be this commit (successfully fixes the issue,
locally tested):
https://git.launchpad.net/~oreiche/+git/livecd-rootfs/commit/?id=e4fcbe52ab95151fb215ed62b3acc02b55629801
** Also affects: livecd-rootfs (Ubuntu Stonking)
Importance: Critical
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2164649
Title:
/proc not mounted before reinstalling packages for minimization
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/2164649/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs