Bug 827196 - KDE Printer Control Module needs root password Two Times
Summary: KDE Printer Control Module needs root password Two Times
Status: RESOLVED WONTFIX
: 864122 (view as bug list)
Alias: None
Product: openSUSE 12.3
Classification: openSUSE
Component: KDE4 Workspace (show other bugs)
Version: Final
Hardware: All openSUSE 12.3
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-27 22:33 UTC by Lee Loncosky
Modified: 2015-11-10 08:24 UTC (History)
6 users (show)

See Also:
Found By: Community User
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
screenshot of root prompt in xfce (74.80 KB, image/jpeg)
2013-06-28 06:50 UTC, Carlos Robinson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lee Loncosky 2013-06-27 22:33:54 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1548.0 Safari/537.36 SUSE/29.0.1548.0

When you activate KDE Printer Control Module from Kickstart menu it asks for Root password. You then have to enter root password Again to change any settings in printer options.

Reproducible: Always

Steps to Reproduce:
1.open kde printer control module and enter root password
2.click on configure in the printer module window
3.change some settings and click apply and enter root password


Expected Results:  
I do not expect to enter the root password two times to change printer settings.
Comment 1 Johannes Meixner 2013-06-28 02:30:46 UTC
I don't know if the "KDE Printer Control Module" belongs to KDE3 or KDE4.
I just guess and set the Bugzilla component to KDE3.

FYI:
KDE modules belong to the Bugzilla component KDE.

The Bugzilla component Printing is primarily meant for the
base printing system (CUPS and printer driver packages)
but not for user application programs that provide
printing related functionality, compare its matching
Printing development project in the openSUSE build service
https://build.opensuse.org/project/show?project=Printing
Comment 2 Carlos Robinson 2013-06-28 06:43:45 UTC
I hit this same problem (or very similar) using XFCE in 12.3, I get prompted for root's password to cancel a user print job (see attached screenshot). However, if I go to CUPs web page, I can cancel the jobs without any password.

The error message mentions "org.opensuse.cupspkhelper.mechanism.job-edit".

It is not a KDE problem, IMHO.
Comment 3 Carlos Robinson 2013-06-28 06:44:53 UTC
It is not a minor problem. Wait till Linus Torvalds sees it - do you remember the last time? >:-P
Comment 4 Carlos Robinson 2013-06-28 06:50:54 UTC
Created attachment 546165 [details]
screenshot of root prompt in xfce
Comment 5 Johannes Meixner 2013-06-28 07:15:55 UTC
I don't know if the "KDE Printer Control Module" also
uses cups-pk-helper.

Regarding cups-pk-helper, see
http://www.freedesktop.org/wiki/Software/cups-pk-helper/
"cups-pk-helper is a PolicyKit helper to configure
 cups with fine-grained privileges."

If the issue is related to cups-pk-helper, the root cause could be
that those fine-grained PolicyKit privileges must be restrictive
by default, compare bnc#752454

But the initial comment#0 here is not about whether or not
the root password is requested at all but that this password
is requested twice and that could be an issue only in
the "KDE Printer Control Module" - i.e. an issue
in that KDE module.

