Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Aug 2004 21:09:01 -0700
From:      "John Merryweather Cooper" <johnmary@adelphia.net>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/70195: [SW-BUG] Every update of print/cups-base overwrites the configuration files
Message-ID:  <1092024541.0@68-234-62-219.losaca.adelphia.net>
Resent-Message-ID: <200408090410.i794ALLT007485@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         70195
>Category:       ports
>Synopsis:       [SW-BUG] Every update of print/cups-base overwrites the configuration files
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 09 04:10:21 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     John Merryweather Cooper
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:


System: FreeBSD 5.2-CURRENT #17: Thu Aug  5 01:32:19 PDT 2004
    root@68-234-62-219.losaca.adelphia.net:/usr/obj/usr/src/sys/ATHLON-TBIRD



>Description:


To print graphics (i.e., from Gimp), or for best performance serving Windows clients, raw printing should be enabled.  The default for /usr/local/etc/cups/mime.convs and /usr/local/etc/cups/mime.types is to disable raw printing.  That's fine, only one line changes to each file are necessary to enable raw printing.  However, each recompile or update of print/cups-base overwrites these two files--disabling printing on my network.


>How-To-Repeat:


Convigure mime.convs and mime.types for raw printing.  Re-install print/cups-base and watch as it overwrites your configuration file--breaking your configuration--100% of the time.


>Fix:


Workaround:  I maintain backup copies of mime.convs and mime.types.  When print/cups-base overwrites these files, I overwrite the overwrites.  :)

A better solution would be to teach print/cups-base not to modify these files if they already exist.  These two files are crucial to a properly working CUPS server.



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1092024541.0>