Re: [systemd-devel] systemd kills mdmon if it was started manually by user

2011-11-08 Thread Williams, Dan J
On Tue, Nov 8, 2011 at 6:43 AM, Lennart Poettering wrote: > On Mon, 07.11.11 11:09, Williams, Dan J (dan.j.willi...@intel.com) wrote: >> So I think mdmon should always try to escape itself from cgroup based >> killing.  It follows the lifespan of the array, and if the array is &g

Re: [systemd-devel] systemd kills mdmon if it was started manually by user

2011-11-08 Thread Williams, Dan J
On Tue, Nov 8, 2011 at 12:32 PM, Michal Soltys wrote: > On 11-11-08 17:46, Michal Soltys wrote: >> >> Then even existing intiramfs image could (probably) be mdmon-agnostic. > > Actually: > > chroot /run/initramfs mdmon --takeover --all One of the suggestion earlier in the thread is not mess with

Re: [systemd-devel] systemd kills mdmon if it was started manually by user

2011-11-07 Thread Williams, Dan J
On Mon, Nov 7, 2011 at 4:00 AM, Lennart Poettering wrote: > On Mon, 07.11.11 13:52, NeilBrown (ne...@suse.de) wrote: > >> > Why doesn't the kernel do that on its own? >> >> Because the kernel doesn't know about the format of the metadata that >> describes the array. > > Yupp, my suggestion would b

Re: [systemd-devel] systemd kills mdmon if it was started manually by user

2011-11-02 Thread Williams, Dan J
On Wed, Nov 2, 2011 at 4:39 PM, Lennart Poettering wrote: > On Wed, 02.11.11 15:18, Williams, Dan J (dan.j.willi...@intel.com) wrote: > >> >> On Wed, Nov 2, 2011 at 8:29 AM, Lennart Poettering >> wrote: >> > On Wed, 02.11.11 16:21, Kay Sievers (kay.siev...@vrf

Re: [systemd-devel] systemd kills mdmon if it was started manually by user

2011-11-02 Thread Williams, Dan J
On Wed, Nov 2, 2011 at 8:29 AM, Lennart Poettering wrote: > On Wed, 02.11.11 16:21, Kay Sievers (kay.siev...@vrfy.org) wrote: > >> >> On Wed, Nov 2, 2011 at 16:17, Lennart Poettering >> wrote: >> > Kernel threads we detect by checking whether /proc/$PID/cmdline is >> > empty, hence I'd suggest w

Re: [systemd-devel] systemd kills mdmon if it was started manually by user

2011-11-02 Thread Williams, Dan J
On Wed, Nov 2, 2011 at 11:49 AM, Kay Sievers wrote: > On Wed, Nov 2, 2011 at 19:16, Williams, Dan J > wrote: >> On Wed, Nov 2, 2011 at 7:33 AM, Kay Sievers wrote: >>> People who like to put their rootfs on a userspace managed raid device >>> just get what they a

Re: [systemd-devel] systemd kills mdmon if it was started manually by user

2011-11-02 Thread Williams, Dan J
On Wed, Nov 2, 2011 at 7:33 AM, Kay Sievers wrote: > People who like to put their rootfs on a userspace managed raid device > just get what they asked for. :) Proper care and feeding of mdmon and userspace managed block devices / filesystems is a solvable problem. To me the ":)" runs the risk of

Re: [systemd-devel] systemd kills mdmon if it was started manually by user

2011-11-02 Thread Williams, Dan J
On Wed, Nov 2, 2011 at 8:17 AM, Lennart Poettering wrote: > On Wed, 02.11.11 15:33, Kay Sievers (kay.siev...@vrfy.org) wrote: > >> > The big thing is that if things are done that way you'll always have the >> > chicken and egg problem: you really need to shut down mdmon before >> > unmounting root