Your message dated Wed, 24 Dec 2014 15:43:55 +0100 with message-id <20141224144354.GD11770@ugent.be> and subject line Re: Bug#773063: pre-approval unblock: quotatool/1.4.12-1.1 has caused the Debian Bug report #773063, regarding pre-approval unblock: quotatool/1.4.12-1.1 to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 773063: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=773063 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: pre-approval unblock: quotatool/1.4.12-1.1
- From: Jan Wagner <waja@cyconet.org>
- Date: Sat, 13 Dec 2014 22:26:59 +0100
- Message-id: <[🔎] 548CAF23.9010508@cyconet.org>
Package: release.debian.org Severity: normal User: release.debian.org@packages.debian.org Usertags: unblock Could you please state if you would approve to update the quotatool package via testing-proposed-updates, as there is a blocking release in unstable. This NMU is fixing #711502 and provides a working quota stack for jessie again as the package is actually not in testing. changelog: quotatool (1.4.12-1.1) unstable; urgency=medium . * Adding debian/patches/ignore_initramfs.diff takes from upstream (Closes: #711502) The full debdiff stat is: changelog | 7 ++ patches/ignore_initramfs.diff | 138 ++++++++++++++++++++++++++++++++++++++++++ patches/series | 1 3 files changed, 146 insertions(+) More details can be found at: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=711502#24 The source debdiff is attached. If you achnowledge this upload, I would change distribution and upload this via tpu. Many thanks, Jan. -- Never write mail to <waja@spamfalle.info>, you have been warned! -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GIT d-- s+: a C+++ UL++++ P+ L+++ E--- W+++ N+++ o++ K++ w--- O M V- PS PE Y++ PGP++ t-- 5 X R tv- b+ DI D+ G++ e++ h---- r+++ y++++ ------END GEEK CODE BLOCK------diff -Nru quotatool-1.4.12/debian/changelog quotatool-1.4.12/debian/changelog --- quotatool-1.4.12/debian/changelog 2012-02-26 13:18:20.000000000 +0100 +++ quotatool-1.4.12/debian/changelog 2014-12-12 15:44:26.000000000 +0100 @@ -1,3 +1,10 @@ +quotatool (1.4.12-1.1) unstable; urgency=medium + + * Adding debian/patches/ignore_initramfs.diff takes from upstream + (Closes: #711502) + + -- Jan Wagner <waja@cyconet.org> Fri, 12 Dec 2014 14:27:17 +0100 + quotatool (1.4.12-1) unstable; urgency=low * New upstream release diff -Nru quotatool-1.4.12/debian/patches/ignore_initramfs.diff quotatool-1.4.12/debian/patches/ignore_initramfs.diff --- quotatool-1.4.12/debian/patches/ignore_initramfs.diff 1970-01-01 01:00:00.000000000 +0100 +++ quotatool-1.4.12/debian/patches/ignore_initramfs.diff 2014-12-12 14:49:42.000000000 +0100 @@ -0,0 +1,138 @@ +From a83c6d0d1bf623234e860dd7bfd3840c812fc32c Mon Sep 17 00:00:00 2001 +From: Johan Ekenberg <johan@ekenberg.se> +Date: Sat, 22 Dec 2012 21:24:04 +0100 +Subject: [PATCH] Ignore linux initramfs mount entry for rootfs + +--- + src/system.c | 34 ++++++++++++++++++++-------------- + 1 file changed, 20 insertions(+), 14 deletions(-) + +diff --git a/src/system.c b/src/system.c +index e2e236f..38bf1df 100644 +--- a/src/system.c ++++ b/src/system.c +@@ -48,7 +48,7 @@ struct mntent { + + + +-/* ++/* + * system_getfs + * find and verify the device file for + * a given filesystem +@@ -72,7 +72,7 @@ fs_t *system_getfs (char *fs_spec) { + + + #if HAVE_SYS_MNTCTL_H /* AIX, we are again in trouble. */ +- /* first mntctl call is only for getting the size of ++ /* first mntctl call is only for getting the size of + * vmnt array. is there a better way? */ + vmnt_retval = mntctl (MCTL_QUERY, sizeof(int), (char*)&vmnt_size); + if (vmnt_retval != -1) { +@@ -102,7 +102,7 @@ fs_t *system_getfs (char *fs_spec) { + + /* loop through mtab until we get a match */ + do { +- ++ + /* read the next entry */ + #if HAVE_SYS_MNTTAB_H + int retval; +@@ -112,9 +112,9 @@ fs_t *system_getfs (char *fs_spec) { + current_fs=getmntent(etc_mtab); + if ( ! current_fs ) { + #elif HAVE_SYS_MNTCTL_H /* AIX, we are again in trouble. */ +- current_fs->mnt_special = ++ current_fs->mnt_special = + (char*)vmnt + (vmnt->vmt_data[VMT_OBJECT].vmt_off); +- current_fs->mnt_mountp = ++ current_fs->mnt_mountp = + (char*)vmnt + (vmnt->vmt_data[VMT_STUB].vmt_off); + current_fs->vmt_flags = vmnt->vmt_flags; + vmnt = (struct vmount*) ((char*)vmnt + vmnt->vmt_length); +@@ -123,10 +123,16 @@ fs_t *system_getfs (char *fs_spec) { + output_error ("Filesystem %s does not exist", fs_spec); + return NULL; + } +- ++ + output_debug ("Checking device '%s', mounted at '%s'", + current_fs->mnt_special, current_fs->mnt_mountp); + ++ /* Ignore 'rootfs' if looking for mountpoint '/' - created and mounted by Linux initramfs */ ++ if (strcmp("/", fs_spec) == 0 && strcmp(current_fs->mnt_special, "rootfs") == 0) { ++ output_debug ("Ignoring initramfs 'rootfs'\n"); ++ continue; ++ } ++ + /* does the name given match the mount pt or device file ? */ + if ( ! strcmp(current_fs->mnt_special, fs_spec) + || ! strcmp(current_fs->mnt_mountp, fs_spec) ) { +@@ -161,7 +167,7 @@ fs_t *system_getfs (char *fs_spec) { + } + } + else { +-#endif /* HAVE_MNTENT_H */ ++#endif /* HAVE_MNTENT_H */ + strncpy (ent->device, current_fs->mnt_special, PATH_MAX-1); + strncpy (ent->mount_pt, current_fs->mnt_mountp, PATH_MAX-1); + #if HAVE_MNTENT_H +@@ -171,7 +177,7 @@ fs_t *system_getfs (char *fs_spec) { + continue; + } + +- } while ( ! done ) ; ++ } while ( ! done ) ; + + + /* can we write to the device? */ +@@ -181,7 +187,7 @@ fs_t *system_getfs (char *fs_spec) { + output_error ("Filesystem %s is mounted read-only\n", fs_spec); + free(current_fs); + free(vmnt_buffer); +-#else ++#else + if ( hasmntopt(current_fs, "ro") ) { + output_error ("Filesystem %s is mounted read-only\n", fs_spec); + endmntent (etc_mtab); +@@ -194,7 +200,7 @@ fs_t *system_getfs (char *fs_spec) { + #if HAVE_SYS_MNTCTL_H + free(current_fs); + free(vmnt_buffer); +-#else ++#else + endmntent (etc_mtab); + #endif + return ent; +@@ -212,12 +218,12 @@ uid_t system_getuid (char *user) { + char *temp_str; + /* seach by name first */ + pwent = getpwnam (user); +- ++ + if ( pwent == NULL ) { + + /* maybe we were given a numerical id */ + uid = strtol(user, &temp_str, 10); +- pwent = getpwuid ((uid_t) uid); ++ pwent = getpwuid ((uid_t) uid); + if ( (user == temp_str) || ( pwent == NULL ) ) { + output_error ("User %s does not exist\n", user); + return -1; +@@ -233,7 +239,7 @@ gid_t system_getgid (char *group) { + struct group *grent; + int gid; + char *temp_str; +- ++ + /* check for group name first */ + grent = getgrnam (group); + if ( grent == NULL ) { +@@ -245,6 +251,6 @@ gid_t system_getgid (char *group) { + return (gid_t) -1; + } + } +- output_info ("group '%s' has gid %d", group, grent->gr_gid); ++ output_info ("group '%s' has gid %d", group, grent->gr_gid); + return (grent->gr_gid); + } diff -Nru quotatool-1.4.12/debian/patches/series quotatool-1.4.12/debian/patches/series --- quotatool-1.4.12/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 +++ quotatool-1.4.12/debian/patches/series 2014-12-12 14:26:37.000000000 +0100 @@ -0,0 +1 @@ +ignore_initramfs.diffAttachment: signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
- To: Bas Zoetekouw <bas@debian.org>, 773063-done@bugs.debian.org
- Cc: Jonathan Wiltshire <jmw@debian.org>, Jan Wagner <waja@cyconet.org>
- Subject: Re: Bug#773063: pre-approval unblock: quotatool/1.4.12-1.1
- From: Ivo De Decker <ivodd@debian.org>
- Date: Wed, 24 Dec 2014 15:43:55 +0100
- Message-id: <20141224144354.GD11770@ugent.be>
- In-reply-to: <[🔎] 54973FD5.1080704@debian.org>
- References: <[🔎] 548CAF23.9010508@cyconet.org> <[🔎] 20141213232425.GO17312@lupin.home.powdarrmonkey.net> <[🔎] 548D7A82.70602@cyconet.org> <[🔎] 5490A238.4010004@debian.org> <[🔎] 20141216214220.GO11902@lupin.home.powdarrmonkey.net> <[🔎] 54973FD5.1080704@debian.org>
Hi, On Sun, Dec 21, 2014 at 10:47:01PM +0100, Bas Zoetekouw wrote: > I;ve just uploaded a new version 1:1.4.12-2 to sid. It is based on > the version in current stable, only adding the patch to fix #711502 > (from upstream > https://github.com/ekenberg/quotatool/commit/a83c6d0d1bf623234e860dd7bfd3840c812fc32c), > and bumping the standards-version. The patch contains some whitespace noise, which is unfortunate. The actual change seems fine. Unblocked. Cheers, Ivo
--- End Message ---