🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
10 messages
10 total messages Started by Marc Haber Tue, 03 Nov 2026 07:50
Bug#1134598: aide: 31_aide_apt is missing some periodic time-stamps
#3094
Author: Marc Haber
Date: Tue, 03 Nov 2026 07:50
35 lines
3210 bytes
Hi,

sorry for missing this.

On Wed, Apr 22, 2026 at 09:20:34AM +0200, Thomas Dorner wrote:
>printf "/%s/periodic/(download-upgradeable|update)-stamp$ f VarTime\\n" "${VARDIR}"
>
>On my server with unattended upgrades there are some additional
>time-stamps:
>
>-rw-r--r-- 1 root root    0 2026-04-21 06:21 autoclean-stamp
>-rw-r--r-- 1 root root    0 2026-04-22 03:14 download-upgradeable-stamp
>-rw-r--r-- 1 root root    0 2026-04-22 06:01 unattended-upgrades-stamp
>-rw-r--r-- 1 root root    0 2026-04-22 03:14 update-stamp
>-rw-r--r-- 1 root root    0 2026-04-22 06:01 upgrade-stamp
>
>So I think the parentheses in above line should be something like:
>(autoclean|download-upgradeable|unattended-upgrades|update|upgrade)

At least my notebook, which is the only machine that has the 
unattended-upgrades package installed, doesn't have the autoclean-stamp. 
Is that written by an optional feature? I cannot find anything in the 
unattended-upgrades package.

Since that directory is empty on my servers without unattended-upgrades, 
shouldn't that rule go into 32_aide_unattended-upgrades?

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421
Bug#1134598: aide: 31_aide_apt is missing some periodic time-stamps
#3105
Author: Thomas Dorner
Date: Tue, 03 Nov 2026 09:00
25 lines
3133 bytes
> At least my notebook, which is the only machine that has the 
> unattended-upgrades package installed, doesn't have the
> autoclean-stamp. Is that written by an optional feature? I cannot
> find anything in the unattended-upgrades package.

Hmm, the time-stamp of the file exactly matches a systemd's journal
entry (but apparently not every day, the current is 30.10.).
And in the corresponding
/var/log/unattended-upgrades/unattended-upgrades.log.2.gz I can see a
"INFO Packages that were successfully auto-removed: ..."

I'd guess it's one (or both) of the following two configuration entries
in /etc/apt/apt.conf.d/51local-unattended-upgrades:

APT::Periodic::AutocleanInterval "14";
Unattended-Upgrade::Remove-Unused-Kernel-Packages "true";

But I also can't find the string autoclean in any of the files in
unattended-upgrades.  Strange.

Best regards,
Thomas
-- 
𝓣𝓱𝓸𝓶𝓪𝓼 𝓓𝓸𝓻𝓷𝓮𝓻
Bug#1134598: aide: 31_aide_apt is missing some periodic time-stamps
#3111
Author: Marc Haber
Date: Tue, 03 Nov 2026 09:10
22 lines
3013 bytes
On Tue, Nov 03, 2026 at 09:35:19AM +0100, Thomas Dorner wrote:
>I'd guess it's one (or both) of the following two configuration entries
>in /etc/apt/apt.conf.d/51local-unattended-upgrades:
>
>APT::Periodic::AutocleanInterval "14";
>Unattended-Upgrade::Remove-Unused-Kernel-Packages "true";
>
>But I also can't find the string autoclean in any of the files in
>unattended-upgrades.  Strange.

I think that apt will do that automatically if invoked from 
unattended-upgrades with that configuration in place. Would you be 
willing to try for a while without those two settings?

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421
Bug#1134598: aide: 31_aide_apt is missing some periodic time-stamps
#3119
Author: Thomas Dorner
Date: Tue, 03 Nov 2026 09:50
10 lines
2631 bytes
> I think that apt will do that automatically if invoked from 
> unattended-upgrades with that configuration in place. Would you be 
> willing to try for a while without those two settings?

I disable it for two weeks.

Best regards, Thomas
-- 
𝓣𝓱𝓸𝓶𝓪𝓼 𝓓𝓸𝓻𝓷𝓮𝓻
Bug#1134598: aide: 31_aide_apt is missing some periodic time-stamps
#3128
Author: Marc Haber
Date: Tue, 03 Nov 2026 10:10
20 lines
2959 bytes
On Tue, Nov 03, 2026 at 10:45:06AM +0100, Thomas Dorner wrote:
>> I think that apt will do that automatically if invoked from
>> unattended-upgrades with that configuration in place. Would you be
>> willing to try for a while without those two settings?
>
>I disable it for two weeks.

