Re: [systemd-devel] systemd blocks update kernel partition table

2018-11-23 Thread Lennart Poettering
On Do, 22.11.18 19:57, Eberhard Stoll (e-...@gmx.de) wrote: > > It could be that they remain mounted within another mount namespace. You > > don't have any weird udev rules which call `mount`, do you? > > > > If you have a recent util-linux, run `sudo lsns -t mnt` to see live > > namespaces. For

Re: [systemd-devel] systemd blocks update kernel partition table

2018-11-22 Thread Mantas Mikulėnas
On Thu, Nov 22, 2018 at 8:57 PM Eberhard Stoll wrote: > > It could be that they remain mounted within another mount namespace. You > > don't have any weird udev rules which call `mount`, do you? > > > > If you have a recent util-linux, run `sudo lsns -t mnt` to see live > > namespaces. For each n

Re: [systemd-devel] systemd blocks update kernel partition table

2018-11-22 Thread Eberhard Stoll
It could be that they remain mounted within another mount namespace. You don't have any weird udev rules which call `mount`, do you? If you have a recent util-linux, run `sudo lsns -t mnt` to see live namespaces. For each non-kernel process ID in the list, run something like `findmnt -F /proc/

Re: [systemd-devel] systemd blocks update kernel partition table

2018-11-22 Thread Mantas Mikulėnas
On Thu, Nov 22, 2018 at 12:39 PM Eberhard Stoll wrote: > It seems nothing from userspace holds the partitions. Is there a > possibility for a 'hidden' mount or ext4 fs driver occupies the device > nodes? > It could be that they remain mounted within another mount namespace. You don't have any we

Re: [systemd-devel] systemd blocks update kernel partition table

2018-11-22 Thread Eberhard Stoll
Thanks for your reply! systemd creates .device for any partition it finds, but that doesn't mean the partition is mounted. You should trust "mount" in this case. Your partition is not mounted and I don't think this is a systemd problem. People on the yocto side are probably more able to help

Re: [systemd-devel] systemd blocks update kernel partition table

2018-11-22 Thread Lennart Poettering
On Mi, 21.11.18 23:26, e-...@gmx.de (e-...@gmx.de) wrote: >Hi list, >i'm new to systemd and are working with an embedded device with yocto. > >In my embedded device i want to format and store my emmc device with the >new firmware. When updating the firmware the device boots fr

Re: [systemd-devel] systemd blocks update kernel partition table

2018-11-22 Thread Jérémy Rosen
systemd creates .device for any partition it finds, but that doesn't mean the partition is mounted. You should trust "mount" in this case. Your partition is not mounted and I don't think this is a systemd problem. People on the yocto side are probably more able to help now, that being said

[systemd-devel] systemd blocks update kernel partition table

2018-11-21 Thread e-stl
Sorry for my html mail before! Hi list, i'm new to systemd and are working with an embedded device with yocto.   In my embedded device i want to format and store my emmc device with the new firmware. When updating the firmware the device boots from SD card.   When updating the firmware i want to

[systemd-devel] systemd blocks update kernel partition table

2018-11-21 Thread e-stl
Hi list, i'm new to systemd and are working with an embedded device with yocto.   In my embedded device i want to format and store my emmc device with the new firmware. When updating the firmware the device boots from SD card.   When updating the firmware i want to (re)partition my emmc stora