[MacPorts] #52245: cups-pdf mainly broken on El Capitan OS X 10.11
#52245: cups-pdf mainly broken on El Capitan OS X 10.11 ---------------------------+-------------------------------- Reporter: leonfauster@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 2.3.4 Keywords: broken | Port: cups-pdf ---------------------------+-------------------------------- Context: {{{ $ sw_vers ProductName: Mac OS X ProductVersion: 10.11.6 BuildVersion: 15G1004 }}} SIP (its active by default) (SIP: https://en.wikipedia.org/wiki/System_Integrity_Protection): {{{ $ 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/cups-pdf_links.sh 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 }}} 2. 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/ }}} 3. Relaxing Cups {{{ $ grep Sandbox /etc/cups/cups-files.conf Sandboxing relaxed }}} 4. Disabling SIP {{{ # csrutil disable }}} ---- Solution: UNKNOWN -- Ticket URL: <https://trac.macports.org/ticket/52245> MacPorts <https://www.macports.org/> Ports system for macOS
#52245: cups-pdf mainly broken on El Capitan OS X 10.11 ----------------------------+-------------------------------- Reporter: leonfauster@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: broken Port: cups-pdf | ----------------------------+-------------------------------- Comment (by leonfauster@…): SIP enforcement only under /usr/share/cups/model/ -- Ticket URL: <https://trac.macports.org/ticket/52245#comment:1> MacPorts <https://www.macports.org/> Ports system for macOS
#52245: cups-pdf mainly broken on El Capitan OS X 10.11 ----------------------------+-------------------------------- Reporter: leonfauster@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: broken Port: cups-pdf | ----------------------------+-------------------------------- Changes (by mf2k@…): * priority: High => Normal Comment: The Priority field is for use by Macports team members only. -- Ticket URL: <https://trac.macports.org/ticket/52245#comment:2> MacPorts <https://www.macports.org/> Ports system for macOS
#52245: cups-pdf mainly broken on El Capitan OS X 10.11 ----------------------------+-------------------------------- Reporter: leonfauster@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: cups-pdf | ----------------------------+-------------------------------- Changes (by mf2k@…): * keywords: broken => * cc: nomaintainer@… (removed) Comment: Please do not Cc nomaintainer@macports.org because it is [wiki:MacPortsDevelopers#special not a valid email address]. -- Ticket URL: <https://trac.macports.org/ticket/52245#comment:3> MacPorts <https://www.macports.org/> Ports system for macOS
#52245: cups-pdf mainly broken on El Capitan OS X 10.11 ----------------------------+-------------------------------- Reporter: leonfauster@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: elcapitan sierra Port: cups-pdf | ----------------------------+-------------------------------- Changes (by ryandesign@…): * keywords: => elcapitan sierra Comment: 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. -- Ticket URL: <https://trac.macports.org/ticket/52245#comment:4> MacPorts <https://www.macports.org/> Ports system for macOS
participants (1)
-
MacPorts