Thank you!

Are you okay with that clause moving to its own file for 
unattended-upgrades?

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421
Bug#1134598: aide: 31_aide_apt is missing some periodic time-stamps
#3131
Author: Thomas Dorner
Date: Tue, 03 Nov 2026 11:10
11 lines
2745 bytes
> Are you okay with that clause moving to its own file for 
> unattended-upgrades?

You mean the clause for aide covering those time-stamps?  Go ahead,
I've got no preference at all how you slice the configuration files
(unless you create a file matching "*_local_*" ;-).

Best regards, Thomas
-- 
𝓣𝓱𝓸𝓶𝓪𝓼 𝓓𝓸𝓻𝓷𝓮𝓻
Bug#1134598: aide: 31_aide_apt is missing some periodic time-stamps
#3149
Author: Marc Haber
Date: Tue, 03 Nov 2026 15:00
13 lines
2905 bytes
On Tue, Nov 03, 2026 at 12:03:26PM +0100, Thomas Dorner wrote:
>(unless you create a file matching "*_local_*" ;-).

Not doing so should be documented ;-)

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421
Bug#1134598: aide: 31_aide_apt is missing some periodic time-stamps
#4695
Author: Thomas Dorner
Date: Mon, 16 Nov 2026 10:00
19 lines
2932 bytes
> I'd guess it's one (or both) of the following two configuration
> entries in /etc/apt/apt.conf.d/51local-unattended-upgrades:
> 
> APT::Periodic::AutocleanInterval "14";
> Unattended-Upgrade::Remove-Unused-Kernel-Packages "true";

Yep, it's those two entries.  And interesting enough, the auto-clean
runs after the regular unattended upgrade activities and leaves no log
entry in any unattended-upgrades/*.log.  The only noticeable indication
is a slightly longer time-span between the last entry in
unattended-upgrades.log (e.g. "No packages found that can be upgraded
unattended and no pending auto-removals" - the 2nd half is kind of
funny considering the following auto-clean) and the corresponding entry
in the journal ("apt-daily-upgrade.service: Deactivated successfully.").

Best regards, Thomas
-- 
𝓣𝓱𝓸𝓶𝓪𝓼 𝓓𝓸𝓻𝓷𝓮𝓻
Bug#1134598: aide: 31_aide_apt is missing some periodic time-stamps
#4697
Author: Marc Haber
Date: Mon, 16 Nov 2026 10:20
27 lines
3508 bytes
On Mon, Nov 16, 2026 at 10:53:33AM +0100, Thomas Dorner wrote:
>> I'd guess it's one (or both) of the following two configuration
>> entries in /etc/apt/apt.conf.d/51local-unattended-upgrades:
>>
>> APT::Periodic::AutocleanInterval "14";
>> Unattended-Upgrade::Remove-Unused-Kernel-Packages "true";
>
>Yep, it's those two entries.  And interesting enough, the auto-clean
>runs after the regular unattended upgrade activities and leaves no log
>entry in any unattended-upgrades/*.log.  The only noticeable indication
>is a slightly longer time-span between the last entry in
>unattended-upgrades.log (e.g. "No packages found that can be upgraded
>unattended and no pending auto-removals" - the 2nd half is kind of
>funny considering the following auto-clean) and the corresponding entry
>in the journal ("apt-daily-upgrade.service: Deactivated successfully.").

Is there anything that aide can do about this? Are you recommending any 
rule changes?

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421
Bug#1134598: aide: 31_aide_apt is missing some periodic time-stamps
#4700
Author: Thomas Dorner
Date: Mon, 16 Nov 2026 10:30
11 lines
2777 bytes
> Is there anything that aide can do about this? Are you recommending
> any rule changes?

No, other that was just some additional information for anyone
interested.  As far as aide is concerned, it's only the entry for
/var/lib/apt/periodic/autoclean-stamp

Best regards, Thomas
-- 
𝓣𝓱𝓸𝓶𝓪𝓼 𝓓𝓸𝓻𝓷𝓮𝓻
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads