touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #29383
[Bug 826702] Re: crontab cuts off file names at 100 characters
This bug was fixed in the package cron - 3.0pl1-127ubuntu1
---------------
cron (3.0pl1-127ubuntu1) vivid; urgency=low
* Merge from Debian unstable. Remaining changes:
- debian/control:
+ Move MTA to Suggests field.
- debian/cron.upstart: Add Upstart script.
- debian/rules: Call dh_installinit to install Upstart job properly.
- d/cron.default: change to a deprecated message to make it clear
that the file is no longer in use.
cron (3.0pl1-127) unstable; urgency=medium
* Drop $READ_ENV from cron's command line. It does not belong there.
Closes: #766779
cron (3.0pl1-126) unstable; urgency=low
* Packaging (general): removed unused files from the source that had been
already removed in 3.0pl1-117 but got reintroduced due to a merge.
cron (3.0pl1-125) unstable; urgency=medium
* Acknowledge NMUs. Thanks, Laurent Bigonville and Ansgar Burchardt.
Closes: #749271
[ Christian Kastner ]
* debian/control:
- Bump Standards-Version to 3.9.6 (no changes needed)
- Canonicalize Vcs-* URLs
* debian/copyright:
- Bump years
- Don't use spaces in License short name
* debian/source/lintian-overrides:
- Drop overrides from pre-UTF-8 debian/control era
* debian/rules:
- Extend documentation
* debian/cron.init:
- Include winbind in Should-Start/Stop. Closes: #732203
* crontab.5:
- Don't use hyphen as a minus sign
* cron.8:
- Drop stray words in cron.8. Thanks, Regid Ichira! Closes: #702091
- Fix misspelled 'sytem'. Thanks, green! Closes: #753775
* cron.c,crontab.c:
- Use basename of argv[0] as syslog tag. Closes: #752750
* cron.c:
- Use case-insensitive comparison in charset selection. Thanks,
Malcolm Scott! LP: #1169160
* entry.c:
- Detect invalid entry: step specified without a range. Thanks,
Justin T. Pryzby! Closes: #733478
- Error out when a command field is too long instead of silently
truncating it. Closes: #686223, LP: #826702
* do_command.c:
- Fix initialization and increment of mailed bytes counter.
Closes: #691488
* cron.c, do_command.c:
- Add an option -n to include FQDN in mail subject. Closes: #570423
[ brian m. carlson ]
* config.h, do_command.c:
- Send proper 8-bit emails by including an appropriate MIME-Version and
adjusting the Content-Transfer-Encoding header accordingly.
Closes: #694686
[ Javier Fernández-Sanguino ]
* Change systemd definition in order for the daemon to read an honor
/etc/default/cron (Closes: #754279)
cron (3.0pl1-124.2) unstable; urgency=medium
* Non-maintainer upload.
* debian/cron.service: Set IgnoreSIGPIPE=false. (Closes: #756047)
* debian/cron.service: Add Documentation field.
-- Michael Vogt <michael.vogt@xxxxxxxxxx> Mon, 27 Oct 2014 10:19:21 +0100
** Changed in: cron (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to cron in Ubuntu.
https://bugs.launchpad.net/bugs/826702
Title:
crontab cuts off file names at 100 characters
Status in “cron” package in Ubuntu:
Fix Released
Bug description:
The crontab command silently cuts off file names after 100 characters.
This means that it won't work if you have a file with a path longer
than 100 characters, and want to feed it into crontab. Example:
$ crontab _123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_this_will_be_cut_off
_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_12345678: No such file or directory
This is due to a MAX_FNAME constant set to 100 characters in cron.h. I updated the code to use PATH_MAX instead. This will still cut off the paths, but at least after a more reasonable number of characters.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cron/+bug/826702/+subscriptions