** Description changed:

+ [Impact]
+ ========
+ 
  The seconds in the time string passed to -t is explicitly dropped in all
  cases. See: https://anonscm.debian.org/cgit/collab-
  maint/at.git/tree/at.c#n860
  
  Thus the job is always locked to HH:MM:00.
  
- Ubuntu release:
- $ lsb_release -rd
- Description:  Ubuntu 15.04
- Release:      15.04
  
- Package version:
- $ apt-cache policy at
- at:
-   Installed: 3.1.16-1ubuntu1
-   Candidate: 3.1.16-1ubuntu1
-   Version table:
-  *** 3.1.16-1ubuntu1 0
-         500 http://mirror.rackspace.com/ubuntu/ vivid/main amd64 Packages
-         100 /var/lib/dpkg/status
+ [Test Plan]
+ ===========
  
- Expected result:
- $ at -t 201506101624.05
+ $ 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
  
- Actual result: 
- $ 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
+ // 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).

** Changed in: at (Ubuntu Focal)
     Assignee: (unassigned) => Utkarsh Gupta (utkarsh)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1464051

Title:
  at does not respect the [.ss] portion of the -t option

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to