On 08/18/2016 07:18 AM, Miroslav Vadkerti wrote: > The type must be a file of device type, not a port type. > > Signed-off-by: Miroslav Vadkerti <mvadkert@xxxxxxxxxx> Thanks, applied. > --- > 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) > > _______________________________________________ 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.