[Bug 764100] New: kdebase3: %run_permissions is obsolete
https://bugzilla.novell.com/show_bug.cgi?id=764100 https://bugzilla.novell.com/show_bug.cgi?id=764100#c0 Summary: kdebase3: %run_permissions is obsolete Classification: openSUSE Product: openSUSE 12.2 Version: Factory Platform: All OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: anixx@opensuse.org ReportedBy: lnussel@suse.com QAContact: qa-bugs@suse.de Blocks: 764093 Found By: --- Blocker: --- kdebase3 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 kdebase3. 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. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=764100 https://bugzilla.novell.com/show_bug.cgi?id=764100#c1 --- Comment #1 from Ilya Chernykh <anixx@opensuse.org> 2012-05-25 22:09:17 UTC --- Can you please clarify what change should be done and how much the behavior is different? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=764100 https://bugzilla.novell.com/show_bug.cgi?id=764100#c Ilya Chernykh <anixx@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |lnussel@suse.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=764100 https://bugzilla.novell.com/show_bug.cgi?id=764100#c2 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|lnussel@suse.com | --- Comment #2 from Ludwig Nussel <lnussel@suse.com> 2012-05-29 09:59:42 CEST --- have a look at the example -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=764100 https://bugzilla.novell.com/show_bug.cgi?id=764100#c3 Ilya Chernykh <anixx@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |lnussel@suse.com --- Comment #3 from Ilya Chernykh <anixx@opensuse.org> 2012-05-29 09:45:12 UTC --- Can %set_permissions be called without arguments? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=764100 https://bugzilla.novell.com/show_bug.cgi?id=764100#c4 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|lnussel@suse.com | --- Comment #4 from Ludwig Nussel <lnussel@suse.com> 2012-05-29 11:50:03 CEST --- It doesn't make sense to be called without arguments. http://en.opensuse.org/openSUSE:Packaging_checks#permissions-suseconfig-obso... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=764100 https://bugzilla.novell.com/show_bug.cgi?id=764100#c5 --- Comment #5 from Ilya Chernykh <anixx@opensuse.org> 2012-05-30 04:58:16 UTC --- I do not want to trigger a rebuild for this issue. I will fix it with the next major rebuild. Is it ok? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=764100 https://bugzilla.novell.com/show_bug.cgi?id=764100#c6 --- Comment #6 from Ludwig Nussel <lnussel@suse.com> 2012-05-30 08:54:01 CEST --- No problem but Factory does not fully rebuild unless coolo triggers it so why should you care? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=764100 https://bugzilla.novell.com/show_bug.cgi?id=764100#c7 --- Comment #7 from Ilya Chernykh <anixx@opensuse.org> 2012-05-30 10:10:59 UTC --- I meant rebuild of KDE:KDE3 repository. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=764100 https://bugzilla.novell.com/show_bug.cgi?id=764100#c8 --- Comment #8 from Ilya Chernykh <anixx@opensuse.org> 2012-05-30 10:11:36 UTC --- Can you also tell me whether this macro is necessary at all. When it is useful? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=764100 https://bugzilla.novell.com/show_bug.cgi?id=764100#c9 --- Comment #9 from Ludwig Nussel <lnussel@suse.com> 2012-05-30 13:42:03 CEST --- you appear to be annoyingly clueless. Fix it or leave it. %run_permissions may be removed in the future and you packages will stop working then, simple as that. Until that happens packages that use %run_permissions instead of %set_permissions are just annyoing as they call SuSEconfig. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=764100 https://bugzilla.novell.com/show_bug.cgi?id=764100#c10 --- Comment #10 from Ilya Chernykh <anixx@opensuse.org> 2012-05-31 02:33:33 UTC --- Can you please clarify some additional questions? Should I use it with all executables in a package? Should I add a "verifypermissions" script to the uninstall section as well? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=764100 https://bugzilla.novell.com/show_bug.cgi?id=764100#c11 --- Comment #11 from Ilya Chernykh <anixx@opensuse.org> 2012-06-01 07:23:45 UTC --- Is this way OK? %set_permissions /opt/kde3/bin/arts-start /opt/kde3/bin/drkonqi /opt/kde3/bin/kaccess /opt/kde3/bin/kblankscrn.kss %set_permissions /opt/kde3/bin/kbookmarkmerger /opt/kde3/bin/kcminit /opt/kde3/bin/kcminit_startup /opt/kde3/bin/kcontrol* %set_permissions /opt/kde3/bin/kdeinstallktheme /opt/kde3/bin/kdepasswd /opt/kde3/bin/kdcop /opt/kde3/bin/kdebugdialog %set_permissions /opt/kde3/bin/kdeeject /opt/kde3/bin/kdeprintfax /opt/kde3/bin/keditfiletype /opt/kde3/bin/khelpcenter %set_permissions /opt/kde3/bin/kjobviewer /opt/kde3/bin/kcheckrunning /opt/kde3/bin/kpm /opt/kde3/bin/krandom.kss %set_permissions /opt/kde3/bin/krdb /opt/kde3/bin/kxkb /opt/kde3/bin/kdialog /opt/kde3/bin/klocaldomainurifilterhelper %set_permissions /opt/kde3/bin/kio_media_mounthelper /opt/kde3/bin/knetattach /opt/kde3/bin/ktrash /opt/kde3/bin/khc_docbookdig.pl %set_permissions /opt/kde3/bin/khc_mansearch.pl /opt/kde3/bin/khc_htdig.pl /opt/kde3/bin/khc_htsearch.pl %set_permissions /opt/kde3/bin/kapplymousetheme /opt/kde3/bin/kio_system_documenthelper /opt/kde3/bin/runupdater %set_permissions /opt/kde3/bin/kstart /opt/kde3/bin/ksystraycmd -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=764100 https://bugzilla.novell.com/show_bug.cgi?id=764100#c12 --- Comment #12 from Ludwig Nussel <lnussel@suse.com> 2012-06-05 11:15:25 CEST --- Only /opt/kde3/bin/artswrapper /opt/kde3/bin/kcheckpass /opt/kde3/bin/kdesud /opt/kde3/bin/kpac_dhcp_helper /opt/kde3/bin/start_kdeinit are subject to extra permissions handling, so you only need those. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=764100 https://bugzilla.novell.com/show_bug.cgi?id=764100#c13 --- Comment #13 from Ilya Chernykh <anixx@opensuse.org> 2012-06-06 13:10:22 UTC --- I made a sub,itrequest, but it was declined: * Please add a %verifyscript section * Please add "PreReq: permissions" What should I add to this section? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=764100 https://bugzilla.novell.com/show_bug.cgi?id=764100#c14 --- Comment #14 from Ilya Chernykh <anixx@opensuse.org> 2012-06-06 13:30:10 UTC --- I was previously told that nobody should use prereq any more but now this package is declined because I do not use it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=764100 https://bugzilla.novell.com/show_bug.cgi?id=764100#c15 --- Comment #15 from Ilya Chernykh <anixx@opensuse.org> 2012-06-06 13:34:54 UTC --- The declination also says I to add an appropriate %post section as rpmlint demands: fileshareset.i586: W: permissions-missing-postin missing %set_permissions /usr/bin/fileshareset in %post kdebase3-runtime.i586: W: permissions-missing-postin missing %set_permissions /opt/kde3/bin/kcheckpass in %post kdebase3.i586: W: permissions-missing-postin missing %set_permissions /opt/kde3/bin/kdesud in %post Please add an appropriate %post section but I already have these sections. I do not know what I can do: add the sections second time? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=764100 https://bugzilla.novell.com/show_bug.cgi?id=764100#c16 --- Comment #16 from Ludwig Nussel <lnussel@suse.com> 2012-06-06 15:49:53 CEST --- You need to put the macros in the correct subpackage and have them handle the correct files of course. http://en.opensuse.org/openSUSE:Packaging_Conventions_RPM_Macros#.25verify_p... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=764100 https://bugzilla.novell.com/show_bug.cgi?id=764100#c17 --- Comment #17 from Bernhard Wiedemann <bwiedemann@suse.com> 2012-06-06 16:00:21 CEST --- This is an autogenerated message for OBS integration: This bug (764100) was mentioned in https://build.opensuse.org/request/show/123845 Factory / kdebase3 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=764100 https://bugzilla.novell.com/show_bug.cgi?id=764100#c18 Ilya Chernykh <anixx@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |FIXED --- Comment #18 from Ilya Chernykh <anixx@opensuse.org> 2012-06-13 05:50:54 UTC --- Fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com