[Bug 879402] New: date format of atq is unusable for sorting
https://bugzilla.novell.com/show_bug.cgi?id=879402 https://bugzilla.novell.com/show_bug.cgi?id=879402#c0 Summary: date format of atq is unusable for sorting Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: x86-64 OS/Version: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: martin@oneiros.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0 The atq in 13.1 uses a date/time format that is unsuitable for sorting by date/time and there is no way to set the date format used (e.g. to ISO8601). Reproducible: Always Steps to Reproduce: 1. Set up some jobs with at 2. Run atq Actual Results:
atq 1377 Thu May 29 15:04:00 2014 a ms 1387 Thu May 22 21:59:00 2014 a ms 1376 Thu May 29 18:39:00 2014 a ms 1372 Wed May 28 21:32:00 2014 a ms 1 Fri May 23 21:04:00 2014 a ms 1361 Sun May 25 08:04:00 2014 a ms 1373 Thu May 29 09:29:00 2014 a ms 1367 Tue May 27 20:02:00 2014 a ms 4 Fri May 23 22:03:00 2014 a ms 1369 Wed May 28 21:04:00 2014 a ms 7 Sat May 24 19:04:00 2014 a ms 10 Sat May 24 23:03:00 2014 a ms
Expected Results: The date format should be ISO 8601 - or there should be a switch to set the date format used. The atq up to 12.3 used ISO 8601, so this is a regression. See also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=612075 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=879402 https://bugzilla.novell.com/show_bug.cgi?id=879402#c1 --- Comment #1 from Martin Schröder <martin@oneiros.de> 2014-05-22 13:02:09 CEST ---
rpm -qi at Name : at Version : 3.1.13 Release : 5.4.1 Architecture: x86_64 Install Date: Mi 21 Mai 2014 15:38:28 CEST Group : System/Daemons Size : 115052 License : GPL-2.0+ Signature : RSA/SHA256, Mo 25 Nov 2013 10:44:52 CET, Key ID b88b2fd43dbdc284 Source RPM : at-3.1.13-5.4.1.src.rpm Build Date : Mi 13 Nov 2013 11:12:54 CET Build Host : cloud125 Relocations : (not relocatable) Packager : http://bugs.opensuse.org Vendor : openSUSE URL : ftp://ftp.debian.org/debian/pool/main/a/at Summary : A Job Manager Description : This program allows you to run jobs at specified times. Distribution: openSUSE 13.1
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=879402 https://bugzilla.novell.com/show_bug.cgi?id=879402#c zhang jiajun <jzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jzhang@suse.com AssignedTo|bnc-team-screening@forge.pr |vdziewiecki@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=879402 https://bugzilla.novell.com/show_bug.cgi?id=879402#c2 Petr Gajdos <pgajdos@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |ASSIGNED CC| |pgajdos@suse.com AssignedTo|vdziewiecki@suse.com |pgajdos@suse.com --- Comment #2 from Petr Gajdos <pgajdos@suse.com> 2014-07-25 07:40:32 UTC --- I'll try to take over. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=879402 https://bugzilla.novell.com/show_bug.cgi?id=879402#c3 Petr Gajdos <pgajdos@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |martin@oneiros.de --- Comment #3 from Petr Gajdos <pgajdos@suse.com> 2014-07-25 09:45:03 UTC --- Martin, please find packages under http://download.opensuse.org/repositories/home:/pgajdos/openSUSE_13.1/x86_64... Test like this: $ atq -o '%Y-%m-%d %T' Is that what you expect? Feel free to propose better switch :). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=879402 https://bugzilla.novell.com/show_bug.cgi?id=879402#c4 Martin Schröder <martin@oneiros.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|martin@oneiros.de | --- Comment #4 from Martin Schröder <martin@oneiros.de> 2014-07-28 22:05:53 CEST --- (In reply to comment #3)
Test like this: $ atq -o '%Y-%m-%d %T'
Is that what you expect?
Yes! Needs documentation, though.
Feel free to propose better switch :).
Switch the default format back to ISO (as mentioned in comment 1 the current change is a regression) and you won't need a switch. :-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=879402 https://bugzilla.novell.com/show_bug.cgi?id=879402#c5 Petr Gajdos <pgajdos@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |maintenance@opensuse.org --- Comment #5 from Petr Gajdos <pgajdos@suse.com> 2014-07-29 06:56:02 UTC --- (In reply to comment #4)
(In reply to comment #3)
Test like this: $ atq -o '%Y-%m-%d %T'
Is that what you expect?
Yes! Needs documentation, though.
It is documented in the man page and in the --help text.
Feel free to propose better switch :).
Switch the default format back to ISO (as mentioned in comment 1 the current change is a regression) and you won't need a switch. :-)
No for 13.1 at least because some tools can rely on the new format. You can discuss with upstream to change the default, I will happy to apply upstream patch for factory. Maintenance, can we do an update for 13.1? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=879402 https://bugzilla.novell.com/show_bug.cgi?id=879402#c6 --- Comment #6 from Petr Gajdos <pgajdos@suse.com> 2014-07-29 07:10:58 UTC --- See mr 242800. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=879402 https://bugzilla.novell.com/show_bug.cgi?id=879402#c7 Matthias Grießmeier <mgriessmeier@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|maintenance@opensuse.org | --- Comment #7 from Matthias Grießmeier <mgriessmeier@suse.com> 2014-07-29 08:09:16 UTC --- Update started for openSUSE 13.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=879402 https://bugzilla.novell.com/show_bug.cgi?id=879402#c8 Petr Gajdos <pgajdos@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #8 from Petr Gajdos <pgajdos@suse.com> 2014-07-29 08:16:32 UTC --- Closing, thanks for reporting! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=879402 https://bugzilla.novell.com/show_bug.cgi?id=879402#c9 --- Comment #9 from Bernhard Wiedemann <bwiedemann@suse.com> 2014-07-31 14:00:19 CEST --- This is an autogenerated message for OBS integration: This bug (879402) was mentioned in https://build.opensuse.org/request/show/243136 Factory / at -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=879402 https://bugzilla.novell.com/show_bug.cgi?id=879402#c10 --- Comment #10 from Bernhard Wiedemann <bwiedemann@suse.com> 2014-08-01 08:00:28 CEST --- This is an autogenerated message for OBS integration: This bug (879402) was mentioned in https://build.opensuse.org/request/show/243136 Factory / at -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=879402 https://bugzilla.novell.com/show_bug.cgi?id=879402#c11 --- Comment #11 from Swamp Workflow Management <swamp@suse.de> 2014-08-05 08:04:24 UTC --- openSUSE-RU-2014:0962-1: An update that has one recommended fix can now be installed. Category: recommended (low) Bug References: 879402 CVE References: Sources used: openSUSE 13.1 (src): at-3.1.13-5.8.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=879402 http://bugzilla.novell.com/show_bug.cgi?id=879402#c12 Martin Schröder <martin@oneiros.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #12 from Martin Schröder <martin@oneiros.de> --- I'm reopening this as the patch isn't in 42.3 anymore (and most likely in 15). The upstream bug report is https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=612075 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com