Public bug reported:

If you want to install cron from a file you run crontab [filename].
Unfortunately the filename is truncated to 100 characters in the source
code set from #define MAX_FNAME 100

The MAX_FNAME should actually be set to PATH_MAX which is 4096

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: cron 3.0pl1-128.1ubuntu1
ProcVersionSignature: User Name 4.15.0-1048.50-aws 4.15.18
Uname: Linux 4.15.0-1048-aws x86_64
ApportVersion: 2.20.9-0ubuntu7.7
Architecture: amd64
Date: Wed Oct 23 13:06:13 2019
Ec2AMI: ami-0977c44707608ee22
Ec2AMIManifest: (unknown)
Ec2AvailabilityZone: us-east-1d
Ec2InstanceType: t2.large
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
ProcEnviron:
 TERM=xterm-color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=C.UTF-8
 SHELL=/bin/bash
SourcePackage: cron
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: cron (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic ec2-images third-party-packages

-- 
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/1849543

Title:
  crontab truncates passed in filename to 100 characters

Status in cron package in Ubuntu:
  New

Bug description:
  If you want to install cron from a file you run crontab [filename].
  Unfortunately the filename is truncated to 100 characters in the
  source code set from #define MAX_FNAME 100

  The MAX_FNAME should actually be set to PATH_MAX which is 4096

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: cron 3.0pl1-128.1ubuntu1
  ProcVersionSignature: User Name 4.15.0-1048.50-aws 4.15.18
  Uname: Linux 4.15.0-1048-aws x86_64
  ApportVersion: 2.20.9-0ubuntu7.7
  Architecture: amd64
  Date: Wed Oct 23 13:06:13 2019
  Ec2AMI: ami-0977c44707608ee22
  Ec2AMIManifest: (unknown)
  Ec2AvailabilityZone: us-east-1d
  Ec2InstanceType: t2.large
  Ec2Kernel: unavailable
  Ec2Ramdisk: unavailable
  ProcEnviron:
   TERM=xterm-color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=C.UTF-8
   SHELL=/bin/bash
  SourcePackage: cron
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cron/+bug/1849543/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to