Bug 764112

Summary: scotty: %run_permissions is obsolete
Product: [openSUSE] openSUSE 12.2 Reporter: Ludwig Nussel <lnussel>
Component: OtherAssignee: Reinhard Max <max>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Factory   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 764093    

Description Ludwig Nussel 2012-05-25 13:13:20 UTC
scotty triggered the rpmlint check
"permissions-suseconfig-obsolete" which means the package calls
the %run_permissions macro in the %post script

The %run_permissions macro calls SuSEconfig which sets permissions
for all files in the system. Please use %set_permissions instead
to only set permissions for files contained in scotty.

The %set_permissions macro is available since openSUSE 11.4, you
may have a look at the util-linux package for an example how to
use it.
Comment 1 Reinhard Max 2012-06-29 12:39:04 UTC
Scotty uses %set_permissions already.

If this bug report is based on some automated test, something else must have triggered it. Maybe %verifyscript or %verify_permissions ?
Comment 2 Ludwig Nussel 2012-06-29 12:52:04 UTC
nope, rpmlint is right:
$ osc cat openSUSE:Factory/scotty scotty.spec|grep '\(run\|set\)_permissions'
%run_permissions
Comment 3 Reinhard Max 2012-06-29 13:10:58 UTC
Ah - Factory is out of sync with the devel project.
Comment 4 Bernhard Wiedemann 2012-06-29 14:00:08 UTC
This is an autogenerated message for OBS integration:
This bug (764112) was mentioned in
https://build.opensuse.org/request/show/126626 Factory / scotty
Comment 5 Reinhard Max 2012-06-29 14:14:32 UTC
done.