Re: [systemd-devel] tentative state and unmount on mapper

2015-05-20 Thread Umut Tezduyar Lindskog
On Mon, May 18, 2015 at 3:59 PM, Umut Tezduyar Lindskog wrote: > Hi, > > There have been few discussions about tentative state and unmounting > and I am experiencing different problem in the same device logic. > > I am at 219 + 628c89cc + 496068a8 + 5259bcf6 > > I have 2 mounts (one is bind mount)

Re: [systemd-devel] tentative state and unmount on mapper

2015-05-19 Thread Lennart Poettering
On Tue, 19.05.15 12:43, Martin Pitt (martin.p...@ubuntu.com) wrote: > Lennart Poettering [2015-05-19 12:28 +0200]: > > > Note that it's a permanent state in containers where you don't > > > actually have udev. > > > > NO! > > > > Martin, as mentioned earlier: current systemd will not bother wit

Re: [systemd-devel] tentative state and unmount on mapper

2015-05-19 Thread Martin Pitt
Lennart Poettering [2015-05-19 12:28 +0200]: > > Note that it's a permanent state in containers where you don't > > actually have udev. > > NO! > > Martin, as mentioned earlier: current systemd will not bother with > device units at all in containers, and they hence will not be in > "tentative"

Re: [systemd-devel] tentative state and unmount on mapper

2015-05-19 Thread Lennart Poettering
On Tue, 19.05.15 10:30, Martin Pitt (martin.p...@ubuntu.com) wrote: > Hello Umut, > > Umut Tezduyar Lindskog [2015-05-19 8:23 +0200]: > > On Mon, May 18, 2015 at 11:02 PM, Lennart Poettering > > wrote: > > > The "tentative" state is nothing the system should continously leave > > > devices in.

Re: [systemd-devel] tentative state and unmount on mapper

2015-05-19 Thread Lennart Poettering
On Tue, 19.05.15 08:23, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: > - Isn't there a race in that "short time window" that if one tries to > unmount stuff, things might go south! Hmm? can you elaborate? The differene between "tentative" and "plugged" is mostly about unmount-on-unplug real

Re: [systemd-devel] tentative state and unmount on mapper

2015-05-19 Thread Martin Pitt
Hello Umut, Umut Tezduyar Lindskog [2015-05-19 8:23 +0200]: > On Mon, May 18, 2015 at 11:02 PM, Lennart Poettering > wrote: > > The "tentative" state is nothing the system should continously leave > > devices in. It's a state only used for very short time windows, before > > udev is up, or when

Re: [systemd-devel] tentative state and unmount on mapper

2015-05-18 Thread Umut Tezduyar Lindskog
On Mon, May 18, 2015 at 11:02 PM, Lennart Poettering wrote: > On Mon, 18.05.15 15:59, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: > >> Hi, >> >> There have been few discussions about tentative state and unmounting >> and I am experiencing different problem in the same device logic. >> >> I a

Re: [systemd-devel] tentative state and unmount on mapper

2015-05-18 Thread Lennart Poettering
On Mon, 18.05.15 15:59, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: > Hi, > > There have been few discussions about tentative state and unmounting > and I am experiencing different problem in the same device logic. > > I am at 219 + 628c89cc + 496068a8 + 5259bcf6 > > I have 2 mounts (one

Re: [systemd-devel] tentative state and unmount on mapper

2015-05-18 Thread Martin Pitt
Hey Umut, Umut Tezduyar Lindskog [2015-05-18 15:59 +0200]: > I have 2 mounts (one is bind mount) on mapper device. > > /proc/self/mountinfo: > 47 37 254:0 / /var/spool/storage/SD_DISK > rw,nosuid,nodev,noexec,noatime,nodiratime shared:18 - ext4 > /dev/mapper/mmcblk0p1 rw,journal_checksum,commit=1

[systemd-devel] tentative state and unmount on mapper

2015-05-18 Thread Umut Tezduyar Lindskog
Hi, There have been few discussions about tentative state and unmounting and I am experiencing different problem in the same device logic. I am at 219 + 628c89cc + 496068a8 + 5259bcf6 I have 2 mounts (one is bind mount) on mapper device. /proc/self/mountinfo: 47 37 254:0 / /var/spool/storage/SD