[systemd-devel] importd assumes mkfs.btrfs is installed

Lennart Poettering lennart at poettering.net
Mon Apr 27 06:53:09 PDT 2015


On Sat, 25.04.15 21:07, Peter Paule (systemd-devel at fedux.org) wrote:

> Hi Lennart,
> 
> I prepared a virtual machine to investigate the nginx-issue. This
> virtual machine is very very basic and had no mkfs.btrfs installed and
> no native btrfs-fs available.
> 
> When I tried to download a new dkr-image machine, I got the following
> error. This error disappear after I installed the btrfs-progs.
> 
>   # machinectl pull-dkr --dkr-index https://index.hub.docker.com feduxorg/centos-nginx --verify=no
>   Failed transfer image: mkfs.btrfs died abnormally.
> 
> I think in the current implementation there's no check if mkfs.btrfs is
> really installed on the system.
> 
> Does it make sense to add a test and a helpful error message to importd?

Yupp, we can certainly improve the error message for this case. Added
to the TODO list, thanks!

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list