[systemd-devel] install Fedora systemd-nspawn container on btrfs

arnaud gaboury arnaud.gaboury at gmail.com
Thu Apr 23 23:30:47 PDT 2015


On Fri, Apr 24, 2015 at 8:16 AM, arnaud gaboury
<arnaud.gaboury at gmail.com> wrote:
> On Fri, Apr 24, 2015 at 8:14 AM, arnaud gaboury
> <arnaud.gaboury at gmail.com> wrote:
>> On Thu, Apr 23, 2015 at 7:37 PM, arnaud gaboury
>> <arnaud.gaboury at gmail.com> wrote:
>>> On Thu, Apr 23, 2015 at 7:36 PM, Lennart Poettering
>>> <lennart at poettering.net> wrote:
>>>> On Thu, 23.04.15 19:29, arnaud gaboury (arnaud.gaboury at gmail.com) wrote:
>>>>
>>>>> When in /var/lib/machines/poppy:
>>>>>
>>>>> root at hortensia ➤➤ machines/poppy # btrfs subvolume list .
>>>>> ID 266 gen 98 top level 5 path rootvol
>>>>> ID 268 gen 100 top level 5 path var
>>>>> ID 269 gen 101 top level 5 path etc
>>>>> ID 271 gen 72 top level 266 path var/lib/machines
>>>>> ID 272 gen 77 top level 268 path var/tmp
>>>>> ID 273 gen 77 top level 268 path var/lib/machines
>>>>>
>>>>> Anyone from the Btrfs ML to help ?
>>>>
>>>> Note that systemd-tmpfiles will create /var/tmp, and /var/lib/machines
>>>> as subvolumes these days, if they are missing and on btrfs.
>>>>
>>>
>>> OK, I understand these new subvol
>>
>> After cleaning everything, new install. Fedora 22 container boot but
>> then hangs: no login prompt.
>>
>> I did this:
>> enablerepo=fedora install systemd passwd dnf fedora-release-server
>>
>> Maybe did I forgot one essential repo?
>
> EDIT : if it can help:
>
> gabx at hortensia ➤➤ ~ % systemd-cgls
> ├─1 /usr/lib/systemd/systemd
> ├─machine.slice
> │ └─machine-poppy.scope
> │   ├─5654 /usr/lib/systemd/systemd
> │   └─system.slice
> │     ├─lvm2-lvmetad.service
> │     │ └─5678 /usr/sbin/lvmetad -f
> │     ├─systemd-journald.service
> │     │ └─5676 /usr/lib/systemd/systemd-journald
> │     └─dm-event.service
> │       └─5668 /usr/sbin/dmeventd -f

Issue solved:
Fedora release 22 (Twenty Two)
Kernel 3.19.3-3-apparmor on an x86_64 (console)

poppy login:

What I did: umount my two btrfs subvol
 # umount /var/lib/machines/poppy/etc
 # umount /var/lib/machines/poppy/var

then restart the container.

There is something weird with my btrfs settings.


>
>
>>
>> I will switch to Fedora ML now.
>> TY Lennart for your hints.
>>
>>>
>>>> Lennart
>>>>
>>>> --
>>>> Lennart Poettering, Red Hat
>>>
>>>
>>>
>>> --
>>>
>>> google.com/+arnaudgabourygabx
>>
>>
>>
>> --
>>
>> google.com/+arnaudgabourygabx
>
>
>
> --
>
> google.com/+arnaudgabourygabx



-- 

google.com/+arnaudgabourygabx


More information about the systemd-devel mailing list