cron runs scripts named xxxx.dpkg-old
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cron (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: cron
bug initially reported using reportbug
---------- Forwarded message ----------
From: Gavin McCullagh <email address hidden>
To: Ubuntu Bug Tracking System <email address hidden>
Date: Mon, 10 Apr 2006 12:44:16 +0100
Subject: cron runs scripts named xxxx.dpkg-old
Package: cron
Version: 3.0pl1-87ubuntu2
Severity: normal
I'm not sure where this bug should really be filed, but I guess the
cron package maintainer will know. Debian packages (eg moodle, otrs)
which create files in /etc/cron.d/xxxx can in some instances upgrade
leaving /etc/cron.
both script sets to be run.
It seems to me that this is a bug. Whether cron should blacklist
certain filenames in /etc/cron.d/ or whether dpkg should not place these
files in /etc/cron.d/ I am unsure. I thought I would raise it though.
Gavin
-- System Information:
Debian Release: testing/unstable
APT prefers breezy-updates
APT policy: (500, 'breezy-updates'), (500, 'breezy-security'), (500, 'breezy')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-10-686-smp
Locale: LANG=en_IE.UTF-8, LC_CTYPE=
Versions of packages cron depends on:
ii adduser 3.64ubuntu1 Add and remove users and groups
ii debianutils 2.14.1-ubuntu2 Miscellaneous utilities specific t
ii libc6 2.3.5-1ubuntu12
ii libpam0g 0.76-22ubuntu3 Pluggable Authentication Modules l
Versions of packages cron recommends:
ii postfix [mail-transport-a 2.2.4-1ubuntu2 A high-performance mail transport
-- no debconf information
I suppose cron could be smart about dpkg's files and ignore
them.
Or we could have a cronjob that cleans up cronjobs my marking
them chmod 0000.