[Bug 1223297] Re: sudo init script should set date to epoch, not 1985-01-01

Brian Murray brian at ubuntu.com
Mon Nov 18 20:31:15 UTC 2013


This is fixed in Trusty:

sudo (1.8.8-2ubuntu1) trusty; urgency=low

  * Merge from Debian unstable. Remaining changes:
    - debian/rules:
      + compile with --without-lecture --with-tty-tickets --enable-admin-flag
      + install man/man8/sudo_root.8 in both flavours
      + install apport hooks
    - debian/sudoers:
      + also grant admin group sudo access
    - debian/source_sudo.py, debian/sudo-ldap.dirs, debian/sudo.dirs:
      + add usr/share/apport/package-hooks
    - debian/sudo.pam:
      + Use pam_env to read /etc/environment and /etc/default/locale
        environment files. Reading ~/.pam_environment is not permitted due to
        security reasons.
    - Remaining patches:
      + keep_home_by_default.patch: Keep HOME in the default environment
      + actually-use-buildflags: Pass LDFLAGS everywhere

 -- Stéphane Graber <stgraber at ubuntu.com>  Tue, 22 Oct 2013 17:43:37
-0400

sudo (1.8.8-2) unstable; urgency=low

  * fix touch errors on boot, closes: #725193

 -- Bdale Garbee <bdale at gag.com>  Tue, 08 Oct 2013 20:11:38 -0600

sudo (1.8.8-1) unstable; urgency=low

  * new upstream release

 -- Bdale Garbee <bdale at gag.com>  Mon, 30 Sep 2013 23:08:49 -0600

sudo (1.8.8~rc1-1) experimental; urgency=low

  * upstream release candidate with several of our patches folded in
  * set filestamps to epoch instead of an arbitrary old date in the init
    fragment, closes: #722335


** Changed in: sudo (Ubuntu)
       Status: Fix Committed => Fix Released

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

Title:
  sudo init script should set date to epoch, not 1985-01-01

Status in “sudo” package in Ubuntu:
  Fix Released
Status in “sudo” package in Debian:
  Fix Released

Bug description:
  Sudo treats filestamps set to epoch as invalid, so the init script
  should set the contents of /var/lib/sudo to epoch, and not 19850101.

  ie:

  find /var/lib/sudo -exec touch -d @0 '{}' \;

  instead of:

  find /var/lib/sudo -exec touch -t 198501010000 '{}' \;

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: sudo 1.8.6p3-0ubuntu3
  ProcVersionSignature: Ubuntu 3.11.0-4.9-generic 3.11.0-rc7
  Uname: Linux 3.11.0-4-generic x86_64
  ApportVersion: 2.12.1-0ubuntu3
  Architecture: amd64
  Date: Tue Sep 10 07:25:04 2013
  InstallationDate: Installed on 2012-11-13 (300 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
  MarkForUpload: True
  SourcePackage: sudo
  UpgradeStatus: Upgraded to saucy on 2013-08-19 (21 days ago)
  modified.conffile..etc.sudoers: [inaccessible: [Errno 13] Permission denied: '/etc/sudoers']
  modified.conffile..etc.sudoers.d.README: [inaccessible: [Errno 13] Permission denied: '/etc/sudoers.d/README']

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



More information about the foundations-bugs mailing list