Gentoo Archives: gentoo-catalyst

From: Mike Frysinger <vapier@g.o>
To: gentoo-catalyst@l.g.o
Subject: Re: [gentoo-catalyst] [PATCH 1/7] Move the signal handler into the StageBase class so it can handle unbind() cleanup
Date: Sat, 11 Mar 2017 21:31:37
Message-Id: 20170311213134.GD31094@vapier
In Reply to: [gentoo-catalyst] [PATCH 1/7] Move the signal handler into the StageBase class so it can handle unbind() cleanup by Brian Dolbec
1 On 10 Mar 2017 11:22, Brian Dolbec wrote:
2 > Subject: [PATCH 1/7] Move the signal handler into the StageBase class so it
3 > can handle unbind() cleanup
4 >
5 > Not quite complete, still errors on some unmounting
6
7 i don't think moving signal handling into a random module makes sense.
8 the main loop should be responsible for this business. i.e. where the
9 code is now (or in catalyst._main).
10
11 if the only thing you want to handle is clean up of mounts, then we
12 should be looking at mount namespaces instead. unlike other namespaces,
13 support for mount namespaces has been around forever and can't be turned
14 off in the kernel.
15
16 the releng repo deals with this by running everything through unshare.
17
18 snakeoil already includes namespace support. i'll send a patch.
19 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature