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

Bug#347641: marked as done (logrotate script fails with error when cupsys is not running)



Your message dated Mon, 05 Jun 2006 11:04:37 +0900
with message-id <20060605020248.CAD4122310F@mail.topstudio.co.jp>
and subject line CUPS 1.2.1 is uploaded into unstable, so it fixes fixed-in-experimental bugs and some others
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: cupsys
Version: 1.1.23-15
Severity: normal

The /etc/logrotate.d/cupsys script contains:

  postrotate
          [ -e /var/run/cups/cupsd.pid ] && invoke-rc.d --quiet cupsys restart > /dev/null && sleep 10
  endscript

If /var/run/cups/cupsd.pid does not exist, this line returns an error code, so logrotate says:

  error: error running shared postrotate script for /var/log/cups/*log

I would suggest changing it to:

  postrotate
          if [ -e /var/run/cups/cupsd.pid ] ; then
                  invoke-rc.d --quiet cupsys restart > /dev/null
                  sleep 10
          fi
  endscript

which does not have this problem.

-jim


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-2-amd64-k8
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages cupsys depends on:
ii  adduser                  3.80            Add and remove users and groups
ii  debconf [debconf-2.0]    1.4.62          Debian configuration management sy
ii  gs-esp                   8.15.1.dfsg.1-1 The Ghostscript PostScript interpr
ii  libc6                    2.3.5-8.1       GNU C Library: Shared libraries an
ii  libcupsimage2            1.1.23-12       Common UNIX Printing System(tm) - 
ii  libcupsys2               1.1.23-12       Common UNIX Printing System(tm) - 
ii  libgnutls12              1.2.9-2         the GNU TLS library - runtime libr
ii  libpam0g                 0.79-3          Pluggable Authentication Modules l
ii  libpaper1                1.1.14-3        Library for handling paper charact
ii  libslp1                  1.2.1-3         OpenSLP libraries
ii  patch                    2.5.9-2         Apply a diff file to an original
ii  perl-modules             5.8.7-9         Core Perl modules
ii  procps                   1:3.2.5-1       /proc file system utilities
ii  xpdf-utils               3.01-3          Portable Document Format (PDF) sui
ii  zlib1g                   1:1.2.3-8       compression library - runtime

Versions of packages cupsys recommends:
ii  cupsys-client                 1.1.23-12  Common UNIX Printing System(tm) - 
pn  foomatic-filters              <none>     (no description available)
ii  smbclient                     3.0.20b-3  a LanManager-like simple client fo

-- debconf information excluded


--- End Message ---
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Version: 1.2.1-1
Tags: fixed
thanks

Now we uploaded CUPS 1.2.1 to unstable.
fixed-in-experimental bugs can be closed.

About #349341, I noticed I needed to modify the order of control file.
It's already fixed and will provide a correct dependency.

Thanks,
- -- 
Kenshi Muto
kmuto@debian.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iEYEARECAAYFAkSDkSgACgkQQKW+7XLQPLHByQCg3bF/mPIwNaPhi6L1zCCA+pt+
yJ4AoKvTNyFgE0WmEtVfpbiZP/mPaBi1
=cnm4
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: