Bug 5262 - CUPS check fails on RHEL 7 if available thanks to systemd
Summary: CUPS check fails on RHEL 7 if available thanks to systemd
Status: CLOSED FIXED
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Server Installer (show other bugs)
Version: 4.2.0
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.3.0
Assignee: Pierre Ossman
URL:
Keywords: hean01_tester, prosaic
Depends on:
Blocks:
 
Reported: 2014-09-18 16:34 CEST by Henrik Andersson
Modified: 2014-10-06 16:28 CEST (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Henrik Andersson cendio 2014-09-18 16:34:20 CEST
CUPS service on RHEL7 is configured to support on demand start using systemd unit cups.socket. However it's only configure to start on demand by accessing a UNIX socket and not the CUPS web interface socket on TCP port 631. This makes our check fails which just tries to connect to localhost:631.

We should add an additional check if /var/run/cups/cups.sock exists (owned by systemd) to provide better out of the box experience.

Workaround is to manually enable cups.service.
Comment 1 Pierre Ossman cendio 2014-09-23 13:55:38 CEST
Fixed in r29408.
Comment 2 Henrik Andersson cendio 2014-09-29 09:16:25 CEST
Tested using ThinLinc build 4505, works as expected with cups.service stopped and cups.socket running.
Comment 3 Henrik Andersson cendio 2014-09-29 09:20:12 CEST
(In reply to comment #2)
> Tested using ThinLinc build 4505, works as expected with cups.service stopped
> and cups.socket running.

Also tested with cups.service enabled and running which also works as expected.

Note You need to log in before you can comment on or make changes to this bug.