Your message dated Sat, 31 Aug 2019 15:34:49 +0000
with message-id <[email protected]>
and subject line Bug#913481: fixed in dphys-swapfile 20100506-6
has caused the Debian Bug report #913481,
regarding "setup" produces unusable swapfiles
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 [email protected]
immediately.)


-- 
913481: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=913481
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dphys-swapfile
Version: 20100506-3
Severity: important

The setup subcommand uses fallocate(1) which sometimes creates spare
files. Those cannot be used for swapfiles as "swapon" will fail with
"swapfile has holes".

Always using dd instead of fallocate seems better as it ensures the
generated swapfile is valid. The fact that it takes more time than
fallocate is also a good thing, since it done synchronously.

Offending part:

      # use fallocate if found to create swapfile, else use dd
      type fallocate > /dev/null
      if [ $? -eq 0 ]; then
        fallocate -l "${CONF_SWAPSIZE}"M "${CONF_SWAPFILE}" 2> /dev/null
      else
        dd if=/dev/zero of="${CONF_SWAPFILE}" bs=1048576 \
          count="${CONF_SWAPSIZE}" 2> /dev/null
      fi

Notes:
* this bug is subtly different from #906767.
* I'm using f2fs a the root fs
* There is enough space left

--
Steve Schnepp

"A man is not dead while his name is still spoken."
    -- T. Pratchett - Going Postal, Chapter 4 prologue

--- End Message ---
--- Begin Message ---
Source: dphys-swapfile
Source-Version: 20100506-6

We believe that the bug you reported is fixed in the latest version of
dphys-swapfile, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Axel Beckert <[email protected]> (supplier of updated dphys-swapfile package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 31 Aug 2019 15:27:16 +0200
Source: dphys-swapfile
Architecture: source
Version: 20100506-6
Distribution: unstable
Urgency: medium
Maintainer: Axel Beckert <[email protected]>
Changed-By: Axel Beckert <[email protected]>
Closes: 913481
Changes:
 dphys-swapfile (20100506-6) unstable; urgency=medium
 .
   * Drop fallocate.patch: swapon(8) states that fallocate-generated
     swapfiles will not work on certain file systems and explicitly
     recommends the use of dd as upstream does. (Closes: #913481)
   * Declare comliance with Debian Policy 4.4.0. (No changes needed.)
   * Bump debhelper compatibility level to 12.
     + Replace debian/compat with a versioned b-d on debhelper-compat.
   * Add "Pre-Depends: ${misc:Pre-Depends}" to be able to use "invoke-rc.d
     --skip-systemd-native". Thanks Lintian!
Checksums-Sha1:
 7e4fdf528031561815a0f08bcb3569db5ea3926a 1975 dphys-swapfile_20100506-6.dsc
 af62c3a40060e718d5f4f0fb7287f6bb11e222c7 8772 
dphys-swapfile_20100506-6.debian.tar.xz
 aea41a110332ec73452593fbc6b8cc5c9090de37 5849 
dphys-swapfile_20100506-6_source.buildinfo
Checksums-Sha256:
 0a6f97e4351b4032a8cbdfd428f77d5672f4da2c08d281a20615e877871c4087 1975 
dphys-swapfile_20100506-6.dsc
 4b83793aeec28a27eea21e73064ad27cc1e4cf59c28903f2fa9f766d0653e39b 8772 
dphys-swapfile_20100506-6.debian.tar.xz
 efc23e7235edb14a9f38fa0addf7566795242994643ce1120c0fd0a2e4f4cfcd 5849 
dphys-swapfile_20100506-6_source.buildinfo
Files:
 c47d212e5fb76d1fb7610163b9f457d0 1975 admin optional 
dphys-swapfile_20100506-6.dsc
 c9544c422b48430d03a2ce792b3741f3 8772 admin optional 
dphys-swapfile_20100506-6.debian.tar.xz
 3ee3745ea3963dd289c87171c985aef1 5849 admin optional 
dphys-swapfile_20100506-6_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEERoyJeTtCmBnp12Ema+Zjx1o1yXUFAl1qdiUACgkQa+Zjx1o1
yXWu7w//dLu8iuX98HCpPknRyVGuPga5UHIN62t03nZzq6glsgaPafG286+M9Zgt
2L9uEOe2eUk/XYhUOxznBCuuM2yx/ruAX0MiE+qqjnyhTox+MMsm5SWImLh90Kry
ac2YgDt7f5ciwHBzJ9/gePA37VIb8cVCW7kJvyk9OW0Hg6Lfg0y00rOhVkT1oNON
WCifgAjuqgqRFO4BlbHRijTAdow7dhEhyiv2TsiSKstMb6vsut+WL5EjdOoRL+cY
CXDnDoQxjHhQRj3XSEI/Rqgh3mm+rWsZ4r64ncvr7a7fFnVNU4CKurFlutPPGtYd
i6yOY158I8CPw7PbQDJJwQaf0hlgoWP5XgNT8+RYTPMNtad2Sju2FFy6thSCJRoy
4moeSfSOytTOE23ONIjeRlr/eTjWON3TgJ/5JpfoolSHsyhr6oZWa/4WvADjUXUJ
sDOR72r7qmq7Kb6PbuNm4SsZoQVM/wPBQ9dJWmOSdgfWdSBD5mommKLQNkX5Wqzq
6jHZu/gCi17DMkCaVEptI1LJs3KpPWOSzAUawp1YMMuWmN+fFLG0R0iuz8JwJwQv
SL38aKiOBF3/MqKlM6AXxvR5Hw2S/FZXGZnbGAZ/J1IWnNvi7OYwSr5rdb2uyR8b
hMOCUdZfi+xvBoX8S4sSekireieGIPxWk2iM5vOteC230BSyoBE=
=fA4N
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to