Gentoo Archives: gentoo-user

From: gottlieb@×××.edu
To: gentoo-user@l.g.o
Subject: [gentoo-user] trouble installing cups
Date: Mon, 16 Sep 2013 22:28:28
Message-Id: 874n9kqu4q.fsf@nyu.edu
1 When I reinstall CUPS /etc/cups/cupsd.conf is *not* updated.
2 Details follow.
3
4 Cups was behaving badly: the web interface could not be used. The
5 browser would quickly say no process was listening on localhost:631
6
7 I compared cupsd.conf to the same file on another working system and
8 noticed the following differences
9
10 1. *Many* pairs of lines were missing. The first line of each pair
11 was blank; the second a comment. Presumably this has no effect.
12
13 2. The initial block comment was missing. Again no effect.
14
15 3. One very influential change
16 Listen localhost:631
17 was replaced by a second copy of
18 Listen /run/cups/cups.sock
19 When I manually put back localhost:631
20 the cups web interface again behaved normally.
21
22 4. The following block was *added* at the end
23 JobPrivateAccess default
24 JobPrivateValues default
25 MaxLogSize 2000000
26 SubscriptionPrivateAccess default
27 SubscriptionPrivateValues default
28
29 The first, second, fourth, and fifth generated "Unknown directive"
30 messages in /var/log/cups/error.log
31
32 So I reinstalled cups but /etc/cups/cupd.conf was not changed and still
33 has its old date and contents. The merge looks clean (output below)
34
35 I am wondering if there is something wrong with my setup.
36 I have the userpriv feature enabled.
37
38 Any help would be appreciated.
39 thanks,
40 allan
41
42 ================================================================
43
44 * Messages for package net-print/cups-1.6.3-r2:
45
46 * Package: net-print/cups-1.6.3-r2
47 * Repository: gentoo
48 * Maintainer: printing@g.o
49 * USE: X acl amd64 dbus elibc_glibc filters kernel_linux pam python_single_target_python2_7 python_targets_python2_7 ssl threads usb userland_GNU
50 * FEATURES: preserve-libs sandbox userpriv usersandbox
51 * Determining the location of the kernel source code
52 * Found kernel source directory:
53 * /usr/src/linux
54 * Found sources for kernel version:
55 * 3.11.0-gentoo-rcs-1.3
56 * Applying cups-1.6.0-dont-compress-manpages.patch ...
57 * Applying cups-1.6.0-fix-install-perms.patch ...
58 * Applying cups-1.4.4-nostrip.patch ...
59 * Applying cups-1.5.0-systemd-socket-2.patch ...
60 * Applying cups-1.6.2-statedir.patch ...
61 * Applying cups-1.6.3-colord-profile.patch ...
62 * Running aclocal -I config-scripts ...
63 * Running autoconf ...
64 * LANGS="ca es fr ja ru"
65 * LINGUAS=""
66 * Skipping make test/check due to ebuild restriction.
67 * Updating icons cache ...
68 * Updating desktop mime database ...
69 >>> Auto-cleaning packages...

Replies

Subject Author
Re: [gentoo-user] trouble installing cups Neil Bothwick <neil@××××××××××.uk>