Opened 6 years ago

Closed 6 years ago

#8849 closed defect (fixed)

cupsd (2.2.2) fails to start

Reported by: ken@… Owned by: ken@…
Priority: normal Milestone: 8.0
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

This was a pain to get a grip on (even when building with debug symbols, cupsd seems to be stripped when installed, so I had to use gdb on the compiled source scheduler/cupsd). That appeared (skipping through with 'n') to not be able to read /etc/cups/cupsd.conf.

But apparently that message also appears if cups does not understand that file. Looking at previous versions, there is a new chunk in cupsd.conf:

+
+# Set the kerberized printer/job policies...
+<Policy kerberos>
+  # Job/subscription privacy...

... through to

+  <Limit All>
+    Order deny,allow
+  </Limit>
+</Policy>

Unfortunately, there are no configure references for kerberos, but it does mention gssapi and various places in the source show that gssapi provides kerberos support.

As a first step, I tried installing an old cupsd.conf without the additions - cupsd now started ok.

So, apart from noting that gssapi is now an optional dependency, how to fix this ? Once I knew where the problem lay, I got lucky :

https://github.com/apple/cups/issues/4947

Gentoo had already found this, and they use a patch if gssapi is not used - I think we can do that with a sed (not yet tested).

Change History (2)

comment:1 by ken@…, 6 years ago

Owner: changed from blfs-book@… to ken@…
Status: newassigned

comment:2 by ken@…, 6 years ago

Resolution: fixed
Status: assignedclosed

Correction: gssapi is part of kerberos, not a separate library, and kerberos is already listed as optional.

Fixed at r18254.

Note: See TracTickets for help on using tickets.