Your message dated Fri, 03 Mar 2023 01:34:03 +0000
with message-id <[email protected]>
and subject line Bug#1027846: fixed in btrfsmaintenance 0.5-4
has caused the Debian Bug report #1027846,
regarding btrfsmaintenance: changing BTRFS_BALANCE_PERIOD, BTRFS_SCRUB_PERIOD 
etc. via systemd timer doesn't work
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.)


-- 
1027846: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1027846
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: btrfsmaintenance
Version: 0.5-1
Severity: normal
Tags: patch upstream

Dear Maintainer,

when changing BTRFS_BALANCE_PERIOD, BTRFS_SCRUB_PERIOD etc. via systemd timer
the existing OnCalender entry needs to be emptied first as systemd timers are 
cumulative.

i had updated /etc/default/btrfsmaintenance to include:
BTRFS_SCRUB_PERIOD="quarterly"

and ran `sudo systemctl restart btrfsmaintenance-refresh.service` 
but noticed that this change was not reflected in the systemctl output:
NEXT                        LEFT                LAST                        
PASSED     UNIT                ACTIVATES
Wed 2023-02-01 00:00:00 PST 4 weeks 0 days left Sun 2023-01-01 00:00:00 PST 2 
days ago btrfs-scrub.timer   btrfs-scrub.service

1 timers listed.
Pass --all to see loaded but inactive timers, too.

when i updated the generated 
/etc/systemd/system/btrfs-scrub.timer.d/schedule.conf
file to empty the existing OnCalendar value:
[Timer]
OnCalendar=
OnCalendar=quarterly

and reran `sudo systemctl restart btrfsmaintenance-refresh.service`
it was successfully updated:
NEXT                        LEFT                  LAST                        
PASSED     UNIT              ACTIVATES
Sat 2023-04-01 00:00:00 PDT 2 months 26 days left Sun 2023-01-01 00:00:00 PST 2 
days ago btrfs-scrub.timer btrfs-scrub.service

1 timers listed.
Pass --all to see loaded but inactive timers, too.

i have included a brief patch to address this.

thanks in advance.

        andy

