Bug 808762

Summary: webyast can't read polkit-1 configuration (inexistant files)
Product: [openSUSE] openSUSE 12.3 Reporter: Bruno Friedmann <bruno>
Component: YaST2Assignee: Ladislav Slezák <lslezak>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P2 - High CC: colin.pickup, forgotten_7nxNhEpLD3, franzmach, lnussel, meissner
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Requested Yast log
WebYast log
Full zypper se -si log ( all installed package )
webyast after root login

Description Bruno Friedmann 2013-03-11 19:44:40 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0

Trying to install webyast ( any kind of modules )

# Could not parse line: "/etc/polkit-1/localauthority/55-webyast.d/org.opensuse.yast.modules.yapi.packages.read.pkla"
# Could not parse line: "/etc/polkit-1/localauthority/55-webyast.d/org.opensuse.yast.modules.logfile.read.pkla"

At the end the webyast service start, but no modules are offered (even as root)
no permission

Reproducible: Always

Steps to Reproduce:
1.Install pattern webyast 
2.then install missing modules 
3.start webyast service
4.connect as root
5.front page indicate no permissions
Actual Results:  
no permission and no modules are activated or usable

Expected Results:  
Have webyast doing its job!
Comment 1 Marcus Meissner 2013-03-12 06:46:57 UTC
localauthority no longer exists.

you need to write javascript rules these days, see "polkit-default-privs".
Comment 2 Fei Xiang Zhang 2013-03-12 12:08:35 UTC
please attach y2logs.if you are in doubt follow:
http://en.opensuse.org/openSUSE:Bugreport_YaST
thanks
Comment 3 Bruno Friedmann 2013-03-14 08:30:23 UTC
Created attachment 529653 [details]
Requested Yast log

Collected YaST2 log ( certainly contain too much info )
Comment 4 Bruno Friedmann 2013-03-14 08:32:55 UTC
Created attachment 529654 [details]
WebYast log

Also content of /var/log/webyast
Comment 5 Bruno Friedmann 2013-03-14 08:33:35 UTC
Created attachment 529655 [details]
Full zypper se -si log ( all installed package )

This is the list of actually installed packages
Comment 6 Stefan Schubert 2013-03-14 09:11:17 UTC
Lada, I have read some time ago, that you have done something in this direction :-)
Comment 7 Franz Mach 2013-04-02 12:41:11 UTC
I have the some issue, is there yet any solution for that?
Comment 8 Ladislav Slezák 2013-04-02 12:49:44 UTC
I'm working on the fix, it's quite complicated as the polkit in 12.3 changed significantly (javascript is used instead of simple INI-like files for permission rules). And this needs pretty large change in Webyast...

Just stay tuned ;-)
Comment 9 Franz Mach 2013-04-02 12:51:05 UTC
Created attachment 533054 [details]
webyast after root login
Comment 10 Bernhard Wiedemann 2013-08-14 16:00:20 UTC
This is an autogenerated message for OBS integration:
This bug (808762) was mentioned in
https://build.opensuse.org/request/show/187271 Factory / webyast-base
Comment 11 Bernhard Wiedemann 2013-08-27 09:00:10 UTC
This is an autogenerated message for OBS integration:
This bug (808762) was mentioned in
https://build.opensuse.org/request/show/196521 Factory / webyast-base
Comment 12 Bernhard Wiedemann 2013-08-27 13:00:18 UTC
This is an autogenerated message for OBS integration:
This bug (808762) was mentioned in
https://build.opensuse.org/request/show/196553 Factory / webyast-base
Comment 13 Ladislav Slezák 2013-09-05 09:23:52 UTC
Closing, fixed in Factory/openSUSE-13.1.
Comment 14 Ladislav Slezák 2013-11-05 08:11:27 UTC
*** Bug 848921 has been marked as a duplicate of this bug. ***