Re: [systemd-devel] auto-unmount via BindsTo= is annoying

2015-04-07 Thread Lennart Poettering
On Sun, 05.04.15 08:38, Andrei Borzenkov (arvidj...@gmail.com) wrote: > When mount unit is not in cache, systemd creates *new* definition and > sets BindsTo current device where filesystem is currently mounted. > > If mount unit is present in cache, it already has some BindsTo. When > systemd pro

Re: [systemd-devel] auto-unmount via BindsTo= is annoying

2015-04-07 Thread Lennart Poettering
On Fri, 03.04.15 21:19, Mantas Mikulėnas (graw...@gmail.com) wrote: > Previously udev used to undo mounts when a device *disappeared;* > when Note really. udev didn't have this functionality at the time I added this to systemd. > ~ Ah, yeah, and if dbus isn't running, systemctl spews out this: >

Re: [systemd-devel] auto-unmount via BindsTo= is annoying

2015-04-04 Thread Andrei Borzenkov
В Sat, 4 Apr 2015 12:55:34 +0300 Mantas Mikulėnas пишет: > On Sat, Apr 4, 2015 at 7:37 AM, Andrei Borzenkov > wrote: > > > В Fri, 3 Apr 2015 21:19:24 +0300 > > Mantas Mikulėnas пишет: > > > > > Previously udev used to undo mounts when a device *disappeared;* when > > > systemd took over the ta

Re: [systemd-devel] auto-unmount via BindsTo= is annoying

2015-04-04 Thread Mantas Mikulėnas
On Sat, Apr 4, 2015 at 1:44 PM, Andrei Borzenkov wrote: > В Sat, 4 Apr 2015 12:55:34 +0300 > Mantas Mikulėnas пишет: > > > On Sat, Apr 4, 2015 at 7:37 AM, Andrei Borzenkov > > wrote: > > > > > В Fri, 3 Apr 2015 21:19:24 +0300 > > > Mantas Mikulėnas пишет: > > > > > > > Previously udev used to

Re: [systemd-devel] auto-unmount via BindsTo= is annoying

2015-04-04 Thread Andrei Borzenkov
В Sat, 4 Apr 2015 13:44:50 +0300 Andrei Borzenkov пишет: > В Sat, 4 Apr 2015 12:55:34 +0300 > Mantas Mikulėnas пишет: > > > On Sat, Apr 4, 2015 at 7:37 AM, Andrei Borzenkov > > wrote: > > > > > В Fri, 3 Apr 2015 21:19:24 +0300 > > > Mantas Mikulėnas пишет: > > > > > > > Previously udev used

Re: [systemd-devel] auto-unmount via BindsTo= is annoying

2015-04-04 Thread Andrei Borzenkov
В Sat, 4 Apr 2015 12:55:34 +0300 Mantas Mikulėnas пишет: > On Sat, Apr 4, 2015 at 7:37 AM, Andrei Borzenkov > wrote: > > > В Fri, 3 Apr 2015 21:19:24 +0300 > > Mantas Mikulėnas пишет: > > > > > Previously udev used to undo mounts when a device *disappeared;* when > > > systemd took over the ta

Re: [systemd-devel] auto-unmount via BindsTo= is annoying

2015-04-04 Thread Mantas Mikulėnas
On Sat, Apr 4, 2015 at 7:37 AM, Andrei Borzenkov wrote: > В Fri, 3 Apr 2015 21:19:24 +0300 > Mantas Mikulėnas пишет: > > > Previously udev used to undo mounts when a device *disappeared;* when > > systemd took over the task, it started unmounting things as soon as it > > noticed that the device

Re: [systemd-devel] auto-unmount via BindsTo= is annoying

2015-04-03 Thread Andrei Borzenkov
В Fri, 3 Apr 2015 21:19:24 +0300 Mantas Mikulėnas пишет: > Previously udev used to undo mounts when a device *disappeared;* when > systemd took over the task, it started unmounting things as soon as it > noticed that the device *doesn't exist right now.* While similar, the new > behavior can be a

[systemd-devel] auto-unmount via BindsTo= is annoying

2015-04-03 Thread Mantas Mikulėnas
Previously udev used to undo mounts when a device *disappeared;* when systemd took over the task, it started unmounting things as soon as it noticed that the device *doesn't exist right now.* While similar, the new behavior can be annoying, since it also triggers if the device never existed in the