[Bug 1464051] Re: at does not respect the [.ss] portion of the -t option
** Changed in: at (Debian) Status: New => Fix Released -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1464051] Re: at does not respect the [.ss] portion of the -t option
I discussed this further with Utkarsh. Since there isn't currently a high impact use case and we have so few people affected since 2015, I'm going to reject this SRU on the basis that it doesn't meet the bar for risking regression and download/install bandwidth/time for existing users. On this basis, I'm marking the SRU tasks Won't Fix. Hirsute is fixed, and so the next LTS will also have this fixed. This decision can be revisited if a high impact use case is put forward, and affected users volunteer to do the necessary QA. ** Changed in: at (Ubuntu Focal) Status: New => Won't Fix ** Changed in: at (Ubuntu Groovy) Status: New => Won't Fix -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1464051] Re: at does not respect the [.ss] portion of the -t option
Hi Robie, Using at with `-t` is well-defined and used. From the manpage of at from focal: -t time run the job at time, given in the format [[CC]YY]MMDDhhmm[.ss] But that doesn't work w/o this patch, that is, [.ss] is never respected. If I were to schedule a one-time job where I need the sub-minute precision, I could never get that done even though "at" says (and documents) that it's indeed possible. With this patch (and SRU), that [.ss] is respected and "at" works again as documented. Let me know if you need more details. Thanks for taking a look. -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1464051] Re: at does not respect the [.ss] portion of the -t option
Please could you clarify the use case that requires sub-minute precision? Without an explanation of this, I don't see how an SRU is justified here. -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1464051] Re: at does not respect the [.ss] portion of the -t option
** Changed in: at (Ubuntu Groovy) 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1464051] Re: at does not respect the [.ss] portion of the -t option
** Merge proposal linked: https://code.launchpad.net/~utkarsh/ubuntu/+source/at/+git/at/+merge/400019 -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1464051] Re: at does not respect the [.ss] portion of the -t option
** 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> + 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> 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> - 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1464051] Re: at does not respect the [.ss] portion of the -t option
** Merge proposal linked: https://code.launchpad.net/~utkarsh/ubuntu/+source/at/+git/at/+merge/46 -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1464051] Re: at does not respect the [.ss] portion of the -t option
** Also affects: at (Ubuntu Focal) Importance: Undecided Status: New ** Also affects: at (Ubuntu Groovy) Importance: Undecided Status: New -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1464051] Re: at does not respect the [.ss] portion of the -t option
** Tags added: focal -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1464051] Re: at does not respect the [.ss] portion of the -t option
Affects Focal as well; would be awesome to backport this. ** Tags added: server-next -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1464051] Re: at does not respect the [.ss] portion of the -t option
This bug was fixed in the package at - 3.1.23-1.1ubuntu2 --- at (3.1.23-1.1ubuntu2) hirsute; urgency=medium * d/patches: add 03-do-not-drop-seconds.patch (cherry-pick). When calculating time for the job, do not drop seconds. (LP: #1464051) -- Paride Legovini Tue, 15 Dec 2020 12:01:14 +0100 ** Changed in: at (Ubuntu) Status: Confirmed => Fix Released -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1464051] Re: at does not respect the [.ss] portion of the -t option
** Merge proposal linked: https://code.launchpad.net/~paride/ubuntu/+source/at/+git/at/+merge/395372 -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1464051] Re: at does not respect the [.ss] portion of the -t option
** Changed in: at (Ubuntu) Assignee: (unassigned) => Paride Legovini (paride) -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1464051] Re: at does not respect the [.ss] portion of the -t option
** Changed in: at (Debian) Status: Unknown => New -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1464051] Re: at does not respect the [.ss] portion of the -t option
I can also confirm this behavior $ at -t 202012140849.27 warning: commands will be executed using /bin/sh at> date > /tmp/testme at> job 2 at Mon Dec 14 08:49:00 2020 $ cat /tmp/testme Mo 14. Dez 08:49:00 CET 2020 So it announces AND executes ignoring the seconds. That code is in since 3.1.11 by upstream which was the time that -t was added. Seconds are only used in "-t option" -> "posixtime" -> "posixtime_time_parse" which is called before seconds are dropped intentionally. This isn't a regression it always was a missing detail from upstream that never worked. Note: this is the same as https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=792040 Adding that as tracker. The change got now implemented by upstream in: https://salsa.debian.org/debian/at/-/commit/15ee22de9dfd67d9c97404302623a9d45ce887a2 This was meant to be in 3.1.24, but that got never released. It got into 3.2.0 which is a bigger step and not yet packaged/uploaded for Debian/Ubuntu (there is 3.2.1 already). I'll subscribe paride who was recently merging "at" to consider getting this updated. ** Bug watch added: Debian Bug tracker #792040 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=792040 ** Also affects: at (Debian) via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=792040 Importance: Unknown Status: Unknown ** Changed in: at (Ubuntu) Importance: Undecided => Low -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1464051] Re: at does not respect the [.ss] portion of the -t option
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: at (Ubuntu) Status: New => Confirmed -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1464051] Re: at does not respect the [.ss] portion of the -t option
Patch compiles successfully and works as expected. ** Patch added: 0001-Allow-seconds-in-t-option.patch https://bugs.launchpad.net/ubuntu/+source/at/+bug/1464051/+attachment/4412879/+files/0001-Allow-seconds-in-t-option.patch -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to at in 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-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1464051] Re: at does not respect the [.ss] portion of the -t option
Patch compiles successfully and works as expected. ** Patch added: 0001-Allow-seconds-in-t-option.patch https://bugs.launchpad.net/ubuntu/+source/at/+bug/1464051/+attachment/4412879/+files/0001-Allow-seconds-in-t-option.patch -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1464051] Re: at does not respect the [.ss] portion of the -t option
The attachment 0001-Allow-seconds-in-t-option.patch seems to be a patch. If it isn't, please remove the patch flag from the attachment, remove the patch tag, and if you are a member of the ~ubuntu- reviewers, unsubscribe the team. [This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.] ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to at in 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-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1464051] Re: at does not respect the [.ss] portion of the -t option
The attachment 0001-Allow-seconds-in-t-option.patch seems to be a patch. If it isn't, please remove the patch flag from the attachment, remove the patch tag, and if you are a member of the ~ubuntu- reviewers, unsubscribe the team. [This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.] ** Tags added: patch -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs