guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CUPS package woes


From: Ricardo Wurmus
Subject: Re: CUPS package woes
Date: Tue, 26 May 2015 22:46:30 +0200

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.)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]