Package: cron Version: 3.0pl1-100ubuntu2 Severity: normal Tags: patch Although reportbug collected Ubuntu versions of the listed packages, this bug applies to the Debian upstream packages as well.
I have a separate patch to /usr/bin/sensible-editor, adding some intelligence there to allow each system user to interactively choose their preferred editor (or accept the default) on the first invocation of sensible-editor. It would be quite useful for "crontab -e" to leverage sensible-editor. Section 11.4 of http://www.debian.org/doc/debian-policy/ch-customized-programs.html seems to indicate that this should be an acceptable change. Patch attached (cron_sensible_editor.patch). Cheers, :-Dustin Dustin Kirkland Ubuntu Server Developer Canonical, LTD [EMAIL PROTECTED] GPG: 1024D/83A61194 -- System Information: Debian Release: lenny/sid APT prefers hardy-updates APT policy: (500, 'hardy-updates'), (500, 'hardy-security'), (500, 'hardy') Architecture: amd64 (x86_64) Kernel: Linux 2.6.24-17-generic (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages cron depends on: ii adduser 3.105ubuntu1 add and remove users and groups ii debianutils 2.28.2-0ubuntu1 Miscellaneous utilities specific t ii libc6 2.7-10ubuntu3 GNU C Library: Shared libraries ii libpam0g 0.99.7.1-5ubuntu6 Pluggable Authentication Modules l ii libselinux1 2.0.55-0ubuntu4 SELinux policy enforcement, run-ti ii lsb-base 3.2-4ubuntu1 Linux Standard Base 3.2 init scrip ii sysv-rc 2.86.ds1-14.1ubuntu45 System-V-like runlevel change mech Versions of packages cron recommends: ii postfix [mail-transport-a 2.5.1-2ubuntu1 High-performance mail transport ag -- no debconf information
diff -upr cron-3.0pl1.orig/pathnames.h cron-3.0pl1/pathnames.h --- cron-3.0pl1.orig/pathnames.h 2008-05-21 10:42:06.064487361 -0500 +++ cron-3.0pl1/pathnames.h 2008-05-21 10:41:34.412450000 -0500 @@ -75,7 +75,7 @@ * environment variable specified. */ #if defined(DEBIAN) -# define EDITOR "/usr/bin/editor" +# define EDITOR "/usr/bin/sensible-editor" #elif defined(_PATH_VI) # define EDITOR _PATH_VI #else
signature.asc
Description: This is a digitally signed message part