emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#17220: closed (SELinux options in --help / manpage


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#17220: closed (SELinux options in --help / manpage may be confusing)
Date: Wed, 09 Apr 2014 13:19:02 +0000

Your message dated Wed, 09 Apr 2014 14:18:27 +0100
with message-id <address@hidden>
and subject line Re: bug#17220: SELinux options in --help / manpage may be 
confusing
has caused the debbugs.gnu.org bug report #17220,
regarding SELinux options in --help / manpage may be confusing
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
17220: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17220
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: SELinux options in --help / manpage may be confusing Date: Tue, 08 Apr 2014 15:47:35 +0200
Hi,
recently I got one bug report, asking about mknod not running correctly
with old syntax
mknod -m 666 -Z system_u:object_r:random_device_t:s0 /dev/random2 c 1 9
This is not a bug, as since 8.22, short version of -Z doesn't accept
optional arguments.

However, --help and manpage is a bit misleading. I think we should split
the lines for -Z and --context , as both are doing a bit different
thing.
-Z restores the default SELinux context
--context=[CTX] restores the default SELinux context if no CTX is
specified, otherwise sets the SELinux/SMACK context to CTX.

Now, with having them both on one lines, it gives user the feeling that
-Z accepts argument, which may lead to scripts errors. This is not only
about mknod, but about all utilities with -Z option (and recent change
in behaviour)

Thanks in advance for consideration!

Greetings,
         Ondrej




--- End Message ---
--- Begin Message --- Subject: Re: bug#17220: SELinux options in --help / manpage may be confusing Date: Wed, 09 Apr 2014 14:18:27 +0100 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2
Will push the attached soon.

thanks,
Pádraig.

Attachment: context-clarification.patch
Description: Text Data


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]