Bug 708995

Summary: yast depends on PolicyKit
Product: [openSUSE] openSUSE 12.1 Reporter: Ludwig Nussel <lnussel>
Component: WebYaSTAssignee: Jiří Suchomel <jsuchome>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P2 - High CC: schubi, vuntz
Version: Factory   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 697010    

Description Ludwig Nussel 2011-07-28 15:06:13 UTC
PolicyKit is deprecated in favor of polkit. The goal is to finally
get rid of PolicyKit for the next openSUSE release. Please port your package to polkit.

The following yast packages depend on PolicyKit, I guess it's not necessary to file individual bugs for all of them :-)

   webyast-activedirectory-ws
   webyast-base-ws
   webyast-firewall-ws
   webyast-firstboot-ws
   webyast-kerberos-ws
   webyast-ldap-ws
   webyast-licenses-ws
   webyast-mail-ws
   webyast-network-ws
   webyast-ntp-ws
   webyast-reboot-ws
   webyast-roles-ui
   webyast-roles-ws
   webyast-root-user-ws
   webyast-services-ws
   webyast-software-ws
   webyast-status-ws
   webyast-time-ws
   webyast-users-ws
   yast2-country
   yast2-dbus-server
Comment 1 Ludwig Nussel 2011-11-28 12:54:07 UTC
could you please submit the remaining packages to Factory so we can close this issue?
Comment 2 Stefan Schubert 2011-11-28 14:03:38 UTC
I have submitted the webyast packages. Lada could you please take care about:

yast2-country
yast2-dbus-server

Thanks!
Comment 3 Ladislav Slezák 2011-12-05 16:15:40 UTC
*** Bug 580723 has been marked as a duplicate of this bug. ***
Comment 4 Ludwig Nussel 2011-12-16 14:13:00 UTC
fixed?
Comment 5 Ladislav Slezák 2011-12-20 09:53:03 UTC
I have fixed yast2-dbus-server (in yast2-dbus-server-2.22.0), submitted to Factory.

Reassigning to Jiri to fix yast2-country...
Comment 6 Bernhard Wiedemann 2011-12-20 10:00:12 UTC
This is an autogenerated message for OBS integration:
This bug (708995) was mentioned in
https://build.opensuse.org/request/show/97160 Factory / yast2-dbus-server
Comment 7 Jiří Suchomel 2012-01-02 10:32:47 UTC
(In reply to comment #5)

> Reassigning to Jiri to fix yast2-country...

What is needed for the change? I assume replacing PolicyKit-devel requirement with polkit-devel is a must, but what about location of policy files?

Current yast2-country installs them to /usr/share/PolicyKit/policy, is this still correct? Those files are used by WebYaST only, what's current WebYaST way?
Comment 8 Stefan Schubert 2012-01-02 10:53:14 UTC
(In reply to comment #7)
> (In reply to comment #5)
> 
> > Reassigning to Jiri to fix yast2-country...
> 
> What is needed for the change? I assume replacing PolicyKit-devel requirement
> with polkit-devel is a must, but what about location of policy files?
> 
> Current yast2-country installs them to /usr/share/PolicyKit/policy, is this
> still correct? Those files are used by WebYaST only, what's current WebYaST
> way?

The new policykit need these files in

/usr/share/polkit-1/actions

now. So I think installing to that directory should be enough.
Regarding the package dependencies, just have a look to trunk of WebYaST.
Comment 9 Jiří Suchomel 2012-01-02 11:08:05 UTC
OK, yast2-country fixed in 2.22.2
Comment 10 Bernhard Wiedemann 2012-01-02 12:00:08 UTC
This is an autogenerated message for OBS integration:
This bug (708995) was mentioned in
https://build.opensuse.org/request/show/98526 Factory / yast2-country