Marcus Schaefer changed bug 933664
What Removed Added
Status REOPENED RESOLVED
Resolution --- FIXED

Comment # 5 on bug 933664 from
> /var/lib/named is not a normal directory but a btrfs subvolume
> if the directory exists, it is not possible to create a subvolume anymore:

Sorry but this is not true. /srv, /usr, and all other subvolumes you have added
also exists. It's like a mount point you have to provide a directory. I don't
know what you have tested here, but simply adding:

   mkdir -p /var/lib/named

to kiwi's config.sh fixed this. I have built an image with this setup a second
ago. Here is the log excerpt:

   ls -ld /tmp/mytest/build/image-root/var/lib/named/
drwxr-xr-x 2 root root 40 Jun  5 16:03
/tmp/mytest/build/image-root/var/lib/named/

   Jun-05 16:05:39 <1> : EXEC [btrfs subvolume create
/tmp/kiwiloop.xIYOWy/@/var/lib/named 2>&1]

/var/lib is not a subvolume and I don't have trouble creating another one below
that path

anyway this is not kiwi related anymore. I'm going to submit a new kiwi version
in a minute. Please retry building the image with it and make sure you have
added an mkdir to config.sh to all directories which are not created by default
it can't hurt if you add them even if they are created by some package

If you still see a problem please open a new report

Thanks


You are receiving this mail because: