[opensuse-buildservice] %{name}-%{version}-rpmlintrc not working on builds for Factory?

Hello all, I have a %{name}-%{version}-rpmlintrc file with addFilter("permissions-unauthorized-file"); nevertheless, rpmlint complains about: |torque.i586: E: permissions-unauthorized-file (Badness: 10000) /etc/permissions.d/torque If the package is intended for inclusion in any SUSE product please open a bug report to request review of the package by the security team| It only complains in builds for openSUSE Factory; builds for openSUSE 11.4 are fine. Any idea? For details, see https://build.opensuse.org/package/show?package=torque&project=network%3Aclu... Tobias -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

On 30/06/11 18:33, Tobias Burnus wrote:
Hello all,
I have a %{name}-%{version}-rpmlintrc file with addFilter("permissions-unauthorized-file"); nevertheless, rpmlint complains about:
|torque.i586: E: permissions-unauthorized-file (Badness: 10000) /etc/permissions.d/torque If the package is intended for inclusion in any SUSE product please open a bug report to request review of the package by the security team|
It only complains in builds for openSUSE Factory; builds for openSUSE 11.4 are fine.
Any idea? For details, see https://build.opensuse.org/package/show?package=torque&project=network%3Aclu...
Tobias
1) You should use setBadness( foo, 0 ) rather than addFilter, so that the error still shows up in the logs and you don't forget to fix it at some point 2) The package has rather a lot of rpmlint warnings, they really ought to be fixed 3) Try .rpmlintrc rather than -rpmlintrc Regards, Tejas -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

On Thu, Jun 30, 2011 at 07:33:01PM +0200, Tobias Burnus wrote:
Hello all,
I have a %{name}-%{version}-rpmlintrc file with addFilter("permissions-unauthorized-file"); nevertheless, rpmlint complains about:
|torque.i586: E: permissions-unauthorized-file (Badness: 10000) /etc/permissions.d/torque If the package is intended for inclusion in any SUSE product please open a bug report to request review of the package by the security team|
It only complains in builds for openSUSE Factory; builds for openSUSE 11.4 are fine.
Any idea? For details, see https://build.opensuse.org/package/show?package=torque&project=network%3Aclu...
This warning cannot be filtered. Set the badness to 0, as suggested. (You know ... its there for a reason... You probably shouldnt have such permissions) Ciao, Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

On 06/30/2011 10:33 PM, Marcus Meissner wrote:
On Thu, Jun 30, 2011 at 07:33:01PM +0200, Tobias Burnus wrote:
Hello all,
I have a %{name}-%{version}-rpmlintrc file with addFilter("permissions-unauthorized-file"); nevertheless, rpmlint complains about:
|torque.i586: E: permissions-unauthorized-file (Badness: 10000) /etc/permissions.d/torque If the package is intended for inclusion in any SUSE product please open a bug report to request review of the package by the security team|
It only complains in builds for openSUSE Factory; builds for openSUSE 11.4 are fine.
Any idea? For details, see https://build.opensuse.org/package/show?package=torque&project=network%3Aclu...
This warning cannot be filtered.
Set the badness to 0, as suggested.
(You know ... its there for a reason... You probably shouldnt have such permissions)
Ciao, Marcus
My question is why not specify this in the spec file and not a permissions file. And yes some of those permissions are a bit scary, but common on cluster apps... Just from experience, not that I approve ;) Peter -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (4)
-
Marcus Meissner
-
Peter Linnell
-
Tejas Guruswamy
-
Tobias Burnus