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

Bug#193069: marked as done (cupsys: /etc/printcap.cups left behind)



Your message dated Sun, 16 Nov 2008 15:40:25 +0100
with message-id <20081116144025.GA10093@piware.de>
and subject line Re: Bug#193069: cupsys: /etc/printcap.cups left behind
has caused the Debian Bug report #193069,
regarding cupsys: /etc/printcap.cups left behind
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
193069: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=193069
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cupsys
Version: 1.1.19candidate4-1
Severity: minor

Thanks for moving printcap.cups out of /etc !

After installing the latest cupsys, printcap.cups is under /var/run/cups/
but /etc/printcap.cups is still there.  Should be deleted for the sake of
tidiness?

-- System Information:
Debian Release: 3.0
Architecture: i386
Kernel: Linux thanatos 2.4.21-pre5 #4 Mon Mar 10 16:35:08 CET 2003 i686
Locale: LANG=en_GB, LC_CTYPE=en_GB

Versions of packages cupsys depends on:
ii  adduser               3.50               Add and remove users and groups
ii  debconf               1.2.35             Debian configuration management sy
ii  gs-esp                7.05.6-2           The Ghostscript Postscript interpr
ii  libc6                 2.3.1-16           GNU C Library: Shared libraries an
ii  libcupsimage2         1.1.19candidate4-1 Common UNIX Printing System(tm) - 
ii  libcupsys2            1.1.19candidate4-1 Common UNIX Printing System(tm) - 
ii  libgcc1               1:3.3-0pre9        GCC support library
ii  libgnutls5            0.8.6-4            GNU TLS library - runtime library
ii  libpam0g              0.76-9             Pluggable Authentication Modules l
ii  libpaper1             1.1.13             Library for handling paper charact
ii  libslp1               1.0.8a-2           OpenSLP libraries
ii  libstdc++5            1:3.3-0pre9        The GNU Standard C++ Library v3
ii  zlib1g                1:1.1.4-1          compression library - runtime

-- debconf information:
* cupsys/raw-print: true
* cupsys/lpr-backend-setuid: true



--- End Message ---
--- Begin Message ---
Thomas Hood [2003-05-12 17:12 +0200]:
> After installing the latest cupsys, printcap.cups is under /var/run/cups/
> but /etc/printcap.cups is still there.  Should be deleted for the sake of
> tidiness?

IMHO this is sufficiently solved with nowaday's cups packages. The
postinst does

        # Manage printcap file and associated symlinks
        if [ -e /etc/cups/cupsd.conf ]; then
            if [ -e /etc/printcap.cups ]; then
                rm -f /etc/printcap.cups
            fi
            if [ -L /etc/printcap -a ! -e /etc/printcap ]; then
                rm -f /etc/printcap
            fi

            printcap_file=`egrep '^Printcap ' /etc/cups/cupsd.conf | awk '{print $2}'`
            if [ "$printcap_file" != "" ]; then
                touch $printcap_file 2>/dev/null || true
                if [ ! -e /etc/printcap -a -e $printcap_file ]; then
                    ln -s $printcap_file /etc/printcap
                fi
            fi
        fi

I. e. it removes the old printcap.cups and only sets a symlink to the
real printcap if configured to do so in cupsd.conf.

Thus I close this bug now.

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)


--- End Message ---

Reply to: