Summary: | [patch] print/cups-base: cupsd starts before mdnsd during boot, fails to advertise printers. | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Adrian Waters <draenan> | ||||
Component: | Individual Port(s) | Assignee: | Tijl Coosemans <tijl> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | tijl | ||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
A commit references this bug: Author: tijl Date: Fri Nov 7 13:03:11 UTC 2014 New revision: 372260 URL: https://svnweb.freebsd.org/changeset/ports/372260 Log: - Let the rc script require the mdnsd or avahi_daemon rc scripts [1] - Fix two getsockopt calls so they return peer credentials correctly [2] PR: 194856 [1], 191515 [2] Submitted by: Adrian Waters <draenan@gmail.com> [1] Submitted by: Bengt Ahlgren <bengta@sics.se> [2] Changes: head/print/cups-base/Makefile head/print/cups-base/files/cupsd.in head/print/cups-base/files/patch-scheduler__auth.c |
Created attachment 149115 [details] Modify REQUIRE line in files/cupsd.in for Zeroconf. During boot, cupsd runs before mdnsd. This leads to a situation where cupsd fails to register shared printers for Zeroconf because mdnsd is not running. Restarting cupsd successfully registers the printers. The attached patch is based on the way net/netatalk3 handles this situation. It adds mdnsd or avahi_daemon to the REQUIRE line in the cupsd RC script. Bug encountered on a 9.3-RELEASE amd64 system.