Please do not mix up different issues (even if they look similar
they are actually different) in one same bug because usually then
it gets moved around for some time and finally it ends up nowhere.
Comment 6 Lee Loncosky 2013-06-28 08:13:06 UTC
(In reply to comment #1)
> I don't know if the "KDE Printer Control Module" belongs to KDE3 or KDE4.
> I just guess and set the Bugzilla component to KDE3.
> 
> FYI:
> KDE modules belong to the Bugzilla component KDE.
> 
> The Bugzilla component Printing is primarily meant for the
> base printing system (CUPS and printer driver packages)
> but not for user application programs that provide
> printing related functionality, compare its matching
> Printing development project in the openSUSE build service
> https://build.opensuse.org/project/show?project=Printing

It is KDE4, I missed that somehow.
Comment 7 Johannes Meixner 2013-06-28 08:30:08 UTC
... and I guess it does not depend on the platform (currently x86_64)
but happens on "all" platforms.
Comment 8 Carlos Robinson 2013-06-28 08:51:47 UTC
(In reply to comment #5)

> But the initial comment#0 here is not about whether or not
> the root password is requested at all but that this password
> is requested twice and that could be an issue only in
> the "KDE Printer Control Module" - i.e. an issue
> in that KDE module.

In the forum he complained about getting asked for the root password, and I explained to him how to use the cups web interface instead. I asked him to report on Bugzilla.

Ok, creating a new bug: Bug 827331 - Desktop ask for root password to cancel user print jobs.
Comment 9 Johannes Meixner 2013-06-28 09:11:44 UTC
Carlos Robinson,
why did you change back the platform from "all" to "x86_64"?
What did you reproduce that indicates that the issue here
depend on the platform and happens only on "x86_64"?
Comment 10 Carlos Robinson 2013-06-28 11:03:08 UTC
(In reply to comment #9)
> Carlos Robinson,
> why did you change back the platform from "all" to "x86_64"?

I assure you I did not. It must be a glitch of the bugzilla system or firefox, but I must be emphatic that I did not myself change it.

Going back to the email I see that it appears as if I did change it. But as I did not, it must have been some automatism that I can not understand.

Now I change it back to All.
Comment 11 Carlos Robinson 2013-06-28 11:07:41 UTC
It is possible, that scrolling the page using the scroll wheel, and the mouse pointer to be in the center of the page, that items in the drop lists change? I'm trying to reproduce the failure, but I can't.
Comment 12 Lee Loncosky 2013-06-30 04:18:21 UTC
(In reply to comment #1)
> I don't know if the "KDE Printer Control Module" belongs to KDE3 or KDE4.
> I just guess and set the Bugzilla component to KDE3.
> 
> FYI:
> KDE modules belong to the Bugzilla component KDE.
> 
> The Bugzilla component Printing is primarily meant for the
> base printing system (CUPS and printer driver packages)
> but not for user application programs that provide
> printing related functionality, compare its matching
> Printing development project in the openSUSE build service
> https://build.opensuse.org/project/show?project=Printing

Why is this still listed as KDE3, I have already indicated it is KDE4. As far as comment #7, I have no idea since all my machines are x64 hence the original hardware tag I entered.
Comment 13 Lee Loncosky 2013-06-30 04:27:12 UTC
(In reply to comment #1)
> I don't know if the "KDE Printer Control Module" belongs to KDE3 or KDE4.
> I just guess and set the Bugzilla component to KDE3.
> 
> FYI:
> KDE modules belong to the Bugzilla component KDE.
> 
> The Bugzilla component Printing is primarily meant for the
> base printing system (CUPS and printer driver packages)
> but not for user application programs that provide
> printing related functionality, compare its matching
> Printing development project in the openSUSE build service
> https://build.opensuse.org/project/show?project=Printing

Why is this still listed as KDE3, I have already indicated it is KDE4. As far as comment #7, I have no idea since all my machines are x64 hence the original hardware tag I entered.
Comment 14 Lee Loncosky 2013-06-30 04:49:00 UTC
(In reply to comment #13)
> (In reply to comment #1)
> > I don't know if the "KDE Printer Control Module" belongs to KDE3 or KDE4.
> > I just guess and set the Bugzilla component to KDE3.
> > 
> > FYI:
> > KDE modules belong to the Bugzilla component KDE.
> > 
> > The Bugzilla component Printing is primarily meant for the
> > base printing system (CUPS and printer driver packages)
> > but not for user application programs that provide
> > printing related functionality, compare its matching
> > Printing development project in the openSUSE build service
> > https://build.opensuse.org/project/show?project=Printing
> 
> Why is this still listed as KDE3, I have already indicated it is KDE4. As far
> as comment #7, I have no idea since all my machines are x64 hence the original
> hardware tag I entered.

Ok nevermind, I figure out how to change the setting. I was not looking for settings at the bottom of the web page and the way chromium displays this page the commit button looks like the last thing on the page.
Comment 15 Forgotten User DV81ZEWZkN 2013-07-02 18:22:36 UTC
@Lee, if i understand correctly, the issue is that you have to enter password twice? On entering the kcm, and changing a setting?
I cannot reproduce, but i am using KDE workspace 4.11 (4.10.90)
Comment 16 Lee Loncosky 2013-07-02 20:59:40 UTC
(In reply to comment #15)
> @Lee, if i understand correctly, the issue is that you have to enter password
> twice? On entering the kcm, and changing a setting?
> I cannot reproduce, but i am using KDE workspace 4.11 (4.10.90)

You are correct, I have to enter the root password 2 times to get the paper size changed on my printer. 

I see for some reason I have not recorded the version of KDE I am using. I am on another machine at the moment so here is the bug from kde https://bugs.kde.org/show_bug.cgi?id=321650

I have not checked any of these other pcs here but I can and report here if you think it would help. So 4.10.90 is ahead of 4.10.1 correct?
Comment 17 Forgotten User DV81ZEWZkN 2013-07-02 21:05:26 UTC
(In reply to comment #16)
> So 4.10.90 is ahead of 4.10.1 correct?
Yes. That is second beta of KDE 4.11.
Comment 18 Lee Loncosky 2013-07-09 23:28:08 UTC
Do we still need the version, it is listed as 4.10.4 "release 569".
Comment 19 Carlos Robinson 2013-07-09 23:30:23 UTC
(In reply to comment #10)
> (In reply to comment #9)
> > Carlos Robinson,
> > why did you change back the platform from "all" to "x86_64"?
> 
> I assure you I did not. It must be a glitch of the bugzilla system or firefox,
> but I must be emphatic that I did not myself change it.

That is Bug 828779 - Firefox refresh badly on Bugzilla
Comment 20 Christian Trippe 2014-04-13 06:55:26 UTC
*** Bug 864122 has been marked as a duplicate of this bug. ***
Comment 21 Jiri Slaby 2015-11-10 08:24:22 UTC
This version is out of maintenance, if you still see the problem, please reopen
and move the bug to a more recent product.