[Bug 899252] New: sudo: "ignoring time stamp from the future" message after each boot
http://bugzilla.suse.com/show_bug.cgi?id=899252 Bug ID: 899252 Summary: sudo: "ignoring time stamp from the future" message after each boot Classification: openSUSE Product: openSUSE Factory Version: 201409* Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: bpoirier@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- I am also experiencing on openSUSE Factory what is described here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762465 ben@f1:~$ rpm -qi sudo Name : sudo Version : 1.8.10p3 Release : 1.2 Architecture: x86_64 Install Date: Thu 18 Sep 2014 04:25:51 AM PDT Group : System/Base [...] -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=899252 --- Comment #3 from Benjamin Poirier <bpoirier@suse.com> --- (In reply to Bernhard Wiedemann from comment #1) [...]
could it be that the hardware clock is not good and starting at 1970? e.g. try as root hwclock hwclock -w
# fresh after boot ben@f1:~$ su - Password: root@f1:~# l /var/lib/sudo/ total 0 drwx--x--x 1 root root 20 Sep 28 20:30 . drwxr-xr-x 1 root root 802 Oct 3 00:00 .. drwx------ 1 root root 6 Sep 28 20:30 lectured drwx------ 1 root root 6 Sep 28 20:30 ts root@f1:~# l /var/lib/sudo/lectured/ total 0 drwx------ 1 root root 6 Sep 28 20:30 . drwx--x--x 1 root root 20 Sep 28 20:30 .. -rw------- 1 root users 0 Sep 28 20:30 ben root@f1:~# l /var/lib/sudo/ts/ total 4.0K drwx------ 1 root root 6 Sep 28 20:30 . drwx--x--x 1 root root 20 Sep 28 20:30 .. -rw------- 1 root users 200 Oct 3 10:22 ben root@f1:~# date Fri Oct 3 10:48:17 PDT 2014 root@f1:~# hwclock Fri Oct 3 10:48:39 2014 -0.864546 seconds root@f1:~# logout ben@f1:~$ sudo su - sudo: ignoring time stamp from the future root's password: root@f1:~# l /var/lib/sudo/ total 0 drwx--x--x 1 root root 20 Sep 28 20:30 . drwxr-xr-x 1 root root 802 Oct 3 00:00 .. drwx------ 1 root root 6 Sep 28 20:30 lectured drwx------ 1 root root 6 Sep 28 20:30 ts root@f1:~# l /var/lib/sudo/lectured/ total 0 drwx------ 1 root root 6 Sep 28 20:30 . drwx--x--x 1 root root 20 Sep 28 20:30 .. -rw------- 1 root users 0 Sep 28 20:30 ben root@f1:~# l /var/lib/sudo/ts/ total 8.0K drwx------ 1 root root 6 Sep 28 20:30 . drwx--x--x 1 root root 20 Sep 28 20:30 .. -rw------- 1 root users 200 Oct 3 10:49 ben root@f1:~# logout ben@f1:~$ ben@f1:~$ sudo su - # notice, no message now root@f1:~# Please note that I run a sudo with a non-default configuration which includes Defaults !tty_tickets I verified that the problem does not occur without that line. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=899252 --- Comment #4 from Benjamin Poirier <bpoirier@suse.com> --- (In reply to Vitezslav Cizek from comment #2) [...]
I also wonder why the files in /var/lib/sudo have time of the epoch.
As a matter of fact, they don't in my case. "Sep 28" is the date I installed Factory though. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=899252 Yifan Jiang <yfjiang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yfjiang@suse.com Assignee|bnc-team-screening@forge.pr |vcizek@suse.com |ovo.novell.com | --- Comment #5 from Yifan Jiang <yfjiang@suse.com> --- Hi Vitezslav, Since no assignees for it, would you mind to take over the issue? Thank you! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=899252 Vitezslav Cizek <vcizek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #6 from Vitezslav Cizek <vcizek@suse.com> --- Added the patch from the Debian bug to our sudo package. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=899252 Björn Voigt <bjoernv@arcor.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bjoernv@arcor.de -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=899252 --- Comment #7 from Björn Voigt <bjoernv@arcor.de> --- Please build an "sudo" update package for openSUSE 13.2. A "sudo" package which doesn't work after each reboot is not acceptable. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=899252 Björn Voigt <bjoernv@arcor.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|RESOLVED |REOPENED Component|Basesystem |Basesystem Version|201409* |13.2 Resolution|FIXED |--- Product|openSUSE Factory |openSUSE Distribution Target Milestone|--- |13.2 --- Comment #8 from Björn Voigt <bjoernv@arcor.de> --- Re-opened, because the bug is not fixed in OS 13.2. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=899252 Vitezslav Cizek <vcizek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED --- Comment #9 from Vitezslav Cizek <vcizek@suse.com> --- (In reply to Björn Voigt from comment #8)
Re-opened, because the bug is not fixed in OS 13.2.
Thanks for reopening, it was apparently only fixed in Factory. I started a maintenance update to fix this bug on 13.1 and 13.2. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=899252 http://bugzilla.suse.com/show_bug.cgi?id=899252#c12 Stefan Löwen <stefan.loewen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |stefan.loewen@gmail.com Resolution|FIXED |--- --- Comment #12 from Stefan Löwen <stefan.loewen@gmail.com> --- I'm having this problem on openSUSE 42.1 with Defaults !tty_tickets in /etc/sudoers. When I remove Defaults !tty_tickets from /etc/sudoers the problem disappears. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=899252 http://bugzilla.suse.com/show_bug.cgi?id=899252#c13 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|13.2 |Leap 42.1 Target Milestone|13.2 |Leap 42.1 Summary|sudo: "ignoring time stamp |sudo: "ignoring time stamp |from the future" message |from the future" message |after each boot |after each boot with | |!tty_tickets --- Comment #13 from Bernhard Wiedemann <bwiedemann@suse.com> --- That is because 42.1 uses the SLE version of sudo, which does not yet have the fix. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=899252 Vítězslav Čížek <vcizek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |CONFIRMED Assignee|vcizek@suse.com |kstreitova@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=899252 http://bugzilla.suse.com/show_bug.cgi?id=899252#c14 Kristyna Streitova <kstreitova@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |maint-coord@suse.de Flags| |needinfo?(maint-coord@suse. | |de) --- Comment #14 from Kristyna Streitova <kstreitova@suse.com> --- Maint-coord: Can you please add this bug to the list of the maintenance updates for SLE12? Thank you. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=899252 Stephan Barth <stephan.barth@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(maint-coord@suse. | |de) | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=899252 Kristyna Streitova <kstreitova@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=899252 http://bugzilla.suse.com/show_bug.cgi?id=899252#c19 --- Comment #19 from Benjamin Poirier <bpoirier@suse.com> --- In the meantime I've copied the Leap version of the sudo package and added the upstream patch for this problem. The resulting package is available here: http://download.opensuse.org/repositories/home:/benjamin_poirier:/bug899252/... and I've tested that it solves the issue. Since sudo is safety-critical, I encourage you to check the source in the corresponding OBS project before installing the package. https://build.opensuse.org/package/revisions/home:benjamin_poirier:bug899252... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=899252 http://bugzilla.suse.com/show_bug.cgi?id=899252#c21 Leonardo Chiquitto <lchiquitto@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #21 from Leonardo Chiquitto <lchiquitto@suse.com> --- This also needs to be included in the SLE-12 update. Please submit. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=899252 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard| maint:planned:update |maint:planned:update | |ibs:running:1638:moderate -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=899252 http://bugzilla.suse.com/show_bug.cgi?id=899252#c22 --- Comment #22 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (899252) was mentioned in https://build.opensuse.org/request/show/441685 42.2 / sudo -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=899252 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|maint:planned:update |maint:planned:update |ibs:running:1638:moderate |ibs:running:1638:moderate | |obs:running:5923:moderate -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=899252 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|maint:planned:update |maint:planned:update |ibs:running:1638:moderate |ibs:running:1638:moderate |obs:running:5923:moderate |obs:running:5923:moderate | |obs:running:5931:moderate -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=899252 Stefan Löwen <stefan.loewen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|stefan.loewen@gmail.com | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=899252 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|maint:planned:update |maint:planned:update |ibs:running:1638:moderate |obs:running:5923:moderate |obs:running:5923:moderate |obs:running:5931:moderate |obs:running:5931:moderate | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=899252 http://bugzilla.suse.com/show_bug.cgi?id=899252#c23 --- Comment #23 from Swamp Workflow Management <swamp@suse.de> --- SUSE-SU-2016:2904-1: An update that solves three vulnerabilities and has two fixes is now available. Category: security (moderate) Bug References: 1007501,1007766,899252,917806,979531 CVE References: CVE-2014-9680,CVE-2016-7032,CVE-2016-7076 Sources used: SUSE Linux Enterprise Software Development Kit 12-SP1 (src): sudo-1.8.10p3-2.6.1 SUSE Linux Enterprise Server 12-SP1 (src): sudo-1.8.10p3-2.6.1 SUSE Linux Enterprise Desktop 12-SP1 (src): sudo-1.8.10p3-2.6.1 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=899252 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|maint:planned:update |maint:planned:update |obs:running:5923:moderate |obs:running:5931:moderate |obs:running:5931:moderate | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=899252 Kristyna Streitova <kstreitova@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=899252 http://bugzilla.suse.com/show_bug.cgi?id=899252#c25 --- Comment #25 from Swamp Workflow Management <swamp@suse.de> --- openSUSE-SU-2016:2983-1: An update that solves three vulnerabilities and has one errata is now available. Category: security (moderate) Bug References: 1007501,1007766,899252,979531 CVE References: CVE-2014-9680,CVE-2016-7032,CVE-2016-7076 Sources used: openSUSE Leap 42.2 (src): sudo-1.8.10p3-7.1 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=899252 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|maint:planned:update |maint:planned:update |obs:running:5931:moderate | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=899252 http://bugzilla.suse.com/show_bug.cgi?id=899252#c26 --- Comment #26 from Swamp Workflow Management <swamp@suse.de> --- openSUSE-SU-2016:3004-1: An update that solves three vulnerabilities and has two fixes is now available. Category: security (moderate) Bug References: 1007501,1007766,899252,917806,979531 CVE References: CVE-2014-9680,CVE-2016-7032,CVE-2016-7076 Sources used: openSUSE Leap 42.1 (src): sudo-1.8.10p3-8.1 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=899252 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|maint:planned:update | -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com