[Bug 943713] Re: generated crontab does not work in Japanese locale
Dave M
dave.nerd at gmail.com
Fri Mar 2 00:38:46 UTC 2012
Nobuto,
Thank you for reporting this. I'll test the quotes method in a variety
of locales to ensure there are no issues. Assuming all goes well, we'll
include this in version 4.38 and have it out shortly.
Dave M
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/943713
Title:
generated crontab does not work in Japanese locale
Status in ClamTk front-end for Clam Antivirus:
New
Status in “clamtk” package in Ubuntu:
New
Bug description:
In Japanese locale, `date +'%b' contains a blank space, which breaks "
--log" option for clamscan in crontab.
==========
$ crontab -l
0 1 * * * /usr/bin/clamscan --exclude-dir=.thunderbird --exclude-dir=.mozilla-thunderbird --exclude-dir=.evolution --exclude-dir=Mail --exclude-dir=kmail --detect-pua -i -r /home/ubuntu --exclude-dir=/home/ubuntu/.clamtk/viruses --log=$HOME/.clamtk/history/$(date +\%b-\%d-\%Y).log 2>/dev/null # clamtk-scan
==========
==========
$ locale | grep LC_TIME
LC_TIME="ja_JP.UTF-8"
$ /usr/bin/clamscan --exclude-dir=.thunderbird --exclude-dir=.mozilla-thunderbird --exclude-dir=.evolution --exclude-dir=Mail --exclude-dir=kmail --detect-pua -i -r /home/ubuntu --exclude-dir=/home/ubuntu/.clamtk/viruses --log=$HOME/.clamtk/history/$(date +\%b-\%d-\%Y).log
ERROR: Problem with internal logger.
ERROR: Can't open /home/ubuntu/.clamtk/history/ in append mode (check permissions!).
==========
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: clamtk 4.36-1
ProcVersionSignature: Ubuntu 3.2.0-17.27-generic-pae 3.2.6
Uname: Linux 3.2.0-17-generic-pae i686
ApportVersion: 1.93-0ubuntu2
Architecture: i386
CasperVersion: 1.304
Date: Thu Mar 1 00:38:46 2012
LiveMediaBuild: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120228.1)
PackageArchitecture: all
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=ja_JP.UTF-8
SHELL=/bin/bash
SourcePackage: clamtk
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/clamtk/+bug/943713/+subscriptions
More information about the Ubuntu-sponsors
mailing list