[Bug 1458031] Re: sudo not properly cleaning out timestamp directory

Launchpad Bug Tracker 1458031 at bugs.launchpad.net
Fri Jun 5 20:25:51 UTC 2015


This bug was fixed in the package sudo - 1.8.12-1ubuntu2

---------------
sudo (1.8.12-1ubuntu2) wily; urgency=medium

  * Use tmpfs location to store timestamp files (LP: #1458031)
    - debian/rules: change --with-rundir to /var/run/sudo
    - debian/rules, debian/sudo.service, debian/sudo.sudo.init: stop
      shipping init script and service file, as they are no longer
      necessary.
    - debian/*.preinst, debian/*.postinst, debian/*.postrm: remove old init
      script with dpkg-maintscript-helper.
    - debian/*.postinst: remove old /var/run/sudo to /var/lib/sudo
      transition code, remove old /var/lib/sudo/ts timestamp directory.

 -- Marc Deslauriers <marc.deslauriers at ubuntu.com>  Fri, 05 Jun 2015
09:31:38 -0400

** Changed in: sudo (Ubuntu Wily)
       Status: Confirmed => 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/1458031

Title:
  sudo not properly cleaning out timestamp directory

Status in sudo package in Ubuntu:
  Fix Released
Status in sudo source package in Wily:
  Fix Released
Status in sudo package in Debian:
  New

Bug description:
  Sudo 1.8.10 switched to a new time stamp file format that uses the
  monotonic clock. Timestamp files moved from /var/lib/sudo to
  /var/lib/sudo/ts.

  At boot, the contents of the /var/lib/sudo/ts directory needs to be
  deleted, as per the warning in the build log:

  configure: Warning: the /var/lib/sudo/ts directory must be cleared at boot time.
  configure:          You may need to create a startup item to do this.

  The sudo package ships with both an init script and a systemd unit
  file. Unfortunately, the init script sets the date on the timestamp
  files to epoch, which is no longer the proper way to invalidate them.
  The systemd unit file doesn't seem to work at all.

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



More information about the foundations-bugs mailing list