Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: unblock
I'm seeking pre-approval for a not-yet-uploaded version of util-linux. Justification: probably better to revert and postpone to Jessie+1. Bug number/severity: #767194 important Changelog entry: Ship fstrim timer/service units as examples only Full description and debdiff below.... Please (eventually) unblock package util-linux Explanation of changes: Martin Pitt reported fstrim taking a long time on his system and in combination with init-system-helpers (dh_systemd) starting the fstrim /service/ in postinst this will make the package upgrade take a long time. An improvement to dh_systemd_start has been suggested in #767429. Apart from that, others have expressed that we're apparently not yet mentally ready for shipping systemd units in Debian. Lets just ship the unit files as examples for now and let people continue to trim their SSDs manually (or manually set up their preferred method of having it done regularly for them). Closes: #767194 ======= debdiff ================ diff -Nru util-linux-2.25.2/debian/changelog util-linux-2.25.2/debian/changelog --- util-linux-2.25.2/debian/changelog 2014-10-24 18:57:51.000000000 +0200 +++ util-linux-2.25.2/debian/changelog 2014-11-06 13:54:11.000000000 +0100 @@ -1,3 +1,9 @@ +util-linux (2.25.2-3) unstable; urgency=medium + + * Ship fstrim timer/service units as examples only (Closes: #767194) + + -- Andreas Henriksson <andr...@fatal.se> Thu, 06 Nov 2014 13:54:04 +0100 + util-linux (2.25.2-2) unstable; urgency=medium * Only ship fstrim service and timer on linux diff -Nru util-linux-2.25.2/debian/util-linux.install util-linux-2.25.2/debian/util-linux.install --- util-linux-2.25.2/debian/util-linux.install 2014-10-24 18:57:51.000000000 +0200 +++ util-linux-2.25.2/debian/util-linux.install 2014-11-06 13:54:11.000000000 +0100 @@ -10,8 +10,8 @@ [linux-any] sbin/mkswap [!linux-any] debian/tmp/sbin/mkswap => /sbin/mkswap.linux # weekly fstrim only available on linux -[linux-any] lib/systemd/system/fstrim.timer -[linux-any] lib/systemd/system/fstrim.service +[linux-any] lib/systemd/system/fstrim.timer => /usr/share/doc/util-linux/examples/fstrim.timer +[linux-any] lib/systemd/system/fstrim.service => /usr/share/doc/util-linux/examples/fstrim.service bin/more sbin/agetty sbin/blkid diff -Nru util-linux-2.25.2/debian/util-linux.preinst util-linux-2.25.2/debian/util-linux.preinst --- util-linux-2.25.2/debian/util-linux.preinst 1970-01-01 01:00:00.000000000 +0100 +++ util-linux-2.25.2/debian/util-linux.preinst 2014-11-06 13:54:11.000000000 +0100 @@ -0,0 +1,13 @@ +#!/bin/sh +set -e + +# We once shipped fstrim.timer in 2.25.2-2. Undo the timer getting enabled +# and purge the helper state, if upgrading from that version. +if [ "$1" = "upgrade" ] && [ "$2" = "2.25.2-2" ] && \ + [ -x /usr/bin/deb-systemd-helper ] && \ + deb-systemd-helper debian-installed fstrim.timer; then + deb-systemd-helper disable fstrim.timer + deb-systemd-helper purge fstrim.timer +fi + +#DEBHELPER# ================================ unblock util-linux/2.25.2-3 -- System Information: Debian Release: jessie/sid APT prefers testing-updates APT policy: (500, 'testing-updates'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.17-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org