[Bug 543548] New: Permissions rest service in appliance doesn't return correct result
http://bugzilla.novell.com/show_bug.cgi?id=543548 Summary: Permissions rest service in appliance doesn't return correct result Classification: openSUSE Product: openSUSE 11.2 Version: Milestone 8 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: WebYaST AssignedTo: kkaempf@novell.com ReportedBy: jreidinger@novell.com QAContact: qa@suse.de Found By: --- Created an attachment (id=320688) --> (http://bugzilla.novell.com/attachment.cgi?id=320688) page from http://10.20.4.138:443/permissions.xml?user_id=yastws Hi, I search I don't have permissions for language module in appliance 0.0.5. I look at permission page in backend and all permissions for user root is false. Also for user yastws, but running polkit-auth --user <user> --explicit return that both account have permissions. It doesn't occur on my work station where is factory. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=543548 User mvidner@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=543548#c1 Martin Vidner <mvidner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mvidner@novell.com --- Comment #1 from Martin Vidner <mvidner@novell.com> 2009-10-02 03:40:13 MDT --- I found this too: http://lists.opensuse.org/yast-devel/2009-10/msg00016.html Possibly a dupe of bug 509108, we need to check. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=543548 User schubi@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=543548#c2 Stefan Schubert <schubi@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |schubi@novell.com AssignedTo|kkaempf@novell.com |schubi@novell.com --- Comment #2 from Stefan Schubert <schubi@novell.com> 2009-10-02 06:05:18 MDT --- Mybe. I also can reproduce this error on SLES11. polkit-auth with root says "yes" for the rights whereas the YaST-Webservice says "no". I will try to debug this. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=543548 User schubi@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=543548#c3 --- Comment #3 from Stefan Schubert <schubi@novell.com> 2009-10-02 06:07:54 MDT --- I see that yastws has no rights for reading policykit rights. (org.freedesktop.policykit.read --> no) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=543548 User jreidinger@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=543548#c4 --- Comment #4 from Josef Reidinger <jreidinger@novell.com> 2009-10-02 06:11:50 MDT --- (In reply to comment #3)
I see that yastws has no rights for reading policykit rights. (org.freedesktop.policykit.read --> no)
I try it with polkit-auth --user yastws --explicit and it have this right. Also if this permission is not available it throw exception ( PolkitError). So even if root of problems is this, then behavior is bad. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=543548 User schubi@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=543548#c5 --- Comment #5 from Stefan Schubert <schubi@novell.com> 2009-10-02 06:34:27 MDT --- You are right: polkit-auth --user yastws --explicit|grep org.freedesktop.policykit.read org.freedesktop.policykit.read But I do not understand that this call returns: d188:~ # polkit-auth --user yastws --explicit-detail org.freedesktop.packagekit.system-update Authorized: No Scope: Indefinitely Obtained: Fri Oct 2 11:43:30 2009 from root (uid 0) org.freedesktop.policykit.read Authorized: No Scope: Indefinitely Obtained: Fri Oct 2 11:43:30 2009 from root (uid 0) strange or do I do not understand the output ? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=543548 User lslezak@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=543548#c6 Ladislav Slezak <lslezak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED AssignedTo|schubi@novell.com |lslezak@novell.com --- Comment #6 from Ladislav Slezak <lslezak@novell.com> 2009-10-02 06:58:08 MDT --- The problem is a missing fix for tty_wrapper in SLE11 branch (see bnc#470645). Stdout was sometimes lost. Fixed in yast2-core-2.17.32. -- Configure bugmail: http://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