From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: CUPS package woes Date: Tue, 26 May 2015 22:46:30 +0200 Message-ID: <878ucbax3t.fsf@elephly.net> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49130) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxLka-00067g-TY for guix-devel@gnu.org; Tue, 26 May 2015 16:47:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YxLkX-0005wD-NH for guix-devel@gnu.org; Tue, 26 May 2015 16:47:00 -0400 Received: from sender1.zohomail.com ([74.201.84.153]:25208) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxLkX-0005vx-Ex for guix-devel@gnu.org; Tue, 26 May 2015 16:46:57 -0400 In-reply-to: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Alexander Shendi Cc: guix-devel@gnu.org Alexander Shendi writes: > Googling I realized that this was CUPS' way to tell me it could not write to the spool directory > or the log files. > Indeed I found the following lines in /var/log/messages. > > May 26 05:26:13 localhost cupsd: Unable to change ownership of "/gnu/store/543kjj82rf610fgnjgp938f0h4wnf4i6-cups-2.0.1/var/log/cups" - Read-only file system > May 26 05:26:13 localhost cupsd: Unable to open log file "/gnu/store/543kjj82rf610fgnjgp938f0h4wnf4i6-cups-2.0.1/var/log/cups/error_log" - Read-only file system > > Apparently cupsd tries to write to some location within the store, which is mounted > read-only. The paths cupsd uses can be configured with etc/cups/cupsd.conf and etc/cups/cups-files.conf. I see that the socket listen path in the first file is incorrect; the log file paths in the latter are also referring to store paths, which is not okay. The package recipe should be updated to install configuration files with more appropriate paths. (When I packaged CUPS initially I was only concerned with using its development headers for IcedTea; I did not actually test printing.)