Package: cron
Version: 3.0pl1-101
Severity: serious
Justification: Policy 9.1.1 (FHS)

At least since updating to this version of cron on kfreebsd-amd64 (maybe
earlier), cron seems to look for the pid in /etc/crond.pid which
doesn't work. It argues about it as follows:

18/0/0 [EMAIL PROTECTED]:pts/ttyp0 11:25:36 [~] # /etc/init.d/cron stop
Stopping periodic command scheduler: crond failed!
19/0/0 [EMAIL PROTECTED]:pts/ttyp0 11:38:39 [~] # /etc/init.d/cron start
Starting periodic command scheduler: crond/usr/sbin/cron: can't lock 
/etc/crond.pid, otherpid may be 6898: Resource temporarily unavailable
 failed!
20/0/0 [EMAIL PROTECTED]:pts/ttyp0 11:38:44 [~] # 

So this are three bugs in one. ;-)

a) The usage of /etc/crond.pid violates the FHS and therefore the Debian
   Policy Manual, section 9.1.1

b) The init.d script is unable to stop or restart crond.

c) The init.d script does not return an exit code unequal to zero if it
   fails (see the prompts above).

-- System Information:
Debian Release: lenny/sid
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 7.0-1-amd64-generic
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages cron depends on:
ii  adduser                       3.105      add and remove users and groups
ii  debianutils                   2.28.2     Miscellaneous utilities specific t
ii  libc0.1                       2.7-6      GNU C Library: Shared libraries
ii  lsb-base                      3.1-24     Linux Standard Base 3.1 init scrip

Versions of packages cron recommends:
ii  postfix [mail-transport-agent 2.4.6-4    High-performance mail transport ag

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to