On 08/18/2016 01:18 PM, Miroslav Vadkerti wrote: > The type must be a file of device type, not a port type. > > Signed-off-by: Miroslav Vadkerti <mvadkert@xxxxxxxxxx> > --- > policycoreutils/semanage/seobject.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/policycoreutils/semanage/seobject.py b/policycoreutils/semanage/seobject.py > index a6681f0..a34d20d 100644 > --- a/policycoreutils/semanage/seobject.py > +++ b/policycoreutils/semanage/seobject.py > @@ -1937,7 +1937,7 @@ class fcontextRecords(semanageRecords): > if serange == "" and setype == "" and seuser == "": > raise ValueError(_("Requires setype, serange or seuser")) > if setype and setype not in self.valid_types: > - raise ValueError(_("Type %s is invalid, must be a port type") % setype) > + raise ValueError(_("Type %s is invalid, must be a file or device type") % setype) > > self.validate(target) > > Hard-coded reference policy specific type attributes in seobject (self.valid_types) -- Key fingerprint = 5F4D 3CDB D3F8 3652 FBD8 02D5 3B6C 5F1D 2C7B 6B02 https://sks-keyservers.net/pks/lookup?op=get&search=0x3B6C5F1D2C7B6B02 Dominick Grift
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Selinux mailing list Selinux@xxxxxxxxxxxxx To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx. To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.