Public bug reported:

Running piuparts fails on systemd package:
 dget http://launchpadlibrarian.net/366689472/systemd_237-3ubuntu10_amd64.deb
 sudo piuparts -d bionic systemd_237-3ubuntu10_amd64.deb

...
4m28.6s DEBUG: Command ok: ['chroot', '/tmp/tmpf5kGNh', 'eatmydata', 'dpkg', 
'--purge', 'systemd']
4m28.6s DEBUG: Starting command: ['chroot', '/tmp/tmpf5kGNh', 'eatmydata', 
'dpkg', '--purge', '--pending']
4m28.7s DEBUG: Command ok: ['chroot', '/tmp/tmpf5kGNh', 'eatmydata', 'dpkg', 
'--purge', '--pending']
4m28.7s DEBUG: Starting command: ['chroot', '/tmp/tmpf5kGNh', 'eatmydata', 
'dpkg', '--remove', '--pending']
4m28.7s DEBUG: Command ok: ['chroot', '/tmp/tmpf5kGNh', 'eatmydata', 'dpkg', 
'--remove', '--pending']
4m28.7s DEBUG: Starting command: ['lsof', '-w', '+D', '/tmp/tmpf5kGNh']
4m29.1s DEBUG: Command failed (status=1), but ignoring error: ['lsof', '-w', 
'+D', '/tmp/tmpf5kGNh']
4m29.4s ERROR: WARN: Broken symlinks:
  /etc/localtime -> /usr/share/zoneinfo/Etc/UTC
  /etc/systemd/system/dbus-org.freedesktop.resolve1.service -> 
/lib/systemd/system/systemd-resolved.service
  /etc/systemd/system/multi-user.target.wants/systemd-resolved.service -> 
/lib/systemd/system/systemd-resolved.service
  /etc/systemd/system/multi-user.target.wants/ondemand.service -> 
/lib/systemd/system/ondemand.service
4m29.4s DEBUG: Starting command: ['chroot', '/tmp/tmpf5kGNh', 'eatmydata', 
'dpkg-divert', '--list']
4m29.4s DUMP: 
  diversion of /usr/share/man/man1/sh.1.gz to 
/usr/share/man/man1/sh.distrib.1.gz by dash
  diversion of /bin/sh to /bin/sh.distrib by dash
4m29.4s DEBUG: Command ok: ['chroot', '/tmp/tmpf5kGNh', 'eatmydata', 
'dpkg-divert', '--list']
4m29.4s DEBUG: Starting command: ['chroot', '/tmp/tmpf5kGNh', 'eatmydata', 
'apt-get', 'clean']
4m29.4s DEBUG: Command ok: ['chroot', '/tmp/tmpf5kGNh', 'eatmydata', 'apt-get', 
'clean']
4m30.7s DEBUG: Modified(uid, gid, mode, size, target): /etc/resolv.conf (0, 0, 
- 100644, 38, None) != (0, 0, l 120777, 39, 
../run/systemd/resolve/stub-resolv.conf)
4m30.7s DEBUG: Modified(uid, gid, mode, size, target): /var/log/tallylog (0, 0, 
- 100600, 6464, None) != (0, 0, - 100600, 6592, None)
4m30.8s ERROR: FAIL: Package purging left files on system:
  /etc/systemd/system/dbus-org.freedesktop.resolve1.service -> 
/lib/systemd/system/systemd-resolved.service      not owned
  /etc/systemd/system/multi-user.target.wants/   not owned
  /etc/systemd/system/multi-user.target.wants/ondemand.service -> 
/lib/systemd/system/ondemand.service   not owned
  /etc/systemd/system/multi-user.target.wants/systemd-resolved.service -> 
/lib/systemd/system/systemd-resolved.service   not owned
  /var/log/apt/eipp.log.xz       not owned
  /var/log/journal/      not owned

4m30.8s ERROR: FAIL: After purging files have been modified:
  /etc/resolv.conf       not owned
  /var/log/tallylog      not owned

4m30.8s ERROR: FAIL: Installation and purging test.
4m31.2s DEBUG: Starting command: ['chroot', '/tmp/tmpf5kGNh', 'eatmydata', 
'umount', '/proc']
4m31.2s DEBUG: Command ok: ['chroot', '/tmp/tmpf5kGNh', 'eatmydata', 'umount', 
'/proc']
4m31.2s DEBUG: Starting command: ['chroot', '/tmp/tmpf5kGNh', 'eatmydata', 
'umount', '/dev/pts']
4m31.2s DEBUG: Command ok: ['chroot', '/tmp/tmpf5kGNh', 'eatmydata', 'umount', 
'/dev/pts']
4m31.2s DEBUG: Starting command: ['rm', '-rf', '--one-file-system', 
'/tmp/tmpf5kGNh']
4m31.4s DEBUG: Command ok: ['rm', '-rf', '--one-file-system', '/tmp/tmpf5kGNh']
4m31.4s DEBUG: Removed directory tree at /tmp/tmpf5kGNh
4m31.4s ERROR: piuparts run ends.


I already proposed a fix for /var/log/journal/ at 
https://salsa.debian.org/debian/piuparts/merge_requests/1 , but most of the 
rest should be fixed in systemd.

piuparts run on Debian's systemd_238-4_amd64.deb in sid passes.

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  piuparts report problems about systemd

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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to