Seen in system-config-printer strace: access("/etc/cups/cupsd.conf", R_OK) = -1 EACCES (Permission denied) getuid() = 500 open("/tmp/456c67a658c90", O_RDWR|O_CREAT|O_EXCL, 0600) = 11 sendto(7, "GET /admin/conf/cupsd.conf HTTP/1.1\r\nAuthorization: Basic cm9vdDpsa XRJOGxsdWlx\r\nHost: localhost\r\nIf-Modified-Since: Tue, 28 Nov 2006 16:45:24 G MT\r\nUser-Agent: CUPS/1.2.7\r\n\r\n", 173, 0, NULL, 0) = 173 recvfrom(7, "HTTP/1.1 304 Not Modified\r\nDate: Tue, 28 Nov 2006 16:45:26 GMT\r\ nServer: CUPS/1.2\r\nConnection: Keep-Alive\r\nKeep-Alive: timeout=60\r\nContent -Language: en_GB\r\nUpgrade: TLS/1.0,HTTP/1.1\r\n\r\n", 2048, 0, NULL, NULL) = 1 84 select(8, [7], NULL, NULL, {10, 0}) = 0 (Timeout)
Test case: #!usr/bin/python import cups cups.setUser('root') cups.setServer('localhost') cups.setEncryption(cups.HTTP_ENCRYPT_NEVER) c=cups.Connection() c.adminGetServerSettings() c.adminGetServerSettings()
Reported upstream.
Two upstream bug reports about this. The timeout isn't the only problem; the connection gets closed as well.
Fixed in update: cups-1.2.7-1.5.fc6