Your message dated Mon, 18 Feb 2019 09:19:30 +0000
with message-id <e1gvf5g-000ey3...@fasolo.debian.org>
and subject line Bug#685263: fixed in cyrus-imapd 3.0.8-2
has caused the Debian Bug report #685263,
regarding cyrus-common: Misleading(?) message on missing /run/cyrus/lock and 
/run/cyrus/proc
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 ow...@bugs.debian.org
immediately.)


-- 
685263: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=685263
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: cyrus-common
Version: 2.4.16-1
Severity: normal

Dear Maintainer,

This happen after fresh install, during startup. I've tried restarting master
daemon several times and it still happens.

The init script /etc/init.d/cyrus-imapd outputs (misleading?) messages:

root@myhost:~# service cyrus-imapd start
find: `/run/cyrus/lock': No such file or directory
find: `/run/cyrus/proc': No such file or directory

I currently applied a patch on my machine to suppress the mesasge (see below).

It seems, however, like the lines (I've found) had no use in the init script
(the '-delete' flags were commented out, and stdout from the function
didn't seem to be used).

To suppress the message, I applied the following patch:

======================================

--- old/cyrus-imapd     2012-08-19 00:20:40.000000000 +0200
+++ new/cyrus-imapd     2012-08-19 00:24:33.000000000 +0200
@@ -145,8 +145,8 @@
     #   2 if daemon could not be started
     
     # Clean stale entries
-    find "$LOCK_DIR" -mindepth 1 -depth -size 0 # -delete
-    find "$PROC_DIR" -mindepth 1 -depth -name '[0-9]*' # -delete
+    find "$LOCK_DIR" -mindepth 1 -depth -size 0 2> /dev/null # -delete
+    find "$PROC_DIR" -mindepth 1 -depth -name '[0-9]*' 2> /dev/null # -delete
 
     start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test 
> /dev/null \
        || return 1

=======================================

Are there commands supposed to be used or removed from init script?
The evemtual output from the script is also not so usefull: I've made
following test:

root@myhost:~# mkdir /run/cyrus/lock
root@myhost:~# touch /run/cyrus/lock/1123
root@myhost:~# service cyrus-imapd restart
[....] Restarting Cyrus IMAPd: cyrmaster/run/cyrus/lock/1123
/run/cyrus/lock/foo
.. ok 

Maybe it would be better, to print some informative message to the user,
about potentialy stale entries?

With best regards,

Pawel Tomulik


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.27-grsec-xenguest1 (SMP w/1 CPU core)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cyrus-common depends on:
ii  adduser                3.113+nmu3
ii  db-util                5.1.6
ii  db4.7-util             4.7.25-21
ii  db4.8-util             4.8.30-12
ii  db5.1-util             5.1.29-5
ii  debconf [debconf-2.0]  1.5.44

cyrus-common recommends no packages.

cyrus-common suggests no packages.

-- Configuration Files:
/etc/init.d/cyrus-imapd changed [not included]

-- debconf information excluded

--- End Message ---
--- Begin Message ---
Source: cyrus-imapd
Source-Version: 3.0.8-2

We believe that the bug you reported is fixed in the latest version of
cyrus-imapd, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 685...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ondřej Surý <ond...@debian.org> (supplier of updated cyrus-imapd package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 18 Feb 2019 07:58:29 +0000
Source: cyrus-imapd
Architecture: source
Version: 3.0.8-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Cyrus Team <team+cy...@tracker.debian.org>
Changed-By: Ondřej Surý <ond...@debian.org>
Closes: 675812 685263 750053 766403 825783 862066 866973 869870 901024 921733 
922290
Changes:
 cyrus-imapd (3.0.8-2) unstable; urgency=medium
 .
   [ Max Kosmach ]
   * Enable backup, xapian, calalarmd and unit tests
   * Update certificates for unit tests
   * Add backup and calalarmd files to cyrus-common
   * Add upstream patches to fix some crashes
   * Fix backup manpages
 .
   [ Anthony Prades ]
   * Enable systemd support (Closes: #922290)
 .
   [ Ondřej Surý ]
   * Upload to final cyrus-imapd 3.0.x to unstable
     (Closes: #921733, #866973)
   * Init script now uses systemd tmpfiles
     (Closes: #685263, #675812, #750053, #766403, #825783, #862066)
   * GOODCHARS #define is now synchronized with upstream
     (Closes: #901024)
   * Update cyrus-imapd version check in cron.daily (Closes: #869870)
Checksums-Sha1:
 2398875216fed15e38a80d6f4e46cd2132198723 3223 cyrus-imapd_3.0.8-2.dsc
 9103e90b51fda171b39aa2c6c350f9f5e258a7b9 89188 
cyrus-imapd_3.0.8-2.debian.tar.xz
 bcc311d517c00be21956538a0a03b037a7be28c6 15173 
cyrus-imapd_3.0.8-2_amd64.buildinfo
Checksums-Sha256:
 942d192954f75d153066b818734ab54f87010f35d359ceb3eacdbbd2a76d85e8 3223 
cyrus-imapd_3.0.8-2.dsc
 8c31c21e374f00e86e59765b1dbefda9d79a3c1f508ba0f4f46328cfd1dd514b 89188 
cyrus-imapd_3.0.8-2.debian.tar.xz
 b06f79b497d88f9708ab3add8c68f38b1b1d6493f1969c8eeb0df4def045fbcf 15173 
cyrus-imapd_3.0.8-2_amd64.buildinfo
Files:
 d1b18861dc1434e78e50e5c2afcb40e4 3223 mail optional cyrus-imapd_3.0.8-2.dsc
 d409ec6831e4fc78e1e690292843939e 89188 mail optional 
cyrus-imapd_3.0.8-2.debian.tar.xz
 bc823a2a29c0393deb767111e9b20ccf 15173 mail optional 
cyrus-imapd_3.0.8-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEEw2Gx4wKVQ+vGJel9g3Kkd++uWcIFAlxqdH1fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEMz
NjFCMUUzMDI5NTQzRUJDNjI1RTk3RDgzNzJBNDc3RUZBRTU5QzIACgkQg3Kkd++u
WcLm5g/+M7vY/H/u2vfpk4C8taykmx4CAcgWJuVGiDjT0EMIPWkzNb5aiAr+VTR/
Q6biX7iQib0s0/WDAJxcOartwH2KmokPR792XvLV5ExLYs04Jq7ikHV8YA2FIaT8
apetCsSxOC/D5vME5NFbT5qlvdk7t7IXRBcJkcbobpOOxftPPdr8XHXeZ53UNQRT
u7fvXu+NdmyLcous626HWEEmKXNVSxQi9/yUY+49SJifa5qs96NcXSofzMJW//Px
JISbA2XZZhaPQ+6C6mshcqdEo2BszCkOIkkxcZfFj1MsiNsPWF5ELzsShw38WTkF
Iwf64bG+TYCetTX0rK7S687LqB8ChwZKT0//++jAfBfe8rFu37oS+oFvhOFlDyRT
Bt7qIzgZPWc5joFhk3jMy9VrZ+koGQAykCQ2bkfW033bPyAUPhs7j/R0Nk0BEk/B
+bWNnktoz/XFmGDGdKLPnD0iQRbz1zByhM7ZawJ0nq5DCIORT14hGev4MVTw/duL
zPnJ7/j5LqQV0lVoppuUkxOpIBrPH7PIsAD2ErXBRyu9aBmW9COYWz01rR0Nyqaj
iDmi2qvmQDHtPrM+fHjCLyxwZlCLQ2xw71xjx+/qWJfjhC3O56ZqzFQemK4EIfvl
tZ0E6ZVhH/y3zDO5QIGS6SUZFiMWzN8mjIuAp9ZhFHVBq3WjY8o=
=MBw/
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to