at does not respect the [.ss] portion of the -t option
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
at (Debian) |
Fix Released
|
Unknown
|
|||
at (Ubuntu) |
Fix Released
|
Low
|
Paride Legovini | ||
Focal |
Won't Fix
|
Undecided
|
Utkarsh Gupta | ||
Groovy |
Won't Fix
|
Undecided
|
Utkarsh Gupta |
Bug Description
[Impact]
========
The seconds in the time string passed to -t is explicitly dropped in all cases. See: https:/
Thus the job is always locked to HH:MM:00.
[Test Plan]
===========
$ lxc launch ubuntu-daily:focal lp1464051-at-focal
$ lxc shell lp1464051-at-focal
# apt update && apt install at
# at -t 201506101624.05
warning: commands will be executed using /bin/sh
at> echo hi
at> <EOT>
job 1 at Wed Jun 10 16:24:00 2015
// now installing the patched version
# add-apt-repository ppa:utkarsh/at
# apt update && apt upgrade
# at -t 201506101624.05
warning: commands will be executed using /bin/sh
at> echo hi
at> <EOT>
job 1 at Wed Jun 10 16:24:05 2015
// thereby confirming that the fix indeed worked fine
[Where Problems Could Occur]
=======
Now that the patch doesn't subtracts the seconds anymore, there could be some edge case here and there (though unlikely & trivial).
Related branches
- Bryce Harrington (community): Approve
- Canonical Server: Pending requested
- git-ubuntu developers: Pending requested
-
Diff: 56 lines (+37/-0)3 files modifieddebian/changelog (+8/-0)
debian/patches/03-do-not-drop-seconds.patch (+28/-0)
debian/patches/series (+1/-0)
- Christian Ehrhardt (community): Approve
- Canonical Server: Pending requested
- git-ubuntu developers: Pending requested
-
Diff: 56 lines (+37/-0)3 files modifieddebian/changelog (+8/-0)
debian/patches/03-do-not-drop-seconds.patch (+28/-0)
debian/patches/series (+1/-0)
- Sergio Durigan Junior (community): Approve
- Ubuntu Server Developers: Pending requested
-
Diff: 54 lines (+35/-0)3 files modifieddebian/changelog (+7/-0)
debian/patches/03-do-not-drop-seconds.patch (+27/-0)
debian/patches/series (+1/-0)
Changed in at (Debian): | |
status: | Unknown → New |
Changed in at (Ubuntu): | |
assignee: | nobody → Paride Legovini (paride) |
tags: | added: focal |
description: | updated |
Changed in at (Ubuntu Focal): | |
assignee: | nobody → Utkarsh Gupta (utkarsh) |
Changed in at (Ubuntu Groovy): | |
assignee: | nobody → Utkarsh Gupta (utkarsh) |
Changed in at (Debian): | |
status: | New → Fix Released |
Patch compiles successfully and works as expected.