Comment 20 for bug 183652

Revision history for this message
Jamie Strandboge (jdstrand) wrote : Re: [Bug 183652] Re: CUPS fails to start on boot

On Thu, 17 Jan 2008, Loïc Minier wrote:

> I tried reproducing the problematic behavior by:
> - Enabling printer sharing
> - Sharing the PDF fake printer explicitely
> - stopping avahi and cupsys
> - starting avahi and cupsys just after one another with "avahi start && cupsys start" and concurrently "avahi start &; cupsys start"
> but I couldn't trigger that DNSServiceRegister error.
>
> Does someone have a better recipe than what I tried? Thanks!
>
This triggers the bug for me:

$ sudo sh -c '/etc/init.d/cupsys stop && /etc/init.d/avahi-daemon stop && sleep 5 ; /etc/init.d/avahi-daemon start ; /etc/init.d/cupsys start ; sleep 3 ; ps auxww|grep [c]upsd'
 * Stopping Common Unix Printing System: cupsd [ OK ]
 * Stopping Avahi mDNS/DNS-SD Daemon avahi-daemon [ OK ]
 * Starting Avahi mDNS/DNS-SD Daemon avahi-daemon [ OK ]
 * Starting Common Unix Printing System: cupsd [ OK ]
$

Though I have an actual printer and not just the PDF fake printer...