Re: [Rpm-maint] [rpm-software-management/rpm] Silence spurious error message from lsetfilecon() on -EOPNOTSUPP (#976)
Thank you for fixing this. I have a question though: why does this "hide" the error message from `lsetfilecon` instead of tweaking the routine to not execute `lsetfilecon` on file systems that do not support SELinux attributes? Is it unwieldy to conditionally execute `lsetfilecon`? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/976#issuecomment-622257856___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] Silence spurious error message from lsetfilecon() on -EOPNOTSUPP (#976)
Merged #976 into master. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/976#event-2881259399___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
[Rpm-maint] [rpm-software-management/rpm] Silence spurious error message from lsetfilecon() on -EOPNOTSUPP (#976)
We already filter out -EOPNOTSUPP and return OK, but the message was getting logged before the filtering so wed spit out spurious error messages on filesystems that dont support SELinux (RhBug:1777502) You can view, comment on, or merge this pull request online at: https://github.com/rpm-software-management/rpm/pull/976 -- Commit Summary -- * Silence spurious error message from lsetfilecon() on -EOPNOTSUPP -- File Changes -- M plugins/selinux.c (7) -- Patch Links -- https://github.com/rpm-software-management/rpm/pull/976.patch https://github.com/rpm-software-management/rpm/pull/976.diff -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/976 ___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint