Comment 2 for bug 1845314

Revision history for this message
Jose Manuel Santamaria Lema (panfaust) wrote :

1. How to reproduce the issue?

Very easy, you just have to create an eoan LXD container, add the ppa with systemd 243:
https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/3801/+packages

and then just do "apt dist-upgrade" to upgrate to systemd 243 and "apt install udisks2", the udisks2 installation will fail like this (obviously the devices in question could be different in your case, but the error will be similar):

Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/uevent': Permission denied
Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda1/uevent': Permission denied
Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0/block/sdb/uevent': Permission denied
Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0/block/sdb/sdb1/uevent': Permission denied
Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0/block/sdb/sdb2/uevent': Permission denied
Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0/block/sdb/sdb3/uevent': Permission denied
Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0/block/sdb/sdb4/uevent': Permission denied
Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0/block/sdb/sdb5/uevent': Permission denied
Failed to write 'change' to '/sys/devices/virtual/block/loop0/uevent': Permission denied
Failed to write 'change' to '/sys/devices/virtual/block/loop1/uevent': Permission denied
Failed to write 'change' to '/sys/devices/virtual/block/loop2/uevent': Permission denied
Failed to write 'change' to '/sys/devices/virtual/block/loop3/uevent': Permission denied
Failed to write 'change' to '/sys/devices/virtual/block/loop4/uevent': Permission denied
Failed to write 'change' to '/sys/devices/virtual/block/loop5/uevent': Permission denied
Failed to write 'change' to '/sys/devices/virtual/block/loop6/uevent': Permission denied
Failed to write 'change' to '/sys/devices/virtual/block/loop7/uevent': Permission denied
Failed to write 'change' to '/sys/devices/virtual/block/dm-0/uevent': Permission denied
dpkg: error processing package udisks2 (--configure):
 installed udisks2 package post-installation script subprocess returned error exit status 1
Setting up libblockdev-crypto2:amd64 (2.22-1) ...
Processing triggers for man-db (2.8.7-3) ...
Processing triggers for dbus (1.12.14-1ubuntu2) ...
Processing triggers for libc-bin (2.30-0ubuntu2) ...
Errors were encountered while processing:
 udisks2
E: Sub-process /usr/bin/dpkg returned an error code (1)