Opened 6 years ago

Last modified 6 years ago

#52245 new defect

cups-pdf mainly broken on El Capitan OS X 10.11

Reported by: leonfauster@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: elcapitan sierra Cc:
Port: cups-pdf



$ sw_vers 
ProductName:	Mac OS X
ProductVersion:	10.11.6
BuildVersion:	15G1004

SIP (its active by default) (SIP:

$ csrutil status
System Integrity Protection status: enabled.
$ port version
Version: 2.3.4
port info cups-pdf
cups-pdf @2.6.1

First issue:

/opt/local/libexec/ is not allowed to create a link (SIP enforcement)

Disabling the SIP and executing the script creates link. But this is far away from usability of this port (disabling the SIP includes booting in recovery mode).

Main issue:

Anyway, the rootless/sandbox feature of El Capitan denies Cups seeing this "printer".

Measures done without success (single action and/or in different combination):

  1. Correction of permissions
    # chown -R root:wheel /opt/local/libexec/cups/
    # chown -R root:wheel /opt/local/share/cups/model
  1. Circumvent linkage
    # cp /opt/local/libexec/cups/backend/cups-pdf /usr/libexec/cups/backend/
    # cp /opt/local/share/cups/model/CUPS-PDF.ppd /usr/share/cups/model/
  1. Relaxing Cups
    $ grep Sandbox /etc/cups/cups-files.conf
    Sandboxing relaxed
  1. Disabling SIP
    # csrutil disable

Solution: UNKNOWN

Change History (4)

comment:1 Changed 6 years ago by leonfauster@…

Link creation: SIP enforcement only under /usr/share/cups/model/

Last edited 6 years ago by leonfauster@… (previous) (diff)

comment:2 Changed 6 years ago by mf2k (Frank Schima)

Priority: HighNormal

The Priority field is for use by Macports team members only.

comment:3 Changed 6 years ago by mf2k (Frank Schima)

Cc: nomaintainer@… removed
Keywords: broken removed

Please do not Cc nomaintainer@… because it is not a valid email address.

comment:4 Changed 6 years ago by ryandesign (Ryan Schmidt)

Keywords: elcapitan sierra added

See also #45006 for an issue that affects Yosemite and later.

This port has no maintainer so it will be up to somebody to volunteer to fix this.

You could also discuss these problem with the developer of cups-pdf to find a solution.

Note: See TracTickets for help on using tickets.