Quantum cronjobs have invalid continuation characters
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
quantum (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Three openstack quantum packages from the ubuntu cloud archive have this same problem. Each one trys to install a cronjob that contains backslashes which appear to be illegal in cronjobs on ubuntu. Removing the '\'s and putting the command on one line solves it anyway.
root@netnode:/# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
root@netnode:/# grep ERROR /var/log/syslog
Apr 18 09:02:05 netnode cron[873]: (*system*
Apr 18 09:02:05 netnode cron[873]: (*system*
Apr 18 09:02:05 netnode cron[873]: (*system*
root@netnode:/# find /etc/cron* -name quantum\*
/etc/cron.
/etc/cron.
/etc/cron.
root@netnode:/# find /etc/cron* -name quantum\* -exec sh -c 'echo "==== {} ===="; cat {}; echo' \;
==== /etc/cron.
# Periodically cleans Quantum's network namespaces on behalf of the Quantum
# DHCP agent.
30 * * * * quantum if [ -x /usr/bin/
==== /etc/cron.
# Periodically cleans Quantum's network namespaces on behalf of the Quantum
# L3 agent.
0 * * * * quantum if [ -x /usr/bin/
==== /etc/cron.
# Periodically cleans Quantum's network namespaces on behalf of the Quantum
# L3 agent.
0 * * * * quantum if [ -x /usr/bin/
root@netnode:/# dpkg -S /etc/cron.
quantum-dhcp-agent: /etc/cron.
root@netnode:/# dpkg -S /etc/cron.
quantum-
root@netnode:/# dpkg -S /etc/cron.
quantum-l3-agent: /etc/cron.
root@netnode:/# dpkg -l quantum\*
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Description
+++-===
un quantum-client <none> (no description available)
ii quantum-common 1:2013.
ii quantum-dhcp-agent 1:2013.
ii quantum-l3-agent 1:2013.
ii quantum-lbaas-agent 1:2013.
ii quantum-
un quantum-plugin <none> (no description available)
ii quantum-
ii quantum-
un quantum-server <none> (no description available)
Related branches
- Openstack Ubuntu Testers: Pending requested
-
Diff: 54 lines (+14/-12)4 files modifieddebian/changelog (+8/-0)
debian/cron.d/quantum-dhcp-agent-netns-cleanup (+2/-4)
debian/cron.d/quantum-l3-agent-netns-cleanup (+2/-4)
debian/cron.d/quantum-lbaas-agent-netns-cleanup (+2/-4)
Changed in quantum (Ubuntu): | |
importance: | Undecided → High |
status: | New → Triaged |
This bug was fixed in the package quantum - 1:2013.1-0ubuntu2
---------------
quantum (1:2013.1-0ubuntu2) raring; urgency=low
* Fix invalid multi-line cron jobs (LP: #1170312):
- d/cron.d/*: Consolidate jobs into a single command line, set syntax
highlighting to type 'crontab'.
-- James Page <email address hidden> Mon, 22 Apr 2013 15:58:12 +0100