-- System Information:
Debian Release: 11.6
  APT prefers stable-updates
  APT policy: (990, 'stable-updates'), (990, 'stable-security'), (990, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-20-amd64 (SMP w/6 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages btrfsmaintenance depends on:
ii  btrfs-progs  5.10.1-2
ii  cron         3.0pl1-137
ii  systemd      247.3-7+deb11u1

btrfsmaintenance recommends no packages.

btrfsmaintenance suggests no packages.

-- Configuration Files:
/etc/default/btrfsmaintenance changed:
BTRFS_LOG_OUTPUT="stdout"
BTRFS_DEFRAG_PATHS=""
BTRFS_DEFRAG_PERIOD="none"
BTRFS_DEFRAG_MIN_SIZE="+1M"
BTRFS_BALANCE_MOUNTPOINTS="auto"
BTRFS_BALANCE_PERIOD="monthly"
BTRFS_BALANCE_DUSAGE="5 10"
BTRFS_BALANCE_MUSAGE="5"
BTRFS_SCRUB_MOUNTPOINTS="auto"
BTRFS_SCRUB_PERIOD="quarterly"
BTRFS_SCRUB_PRIORITY="idle"
BTRFS_SCRUB_READ_ONLY="false"
BTRFS_TRIM_PERIOD="none"
BTRFS_TRIM_MOUNTPOINTS="/"
BTRFS_ALLOW_CONCURRENCY="false"


-- no debconf information
--- 
/var/tmp/user/1000/andrew@gondolin:_usr_share_btrfsmaintenance_btrfsmaintenance-refresh-cron.sh.2023-01-03T14:32:38-0800.3233449
    2020-10-02 18:47:48.000000000 -0700
+++ /usr/share/btrfsmaintenance/btrfsmaintenance-refresh-cron.sh        
2023-01-03 14:32:49.533881598 -0800
@@ -74,6 +74,7 @@
                        mkdir -p /etc/systemd/system/"$SERVICE".timer.d/
                        cat << EOF > 
/etc/systemd/system/"$SERVICE".timer.d/schedule.conf
 [Timer]
+OnCalendar=
 OnCalendar=$PERIOD
 EOF
                        systemctl enable "$SERVICE".timer &> /dev/null

--- End Message ---
--- Begin Message ---
Source: btrfsmaintenance
Source-Version: 0.5-4
Done: Nicholas D Steeves <[email protected]>

We believe that the bug you reported is fixed in the latest version of
btrfsmaintenance, 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.
Nicholas D Steeves <[email protected]> (supplier of updated btrfsmaintenance 
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: Thu, 02 Mar 2023 20:11:16 -0500
Source: btrfsmaintenance
Architecture: source
Version: 0.5-4
Distribution: unstable
Urgency: medium
Maintainer: Nicholas D Steeves <[email protected]>
Changed-By: Nicholas D Steeves <[email protected]>
Closes: 1027846
Changes:
 btrfsmaintenance (0.5-4) unstable; urgency=medium
 .
   * Acknowledge buggy NMU.  Debian/NEWS refers to changelog entry 0.4-1~exp1,
     which was removed by the "rebuild with debhelper 13.10".  The purpose of
     this NMU appears to have been to unilaterally push changelog trimming.
   * Drop NEWS, and recommend against periodic balancing in README.Debian.
   * Import 0003-btrfsmaintenance-refresh-cron.sh-reset-OnCalendar-fo.patch
     from upstream (Closes: #1027846).  Thanks to Andrew Bezella for reporting
     this bug as well as testing the fix.
   * Add 0004-disable-periodic-balance-by-default.patch.
   * Update my copyright years.
   * Declare Standards-Version: 4.6.2. (No additional changes needed)
   * Update lintian override for "spare-manual-page".
Checksums-Sha1:
 258ebdeee270044a621e30cdc27ca1f973a84946 1944 btrfsmaintenance_0.5-4.dsc
 1d07e1f3471cc2bb78f6ff3978ea65541c1c0217 10136 
btrfsmaintenance_0.5-4.debian.tar.xz
 3adb2ea5f865ccd2b8f334178371f384d4d53ebd 5986 
btrfsmaintenance_0.5-4_amd64.buildinfo
Checksums-Sha256:
 38756b95f65080734a5fb15035f8fd8d4610864b81906930276148520f4c4e58 1944 
btrfsmaintenance_0.5-4.dsc
 3f8586f746be322c1b9bfc686a59112c2ce392dc276b6f714528c51509857218 10136 
btrfsmaintenance_0.5-4.debian.tar.xz
 e866e5f9f7f0719c8ae5910fe67b1200a5fddd72660fcc5045cb77f0a2014309 5986 
btrfsmaintenance_0.5-4_amd64.buildinfo
Files:
 fa05ef2d35c28fdbb156e00f9c0e928d 1944 admin optional btrfsmaintenance_0.5-4.dsc
 0c05dbbb48c40e8f718e6ecc3c3f6a29 10136 admin optional 
btrfsmaintenance_0.5-4.debian.tar.xz
 e48378be4938b16c7572da43b1318beb 5986 admin optional 
btrfsmaintenance_0.5-4_amd64.buildinfo

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

iQIzBAEBCgAdFiEE4qYmHjkArtfNxmcIWogwR199EGEFAmQBSZAACgkQWogwR199
EGFUmg/+N8rhnmwQpBy1nHp0WRMswlgQv8D4pZOAlLqMmhphhaFYBoi2YBTshrC2
OT48oB5cKNd92xuxrQkMrATfGyrN6MOaIkIHAgAqBSAgT6g2MS8gHpoWfJUpNNdv
L6HtExfSWQQ67Ij+5m37XFeF9+FSV/zlykK6tnoQ+LVUJiLabzWIofp8EmijcYny
4Aizx+z60CoUnhMKU78kHU3wO7sVdCe3pXx7f7PKllRnBjVEwRoIOOaejF0DbjLP
t5IFuZC1DHfQ7Tc/38aqq9k0l4rF67r4RDuWXl0+5cmAtJBwBq8M/UIt2ku3qhSp
fBNRMlcmZipmzh83SFaUC4sI1kRQ/IGwzMW+FYopWNJ3EX7x3liopv96oTOYLAyE
w735zZtgHdNus8WcegHmHtA10B8fjLrEp03eTaNxsLuE3XG1YlrvZv8DEv3uQqX+
fOyeJgucUTENi8pr63g1R8acGXmtJYtd1pzEuwnA05UuastUNS0371QPYWxMBzIq
3gpkb0DEUbRVlgw40te5F0lEJ6uDCi45ALT497BPzkkK11XdjGe12b/BuPeq4jbw
ASz5kBB+MFw+CJdMWBuUXUH2uJiYmg0MQQ/m8RvTa851gETQQvbQgZ3hcMgAbPjv
QqwgWwxR/MWwdQsQtStNlxn49hgu+OXINVbpihAOdgGnnK/LzcQ=
=b4kh
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to