touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #82852
[Bug 1458031] Re: sudo not properly cleaning out timestamp directory
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@xxxxxxxxxx> 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
Touch seeded packages, 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
References