[Bug 441370] New: yast2-printer doesn't allow to set remote access
https://bugzilla.novell.com/show_bug.cgi?id=441370 Summary: yast2-printer doesn't allow to set remote access Product: openSUSE 11.1 Version: Factory Platform: All OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: jsmeix@novell.com ReportedBy: wolfgang@rosenauer.org QAContact: jsrain@novell.com Found By: Beta-Customer I've tested yast2-printer-2.17.30-1.1 on openSUSE 11.0 but I understood it should be the same on 11.1. I cannot allow remote access to the cups server using the module. Clicking on "Share printers" - "Allow Remote Access" and saving by OK doesn't change the Listen statement from localhost:631 to something else. According to the log "Nothing changed in 'Share Printers' dialog." which is not true. 2008-11-04 10:21:25 <1> Hygiea(8960) [YCP] printer/sharing.ycp:902 entering handleSharing with key 'SHARING' and event '$["ID":"_cwm_wakeup"]' 2008-11-04 10:21:26 <1> Hygiea(8960) [YCP] printer/sharing.ycp:902 entering handleSharing with key 'SHARING' and event '$["EventReason":"ValueChanged", "EventSerialNo":5, "EventType":"WidgetEvent", "ID":`allow_remote_access_radio_button, "WidgetClass":`RadioButton, "WidgetDebugLabel":"Allow remote access", "WidgetID":`allow_remote_access_radio_button]' 2008-11-04 10:21:28 <1> Hygiea(8960) [YCP] printer/sharing.ycp:902 entering handleSharing with key 'SHARING' and event '$["EventReason":"Activated", "EventSerialNo":6, "EventType":"WidgetEvent", "ID":`next, "WidgetClass":`QWizardButton, "WidgetDebugLabel":"OK", "WidgetID":`next]' 2008-11-04 10:21:28 <1> Hygiea(8960) [YCP] printer/sharing.ycp:1068 entering storeSharing with key 'SHARING' and event '$["EventReason":"Activated", "EventSerialNo":6, "EventType":"WidgetEvent", "ID":`next, "WidgetClass":`QWizardButton, "WidgetDebugLabel":"OK", "WidgetID":`next]' 2008-11-04 10:21:28 <1> Hygiea(8960) [YCP] printer/sharing.ycp:313 deny_remote_access_radio_button value: 'false' 2008-11-04 10:21:28 <1> Hygiea(8960) [YCP] printer/sharing.ycp:315 allow_remote_access_radio_button value: 'true' 2008-11-04 10:21:28 <1> Hygiea(8960) [YCP] printer/sharing.ycp:317 allow_local_network_access_check_box value: 'true' 2008-11-04 10:21:28 <1> Hygiea(8960) [YCP] printer/sharing.ycp:319 publish_to_local_network_check_box value: 'true' 2008-11-04 10:21:28 <1> Hygiea(8960) [YCP] printer/sharing.ycp:321 interface_table_items: '[]' 2008-11-04 10:21:28 <1> Hygiea(8960) [YCP] printer/sharing.ycp:323 current_allow_input_value: '' 2008-11-04 10:21:28 <1> Hygiea(8960) [YCP] printer/sharing.ycp:325 current_browse_address_input_value: '' 2008-11-04 10:21:28 <1> Hygiea(8960) [YCP] printer/sharing.ycp:350 allow_values: @LOCAL 2008-11-04 10:21:28 <1> Hygiea(8960) [YCP] printer/sharing.ycp:351 browse_address_values: @LOCAL 2008-11-04 10:21:28 <1> Hygiea(8960) [YCP] printer/sharing.ycp:1075 Nothing changed in 'Share Printers' dialog. 2008-11-04 10:21:29 <1> Hygiea(8960) [YCP] printer/sharing.ycp:1084 leaving storeSharing 2008-11-04 10:21:29 <1> Hygiea(8960) [YCP] Progress.ycp:371 Progress::New(Finishing Printer Configuration, 0, ["Finish printer configuration"]) 2008-11-04 10:21:29 <2> Hygiea(8960) [YCP] Progress.ycp:393 Number of stages (1) is greater than number of steps (0) 2008-11-04 10:21:30 <1> Hygiea(8960) [YCP] clients/printer.ycp:87 Printer module finished -- 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=441370
User jsmeix@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=441370#c1
Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=441370
User wolfgang@rosenauer.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=441370#c2
Wolfgang Rosenauer
Did you actually change any setting in the "Allow Remote Access" section of the dialogs or were the settings already there?
They were not there. It was set to Deny remote access and I changed it to allow it. Switching the different dialogs and returning to the access dialog it always is back to Deny...
According to your y2log there was no change in the "Allow Remote Access" section of the dialogs (I would expect some "Executing bash commandline" lines which show in y2log which show the actual changes). In this case it leaves the cupsd.conf file untouched.
Probably there were messages before I didn't paste. I'll create a complete log of such a session asap.
It seems you have for whatever reason a somewhat strange cupsd.conf (having some kind of "allow from remote" settings but without a matching "Listen" setting).
I'll attach the cupsd.conf later too.
Without a real need YaST respects your settings in cupsd.conf. I will not implement whatever automated change in cupsd.conf without having a real change request from the user.
I really tried to make a change ;-) -- 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=441370
Wolfgang Rosenauer
https://bugzilla.novell.com/show_bug.cgi?id=441370
User jsmeix@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=441370#c3
--- Comment #3 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=441370
User wolfgang@rosenauer.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=441370#c4
Wolfgang Rosenauer
https://bugzilla.novell.com/show_bug.cgi?id=441370
User wolfgang@rosenauer.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=441370#c5
--- Comment #5 from Wolfgang Rosenauer
https://bugzilla.novell.com/show_bug.cgi?id=441370
User jsmeix@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=441370#c6
Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=441370
Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=441370
User wolfgang@rosenauer.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=441370#c7
--- Comment #7 from Wolfgang Rosenauer
https://bugzilla.novell.com/show_bug.cgi?id=441370
User jsmeix@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=441370#c8
Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=441370
User jsmeix@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=441370#c9
--- Comment #9 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=441370
User jsmeix@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=441370#c10
Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=441370
User wolfgang@rosenauer.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=441370#c11
--- Comment #11 from Wolfgang Rosenauer
Why did you change the secure default "Order allow,deny" to an insecure "Order Deny,Allow" in your cupsd.conf in attachment #249752 [details]
See http://www.cups.org/documentation.php/doc-1.4/ref-cupsd-conf.html ------------------------------------------------------------------------- allow,deny - Deny requests by default, then check the Allow lines followed by the Deny lines deny,allow - Allow requests by default, then check the Deny lines followed by the Allow lines -------------------------------------------------------------------------
yast2-printer resets it to the secure default.
I'm not sure why and if at all I changed that at some point but if yast2-printer corrects it I'm fine with it. Thanks for fixing the issues. I'll try the latest package. -- 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