Processed: Re: Bug#820193: jessie-pu: package quota/4.01-8
Processing control commands: > tags -1 + pending Bug #820193 [release.debian.org] jessie-pu: package quota/4.01-8 Added tag(s) pending. -- 820193: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820193 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#820193: jessie-pu: package quota/4.01-8
Control: tags -1 + pending On Mon, 2016-05-23 at 10:48 +0200, Michael Meskes wrote: > > +quota (4.01-8+deb8u1) stable-proposed-updates; urgency=medium > > > > "jessie" is generally preferred as the distribution name. > > Ok, changed. > > > With that update, and assuming that the resulting package has been > > tested on jessie, please go ahead. > > Compiled and tested on jessie. Upload on its way. Flagged for acceptance. Regards, Adam
Bug#820193: jessie-pu: package quota/4.01-8
> +quota (4.01-8+deb8u1) stable-proposed-updates; urgency=medium > > "jessie" is generally preferred as the distribution name. Ok, changed. > With that update, and assuming that the resulting package has been > tested on jessie, please go ahead. Compiled and tested on jessie. Upload on its way. Thanks. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Meskes at (Debian|Postgresql) dot Org Jabber: michael at xmpp dot meskes dot org VfL Borussia! Força Barça! SF 49ers! Use Debian GNU/Linux, PostgreSQL
Processed: Re: Bug#820193: jessie-pu: package quota/4.01-8
Processing control commands: > tags -1 + confirmed Bug #820193 [release.debian.org] jessie-pu: package quota/4.01-8 Added tag(s) confirmed. -- 820193: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820193 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#820193: jessie-pu: package quota/4.01-8
Control: tags -1 + confirmed On Mon, 2016-04-25 at 11:06 +0200, Michael Meskes wrote: > On Fri, Apr 22, 2016 at 11:53:28PM +0100, Jonathan Wiltshire wrote: > > Could you add Closes for appropriate bugs please? > > Sure, new debdiff attached. +quota (4.01-8+deb8u1) stable-proposed-updates; urgency=medium "jessie" is generally preferred as the distribution name. With that update, and assuming that the resulting package has been tested on jessie, please go ahead. Regards, Adam
Bug#820193: jessie-pu: package quota/4.01-8
On Fri, Apr 22, 2016 at 11:53:28PM +0100, Jonathan Wiltshire wrote: > Could you add Closes for appropriate bugs please? Sure, new debdiff attached. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Meskes at (Debian|Postgresql) dot Org Jabber: michael at xmpp dot meskes dot org VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL diff -u quota-4.01/debian/changelog quota-4.01/debian/changelog --- quota-4.01/debian/changelog +++ quota-4.01/debian/changelog @@ -1,3 +1,11 @@ +quota (4.01-8+deb8u1) stable-proposed-updates; urgency=medium + + * Change invocation of quota services, so systemd takes over most of the work. +Only the initial check is still performed by the service file provide by +quota. (Closes: #753939, #788963) + + -- Michael MeskesWed, 06 Apr 2016 14:12:06 +0200 + quota (4.01-8) unstable; urgency=medium * Use libtirpc include files to prevent a segfault due to incompatible diff -u quota-4.01/debian/install quota-4.01/debian/install --- quota-4.01/debian/install +++ quota-4.01/debian/install @@ -4,6 +4,7 @@ debian/quotaon.sh /usr/share/quota/ debian/quotaoff.sh /usr/share/quota/ debian/quotarpc.sh /usr/share/quota/ +debian/quota-initial-check.sh /usr/share/quota/ ldap-scripts/applySystemQuotas.pl /usr/share/quota/ldap ldap-scripts/edquota_editor/usr/share/quota/ldap diff -u quota-4.01/debian/quota.service quota-4.01/debian/quota.service --- quota-4.01/debian/quota.service +++ quota-4.01/debian/quota.service @@ -1,19 +1,15 @@ [Unit] -Description=Check And Enable File System Quotas -Documentation=man:quotaon(8) +Description=Initial Check File System Quotas +Documentation=man:quotacheck(8) DefaultDependencies=no -After=systemd-readahead-collect.service systemd-readahead-replay.service systemd-remount-fs.service -Before=sysinit.target shutdown.target -ConditionPathExists=/usr/share/quota/quotaon.sh - -# Make sure quota is correctly stopped. -Conflicts=shutdown.target +After=systemd-remount-fs.service +Before=systemd-quotacheck.service shutdown.target +ConditionPathExists=/usr/share/quota/quota-initial-check.sh [Service] Type=oneshot RemainAfterExit=yes -ExecStart=/usr/share/quota/quotaon.sh -ExecStop=/usr/share/quota/quotaoff.sh +ExecStart=/usr/share/quota/quota-initial-check.sh StandardOutput=journal+console [Install] only in patch2: unchanged: --- quota-4.01.orig/debian/quota-initial-check.sh +++ quota-4.01/debian/quota-initial-check.sh @@ -0,0 +1,34 @@ +#!/bin/sh + +# names of binaries +check=/sbin/quotacheck +on=/sbin/quotaon +quotaisnew=/var/lib/quota/new + +ALLFLAGS=-aug +CHECKALLFLAGS=${ALLFLAGS}m + +set -e + +. /lib/lsb/init-functions + +# Check if quota has been enabled already +LC_MESSAGES=C $on -ap|grep -q "is on" && exit 0 + +# option 'skip' takes precedence even for newly installed quota package +skip="no" +if grep "quotacheck.mode=skip" /proc/cmdline >/dev/null 2>&1; then + skip="yes" +fi + +# Check all filesystems if quota is new +if [ -x $check -a $skip = "no" -a -f $quotaisnew ] ; then + log_action_begin_msg 'Checking quotas'; + $check -c $CHECKALLFLAGS + log_action_end_msg 0 +fi + +# Remove special file +rm -f $quotaisnew + +exit 0 signature.asc Description: PGP signature
Bug#820193: jessie-pu: package quota/4.01-8
Control: tag -1 moreinfo On Wed, Apr 06, 2016 at 02:37:16PM +0200, Michael Meskes wrote: > +quota (4.01-8+deb8u1) stable-proposed-updates; urgency=medium > + > + * Change invocation of quota services, so systemd takes over most of the > work. > +Only the initial check is still performed by the service file provide by > +quota. > + > + -- Michael MeskesWed, 06 Apr 2016 14:12:06 +0200 Could you add Closes for appropriate bugs please? -- Jonathan Wiltshire j...@debian.org Debian Developer http://people.debian.org/~jmw 4096R: 0xD3524C51 / 0A55 B7C5 1223 3942 86EC 74C3 5394 479D D352 4C51 signature.asc Description: Digital signature
Processed: Re: Bug#820193: jessie-pu: package quota/4.01-8
Processing control commands: > tag -1 moreinfo Bug #820193 [release.debian.org] jessie-pu: package quota/4.01-8 Added tag(s) moreinfo. -- 820193: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820193 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#820193: jessie-pu: package quota/4.01-8
Package: release.debian.org Severity: normal Tags: jessie User: release.debian@packages.debian.org Usertags: pu Hi, I'd like to update quota in stable because a lot more people than anticipated seem to be hit by #788963. The attached debdiff shows the changes that have been made in the current package to resolve the issue and, judging from the feedback, it works well for all who tested it. Michael diff -u quota-4.01/debian/changelog quota-4.01/debian/changelog --- quota-4.01/debian/changelog +++ quota-4.01/debian/changelog @@ -1,3 +1,11 @@ +quota (4.01-8+deb8u1) stable-proposed-updates; urgency=medium + + * Change invocation of quota services, so systemd takes over most of the work. +Only the initial check is still performed by the service file provide by +quota. + + -- Michael MeskesWed, 06 Apr 2016 14:12:06 +0200 + quota (4.01-8) unstable; urgency=medium * Use libtirpc include files to prevent a segfault due to incompatible diff -u quota-4.01/debian/install quota-4.01/debian/install --- quota-4.01/debian/install +++ quota-4.01/debian/install @@ -4,6 +4,7 @@ debian/quotaon.sh /usr/share/quota/ debian/quotaoff.sh /usr/share/quota/ debian/quotarpc.sh /usr/share/quota/ +debian/quota-initial-check.sh /usr/share/quota/ ldap-scripts/applySystemQuotas.pl /usr/share/quota/ldap ldap-scripts/edquota_editor /usr/share/quota/ldap diff -u quota-4.01/debian/quota.service quota-4.01/debian/quota.service --- quota-4.01/debian/quota.service +++ quota-4.01/debian/quota.service @@ -1,19 +1,15 @@ [Unit] -Description=Check And Enable File System Quotas -Documentation=man:quotaon(8) +Description=Initial Check File System Quotas +Documentation=man:quotacheck(8) DefaultDependencies=no -After=systemd-readahead-collect.service systemd-readahead-replay.service systemd-remount-fs.service -Before=sysinit.target shutdown.target -ConditionPathExists=/usr/share/quota/quotaon.sh - -# Make sure quota is correctly stopped. -Conflicts=shutdown.target +After=systemd-remount-fs.service +Before=systemd-quotacheck.service shutdown.target +ConditionPathExists=/usr/share/quota/quota-initial-check.sh [Service] Type=oneshot RemainAfterExit=yes -ExecStart=/usr/share/quota/quotaon.sh -ExecStop=/usr/share/quota/quotaoff.sh +ExecStart=/usr/share/quota/quota-initial-check.sh StandardOutput=journal+console [Install] only in patch2: unchanged: --- quota-4.01.orig/debian/quota-initial-check.sh +++ quota-4.01/debian/quota-initial-check.sh @@ -0,0 +1,34 @@ +#!/bin/sh + +# names of binaries +check=/sbin/quotacheck +on=/sbin/quotaon +quotaisnew=/var/lib/quota/new + +ALLFLAGS=-aug +CHECKALLFLAGS=${ALLFLAGS}m + +set -e + +. /lib/lsb/init-functions + +# Check if quota has been enabled already +LC_MESSAGES=C $on -ap|grep -q "is on" && exit 0 + +# option 'skip' takes precedence even for newly installed quota package +skip="no" +if grep "quotacheck.mode=skip" /proc/cmdline >/dev/null 2>&1; then + skip="yes" +fi + +# Check all filesystems if quota is new +if [ -x $check -a $skip = "no" -a -f $quotaisnew ] ; then + log_action_begin_msg 'Checking quotas'; + $check -c $CHECKALLFLAGS + log_action_end_msg 0 +fi + +# Remove special file +rm -f $quotaisnew + +exit 0