postinst script might report an error if zfs-fuse is not installed
Bug #1910133 reported by
Lucas Kanashiro
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
docker.io (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Groovy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The postinst script uses the 'zfs mount' command to check mountpoints, however, the zfs-fuse package is a suggested runtime dependency of docker.io which might not be available and in this case the following error will be reported during the package configuration step:
/var/lib/
This happens because the postinst script checks the zfs kernel module information but it does not check if the 'zfs' binary is available, and it is not a mandatory runtime dependency.
Nevertheless, this is not a critical issue, the error is reported but the configuration step works well.
Related branches
~lucaskanashiro/ubuntu/+source/docker.io:fix-postinst-zfs
Merged
into
ubuntu/+source/docker.io:ubuntu/devel
at
revision a22767361ac7096fa8887117652d126ea2369f08
- Sergio Durigan Junior (community): Approve
- Canonical Server: Pending requested
-
Diff: 34 lines (+14/-1)2 files modifieddebian/changelog (+9/-0)
debian/docker.io.postinst (+5/-1)
To post a comment you must log in.
This bug was fixed in the package docker.io - 19.03.13-0ubuntu6
---------------
docker.io (19.03.13-0ubuntu6) hirsute; urgency=medium
* d/docker. io.postinst: check if zfs exists before calling it (LP: #1910133).
The zfs executable is provided by zfs-fuse | zfsutils and they are
runtime Suggested dependencies, which means they might not be available
during configuration time.
-- Lucas Kanashiro <email address hidden> Mon, 04 Jan 2021 17:25:39 -0300