Bug 774522

Summary: During the install you are forced to wait 90 seconds for the cups system to fail
Product: [openSUSE] openSUSE 12.2 Reporter: Stanley Miller <suse>
Component: InstallationAssignee: Johannes Meixner <jsmeix>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Minor    
Priority: P5 - None CC: mfilka, suse
Version: RC 2   
Target Milestone: ---   
Hardware: All   
OS: openSUSE 12.2   
Whiteboard:
Found By: Community User Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Stanley Miller 2012-08-04 06:09:31 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20100101 Firefox/14.0.1

When the printer section of the install starts you are shown a dialog saying it is waiting for 30 seconds for cups to start. Once that box counts down you are shown another box with no action buttons that says it is waiting for a minute for cups to start.

Sitting for 90 seconds isn't a huge problem but it is an aggravation.

Reproducible: Always

Steps to Reproduce:
1. start install, go to printer section
2. the two dialogs pop up one after the other
3. since I wasn't adding a printer I went to the following section of the install.


Expected Results:  
It should be quick to bypass this section if you aren't installing a printer, you shouldn't get the second wait box or at least it should be easy to bypass.
Comment 1 Johannes Meixner 2012-08-28 11:05:16 UTC
Did you do a default installation (i.e. at least the packages
which get installed by default - in particular the packages
of the basic printing system) or did you do some kind of
"minimal" installation?

I ask because for a default installation the cupsd should be started
automatically so that it should be running when the printer section
of the install starts and no such messages should appear.

I.e. when those messages appear, it is already in a faulty state.

If you did a default installation those messages indicate that
the cupsd was not started and somehow it even did not start after
cupsd start was explicitly requested by the printer section.

Compare bnc#769346 "cups not started on boot".
Comment 2 Stanley Miller 2012-08-28 16:33:44 UTC
I did disable IPv6 at the initial install. 

I tried the solution there in #41 but it did not change anything. 

Cups failing to start looks to be the problem so maybe this bug should be closed?
Comment 3 Johannes Meixner 2012-08-29 07:31:13 UTC
Yes, it really looks as if this one is only
a bad side-effect of the root problem in bnc#769346


Regarding IPv6 disabled:

If IPv6 is disabled you may see some error messages
in the CUPS /var/log/cups/error_log file like in
https://bugzilla.novell.com/show_bug.cgi?id=770880#c2

You can ignore them.

The cupsd doesn't know that you have intentionally no IPv6
and reports its failure to bind to the IPv6 address
in /var/log/cups/error_log because by default
there is in /etc/cups/cupsd.conf
------------------------------------------------------------------
Listen localhost:631
------------------------------------------------------------------
which lets the cupsd try to bind to all addresses of "localhost"
(i.e. also to its IPv6 address).

When only IPv4 is enabled cupsd should bind to the IPv4 address
and you should see something like this
------------------------------------------------------------------
I [...] Listening to 0.0.0.0:631 on fd 8...
------------------------------------------------------------------
in /var/log/cups/error_log

With explicit "Listen ..." entries in /etc/cups/cupsd.conf
you can specify to which exact network addresses the cupsd
should bind so that you can avoid the error messages
in /var/log/cups/error_log.
For example
------------------------------------------------------------------
Listen 127.0.0.1:631
------------------------------------------------------------------
lets the cupsd only bind to the "localhost" IPv4 address.

In the end check as root with "netstat -nap | grep cups"
that cupsd is listening on the IPP port 631 on the adresses
that you need in your particular case.
For details see "Configuring CUPS in the Network" in
http://en.opensuse.org/SDB:CUPS_in_a_Nutshell
and the "Listen" entry in
http://www.cups.org/documentation.php/doc-1.5/ref-cupsd-conf.html

*** This bug has been marked as a duplicate of bug 769346 ***