Re: [PATCH 1/1] coreutil mkdir: ignore -z when selinux is runtime disabled

2015-05-12 Thread Matthew Weber
Denys, On Tue, May 12, 2015 at 6:36 PM, Denys Vlasenko vda.li...@googlemail.com wrote: Is this behavior compatible with standard coreutils? http://git.savannah.gnu.org/cgit/coreutils.git/tree/src/mkdir.c . case 'Z': if (is_smack_enabled ()) { /*

Re: [PATCH 1/1] coreutil mkdir: ignore -z when selinux is runtime disabled

2015-05-12 Thread Denys Vlasenko
Is this behavior compatible with standard coreutils? On Mon, May 11, 2015 at 4:00 PM, Matt Weber matthew.we...@rockwellcollins.com wrote: Fixes the case of using mkdir in inittab where a system might boot with selinux disable during testing and still needs the folders created by this command

[PATCH 1/1] coreutil mkdir: ignore -z when selinux is runtime disabled

2015-05-11 Thread Matt Weber
Fixes the case of using mkdir in inittab where a system might boot with selinux disable during testing and still needs the folders created by this command for ram mounts, etc before a mount -a. Currently it errors out and doesn't create the folder. Signed-off-by: Matthew Weber