Re: [systemd-devel] [PATCH 1/2] core: keep mountinfo .mounts until late shutdown

2013-03-15 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Mar 11, 2013 at 04:30:10PM +0100, Umut Tezduyar wrote: > > > > > > .mount units coming from /proc/self/mountinfo file are > > > > > > unmounted after local-fs.target is reached during shutdown. > > > > > > > > > > > > Problem: .mount units popping up in mountinfo file are > > > > > > added

Re: [systemd-devel] [PATCH 1/2] core: keep mountinfo .mounts until late shutdown

2013-03-11 Thread Umut Tezduyar
Hi, Thank you for reviewing it Zbyszek. Dropping the requirement to local-fs.target worked better. This way mountinfo mounts don't stick around as inactive-dead as I indicated as a downside of my first patch. I have re-generated the patch with git format-patch and tested it on systemd 198. Please

Re: [systemd-devel] [PATCH 1/2] core: keep mountinfo .mounts until late shutdown

2013-03-07 Thread Umut Tezduyar
Hi, This will be my first priority to either provide more information or open a bug as soon as I have time but I remember trying all the logical thoughts you are mentioning and they didn't work. I had to have both BEFORE and REQUIRED_BY dependency. Now that 198 is out, I will give it a shot again

Re: [systemd-devel] [PATCH 1/2] core: keep mountinfo .mounts until late shutdown

2013-03-04 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Feb 14, 2013 at 09:15:28PM +0100, Zbigniew Jędrzejewski-Szmek wrote: > On Mon, Feb 04, 2013 at 05:27:24PM +0100, Umut Tezduyar wrote: > > Hi > > > > On Mon, Feb 4, 2013 at 4:23 PM, Zbigniew Jędrzejewski-Szmek < > > zbys...@in.waw.pl> wrote: > > > > > Hi, > > > > > > On Mon, Feb 04, 2013 a

Re: [systemd-devel] [PATCH 1/2] core: keep mountinfo .mounts until late shutdown

2013-02-14 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Feb 04, 2013 at 05:27:24PM +0100, Umut Tezduyar wrote: > Hi > > On Mon, Feb 4, 2013 at 4:23 PM, Zbigniew Jędrzejewski-Szmek < > zbys...@in.waw.pl> wrote: > > > Hi, > > > > On Mon, Feb 04, 2013 at 03:03:59PM +0100, Umut Tezduyar wrote: > > > Downside of this patch is, mountinfo mounts stic

Re: [systemd-devel] [PATCH 1/2] core: keep mountinfo .mounts until late shutdown

2013-02-04 Thread Frederic Crozat
Le lundi 04 février 2013 à 16:23 +0100, Zbigniew Jędrzejewski-Szmek a écrit : > Hi, > > On Mon, Feb 04, 2013 at 03:03:59PM +0100, Umut Tezduyar wrote: > > Downside of this patch is, mountinfo mounts stick around as inactive-dead > > even when the file system they represent is unmounted. > > > >

Re: [systemd-devel] [PATCH 1/2] core: keep mountinfo .mounts until late shutdown

2013-02-04 Thread Zbigniew Jędrzejewski-Szmek
Hi, On Mon, Feb 04, 2013 at 03:03:59PM +0100, Umut Tezduyar wrote: > Downside of this patch is, mountinfo mounts stick around as inactive-dead > even when the file system they represent is unmounted. > > > On Mon, Feb 4, 2013 at 3:00 PM, Umut Tezduyar wrote: > > > .mount units coming from /pro

Re: [systemd-devel] [PATCH 1/2] core: keep mountinfo .mounts until late shutdown

2013-02-04 Thread Umut Tezduyar
Downside of this patch is, mountinfo mounts stick around as inactive-dead even when the file system they represent is unmounted. On Mon, Feb 4, 2013 at 3:00 PM, Umut Tezduyar wrote: > .mount units coming from /proc/self/mountinfo file are > unmounted after local-fs.target is reached during shut

[systemd-devel] [PATCH 1/2] core: keep mountinfo .mounts until late shutdown

2013-02-04 Thread Umut Tezduyar
.mount units coming from /proc/self/mountinfo file are unmounted after local-fs.target is reached during shutdown. Problem: .mount units popping up in mountinfo file are added to systemd without any dependency. For that reason, they are the first one to be unmounted during shutdown. Whichever prog